mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-30 05:40:23 +02:00
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
|
||||
|
BIN
poinsonivy/textures/poisonivy_climbing.png
Normal file
BIN
poinsonivy/textures/poisonivy_climbing.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 456 B |
BIN
poinsonivy/textures/poisonivy_seedling.png
Normal file
BIN
poinsonivy/textures/poisonivy_seedling.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 270 B |
BIN
poinsonivy/textures/poisonivy_sproutling.png
Normal file
BIN
poinsonivy/textures/poisonivy_sproutling.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 426 B |
Reference in New Issue
Block a user