obj
Attack
doryuheki
icon='Mud Wall.dmi'
icon_state="form"
density=1
New()
..()
spawn(5)
icon_state="idle"
var/turf/G = locate(x+1,y,z)
if(!G)G=locate(x,y,z)
for(var/turf/F in range(G,1))
if(F.density==0)
F.density=1
F.changed=1
sleep(1)
spawn(100)
if(src)
var/turf/H = locate(x+1,y,z)
if(!H)H=locate(x,y,z)
for(var/turf/F in range(H,1))
if(F.density==1&&F.changed)F.density=0
sleep(1)
continue
del(src)
Problem description:
my icon for the move its like 5 tiles in 1 and i wanted to know because the problem is that code its supposed to make a technique shield to block other attacks and only makes density like the bottom left of the object so its like 75% of the object doesnīt get density reason as anyone can see i try to make it so the range around the object gets all turfs in it with density but thatīs really not my goal.
If anyone know how i can get all the obj with density without having to break all the icon into parts, since that can be done easily easy but i will have to break the forming state and that it's really too much work and im no iconer