diff options
author | Reid <reidyaro@gmail.com> | 2012-04-15 22:06:10 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-04-15 22:06:10 +0200 |
commit | fc2418bc7083db9399e3d9f4a365d9c50c164926 (patch) | |
tree | 3b2f677e82ccfaf445893a71136fa60da085f6be /npc/000-2-1/alige.txt | |
parent | ceac66a2f6dea5e68a7d1a750e86d75a50a7d6a5 (diff) | |
download | serverdata-fc2418bc7083db9399e3d9f4a365d9c50c164926.tar.gz serverdata-fc2418bc7083db9399e3d9f4a365d9c50c164926.tar.bz2 serverdata-fc2418bc7083db9399e3d9f4a365d9c50c164926.tar.xz serverdata-fc2418bc7083db9399e3d9f4a365d9c50c164926.zip |
Change some items name on item_db,
Add new items on alige script.
Diffstat (limited to 'npc/000-2-1/alige.txt')
-rw-r--r-- | npc/000-2-1/alige.txt | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt index 79446f90..ca22a845 100644 --- a/npc/000-2-1/alige.txt +++ b/npc/000-2-1/alige.txt @@ -139,22 +139,24 @@ l_GiveFood: menu + rif(countitem(501, 1), l(getitemname("Acorn"))), 0, rif(countitem(502, 1), l(getitemname("Bread"))), 502, - rif(countitem(503, 1), l(getitemname("Carrot"))), 503, + rif(countitem(503, 1), l(getitemname("Fungus"))), 503, rif(countitem(504, 1), l(getitemname("Cheese"))), 504, rif(countitem(505, 1), l(getitemname("Piouslegs"))), 505, rif(countitem(506, 1), l(getitemname("Lettuce"))), 506, - rif(countitem(507, 1), l(getitemname("Piberries"))), 507, + rif(countitem(507, 1), l(getitemname("Piberries"))), 2, + rif(countitem(508, 1), l(getitemname("Seadrop"))), 1, + rif(countitem(509, 1), l(getitemname("Aquada"))), 509, + rif(countitem(510, 1), l(getitemname("Pinkblobime"))), 1, l("I don't have anything good for you today."), -1; set @id, @menuret; - if (@id == -1) goto l_DamnYou; - if ( (@id == 502) || (@id == 504) || (@id == 505) ) goto l_GiveReward; - if (@id == 507) goto l_NoMore; - - mesn; - mesq l("I don't want this, give me something else."); - goto l_GiveFood; + if (@id == -1) goto l_DamnYou; // Quit message. + if (@id == 0) goto l_NoReward; // In case of wrong food. + if (@id == 1) goto l_Poison; // In case of Poisonned food. + if (@id == 2) goto l_NoMore; // In case of Piberries. +// Continue if the food is correct. l_GiveReward: if (countitem(@id) < 1) close; @@ -167,6 +169,11 @@ getitem "Piberries", rand(1,3); close; + l_NoReward: + mesn; + mesq l("I don't want this, give me something else."); + goto l_GiveFood; + l_NoMore: mes " "; mesn; @@ -174,6 +181,12 @@ next; close; + l_Poison: + mes " "; + mesn; + mesq l("Don't try to poison me! I know what that does!"); + goto l_GiveFood; + l_AskForFood: mesn; mesq l("Do you have anything for me today?"); |