summaryrefslogtreecommitdiff
path: root/npc/017-10
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-10')
-rw-r--r--npc/017-10/dispatcher.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/npc/017-10/dispatcher.txt b/npc/017-10/dispatcher.txt
index a5a7e16e9..0af8168aa 100644
--- a/npc/017-10/dispatcher.txt
+++ b/npc/017-10/dispatcher.txt
@@ -62,6 +62,10 @@ L_Main:
rif(gethominfo(6) >= 10, l("Deploy to Rare Mines [2h]")),
rif(gethominfo(6) >= 15, l("Deploy to Slime Nest [2h]")),
rif(gethominfo(6) >= 30, l("Deploy to Snake Pit [3h]")),
+ "",
+ "",
+ "",
+ l("Deploy to The Market [1h]"),
l("Don't deploy");
mes "";
// Common drops: At least 90% drop
@@ -182,6 +186,23 @@ L_Main:
.@dest=.SNAKEPIT;
.@hours=3;
break;
+ case 10:
+ mesc ".:: " + l("The Market") + " ::.";
+ mesc l("Send your Homunculus to make money!");
+ mesc l("Average EXP: 8"), 3;
+ mesc l("Maximum Profit: 10000 GP"), 3;
+ mesc l("Common Drops: "+
+ getitemlink(Piberries));
+ mesc l("Regular Drops: "+
+ getitemlink(Bread)+
+ getitemlink(Cheese)+
+ getitemlink(Beer));
+ mesc l("Rare Drops: "+
+ getitemlink(TreasureMap));
+ next;
+ .@dest=.MARKET;
+ .@hours=1;
+ break;
default:
close;
}
@@ -286,6 +307,17 @@ function lootField {
HalfEggshell, .@lv, 6000,
GoldenApple, 1, 100);
break;
+ case .MARKET:
+ .@val+=8;
+ // Maximum Profit: 10,000 GP
+ // Sending a fresh homun in market may yield no GP.
+ Zeny+=min(10000, 1000*.@lv*min(10000, gethominfo(3))/10000);
+ anyloot(Piberries, .@lv, 9000,
+ Bread, .@lv, 7000,
+ Cheese, .@lv, 5000,
+ Beer, limit(1, .@lv/10, 10), 1200,
+ TreasureMap, 1, 420);
+ break;
}
// A final boost for sake of randomness
.@val+=rand2(0, 3);