Rotatable Atom Element (#18440)

* initial work

* a much better way of doing this

* these are needed

* minimize change

* nope

* missing elements

* whitespace

* species cases

* reduce pasta in ghosts

* more small fixes

* fixes for windows and inventory

* unneeded

* protected

* circulator uses examine

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Will
2025-09-14 05:02:26 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent fd88655073
commit 22ffba8354
31 changed files with 177 additions and 743 deletions
+1 -28
View File
@@ -449,6 +449,7 @@
. = ..()
default_apply_parts()
AddElement(/datum/element/climbable)
AddElement(/datum/element/rotatable)
/obj/machinery/mining/brace/RefreshParts()
..()
@@ -514,31 +515,3 @@
connected.supports -= src
connected.check_supports()
connected = null
/obj/machinery/mining/brace/verb/rotate_clockwise()
set name = "Rotate Brace Clockwise"
set category = "Object"
set src in oview(1)
if(usr.stat) return
if (src.anchored)
balloon_alert(usr, "it is anchored in place!")
return 0
src.set_dir(turn(src.dir, 270))
return 1
/obj/machinery/mining/brace/verb/rotate_counterclockwise()
set name = "Rotate Brace Counter-Clockwise"
set category = "Object"
set src in oview(1)
if(usr.stat) return
if (src.anchored)
to_chat(usr, "It is anchored in place!")
return 0
src.set_dir(turn(src.dir, 90))
return 1