diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-15 11:46:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-15 11:46:02 -0300 |
commit | 8dea5487a3d8831a28cf8cb0e69958a930c29d49 (patch) | |
tree | 1df690d59648d8a9d544b5eadb3f3439915173c8 /npc/017-1 | |
parent | d8daf7f7c31ff20552a761942b41fc678d2eea4b (diff) | |
download | serverdata-8dea5487a3d8831a28cf8cb0e69958a930c29d49.tar.gz serverdata-8dea5487a3d8831a28cf8cb0e69958a930c29d49.tar.bz2 serverdata-8dea5487a3d8831a28cf8cb0e69958a930c29d49.tar.xz serverdata-8dea5487a3d8831a28cf8cb0e69958a930c29d49.zip |
017-1 Boring NPC to craft [Green Dye]
Diffstat (limited to 'npc/017-1')
-rw-r--r-- | npc/017-1/_import.txt | 1 | ||||
-rw-r--r-- | npc/017-1/boringnpc.txt | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/npc/017-1/_import.txt b/npc/017-1/_import.txt index 151fd3391..b122baf2e 100644 --- a/npc/017-1/_import.txt +++ b/npc/017-1/_import.txt @@ -3,6 +3,7 @@ "npc/017-1/017-1_stranger_blackbox.txt", "npc/017-1/_mobs.txt", "npc/017-1/_warps.txt", +"npc/017-1/boringnpc.txt", "npc/017-1/estate.txt", "npc/017-1/fairy_collector.txt", "npc/017-1/guards.txt", diff --git a/npc/017-1/boringnpc.txt b/npc/017-1/boringnpc.txt new file mode 100644 index 000000000..5ca4f5359 --- /dev/null +++ b/npc/017-1/boringnpc.txt @@ -0,0 +1,66 @@ +// TMW2/LoF scripts. +// Authors: +// TMW-LoF Team +// Jesusalva +// Description: +// Permanently repeatable quest, without any special limit + +017-1,123,58,0 script Boring NPC NPC_RUMLY,{ + .@price=30; + mesn; + mesq l("Hwellow. I am a boring NPC which makes green dye."); // Typo on purpose: Uwhaaaaah (as in waking up) + hello + next; + mesn; + mesq l("Hwaaaah... Man, I'm bored. Will you be getting @@?", getitemlink(GreenDye)); + if ($EVENT$ == "St. Patrick") { + mesc l("It's St. Patrick Day, so be warned everyone wants a green dye... So, I raise the prices."); + .@price*=3; + } + next; + mesn; + mes l("For you, boring person like me, It'll cost the small amount of:"); + mes l("* @@/@@ @@", countitem(CobaltHerb), .@price+10, getitemlink(CobaltHerb)); + mes l("* @@/@@ @@", countitem(GambogeHerb), .@price+10, getitemlink(GambogeHerb)); + mes l("* @@/@@ @@", countitem(BugLeg), .@price, getitemlink(BugLeg)); + mes l("@@/@@ GP", format_number(Zeny), format_number(.@price*2)); + next; + select + l("Do it!"), + l("What a rip-off!"); + mes ""; + if (@menu == 2) { + mesn; + mesq l("Aha! I knew you were a boring person..."); + close; + } + if ( + countitem(CobaltHerb) < .@price+10 || + countitem(GambogeHerb) < .@price+10 || + countitem(BugLeg) < .@price || + Zeny < .@price*2 + ) + goto L_NotEnough; + inventoryplace GreenDye, 1; + delitem CobaltHerb, .@price+10; + delitem GambogeHerb, .@price+10; + delitem BugLeg, .@price; + Zeny-=.@price*2; + getitem GreenDye, 1; + mesn; + mesq l("There you go, boring person... You will look like the trees here. Ugh, disgusting."); + close; + +L_NotEnough: + mesn; + mesq l("Please don't bore me even more... That's clearly not everything."); + next; + mesn; + mesq l("I wonder if anyone will notice or care if I take a nap here..."); + close; + +OnInit: + .sex=G_MALE; + .distance=5; + end; +} + |