ID:168239
 
Hello, I would like to know how like i can walk on water and when im on water i trun into a boat and I can swim to diferent islands. Also if you can that like you have to buy a boat first before u go on water or it says something. If you can help me please tell me.
You can easily to this with a variable.

Make a variable named boat:
mob/var/Boat


When the user buys the boat, his Boat variables is equal to 1.

When he enters the turf change the icon state and let him pass.

turf/Water
Enter(mob/M)
if(M.Boat)
M.icon_state = "Boat"
return ..()
else
return 0


I dont know if thats right, I havent tested it.
In response to Blakdragon77
Might want to change return 1 to return ..()