ID:161909
 
ok lets say i have 2 icons ..how do i make it so that my icon cant go over the other icon...like lets say i have a house..but theres a blank spot on it which i wanna fit grass into but it cant fit without overlapping the house.. how do i make the house turf or grass turf so that when i place grass near the house it goes behind it..


turf/House
icon='house.bmp'
density=1
turf
grass
icon='Turfs.dmi'
icon_state="grass"
density=0
anyone help :(
 layer=TURF_LAYER+1
In response to Siientxx
that really didint do anyhting at all LMAO

turf
grass
icon='Turfs.dmi'
icon_state="grass"
density=0
layer=TURF_LAYER+1


turf/House
icon='house.bmp'
density=1


i tried em both ways ... none worked XD
In response to Agrey123
<font size = 55>FACEPALM</font>

Please explain what you want with more detail. Do you have an icon with transparent areas that makes the turf it's over black? Well then make the transparent turf an obj, otherwise it's really random as to when it'll show the turf below it.
Generally, only one turf can occupy one square. Changing the House to an obj should work as you want it to.
In response to Devourer Of Souls
There's no "generally" here. One set of x,y,z coordinates always corresponds to exactly one turf. You can layer turfs on the map editor, but that's really just replacing the old turf with the new turf, and if the old turf would show through, its icon is added as an underlay to the new turf.
In response to Garthor
Thanks for clearing that up. I knew the behavior, just not the specifics.