Currents |
Problem description:
In order to test this code I created a map with a rock to the north of the up current.
The idea is that if the current bumps you into the rock, you lose health. Because I want to have your direction not change with the current, only your location, I can't just Move() the mob. (Moving the mob results in a direction change) I know that the check for the rock is successful. If a rock is to the north of the current, you won't be moved on top of it. However the M.Hp -- line is not working. (I also need to add DeathCheck() but that can wait until I get the Hp -- working)
So delete for() and replace "in" with =
var/turf/T = get...And instead of