summaryrefslogtreecommitdiff
path: root/sheep.lua
diff options
context:
space:
mode:
Diffstat (limited to 'sheep.lua')
-rw-r--r--sheep.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/sheep.lua b/sheep.lua
index 4cd6506..757c34f 100644
--- a/sheep.lua
+++ b/sheep.lua
@@ -69,7 +69,11 @@ for _, col in ipairs(all_colours) do
replace_with = "air",
replace_offset = -1,
fear_height = 3,
-
+--[[
+ on_replace = function(self, pos, oldnode, newnode)
+ print ("---- replaced") ; return false -- false to keep node, true to replace
+ end,
+]]
on_rightclick = function(self, clicker)
--are we feeding?