forked from mtcontrib/plantlife_modpack
finished splitting up the three components into separate folders, by moving
texture files to their respective components' folders (<f>/textures). Also, began working on extending the API for the growing code to allow for checking for the height of a node. Poisonivy is the only component that uses it for now; this is more intended to be used with nature pack eventually.
This commit is contained in:
@ -63,7 +63,9 @@ minetest.register_node(':poisonivy:climbing', {
|
||||
})
|
||||
|
||||
spawn_on_surfaces(spawn_delay, "poisonivy:seedling", 10 , spawn_chance/10, "default:dirt_with_grass", {"group:poisonivy","group:flower"}, poisonivy_seed_diff, 7)
|
||||
|
||||
grow_plants(spawn_delay, grow_chance, "poisonivy:seedling", "poisonivy:sproutling", nil, {"default:dirt_with_grass"})
|
||||
grow_plants(spawn_delay, grow_chance*2, "poisonivy:climbing", nil, nil, nil)
|
||||
|
||||
grow_plants(spawn_delay, grow_chance*2, "poisonivy:climbing", nil, nil, nil ,nil,true,true,nil,{"default:dirt_with_grass"})
|
||||
|
||||
enabled_poisonivy = true
|
||||
|
Reference in New Issue
Block a user