ID:273707
 
How would i make it so that the player can see his reflection in the water
Hmm, that's a hard one. That'd only apply to the blocks that a north to certain water spots, so I'd say:

Turf
Enter()

You should check if the turf below (src.y-1) the src turf is a child of turf/water ( via the locate(/turf/water) I'd say)

If so apply an icon flipped overlay of the usr on that position.
If not remove the overlay from that turf.


EDIT:
Or instead of an overlay, add a new var/mob/M on that position with a variable like var clone on your general mob.
So you can't attack your own reflection...on attack you'd have to check for that.

Anyway, then make that mob/M move on the enter proc, everytime you move.

Only create this mob if there's not already a mob.

And if there's no water under the current turf delete him.
I've actually been thinking of making a Demo(Maybe Library) on water. Reflection of course; Dynamics&physics like waves or pressure. Also support of these systems in 3 perspectives; Top-down, isometric, platform. I'm not saying I will succeed or even release it, but if you want to add me on your pager or some messaging program I could help and let you see what I do.