summaryrefslogtreecommitdiff
path: root/npc/001-11/Demure.txt
diff options
context:
space:
mode:
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.");