summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-09 22:04:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-09 22:04:32 +0300
commit199dc3e135ccedd6f92f27db69cf5f8a3f54ae7b (patch)
tree03bcd5efd681d530b68769c236569e41f0b3c1b0
parent50bc9338b9dde2c30fa2b7994152462ce346e62e (diff)
downloadserverdata-199dc3e135ccedd6f92f27db69cf5f8a3f54ae7b.tar.gz
serverdata-199dc3e135ccedd6f92f27db69cf5f8a3f54ae7b.tar.bz2
serverdata-199dc3e135ccedd6f92f27db69cf5f8a3f54ae7b.tar.xz
serverdata-199dc3e135ccedd6f92f27db69cf5f8a3f54ae7b.zip
Add into acorn use script message about planting not implemented.
-rw-r--r--db/re/item_db.conf17
1 files changed, 12 insertions, 5 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index ec4a38d6..07ed650b 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -151,11 +151,18 @@ item_db: (
Sprite: 0
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 12;
- @max = 18;
- @delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ if (@useType == 1)
+ {
+ dispbottom(l("Planting not implemented."));
+ }
+ else
+ {
+ @min = 12;
+ @max = 18;
+ @delay = 3;
+ @type = 1;
+ doevent "rand_sc_heal::OnUse";
+ }
">
},
{