diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-14 23:46:46 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-14 23:46:46 -0300 |
commit | 3be92a1b605dc6fd82476e070648e16a12e1018f (patch) | |
tree | fd52d5502dc8692585dffcf19456d1ca3277a0b3 /npc/003-8 | |
parent | 9cfc9c7183048642affefd1d05376aad3e456139 (diff) | |
download | serverdata-3be92a1b605dc6fd82476e070648e16a12e1018f.tar.gz serverdata-3be92a1b605dc6fd82476e070648e16a12e1018f.tar.bz2 serverdata-3be92a1b605dc6fd82476e070648e16a12e1018f.tar.xz serverdata-3be92a1b605dc6fd82476e070648e16a12e1018f.zip |
Tulimshar Crafting Table (cost: 600 GP per craft)
Diffstat (limited to 'npc/003-8')
-rw-r--r-- | npc/003-8/_import.txt | 1 | ||||
-rw-r--r-- | npc/003-8/craft.txt | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/npc/003-8/_import.txt b/npc/003-8/_import.txt index 64d2cc862..e43b01769 100644 --- a/npc/003-8/_import.txt +++ b/npc/003-8/_import.txt @@ -1,5 +1,6 @@ // Map 003-8: Terranite Forge // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/003-8/_warps.txt", +"npc/003-8/craft.txt", "npc/003-8/intensebeard.txt", "npc/003-8/jhedia.txt", diff --git a/npc/003-8/craft.txt b/npc/003-8/craft.txt new file mode 100644 index 000000000..dc4b3917b --- /dev/null +++ b/npc/003-8/craft.txt @@ -0,0 +1,41 @@ +// TMW2: Moubootaur Legends scripts. +// Author: +// Jesusalva +// Description: +// Rentable Craft Bench + +024-14,28,27,0 script Crafting Table NPC_NO_SPRITE,{ + do { + mesc l("What will you craft today?"); + mesc l("It costs 600 GP to use."), 1; + if (Zeny < 600) + close; + + if (SmithSystem(CRAFT_PLAYER)) { + if (Zeny < 600) { + mesc l("WARNING, you have been detected cheating and thus, violating Tulimshar Anti-Theft Policy."), 1; + mesc l("You were jailed and now need a GM to get you out of there."), 1; + logmes "WARNING, "+strcharinfo(0)+" found out cheating, only had "+Zeny+"/600 GP for craft table. Jailed.", LOGMES_ATCOMMAND; + atcommand("@jail "+strcharinfo(0)); + // Apply a more realistic penalty + Zeny=0; + CRAFTSYS_CURRENT=0; + close; + } + Zeny-=600; + mesc l("Success!"), 3; + } else { + mesc l("That didn't work!"), 1; + } + next; + mesc l("Try again?"); + } while (askyesno() == ASK_YES); + + close; + +OnInit: + .distance=3; + end; +} + + |