From df1aa7fad3e7af030ee6e260b6ec719af727ff0e Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 28 Aug 2017 12:33:25 +0100 Subject: added minlight maxlight to api and growing routine --- cotton.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cotton.lua') diff --git a/cotton.lua b/cotton.lua index 5241b2c..bf0412e 100644 --- a/cotton.lua +++ b/cotton.lua @@ -8,7 +8,7 @@ minetest.register_node("farming:seed_cotton", { inventory_image = "farming_cotton_seed.png", wield_image = "farming_cotton_seed.png", drawtype = "signlike", - groups = {seed = 1, snappy = 3, attached_node = 1}, + groups = {seed = 1, snappy = 3, attached_node = 1, flammable = 4}, paramtype = "light", paramtype2 = "wallmounted", walkable = false, @@ -75,7 +75,7 @@ local crop_def = { drop = "", selection_box = farming.select, groups = { - snappy = 3, flammable = 2, plant = 1, attached_node = 1, + snappy = 3, flammable = 4, plant = 1, attached_node = 1, not_in_creative_inventory = 1, growing = 1 }, sounds = default.node_sound_leaves_defaults() -- cgit v1.2.3