ID:149593
 
turf
water
icon = 'water.dmi'
density = usr.swim


Would this work for if your swim is 1 you can swim through otherwise you can't swim?
So.....
if(usr.swim == 1)
density = 0
else
density = 1

Thanks!
Use Enter()

turf/water
Enter(mob/M)
if(ismob(M))
if(M.canswim)
return..()//allow access
else
return//Don't allow access