Removes some non-modularity from THAT code (#15085)

* Removes some non-modularity from THAT code

* oop
This commit is contained in:
Tom
2022-07-21 01:21:14 +00:00
committed by GitHub
parent 4816e7a20a
commit d9ee488675
10 changed files with 9 additions and 17 deletions
@@ -14,13 +14,12 @@
var/buildstacktype = /obj/item/stack/sheet/iron
var/buildstackamount = 1
var/item_chair = /obj/item/chair // if null it can't be picked up
var/buckle_message = TRUE //SKYRAT EDIT ADDITION -- chair buckle messages
/obj/structure/chair/examine(mob/user)
. = ..()
. += span_notice("It's held together by a couple of <b>bolts</b>.")
if(!has_buckled_mobs() && can_buckle && buckle_message) //SKYRAT EDIT ADDITION -- chair buckle messages
if(!has_buckled_mobs() && can_buckle)
. += span_notice("While standing on [src], drag and drop your sprite onto [src] to buckle to it.")
/obj/structure/chair/Initialize(mapload)