ID:1738804
 
(See the best response by LordAndrew.)
Ok so im wondering how do you code a way to spawn a turf on a turf like you would in the map editor like say you put a rock on the grass and not just erase the grass and have a rock with a void behind it.
Why not, make the rock an object?
well i figure its might be better optimized as a turf maybe then a object idk if itd really affect performance but i figure it would if there was over 100+ objs just sitting there rather then turfs
The map editor combines turfs by making the old turf an underlay to the new one. If you're looking to the same thing, get the old turf icon and and any underlays, and add them as underlays to the new turf.

The map editor does not do this if the new icon takes up the entire tile, so you may want to consider that as well.
well it would just be rocks and flowers and foliage mostly would just using objects be a bad idea or would it be good to use turfs?
In response to Mastergamerxxx
Best response
Objects are fine to use, but if the details and foliage are purely static elements with no functionality then they'd be better served as turfs.