Add new surgery tgui (#64579)

* Move element to component, start UI, move assets into their own directory

* Complete UI

* Stop when another surgery is started

* Set your real zone since I forgot you actually need to start the surgery too

* Bring this back since I was just removing it as part of a cleanup for asset cache, but I can't prove it's not used anymore

* Remove unnecessary constructor I was using for something else

* Fix signal override
This commit is contained in:
Mothblocks
2022-02-06 22:04:06 +02:00
committed by GitHub
parent 0911b616fb
commit 068f5df349
54 changed files with 1293 additions and 744 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ LINEN BINS
/obj/item/bedsheet/Initialize(mapload)
. = ..()
AddElement(/datum/element/surgery_initiator)
AddComponent(/datum/component/surgery_initiator)
AddElement(/datum/element/bed_tuckable, 0, 0, 0)
if(bedsheet_type == BEDSHEET_DOUBLE)
stack_amount *= 2