summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/shovel.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index be9daab1b..4b60d2773 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -20,7 +20,8 @@ function script shovel_scriptItem {
$@WBT_Random_map$[.@wtc] = .@map$;
$@WBT_Random_x[.@wtc] = .@x;
$@WBT_Random_y[.@wtc] = .@y;
- debugmes "Buried"+.@amount+" "+getitemname(.@id);
+ //debugmes "Buried"+.@amount+" "+getitemname(.@id);
+ return;
}
// shovel_scatter( map, x1, y1, x2, y2, items_array, {amount} )
@@ -35,6 +36,7 @@ function script shovel_scatter {
for (.@i = 0; .@i < .@amount; .@i++)
shovel_scriptItem(.@map$, rand(.@x1,.@x2), rand(.@y1,.@y2), any_of(.@id));
+ return;
}