summaryrefslogtreecommitdiff
path: root/db/re/item_db.conf
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-11-13 10:51:46 -0300
committerJesusaves <cpntb1@ymail.com>2019-11-13 10:51:46 -0300
commit090602e73405ca7ab892a647e092502f76a31665 (patch)
treef11296e9004a95c92cfd5e7048846105bf77104c /db/re/item_db.conf
parentbe03113cd1b62b21aed36ca65ae32ae15cbb62b0 (diff)
downloadserverdata-090602e73405ca7ab892a647e092502f76a31665.tar.gz
serverdata-090602e73405ca7ab892a647e092502f76a31665.tar.bz2
serverdata-090602e73405ca7ab892a647e092502f76a31665.tar.xz
serverdata-090602e73405ca7ab892a647e092502f76a31665.zip
Tree planting code update
Diffstat (limited to 'db/re/item_db.conf')
-rw-r--r--db/re/item_db.conf6
1 files changed, 2 insertions, 4 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index da0dd14e4..6f2935219 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -187,7 +187,7 @@ item_db: (
getmapxy(.@map$, .@x, .@y, 0);
if (rand(1,10) != 3) {
monster(.@map$, .@x, .@y, l("Oak"), 1017, 1);
- $TREE_PLANTED=$TREE_PLANTED+1;
+ $TREE_PLANTED+=+1;
callfunc "SaggyScoreUpdate", callfunc("rand2", 1, 2);
} else {
monster(.@map$, .@x, .@y, l("Not An Oak"), SpringSquirrel, 1);
@@ -2258,7 +2258,6 @@ item_db: (
if (@useType == 1) {
if (!getmapxy(.@map$, .@x, .@y, 0)) {
monster(.@map$, .@x, .@y, .@name$, .@mid, .@am);
- //$TREE_PLANTED=$TREE_PLANTED+1; // Not a tree.... right?
}
}
">
@@ -2392,7 +2391,6 @@ item_db: (
monster(.@map$, .@x, .@y, l("Pumpkandy"), Pumpkandy, 1);
if ($EVENT$ == "Halloween")
monster(.@map$, .@x, .@y, l("Pumpkandy"), Pumpkandy, 1);
- //$TREE_PLANTED=$TREE_PLANTED+1; // Not a tree.
}
">
},
@@ -13836,7 +13834,7 @@ item_db: (
} else {
if (!getmapxy(.@map$, .@x, .@y, 0)) {
monster(.@map$, .@x, .@y, l("Oak"), 1017, 1);
- $TREE_PLANTED=$TREE_PLANTED+1;
+ $TREE_PLANTED+=+1;
callfunc "SaggyScoreUpdate", callfunc("rand2", 1, 2);
}
}