#Agricultural tower help

1 messages · Page 1 of 1 (latest)

timber remnant
#

Hi! I'm a very new modder and I'd like to add new seeds and plants to be grown and harvested in the Agricultural Tower. I can't seem to find out through scanning the prototype data on how to actually create plants. How do I make a seed that spawns a certain entity? How do I influence growth times and the amount of resources harvested? How do I make sure it can only grow on certain soils? Is it possible to grow on water only? Any help is appreciated!

astral shale
#

+api prototype PlantPrototype

jovial badgerBOT
astral shale
#

Seeds are just an ItemPrototype

#

+api prototype ItemPrototype::plant_result | this is how it sets what entity to place when planted

jovial badgerBOT
astral shale
#

What can be planted where probably depends on the collision layers of the planted entity