All pastes #2047246 Raw Edit

Someone

public text v1 · immutable
#2047246 ·published 2011-04-16 19:44 UTC
rendered paste body
mob/adminplayer
	key = admin
	icon = 'hi.dmi'
	verb
		intangible()
			set category = "Admin"
			density = !density //! means not, so this basically changes density to either 1 (dense) or 0 (not dense) by reversing what it was.
			view() << (density ? "[usr] becomes tangible." : "[usr] becomes intangible!")
		set_weather(msg as message)
			set category = "Admin"
			weather = msg
		revive()
			set category = "Admin"
			view() << "[usr] mutters a few words, and \his wounds are healed!"
			life = 100
		summon(mob/M in world) //Distinguishes "M" as a mob so the code can access M.loc.
			set category = "Admin"
			M.loc = usr.loc //Move's M's loc to the user's loc.
		teleport(mob/M in world)
			set category = "Admin"
			usr.loc = M.loc //Moves user's loc to M's loc.