summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-18 23:06:24 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-18 23:06:24 -0300
commitb0034d4a82e990230ffa5fe270dc4d8a98d1854d (patch)
tree020ed06dfa40b3046f30614f2e92ac6c87782154 /npc
parent9d54a22fc95a9cb1fe8c57c039372499bf378c0f (diff)
downloadserverdata-b0034d4a82e990230ffa5fe270dc4d8a98d1854d.tar.gz
serverdata-b0034d4a82e990230ffa5fe270dc4d8a98d1854d.tar.bz2
serverdata-b0034d4a82e990230ffa5fe270dc4d8a98d1854d.tar.xz
serverdata-b0034d4a82e990230ffa5fe270dc4d8a98d1854d.zip
Ramp up Elli's Chest difficulty
Diffstat (limited to 'npc')
-rw-r--r--npc/011-4/chest.txt20
1 files changed, 13 insertions, 7 deletions
diff --git a/npc/011-4/chest.txt b/npc/011-4/chest.txt
index c8a695677..abca29694 100644
--- a/npc/011-4/chest.txt
+++ b/npc/011-4/chest.txt
@@ -18,22 +18,28 @@
mesc l("Elli prepared a prize for you... If you manage to open it.");
switch (season())
{
- case SUMMER: .@item=any(CherryCocktail, CactusCocktail, AppleCocktail); .@prize=ElliEssence; break;
- case WINTER: .@item=any(Snowflake, CaramelCandy, SmallChocolateBar); .@prize=AngelWings; break;
- case SPRING: .@item=any(Rose, Tulip, Blueberries); .@prize=DragonWings; break;
- case AUTUMN: .@item=any(Lawncandy, Saulcandy, Poocandy); .@prize=ElliDisguise; break;
+ case SUMMER: setarray(.@item, CherryCocktail, CactusCocktail, AppleCocktail); .@prize=ElliEssence; break;
+ case WINTER: setarray(.@item, Snowflake, CaramelCandy, SmallChocolateBar); .@prize=AngelWings; break;
+ case SPRING: setarray(.@item, Rose, Tulip, Blueberries); .@prize=DragonWings; break;
+ case AUTUMN: setarray(.@item, Lawncandy, Saulcandy, Poocandy); .@prize=ElliDisguise; break;
}
- mesc l("Maybe %s %s will do it.", fnum(1000), .@item);
+ mesc l("Maybe %s %s will do it.", fnum(1000), .@item[0]);
+ mesc l("Maybe %s %s will do it.", fnum(1000), .@item[1]);
+ mesc l("Maybe %s %s will do it.", fnum(1000), .@item[2]);
if (!.@prize) {
next;
mesn l("Elli");
mesq l("Not today, I still haven't decided the prize!");
close;
}
- if (countitem(.@item) < 1000) close;
+ if (countitem(.@item[0]) < 1000) close;
+ if (countitem(.@item[1]) < 1000) close;
+ if (countitem(.@item[2]) < 1000) close;
mesc l("Deliver the items to the Chest?"), 1;
if (askyesno() == ASK_NO) close;
- delitem .@item, 1000;
+ delitem .@item[0], 1000;
+ delitem .@item[1], 1000;
+ delitem .@item[2], 1000;
getitem .@prize, 1;
setq SQuest_ElliChest, (getq(SQuest_ElliChest) | .@season);
mes "";