summaryrefslogtreecommitdiff
path: root/db/re/item_db.conf
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-08 19:56:12 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-08 19:56:12 -0200
commit86389b43c807e0f21af88867ed7ad9e668e41ed3 (patch)
tree8b68a0d5b1838fa23b036b2844080ca11561d783 /db/re/item_db.conf
parent567acc600a13dfcb24ee6ffa18a60335721b6426 (diff)
downloadserverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.tar.gz
serverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.tar.bz2
serverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.tar.xz
serverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.zip
Valentine Day not working yet
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)
{