anchor.diff:  	name = "wooden table"
   	desc = "Do not apply fire to this. Rumour says it burns easily."
   	icon_state = "wood_table"
  -
  -
  -/obj/structure/table/woodentable/attackby(obj/item/weapon/W as obj, mob/user as mob)
  -
  -	if (istype(W, /obj/item/weapon/grab))
  -		var/obj/item/weapon/grab/G = W
  -		if(G.state<2)
  -			user << "\red You need a better grip to do that!"
  -			return
  -		G.affecting.loc = src.loc
  -		G.affecting.Weaken(5)
  -		visible_message("\red [G.assailant] puts [G.affecting] on the table.")
  -		del(W)
  -		return
  -	if (istype(W, /obj/item/weapon/wrench))
  -		user << "\blue Now disassembling the wooden table"
  -		playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
  -		sleep(50)
  -		new /obj/item/weapon/table_parts/wood( src.loc )
  -		playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1)
  -		del(src)
  -		return
  -	if(isrobot(user))
  -		return
  -	if(istype(W, /obj/item/weapon/melee/energy/blade))
  -		var/datum/effect/effect/system/spark_spread/spark_system = new /datum/effect/effect/system/spark_spread()
  -		spark_system.set_up(5, 0, src.loc)
  -		spark_system.start()
  -		playsound(src.loc, 'sound/weapons/blade1.ogg', 50, 1)
  -		playsound(src.loc, "sparks", 50, 1)
  -		for(var/mob/O in viewers(user, 4))
  -			O.show_message("\blue The wooden table was sliced apart by [user]!", 1, "\red You hear wood coming apart.", 2)
  -		new /obj/item/weapon/table_parts/wood( src.loc )
  -		del(src)
  -		return
  -
  -	user.drop_item(src)
  -	//if(W && W.loc)	W.loc = src.loc
  -	return
  -
  +	parts = /obj/item/weapon/table_parts/wood
   
   /*
    * Reinforced tables
  
positive.code: 				return
  		if(3.0)
  			if (prob(25))
  				src.density = 0
  		else
  	return
  
  
  /obj/structure/table/blob_act()
  	if(prob(75))
  		if(istype(src, /obj/structure/table/woodentable))
  			new /obj/item/weapon/table_parts/wood( src.loc )
  			del(src)
  			return
  		new /obj/item/weapon/table_parts( src.loc )
  		del(src)
  		return
  
  
  /obj/structure/table/hand_p(mob/user as mob)
  	return src.attack_paw(user)
  	return
  
  
  /obj/structure/table/attack_paw(mob/user)
  	if(HULK in user.mutations)
  		user.say(pick(";RAAAAAAAARGH!", ";HNNNNNNNNNGGGGGGH!", ";GWAAAAAAAARRRHHH!", "NNNNNNNNGGGGGGGGHH!", ";AAAAAAARRRGH!" ))
  		visible_message("<span class='danger'>[user] smashes the table apart!</span>")
  		if(istype(src, /obj/structure/table/reinforced))
  			new /obj/item/weapon/table_parts/reinforced(loc)
  		else if(istype(src, /obj/structure/table/woodentable))
  			new/obj/item/weapon/table_parts/wood(loc)
  		else
  			new /obj/item/weapon/table_parts(loc)
  		density = 0
  		del(src)
  
  
  /obj/structure/table/attack_alien(mob/user)
  	visible_message("<span class='danger'>[user] slices [src] apart!</span>")
  	if(istype(src, /obj/structure/table/reinforced))
  		new /obj/item/weapon/table_parts/reinforced(loc)
  	else if(istype(src, /obj/structure/table/woodentable))
  		new/obj/item/weapon/table_parts/wood(loc)
  	else
  		new /obj/item/weapon/table_parts(loc)
  	density = 0
  	del(src)
  
  
  /obj/structure/table/attack_animal(mob/living/simple_animal/user)
  	if(user.wall_smash)
  		visible_message("<span class='danger'>[user] smashes [src] apart!</span>")
  		if(istype(src, /obj/structure/table/reinforced))
  			new /obj/item/weapon/table_parts/reinforced(loc)
  		else if(istype(src, /obj/structure/table/woodentable))
  			new/obj/item/weapon/table_parts/wood(loc)
  		else
  			new /obj/item/weapon/table_parts(loc)
  		density = 0
  		del(src)
  
  
  
  
  
negative.code: 			var/mob/living/M = G.affecting
  			if (G.state < 2)
  				if(user.a_intent == "hurt")
  					if (prob(15))	M.Weaken(5)
  					M.apply_damage(8,def_zone = "head")
  					visible_message("\red [G.assailant] slams [G.affecting]'s face against \the [src]!")
  					playsound(src.loc, 'sound/weapons/tablehit1.ogg', 50, 1)
  				else
  					user << "\red You need a better grip to do that!"
  