summaryrefslogtreecommitdiff
path: root/npc/001-11/Demure.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-09 01:38:09 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-09 01:38:09 -0200
commit9a21e79c6eb238906de8dcf811f2ac5353163630 (patch)
treeb512e80d9866c40774bf3ad342f95b003871dc36 /npc/001-11/Demure.txt
parentaf131ba5962d70fcaee5e09ad88ae4c3feaedad8 (diff)
downloadserverdata-9a21e79c6eb238906de8dcf811f2ac5353163630.tar.gz
serverdata-9a21e79c6eb238906de8dcf811f2ac5353163630.tar.bz2
serverdata-9a21e79c6eb238906de8dcf811f2ac5353163630.tar.xz
serverdata-9a21e79c6eb238906de8dcf811f2ac5353163630.zip
[skip ci] minor bugfixes from playtesting
Diffstat (limited to 'npc/001-11/Demure.txt')
-rw-r--r--npc/001-11/Demure.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/npc/001-11/Demure.txt b/npc/001-11/Demure.txt
index 1d5f6871e..5cad9f2fb 100644
--- a/npc/001-11/Demure.txt
+++ b/npc/001-11/Demure.txt
@@ -34,7 +34,7 @@
input @Val_Ammo;
mes "";
- if (@Val_Ammo > countitem(BoxOfChocolates)) {
+ if (@Val_Ammo > countitem(BoxOfChocolates) || @Val_Ammo < 1) {
mesc l("You don't have that many!");
return;
}
@@ -84,11 +84,16 @@
else
htput $@VALENTINE_LOVELETTER, .@ref, .@s$+", "+strip(strcharinfo(0));
- // Get the bonus: 1 point for 2 boxes, capped at 25 and minimum 1 extra point
+ // Get the bonus
+ // Old rule: 1 point for 2 boxes, capped at 25 and minimum 1 extra point
// Sending over 50 boxes at once won't give bonus, give another Love Letter.
- #VALENTINE_POINTS+=min(25, max(1, @Val_Ammo/2));
+ //#VALENTINE_POINTS+=min(25, max(1, @Val_Ammo/2));
+
+ // New rule: Double points up to 10 points
+ #VALENTINE_POINTS+=min(10, @Val_Ammo);
} // Love Letter OK
+ mesc l("Ok, done!");
} // Not yourself
} // Valid Person
} else {
@@ -155,7 +160,7 @@ L_Main:
switch (@menu) {
case 1:
mesn;
- mes lg("Valentine Day event consist in gathering @@ and sending them to your loved one.", getitemlink(BoxOfChocolates));
+ mes lg("Valentine Day event consist in gathering @@ and sending them to your loved one.","Valentine Day event consist in gathering @@ and sending them to your loved one.", getitemlink(BoxOfChocolates));
next;
mesn;
mes l("Don't worry if they don't correspond to you. Each box sent will grant you 1 event point.");