diff options
author | Alige <aligetmw@hotmail.fr> | 2012-11-30 10:21:53 +0400 |
---|---|---|
committer | Alige <aligetmw@hotmail.fr> | 2012-11-30 10:21:53 +0400 |
commit | e5e41bd924b45d2d15b3175413a3a7a520396dee (patch) | |
tree | b98143b49bd16e9ce32afe95d6b37d4c1667142b /npc/000-2-3 | |
parent | ecf8da4a5520496e6c678ee600a85b63a7e62a02 (diff) | |
download | serverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.tar.gz serverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.tar.bz2 serverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.tar.xz serverdata-e5e41bd924b45d2d15b3175413a3a7a520396dee.zip |
Replaced some item IDs by their names in scripts.
Added missing commands when the NPC gives an item.
Fixed some language.
Diffstat (limited to 'npc/000-2-3')
-rw-r--r-- | npc/000-2-3/box.txt | 13 | ||||
-rw-r--r-- | npc/000-2-3/nard.txt | 13 | ||||
-rw-r--r-- | npc/000-2-3/sailors.txt | 2 |
3 files changed, 27 insertions, 1 deletions
diff --git a/npc/000-2-3/box.txt b/npc/000-2-3/box.txt index 6236f6c1..12f5b10b 100644 --- a/npc/000-2-3/box.txt +++ b/npc/000-2-3/box.txt @@ -63,6 +63,8 @@ mesq l("Now go outside and talk with Gugli, he'll tell you what we need."); next; + getinventorylist; + if ((checkweight("JohanneKey", 1) == 0) || (@inventorylist_count == 100)) goto l_Inventory; setq ShipQuests_Nard, 1; getitem "JohanneKey", 1; @@ -84,12 +86,23 @@ l_Give: mesn "Nard"; mesq l("You are now part of the crew. Thanks again for your help."); + getinventorylist; + if ((checkweight("Bandana", 1) == 0) || (@inventorylist_count == 100)) goto l_Inventory; setq ShipQuests_Nard, 3; getitem "Bandana", 1; // Need to add a skill for the crew at this line. close; +l_Inventory; + mes "";
+ mesn;
+ mesq l("It looks like you can't carry anything else for now.");
+ next;
+ mesq l("You should come back when you'll have some free space.");
+ + close; + l_Already: mes ""; mesn "Nard"; diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt index eed938fb..6f0ceaf4 100644 --- a/npc/000-2-3/nard.txt +++ b/npc/000-2-3/nard.txt @@ -96,6 +96,8 @@ l_NeedContent: mesq l("Now go outside and talk with Gugli, he'll tell you what we need."); next; + getinventorylist; + if ((checkweight("JohanneKey", 1) == 0) || (@inventorylist_count == 100)) goto l_Inventory; setq ShipQuests_Nard, 1; getitem "JohanneKey", 1; @@ -180,6 +182,8 @@ l_ChefQuestComplete: mesq l("You are now officially part of my crew! Thanks again for your help."); next; + getinventorylist; + if ((checkweight("Bandana", 1) == 0) || (@inventorylist_count == 100)) goto l_Inventory; setq ShipQuests_Nard, 4; getitem "Bandana", 1; // Need to add a skill for the crew at this line. @@ -193,6 +197,15 @@ l_ChefQuestComplete: close; +l_Inventory; + mes "";
+ mesn;
+ mesq l("It looks like you can't carry anything else for now.");
+ next;
+ mesq l("You should come back when you'll have some free space.");
+ + close; + l_Already: mesn; mesq l("Sorry, I don't need any help right now. Come back later."); diff --git a/npc/000-2-3/sailors.txt b/npc/000-2-3/sailors.txt index b1eef576..e17e7bc1 100644 --- a/npc/000-2-3/sailors.txt +++ b/npc/000-2-3/sailors.txt @@ -24,7 +24,7 @@ OnTouch: mesn "Elmo"; mesq l("I will."); next; - mesq l("About this Esperia's Guild, I'm not sure about them, frankly."); + mesq l("About this Esperia's Warrior Guild, I'm not sure about them, frankly."); next; mesq l("There are rumors going around that they did some monstrous things and that they are hiding quite a lot from us."); next; |