[MIRROR] Adds tactical chairs (#3030)

* Adds tactical chairs (#56549)

* Adds tactical chairs

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
This commit is contained in:
SkyratBot
2021-02-02 20:05:09 +01:00
committed by GitHub
parent 0018b58354
commit f5c81701cc
@@ -10,10 +10,11 @@
max_integrity = 250
integrity_failure = 0.1
custom_materials = list(/datum/material/iron = 2000)
layer = OBJ_LAYER
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 1
var/item_chair = /obj/item/chair // if null it can't be picked up
layer = OBJ_LAYER
/obj/structure/chair/examine(mob/user)
. = ..()
@@ -25,6 +26,8 @@
. = ..()
if(!anchored) //why would you put these on the shuttle?
addtimer(CALLBACK(src, .proc/RemoveFromLatejoin), 0)
if(prob(0.2))
name = "tactical [name]"
/obj/structure/chair/ComponentInitialize()
. = ..()