diff options
author | Wushin <pasekei@gmail.com> | 2015-05-03 20:45:18 -0500 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2015-05-03 20:45:18 -0500 |
commit | 96e3b2b0abed86f16d397b964c71b27c46b78195 (patch) | |
tree | 9b7c8e2e854c37c84be8960c286e7aa17f6b2185 | |
parent | e4cd48af9a506eee90b91736a38ea321c83d0422 (diff) | |
parent | e26b00fd1a9c540ea165e36edc897bf30b36a914 (diff) | |
download | serverdata-96e3b2b0abed86f16d397b964c71b27c46b78195.tar.gz serverdata-96e3b2b0abed86f16d397b964c71b27c46b78195.tar.bz2 serverdata-96e3b2b0abed86f16d397b964c71b27c46b78195.tar.xz serverdata-96e3b2b0abed86f16d397b964c71b27c46b78195.zip |
Merge pull request #363 from nashley/npc/travelers
Fixed travelers having identity crises.
-rw-r--r-- | world/map/npc/functions/travelers.txt | 40 |
1 files changed, 14 insertions, 26 deletions
diff --git a/world/map/npc/functions/travelers.txt b/world/map/npc/functions/travelers.txt index 88a9ed9d..6b2103d8 100644 --- a/world/map/npc/functions/travelers.txt +++ b/world/map/npc/functions/travelers.txt @@ -43,26 +43,6 @@ OnInit: end; } -function|script|TravelerTut -{ - //Explain Travelers - if(@npcname$ == "") set @npcname$, strnpcinfo(1); - mes "["+@npcname$+"]"; - mes "\"We travelers are found all over the world. Once you have found another traveler, we can create a link and send you between us.\""; - next; - if (TravelFound & $@tut_bit) - goto L_Return; - goto L_SetBit; - -L_SetBit: - set TravelFound, TravelFound | $@tut_bit; - goto L_Return; - -L_Return: - set @npcname$, ""; - return; -} - function|script|Traveler { if(@npcname$ == "") set @npcname$, strnpcinfo(1); @@ -86,12 +66,20 @@ L_BitTravelSet: goto L_Start; L_TravelTut: - callfunc "TravelerTut"; + mes "["+@npcname$+"]"; + mes "\"We travelers are found all over the world. Once you have found a traveler at a certain location, you can be sent back there instantly by another traveler.\""; + next; + if (TravelFound & $@tut_bit) + goto L_Main; + goto L_SetBit; + +L_SetBit: + set TravelFound, TravelFound | $@tut_bit; goto L_Main; L_SetTravelBit: mes "["+@npcname$+"]"; - mes "\"Uplink Set. You can now return to this spot for a fee.\""; + mes "\"Uplink set. You can now return to this spot for a fee.\""; next; set TravelFound, TravelFound | @NpcTravelBit; goto L_BitTravelSet; @@ -227,25 +215,25 @@ L_TravelCandor: L_TravelNo: mes "["+@npcname$+"]"; - mes "\"Perhaps some day you will have the courage to help us.\""; + mes "\"Perhaps you will have the courage to help us some day.\""; close2; goto L_Clearvars; L_NoMoney: mes "["+@npcname$+"]"; - mes "\"Sorry, but you don't have enough money. Maybe next time.\""; + mes "\"I'm sorry, but you don't have enough money. Maybe next time.\""; close2; goto L_Clearvars; L_NoFound: mes "["+@npcname$+"]"; - mes "\"Sorry, but you haven't visited a traveler yet at that location. You should talk to a traveler there so you can quickly travel there in the future.\""; + mes "\"Sorry, but you haven't visited a traveler yet at that location. You should find and talk to a traveler there so you can quickly return to that location in the future.\""; close2; goto L_Clearvars; L_AlreadyThere: mes "["+@npcname$+"]"; - mes "\"Umm, you are already here. Are you sure you know where you are going?\""; + mes "\"Uh... You're already here. Are you sure you know where you are going?\""; close2; goto L_Clearvars; |