summaryrefslogtreecommitdiff
path: root/npc/items/shovel.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-01 00:57:32 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-01 00:57:32 -0300
commit70df6ef331b2cfed0251fcc447dfef557f0fb91f (patch)
tree6a2c18544c72b074d1bda6328ebdb15c2a81e6f0 /npc/items/shovel.txt
parent32abc8e60146161efab3a88b1318a898e509c66b (diff)
downloadserverdata-70df6ef331b2cfed0251fcc447dfef557f0fb91f.tar.gz
serverdata-70df6ef331b2cfed0251fcc447dfef557f0fb91f.tar.bz2
serverdata-70df6ef331b2cfed0251fcc447dfef557f0fb91f.tar.xz
serverdata-70df6ef331b2cfed0251fcc447dfef557f0fb91f.zip
[skip ci] debug debug debug
Diffstat (limited to 'npc/items/shovel.txt')
-rw-r--r--npc/items/shovel.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index 7418105e9..b33cbbfae 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -34,6 +34,8 @@ function script shovel_scatter {
.@id=getarg(5);
.@amount=getarg(6,1);
+ .@wtc = getarraysize($@WBT_Random_id);
+ debugmes "Asked to scatter "+.@amount+" items. Currently scattered: "+.@wtc;
for (.@i = 0; .@i < .@amount; .@i++)
shovel_scriptItem(.@map$, rand(.@x1,.@x2), rand(.@y1,.@y2), any_of(.@id));
debugmes "Scattered "+.@amount+" items on "+.@map$;