diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-07-07 20:36:00 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-07-07 20:36:00 -0300 |
commit | 6967b9e0b63d19141d4f59b7933a960ac81916d0 (patch) | |
tree | 8ecd9cd2461f3598cb7faece71eb77162aa4ef2a /npc/002-3 | |
parent | 9877fd4ad81120af8e63e96d5d429092014dc017 (diff) | |
parent | 046c659193e1ca8bd13478678d1277df8bf9395c (diff) | |
download | serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.gz serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.bz2 serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.xz serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.zip |
Merge branch 'master' into legacy
Override all files with 'master' version.
This version is meant to preserve git history as requested by bjorn.
Diffstat (limited to 'npc/002-3')
-rw-r--r-- | npc/002-3/_import.txt | 8 | ||||
-rw-r--r-- | npc/002-3/_warps.txt | 5 | ||||
-rw-r--r-- | npc/002-3/mapflags.txt | 1 | ||||
-rw-r--r-- | npc/002-3/merchant.txt | 19 | ||||
-rw-r--r-- | npc/002-3/mining_camp_barrier.txt | 13 | ||||
-rw-r--r-- | npc/002-3/nathan.txt | 103 | ||||
-rw-r--r-- | npc/002-3/traveler.txt | 7 |
7 files changed, 156 insertions, 0 deletions
diff --git a/npc/002-3/_import.txt b/npc/002-3/_import.txt new file mode 100644 index 00000000..ce2e20be --- /dev/null +++ b/npc/002-3/_import.txt @@ -0,0 +1,8 @@ +// Map 002-3: Tulimshar Mining Camp +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/002-3/_warps.txt", +"npc/002-3/mapflags.txt", +"npc/002-3/merchant.txt", +"npc/002-3/mining_camp_barrier.txt", +"npc/002-3/nathan.txt", +"npc/002-3/traveler.txt", diff --git a/npc/002-3/_warps.txt b/npc/002-3/_warps.txt new file mode 100644 index 00000000..916086cb --- /dev/null +++ b/npc/002-3/_warps.txt @@ -0,0 +1,5 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 002-3: Tulimshar Mining Camp warps +002-3,22,87,0 warp #002-3_22_87 0,0,043-3,31,27 +002-3,85,51,0 warp #002-3_85_51 0,0,002-1,92,115 +002-3,51,36,0 warp #002-3_51_36 0,0,002-1,33,110 diff --git a/npc/002-3/mapflags.txt b/npc/002-3/mapflags.txt new file mode 100644 index 00000000..46f04c89 --- /dev/null +++ b/npc/002-3/mapflags.txt @@ -0,0 +1 @@ +//002-3 mapflag resave 002-3,72,66 diff --git a/npc/002-3/merchant.txt b/npc/002-3/merchant.txt new file mode 100644 index 00000000..0b6bebfb --- /dev/null +++ b/npc/002-3/merchant.txt @@ -0,0 +1,19 @@ +// The Mana World Script +// (C) Jesusalva, 2021 +// Licensed under GPLv2 or later + +002-3,60,47,0 script Ishyah NPC109,{ + shop .name$; + goodbye; + close; + +OnInit: + tradertype(NST_ZENY); + sellitem MinersHat; + sellitem MinerGloves; + sellitem ShortBow; + sellitem Arrow, 2; + sellitem LeatherShield; + .distance = 5; + end; +} diff --git a/npc/002-3/mining_camp_barrier.txt b/npc/002-3/mining_camp_barrier.txt new file mode 100644 index 00000000..7a6acb74 --- /dev/null +++ b/npc/002-3/mining_camp_barrier.txt @@ -0,0 +1,13 @@ +002-3,82,32,0 script #Sandstorm_Mine_Barrier NPC45,0,0,{ + if (QL_MINEALL >= 8) goto L_Barrier_Open; + + message strcharinfo(0), "Some force seems to block your entrance."; + goto L_End; + +L_Barrier_Open: + warp "002-4",37,31; + goto L_End; + +L_End: + end; +} diff --git a/npc/002-3/nathan.txt b/npc/002-3/nathan.txt new file mode 100644 index 00000000..0e6a9c26 --- /dev/null +++ b/npc/002-3/nathan.txt @@ -0,0 +1,103 @@ +002-3,42,45,6 script Nathan NPC109,{ + if (QL_MINEALL >= 20) goto L_Nathan_Complete; + if (QL_MINEALL == 19) goto L_Nathan_UGQ_Naem; + if (QL_MINEALL == 18) goto L_Nathan_Help_Cool; + if (QL_MINEALL == 17) goto L_Nathan_Help_Done; + if (QL_MINEALL == 16) goto L_Nathan_Waits_3; + if (QL_MINEALL == 15) goto L_Nathan_Help_3; + if (QL_MINEALL == 14) goto L_Nathan_Waits_2; + if (QL_MINEALL == 13) goto L_Nathan_Help_2; + if (QL_MINEALL == 12) goto L_Nathan_Waits_1; + if (QL_MINEALL == 11) goto L_Nathan_Help_1; + if (QL_MINEALL == 9) goto L_Nathan_Cool; + if (QL_MINEALL == 8) goto L_Nathan_Okay; + + mes "[Nathan the Miner]"; + mes "\"It's very dangerous in here. We had a big earthquake here just recently, too... so be careful!\""; + goto L_close; + +L_Nathan_Okay: + QL_MINEALL = 9; + mes "[Nathan]"; + mes "\"Hey there! Just mining away down here. You say Nickos was worried about us? Nothing down here we can't handle, but you should try to be safe down here yourself. The monsters can be rather aggressive. Come to think of it, you might want to check on Naem to make sure he's okay. You can find him in the southeast parts of the mine.\""; + goto L_close; + +L_Nathan_Cool: + mes "[Nathan]"; + mes "\"Hey, be careful down here, the monsters can be rather aggressive! You might want to check on Naem too. He's at the southeast parts of the mine.\""; + goto L_close; + +L_Nathan_Help_1: + QL_MINEALL = 12; + mes "[Nathan]"; + mes "\"Oh, hey again! Nickos told you we need some help down here too? Yeah, Naem could use a spare pair of hands moving his bags of ore to me. He's got a lot of work built up. Just go talk to him and he'll give you the bags. You might have to make a few trips, but I'll make it worth your troubles.\""; + goto L_close; + +L_Nathan_Waits_1: + mes "[Nathan]"; + mes "\"Naem could use some help moving his bags of ore to me. He's got a lot of work built up. Just go talk to him and he'll give you the bags. You might have to make a few trips, but I'll make it worth your troubles.\""; + goto L_close; + +L_Nathan_Help_2: + QL_MINEALL = 14; + mes "You give the bag of ore to Nathan"; + next; + mes "[Nathan]"; + mes "\"Ah, thank you. Just a couple more and we'll have caught up!\""; + goto L_close; + +L_Nathan_Waits_2: + mes "[Nathan]"; + mes "\"Just a couple more and we'll be all caught up!\""; + goto L_close; + +L_Nathan_Help_3: + QL_MINEALL = 16; + mes "You hand the bag of ore to Nathan."; + next; + mes "[Nathan]"; + mes "\"Just one more bag and you'll be done!\""; + goto L_close; + +L_Nathan_Waits_3: + mes "[Nathan]"; + mes "\"Just get one more bag of ore from Naem and bring it to me and you'll be done.\""; + goto L_close; + +L_Nathan_Help_Done: + getinventorylist; + if (@inventorylist_count == 100) + goto L_Nathan_TooMany; + QL_MINEALL = 18; + getitem "MinersHat", 1; + mes "[Nathan]"; + mes "You hand the bag of ore to Nathan."; + next; + mes "\"Ah, that should be it! Thank you for your help. Here, take this Miner's Hat. You're a real miner now!\""; + next; + mes "\"Oh, and I noticed a problem with these angry scorpions down here, they seem to make things much more difficult. Maybe you could tell Nickos about it on your way out?\""; + goto L_close; + +L_Nathan_TooMany: + mes "[Nathan]"; + mes "\"You have too many items for me to give you a reward.\""; + goto L_close; + +L_Nathan_Help_Cool: + mes "[Nathan]"; + mes "\"Be safe down here, it's dangerous for the unexperienced. Mining is a dangerous job, but somebody's got to do it!\""; + goto L_close; + +L_Nathan_UGQ_Naem: + mes "[Nathan]"; + mes "\"Thanks for thinning down the angry scorpion population. It sure has made mining a little easier down here! Oh, you say Nickos has given you permission to check out the underground palace? Talk to Naem, he's got the key and the code.\""; + goto L_close; + +L_Nathan_Complete: + mes "[Nathan]"; + mes "\"Mining is a dangerous job, but somebody's got to do it!\""; + goto L_close; + +L_close: + close; +} diff --git a/npc/002-3/traveler.txt b/npc/002-3/traveler.txt new file mode 100644 index 00000000..5fc218c6 --- /dev/null +++ b/npc/002-3/traveler.txt @@ -0,0 +1,7 @@ + +002-3,25,28,0 script Jena the Traveler NPC103,{ + @npcname$ = "Jena"; + @NpcTravelBit = $@tul_mine_bit; + callfunc "Traveler"; + end; +} |