turf
water
icon='water.dmi'
density=0
Enter(O)
if(istype(O,/mob))
if(O:onwater==1||istype(O,/mob/player/pet/Bird))
O:density=1
return 1
else
if(O:allowwaterwalk==1)
if(O:multisized==1||O:weights=="weights")
return 0
else
O:onwater=1
O:WaterWalk()
return 1
else
return 0
O:density=1
Problem description:
With this code, anything that gets return 1 can walk through anything. This makes people be able to walk over each other, projectiles not bump() correctly, and more. I'd really appreciate it if you could help me figure out where the density stuff is getting messed up in there.
Sorry if this isnt what you wanted, but wouldnt it just be easier to change the Bird's density to 0? That would let the bird walk over anything it wants.