turf
wall
icon = 'rock.dmi'
density = 1
Problem description: I create a turf that represents a wall, setting its density to 1 as walls can not be passed but there are some cases that I want to sets its density to 0 so it can actually be passed, but only for the current player (after he/she performed some actions). How can I do w/o making it for all the players? Consider for example I have a proc set_density under mob and want from there to change the wall's density to 0 but only for the specific player and not for all...
One potential way is to modify the turf/Enter proc, this is the proc that checks whether a mob can pass into the turf and either permits (returns 1) or denies (returns 0) entry into the turf, the standard behavior is based on density.
But by overriding the Enter() proc for that specific type with your own code you can make ways to permit specific mobs entry.