diff options
Diffstat (limited to 'npc')
-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?"); |