diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-09-18 15:56:01 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-09-18 15:57:24 -0600 |
commit | bdc83ba6d744a563c83f295d5910ca6b2819ac1a (patch) | |
tree | eedd59b84f5c45d5964a2139d681a252fb91707a /npc/001-1_Tulimshar | |
parent | 0738d6d97334d9127007e06bac87f23f4170534c (diff) | |
download | serverdata-bdc83ba6d744a563c83f295d5910ca6b2819ac1a.tar.gz serverdata-bdc83ba6d744a563c83f295d5910ca6b2819ac1a.tar.bz2 serverdata-bdc83ba6d744a563c83f295d5910ca6b2819ac1a.tar.xz serverdata-bdc83ba6d744a563c83f295d5910ca6b2819ac1a.zip |
Add some NPCs to give out the new skils
Diffstat (limited to 'npc/001-1_Tulimshar')
-rw-r--r-- | npc/001-1_Tulimshar/_import.txt | 1 | ||||
-rw-r--r-- | npc/001-1_Tulimshar/trader.txt | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/npc/001-1_Tulimshar/_import.txt b/npc/001-1_Tulimshar/_import.txt index b66c4168..6e189ffd 100644 --- a/npc/001-1_Tulimshar/_import.txt +++ b/npc/001-1_Tulimshar/_import.txt @@ -17,4 +17,5 @@ npc: npc/001-1_Tulimshar/rewards_master.txt npc: npc/001-1_Tulimshar/rules.txt npc: npc/001-1_Tulimshar/sandra.txt npc: npc/001-1_Tulimshar/soul-menhir.txt +npc: npc/001-1_Tulimshar/trader.txt npc: npc/001-1_Tulimshar/vincent.txt diff --git a/npc/001-1_Tulimshar/trader.txt b/npc/001-1_Tulimshar/trader.txt new file mode 100644 index 00000000..73221326 --- /dev/null +++ b/npc/001-1_Tulimshar/trader.txt @@ -0,0 +1,56 @@ +// + +001-1.gat,57,33,0 script Trader 115,{ + set @TRADE_SKILL, 2; + if (getskilllv(@TRADE_SKILL) > 0) goto L_Has; + + mes "[Trader]"; + mes "\"Hello. I came here to trade wares with the people of Tulimshar. Unfortunately for you, I've traded everything I had.\""; + next; + menu + "Oh. I'll go then.", -, + "You don't have anything?", L_More; + close; + +L_More: + mes "[Trader]"; + mes "\"No. I have nothing for you. Except...\""; + next; + menu + "Yes?", L_Except, + "Ok then.", -; + close; + +L_Except: + mes "[Trader]"; + mes "\"I could teach you how to trade. It'll cost you 5GP.\""; + next; + menu + "Sure", L_Teach, + "No thank you", -; + close; + +L_Teach: + if (zeny < 5) L_NotEnoughMoney; + set zeny, zeny - 5; + setskill @TRADE_SKILL, 1; + mes "[Trader]"; + mes "\"You can initiate trade with someone by right-clicking on them and choosing trade."; + mes "You'll both add the items and set the GP you're putting up then press propose trade."; + mes "After both parties have proposed their side, you can both review the trade, and then accept or reject by closing the window.\""; + next; + mes "[Trader]"; + mes "\"Items added to the trade cannot be removed, and so mistakes have to be dealt with by canceling the trade."; + mes "You need to press the change button to let the other person know about GP changes.\""; + close; + +L_Has: + mes "[Trader]"; + mes "\"I still don't have anything to trade. I wonder where that shipment is....\""; + close; + +L_NotEnoughMoney: + mes "[Trader]"; + mes "\"You don't have enough GP\""; + close; +} |