diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-11-13 10:51:46 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-11-13 10:51:46 -0300 |
commit | 090602e73405ca7ab892a647e092502f76a31665 (patch) | |
tree | f11296e9004a95c92cfd5e7048846105bf77104c /db/re/item_db.conf | |
parent | be03113cd1b62b21aed36ca65ae32ae15cbb62b0 (diff) | |
download | serverdata-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.conf | 6 |
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); } } |