From 0b10fd63ad74a5c1fad4e1cc59e2b623e7049e44 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Thu, 27 Jan 2011 01:31:17 +0100 Subject: Updates to the example data. - Fixed monsters Id. - Added collision layer to the desert map. - Added a few simple NPCs on the map (They still need a sprite.) - Added player and hairstyles sprites files and definition in items.xml. --- example/serverdata/scripts/npcs/barber.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/serverdata/scripts/npcs') diff --git a/example/serverdata/scripts/npcs/barber.lua b/example/serverdata/scripts/npcs/barber.lua index 24ad8c9..bf872a0 100644 --- a/example/serverdata/scripts/npcs/barber.lua +++ b/example/serverdata/scripts/npcs/barber.lua @@ -92,7 +92,7 @@ function Barber(npc, ch, data) -- Repeat until the user selects nothing repeat if (result == 1) then -- Do styles - result = do_choice(npc, ch, "Bald", styles, "Supprise me", "Never mind") + result = do_choice(npc, ch, "Bald", styles, "Surprise me", "Never mind") result = result -1 @@ -114,7 +114,7 @@ function Barber(npc, ch, data) result = 3 end elseif (result == 2) then -- Do colors - result = do_choice(npc, ch, colors, "Supprise me", "Never mind") + result = do_choice(npc, ch, colors, "Surprise me", "Never mind") --Random if (result == #colors + 1) then -- cgit