summaryrefslogtreecommitdiff
path: root/sheep.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-07-09 14:09:34 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-07-09 14:09:34 +0100
commit1c3d11ca308e81a5f0b8607dcfe7afeef95a7a64 (patch)
tree15c28fb35e84f22f697a4b9e04a78b32d33c8131 /sheep.lua
parentb40fe3a2c796316398af5741f415576f2bc27efb (diff)
update intllib
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?