RCD window construction/deconstruction (#29637)

* Adding spawner

* File itself

* Window schematics

* Construct window framework

* Adding to schematics and deconstructioN

* Adding to mech and borg schematics, placeholder icon

* Fixing compile errors

* Unneeded var

* Hopefully better logic

* Copypasting fix

* Another compile fix

* This should make selecting them actually work

* No deconstructing plasma glass

* Better checks, can_r_wall usage

* Less brackets

* Overlay implementation testing

* More of it

* Remove for now so it can compile, come up with better idea later

* Workable solution

* Now actually works right

* Custom dirs

Co-authored-by: kanef <kanef9x@protonmail.com>
This commit is contained in:
kane-f
2021-06-03 00:29:38 +01:00
committed by GitHub
parent 33e9f00d35
commit d2e3e77805
7 changed files with 396 additions and 3 deletions

View File

@@ -46,6 +46,7 @@
icon = ourschematic.icon
icon_state = ourschematic.icon_state
name = ourschematic.name
overlays += ourschematic.overlays
transform = transform*0.8
/obj/abstract/screen/schematics/Click()
@@ -54,6 +55,7 @@
/obj/abstract/screen/schematics/Destroy()
ourschematic = null
overlays = list()
..()
/obj/abstract/screen/inventory