boost default plant growth delay, add growing selection boxes

This commit is contained in:
FaceDeer
2019-12-27 22:45:09 -07:00
parent 2eb5273746
commit 19f518b21e
8 changed files with 35 additions and 5 deletions

View File

@@ -22,6 +22,12 @@ local register_pig_tail = function(number)
buildable_to = true,
groups = {snappy = 3, flammable = 2, plant = 1, not_in_creative_inventory = 1, attached_node = 1, light_sensitive_fungus = 11},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {
{-8/16, -8/16, -8/16, 8/16, -8/16 + 2*number/16, 8/16},
},
},
on_timer = function(pos, elapsed)
df_farming.grow_underground_plant(pos, name, elapsed)