diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2015-05-07 23:08:53 -0700 |
---|---|---|
committer | Auke Kok <auke-jan.h.kok@intel.com> | 2015-05-07 23:08:53 -0700 |
commit | bcf27ebd99a3826982fd40da2981f7f459ee5205 (patch) | |
tree | 41d734ad364bcda30aa4ed0e6ccf7c91475ca1ae | |
parent | 50420edd7718ae49980584f3a094635815bb3f34 (diff) |
Fix a few errors exposed by difficult setting.
-rw-r--r-- | corn.lua | 2 | ||||
-rw-r--r-- | init.lua | 2 | ||||
-rw-r--r-- | melon.lua | 2 | ||||
-rw-r--r-- | polebean.lua | 4 | ||||
-rw-r--r-- | potato.lua | 2 | ||||
-rw-r--r-- | tomato.lua | 2 |
6 files changed, 7 insertions, 7 deletions
@@ -325,7 +325,7 @@ crops.corn_die = function(pos) end local properties = { - wither = crops.corn_die, + die = crops.corn_die, waterstart = 40, wateruse = 1, night = 5, @@ -348,7 +348,7 @@ minetest.register_abm({ -- is it dead? if damage >= 100 then - plant.properties.wither(pos) + plant.properties.die(pos) end end }) @@ -225,7 +225,7 @@ crops.melon_die = function(pos) end local properties = { - wither = crops.melon_die, + die = crops.melon_die, waterstart = 20, wateruse = 1, night = 5, diff --git a/polebean.lua b/polebean.lua index 11350cf..587f04f 100644 --- a/polebean.lua +++ b/polebean.lua @@ -276,13 +276,13 @@ minetest.register_abm({ }) crops.beanpole_die = function(pos) - minetest.set_node(pos, { name = "crops:beanpole_base_6" }) + minetest.set_node(pos, { name = "crops:beanpole_plant_base_6" }) local above = {x = pos.x, y = pos.y + 1, z = pos.z} minetest.set_node(above, { name = "crops:beanpole_plant_top_4" }) end local properties = { - wither = crops.beanpole_die, + die = crops.beanpole_die, waterstart = 30, wateruse = 1, night = 5, @@ -172,7 +172,7 @@ crops.potato_die = function(pos) end local properties = { - wither = crops.potato_die, + die = crops.potato_die, waterstart = 30, wateruse = 1, night = 5, @@ -173,7 +173,7 @@ crops.tomato_die = function(pos) end local properties = { - wither = crops.tomato_die, + die = crops.tomato_die, waterstart = 19, wateruse = 1, night = 5, |