anchor.diff:  	mineralType = "resin"
   	hardness = 1
   	var/close_delay = 100
  +	openSound = 'sound/effects/attackblob.ogg'
  +	closeSound = 'sound/effects/attackblob.ogg'
   
   	TryToSwitchState(atom/user)
   		if(isalien(user))
   			return ..()
   
  -	Open()
  -		isSwitchingStates = 1
  -		playsound(loc, 'sound/effects/attackblob.ogg', 100, 1)
  -		flick("[mineralType]opening",src)
  -		sleep(10)
  -		density = 0
  -		opacity = 0
  -		state = 1
  -		update_icon()
  -		isSwitchingStates = 0
  -
  -		spawn(close_delay)
  -			if(!isSwitchingStates && state == 1)
  -				Close()
  -
  -	Close()
  -		isSwitchingStates = 1
  -		playsound(loc, 'sound/effects/attackblob.ogg', 100, 1)
  -		flick("[mineralType]closing",src)
  -		sleep(10)
  -		density = 1
  -		opacity = 1
  -		state = 0
  -		update_icon()
  -		isSwitchingStates = 0
  -
   	Dismantle(devastated = 0)
   		del(src)
   
  
positive.code: 		for(var/mob/living/L in T)
  			return
  		isSwitchingStates = 1
  		playsound(loc, 'sound/effects/stonedoor_openclose.ogg', 100, 1)
  		flick("[mineralType]closing",src)
  		sleep(10)
  		density = 1
  
negative.code: 
  	proc/Open()
  		isSwitchingStates = 1
  		playsound(loc, openSound, 100, 1)
  		flick("[mineralType]opening",src)
  		sleep(10)
  		density = 0
  