mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 19:14:15 +01:00
[MIRROR] Adds tactical chairs (#3030)
* Adds tactical chairs (#56549) * Adds tactical chairs Co-authored-by: Qustinnus <Floydje123@hotmail.com>
This commit is contained in:
@@ -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()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user