summaryrefslogtreecommitdiff
path: root/db/re/item_db.conf
diff options
context:
space:
mode:
Diffstat (limited to 'db/re/item_db.conf')
-rw-r--r--db/re/item_db.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 1e51a6a2e..40291ca80 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -2697,6 +2697,30 @@ item_db: (
dispbottom l("The potion expired!");
">
},
+{
+ Id: 641
+ AegisName: "BoxOfChocolates"
+ Name: "Box Of Chocolates"
+ Type: "IT_USABLE"
+ Buy: 3700
+ Sell: 0
+ Weight: 11
+ Refine: false
+ ViewSprite: 641
+ Script: <"
+ if ($EVENT$ != "Valentine" || #VALENTINE_OPENED >= #VALENTINE_RECEIVED) {
+ dispbottom l("Past due date.");
+ } else {
+ // I know technically this is wrong grammar, but I want fixed width
+ #VALENTINE_OPENED=#VALENTINE_OPENED+1;
+ #VALENTINE_POINTS=#VALENTINE_POINTS+1;
+ if (rand(0,1))
+ dispbottom l("It's tasty ^.^");
+ else
+ dispbottom l("It's yummy ^.^");
+ }
+ ">
+},
// Mounts (690 to 699, probably there will be extra IDs)
{