SphereCommunity
spawning plants and vegtables - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: spawning plants and vegtables (/Thread-spawning-plants-and-vegtables)



spawning plants and vegtables - x77x - 11-20-2016 08:04 AM

whats the right way to spawn plants and vegtables so they regrow?

what does "max amount" and "spawn rate" actually do?


RE: spawning plants and vegtables - Coruja - 11-20-2016 01:26 PM

I never paid too much attention to growing plants because I never had used this

but usually I would recommend use spawns with t_spawn_item, it works exactly like char spawns (t_spawn_char) but of course t_spawn_item will spawn items instead chars

MOREX = min time (in minutes)
MOREY = max time (in minutes)
MOREZ = max distance
MORE1 = itemdef to create
MORE2 = item amount
AMOUNT = qty of items/piles to create


RE: spawning plants and vegtables - x77x - 11-20-2016 10:18 PM

im talking regrowing plants...

for farms


RE: spawning plants and vegtables - Coruja - 11-21-2016 05:05 AM

you just need to spawn an item that have typedef t_crops and set the timer on @Create, the plant will grow automatically when the timer reach 0

TDATA1 = reset item id when the crop die / get eaten / etc
TDATA2 = next item id to evolve into
TDATA3 = item id of the final resource / fruit / etc