atom
proc/Flood(var/atom/a)
for(var/atom/A in world) if(A.z==src.z) if(A.icon_state==a.icon_state)
spawn() for(var/obj/tile/T in usr.Selected)
A.icon=T.icon
A.icon_state=T.icon_state
Problem description:
Hi i try to add flood brush for my map editor, every is ok but this core replace all obj/turf in world. I need to replace only all atoms touch clicked atom. I thinking about getstep or view() procs... but i have no idea...