area
shelter
Entered(mob/pc/M)
if(M.client)
M.see_invisible = 0
M.shelter = 1
Exited(mob/pc/M)
if(M.client)
M.see_invisible = 1
M.shelter = 0
Problem description:
The basic idea is that when a mob/pc enters the sheltered areas their sheltered variable flicks, affecting the amount of water loss every step (it's a desert survival game). It all works fine, except, when a player logs out and in while standing on shelter, their shelter variable turns to zero despite the fact that they're indoors. The only way I can think of getting around this is to change the save proc so that location isn't stored and instead they go to some sorta starting area, but that would suck. Can anyone tell me what's going wrong?
I think this will work.