summaryrefslogtreecommitdiff
path: root/npc/017-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-29 18:47:19 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-29 18:47:19 -0300
commitf68b541dfd491169ab3a8b2437e67fb68cae1cf9 (patch)
tree9a28bd7cd80112f80bbbff1b790302dfc2a2fb16 /npc/017-1
parent730259f6ead611f26d0c10dd35af38f4c08a4432 (diff)
downloadserverdata-f68b541dfd491169ab3a8b2437e67fb68cae1cf9.tar.gz
serverdata-f68b541dfd491169ab3a8b2437e67fb68cae1cf9.tar.bz2
serverdata-f68b541dfd491169ab3a8b2437e67fb68cae1cf9.tar.xz
serverdata-f68b541dfd491169ab3a8b2437e67fb68cae1cf9.zip
Get mad with @Saulc , and make Nowhere Man even worse!!!!!!!!
Diffstat (limited to 'npc/017-1')
-rw-r--r--npc/017-1/nowhere_man.txt79
1 files changed, 40 insertions, 39 deletions
diff --git a/npc/017-1/nowhere_man.txt b/npc/017-1/nowhere_man.txt
index 8e5177ee1..c372eac6b 100644
--- a/npc/017-1/nowhere_man.txt
+++ b/npc/017-1/nowhere_man.txt
@@ -3,7 +3,7 @@
// TMW-LoF Team
// Jesusalva
// Description:
-// Leather gloves. On LoF/TMWA he also crafted Iron Powder, Sulfur Powder, and Yellow Powder (for magic)
+// Pachua's Cousin. On LoF/TMWA he also crafted Iron Powder, Sulfur Powder, and Yellow Powder (for magic)
// IMPORTANT @Saulc : DO NOT GIVE ANY EXPERIENCE ON THIS NPC.
// This is sort of a bet, you know. “Go hunt Mountain Snakes”, or bet some precious
// crafting material on this NPC. Two choices. The easy way is RISKY, not REWARDING.
@@ -17,50 +17,51 @@
017-1,155,162,0 script Nowhere Man NPC_UKAR,{
mesn;
- mesq l("Welcome! I come from nowhere, and I hunt Mountain Snakes. One of their rare drops are the @@!", getitemlink(LeatherGloves));
+ mesq l("Welcome! I come from nowhere, and I hunt Snakes. I also make fine leather items from their skin!");
next;
mesn;
- mesq l("Of course, with 5 @@ and 3000 GP I could make one too, but I can fail.", getitemlink(LeatherPatch));
+ mesq l("Actually, I need to practice a little, so I'll make them almost with no cost for you!");
next;
mesn;
- mesq l("If I fail, I'll refund you in gold. Do you want me to try it?");
+ // 320 * 6 = 1920 GP vs 450 GP (-)
+ mesq l("If you bring me 6 @@ I can make a @@ for you.", getitemlink(MountainSnakeSkin), getitemlink(LeatherGloves));
+ // 95 * 2 = 190 GP vs 400 GP (210 GP)
+ mesq l("If you bring me 2 @@ and 210 GP, I can make a @@ for you.", getitemlink(CaveSnakeSkin), getitemlink(JeansShorts));
+ // 160 * 1 = 160 GP vs 500 GP (340 GP)
+ mesq l("If you bring me 1 @@ and 440 GP, I can make a @@ for you.", getitemlink(SnakeSkin), getitemlink(LeatherPatch));
next;
- if (askyesno() != ASK_YES) {
- mesn;
- mesq l("Well, that's a pity! I used to know the formula to make @@, but you know. Old age.", getitemlink(SulfurPowder));
- close;
- }
- if (countitem(LeatherPatch) < 5 || Zeny < 3000)
- goto L_Missing;
- inventoryplace LeatherGloves, 1;
- delitem LeatherPatch, 5;
- Zeny=Zeny-3000;
- if (rand(1,100) > 40)
- goto L_Success;
- else
- goto L_Failure;
+ select
+ l("Nice to know. I'll come to you when random numbers try to kill me."),
+ rif(countitem(MountainSnakeSkin) >= 6, l("I want the Gloves")),
+ rif(countitem(CaveSnakeSkin) >= 2 && Zeny >= 210, l("I want the Shorts")),
+ rif(countitem(SnakeSkin) >= 1 && Zeny >= 440, l("I want Leather Patch")),
+ l("Leather... Hmm... Do I know you from somewhere? Some... desert?");
-L_Failure:
- mesn;
- mesq l("Aah, the old age. Sorry. I won't be able to make the gloves for you today. %%3");
- Zeny=Zeny+(getiteminfo(LeatherPatch, ITEMINFO_SELLPRICE)*5)+3000;
- next;
- mesn;
- mesq l("As promised, here is @@ GP, the fair price for your material, and refunds.", format_number((getiteminfo(LeatherPatch, ITEMINFO_SELLPRICE)*5)+3000));
- close;
-
-L_Success:
- getitem LeatherGloves, 1;
- mesn;
- mesq l("Well, look at it: I did it!");
- next;
- mesn;
- mesq l("Please, enjoy your leather gloves.");
- close;
-
-L_Missing:
- mesn;
- mesq l("That's not everything I asked for.");
+ switch (@menu) {
+ case 2:
+ inventoryplace LeatherGloves, 1;
+ delitem MountainSnakeSkin, 6;
+ getitem LeatherGloves, 1;
+ mesn;
+ mesq l("Many thanks!");
+ break;
+ case 3:
+ inventoryplace JeansShorts, 1;
+ delitem CaveSnakeSkin, 2;
+ Zeny=Zeny-210;
+ getitem JeansShorts, 1;
+ mesn;
+ mesq l("Many thanks!");
+ break;
+ case 4:
+ inventoryplace LeatherPatch, 1;
+ delitem SnakeSkin, 1;
+ Zeny=Zeny-440;
+ getitem LeatherPatch, 1;
+ mesn;
+ mesq l("Many thanks!");
+ break;
+ }
close;