summaryrefslogtreecommitdiff
path: root/npc/008-2-2
diff options
context:
space:
mode:
Diffstat (limited to 'npc/008-2-2')
-rw-r--r--npc/008-2-2/melania.txt4
-rw-r--r--npc/008-2-2/melinda.txt6
-rw-r--r--npc/008-2-2/shop.txt18
3 files changed, 11 insertions, 17 deletions
diff --git a/npc/008-2-2/melania.txt b/npc/008-2-2/melania.txt
index bfd1e8be..cf02dc90 100644
--- a/npc/008-2-2/melania.txt
+++ b/npc/008-2-2/melania.txt
@@ -26,7 +26,7 @@
lodge_check();
} while (@menu != 2);
- mesn;
+ speech S_FIRST_BLANK_LINE,
l("I wish you a beautiful day.");
close;
@@ -89,7 +89,7 @@
else
{
emotion E_HAPPY;
- Zeny = Zeny - .@price;
+ Zeny -= .@price;
INN_REGISTER = .inn;
PC_IS_DEAD = false;
diff --git a/npc/008-2-2/melinda.txt b/npc/008-2-2/melinda.txt
index 86f26e96..17127656 100644
--- a/npc/008-2-2/melinda.txt
+++ b/npc/008-2-2/melinda.txt
@@ -47,7 +47,7 @@ switch (select(l("Sure! [Don't tip]"),
getinventorylist;
if (@inventorylist_count == 100 && countitem("Beer") == 0)
goto L_TooMany;
- set Zeny, Zeny - 90;
+ Zeny -= 90;
getitem Beer, 1;
mes "";
mesn;
@@ -59,7 +59,7 @@ switch (select(l("Sure! [Don't tip]"),
getinventorylist;
if (@inventorylist_count == 100 && countitem("Beer") == 0)
goto L_TooMany;
- set Zeny, Zeny - 95;
+ Zeny -= 95;
getitem "Beer", 1;
mes "";
mesn;
@@ -71,7 +71,7 @@ switch (select(l("Sure! [Don't tip]"),
getinventorylist;
if (@inventorylist_count == 100 && countitem("Beer") == 0)
goto L_TooMany;
- set Zeny, Zeny - 100;
+ Zeny -= 100;
getitem "Beer", 1;
mes "";
mesn;
diff --git a/npc/008-2-2/shop.txt b/npc/008-2-2/shop.txt
index d0db9b67..d3699092 100644
--- a/npc/008-2-2/shop.txt
+++ b/npc/008-2-2/shop.txt
@@ -1,6 +1,7 @@
// Evol scripts.
// Authors:
// 4144
+// jesusalva
// Reid
// toams
// Description:
@@ -17,25 +18,17 @@ OnInit:
sellitem Cheese, -1, 50;
sellitem CherryCake, -1, 50;
sellitem SmallHealing, -1, 50;
+ sellitem MaggotSlimePotion, -1, 50;
.sex = G_OTHER;
.distance = 10;
end;
+// FIXME Note: "20" doesn't means "restock 20 units".
+// It means "restock if less than 20 units are being sold".
+// Is this behavior intended? Seems like a bug.
OnClock0000:
- restoreshopitem Beer, 20;
- restoreshopitem Bread, 20;
- restoreshopitem RedPlushWine, 20;
- restoreshopitem Cheese, 20;
- restoreshopitem CherryCake, 20;
- restoreshopitem SmallHealing, 20;
OnClock0800:
- restoreshopitem Beer, 20;
- restoreshopitem Bread, 20;
- restoreshopitem RedPlushWine, 20;
- restoreshopitem Cheese, 20;
- restoreshopitem CherryCake, 20;
- restoreshopitem SmallHealing, 20;
OnClock1600:
restoreshopitem Beer, 20;
restoreshopitem Bread, 20;
@@ -43,4 +36,5 @@ OnClock1600:
restoreshopitem Cheese, 20;
restoreshopitem CherryCake, 20;
restoreshopitem SmallHealing, 20;
+ restoreshopitem MaggotSlimePotion, 50;
}