diff options
-rw-r--r-- | db/item_db.txt | 36 | ||||
-rw-r--r-- | npc/000-2-1/alige.txt | 31 |
2 files changed, 40 insertions, 27 deletions
diff --git a/db/item_db.txt b/db/item_db.txt index df98c7a6..044ba600 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -7,29 +7,29 @@ 505, Piouslegs, Pious legs, 0, 0, 10, 3, 5, , , , , , 2, , , 0, , 0, { itemheal 10, 0; }, {} 506, Lettuce, Lettuce, 0, 0, 25, 12, 5, , , , , , 2, , , 0, , 0, { itemheal 15, 0; }, {} 507, Piberries, Piberries, 0, 0, 40, 20, 3, , , , , , 2, , , 0, , 0, { itemheal 20, 0; }, {} -508, Seadrop, Sea drop, 0, 0, 5, 1, 2, , , , , , 2, , , 0, , 0, {callfunc "usePoisonedWater";},{} +508, Seadrop, Sea Drop, 0, 0, 5, 1, 2, , , , , , 2, , , 0, , 0, {callfunc "usePoisonedWater";},{} 509, Aquada, Aquada, 0, 0, 50, 24, 5, , , , , , 2, , , 0, , 0, { itemheal 30, 0; }, {} -510, PinkBlobime, PinkBlobime, 0, 0, 30, 13, 2, , , , , , 2, , , 0, , 0, {callfunc "usePoisonedBlobime";}, {} -// 511, PurpleBlobime, Purple Blobime, 0, 0, 60, 27, 2, , , , , , 2, , , 0, , 0, {callfunc "usePoisonedBlobime";}, {} -700, LittleTentacle, Little Tentacle, 0, 3, 50, 20, 5, , , , , , , , , , , 0, {}, {} -701, Piousfeathers, Pious feathers, 0, 3, 60, 35, 1, , , , , , , , , , , 0, {}, {} -702, Tortugasshellfragment, Tortugas shell fragment, 0, 3, 40, 15, 15, , , , , , , , , , , 0, {}, {} -703, Halfeggshell, Half eggshell, 0, 3, 35, 15, 5, , , , , , , , , , , 0, {}, {} -704, Rattotail, Ratto tail, 0, 3, 25, 12, 5, , , , , , , , , , , 0, {}, {} -705, Rattotooth, Ratto tooth, 0, 3, 20, 10, 3, , , , , , , , , , , 0, {}, {} -706, CrocClaw, Croc Claw, 0, 3, 40, 25, 5, , , , , , , , , , , 0, {}, {} -707, Squichyclaws, Squichy claws, 0, 3, 60, 30, 10, , , , , , , , , , , 0, {}, {} -708, Tortugasshell, Tortugas shell, 0, 3, 100, 50, 35, , , , , , , , , , , 0, {}, {} -709, Tortugastongue, Tortugas tongue, 0, 3, 25, 10, 5, , , , , , , , , , , 0, {}, {} +510, Pinkblobime, Pink Blobime, 0, 0, 30, 13, 2, , , , , , 2, , , 0, , 0, {callfunc "usePoisonedBlobime";}, {} +// 511, Purpleblobime, Purple Blobime, 0, 0, 60, 27, 2, , , , , , 2, , , 0, , 0, {callfunc "usePoisonedBlobime";}, {} +700, Littletentacle, Little Tentacle, 0, 3, 50, 20, 5, , , , , , , , , , , 0, {}, {} +701, Piousfeathers, Pious Feathers, 0, 3, 60, 35, 1, , , , , , , , , , , 0, {}, {} +702, Tortugasshellfragment, Tortugas Shell Fragment, 0, 3, 40, 15, 15, , , , , , , , , , , 0, {}, {} +703, Halfeggshell, Half Eggshell, 0, 3, 35, 15, 5, , , , , , , , , , , 0, {}, {} +704, Rattotail, Ratto Tail, 0, 3, 25, 12, 5, , , , , , , , , , , 0, {}, {} +705, Rattotooth, Ratto Tooth, 0, 3, 20, 10, 3, , , , , , , , , , , 0, {}, {} +706, Crocclaw, Croc Claw, 0, 3, 40, 25, 5, , , , , , , , , , , 0, {}, {} +707, Squichyclaws, Squichy Claws, 0, 3, 60, 30, 10, , , , , , , , , , , 0, {}, {} +708, Tortugasshell, Tortugas Shell, 0, 3, 100, 50, 35, , , , , , , , , , , 0, {}, {} +709, Tortugastongue, Tortugas Tongue, 0, 3, 25, 10, 5, , , , , , , , , , , 0, {}, {} 710, Pearl, Pearl, 0, 3, 7000, 5000, 2, , , , , , , , , , , 0, {}, {} 711, Coral, Coral, 0, 3, 300, 99, 10, , , , , , , , , , , 0, {}, {} -712, BlueCoral, Blue Coral, 0, 3, 500, 125, 10, , , , , , , , , , , 0, {}, {} -1300, Wornshirt, Used shirt, 0, 5, 100, 25, 50, , 2, , , 0, 2, 512, , 0, , 0, {}, {} -1301, Sailortanktop, Sailor tank top, 0, 5, 2000, 250, 40, , 3, , , 0, 2, 512, , 0, , 0, {}, {} -1302, Sailorshirt, Sailor shirt, 0, 5, 7500, 950, 75, , 4, , , 0, 2, 512, , 0, , 0, {}, {} +712, Bluecoral, Blue Coral, 0, 3, 500, 125, 10, , , , , , , , , , , 0, {}, {} +1300, Wornshirt, Used Shirt, 0, 5, 100, 25, 50, , 2, , , 0, 2, 512, , 0, , 0, {}, {} +1301, Sailortanktop, Sailor Tank Top, 0, 5, 2000, 250, 40, , 3, , , 0, 2, 512, , 0, , 0, {}, {} +1302, Sailorshirt, Sailor Shirt, 0, 5, 7500, 950, 75, , 4, , , 0, 2, 512, , 0, , 0, {}, {} 1800, Boots, Boots, 0, 5, 1000, 150, 30, , 1, , , 0, 2, 64, , 0, , 0, {}, {} 2000, Bracelets, Bracelets, 0, 5, 2000, 250, 30, , 1, , , 0, 2, 4, , 0, , 0, {}, {} -2200, Wornshort, Worn short, 0, 5, 80, 20, 35, , 2, , , 0, 2, 1, , 0, , 0, {}, {} +2200, Wornshort, Worn Short, 0, 5, 80, 20, 35, , 2, , , 0, 2, 1, , 0, , 0, {}, {} 2900, Bandana, Bandana, 0, 5, 500, 100, 13, , 1, , , 0, 2, 256, , 0, , 0, {}, {} 3500, Knife, Knife, 0, 4, 50, 25, 50, 10, , , , 0, 2, 2, 1, 1, 1, 0, {}, {} # <------ 23chars ------> <------ 23chars ------> 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?"); |