mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 15:39:57 +01:00
Autolathe and wires panel TGUI, autolathe queueing. (#17978)
* autolathe 1 * FUCK MY LIFE * more fixes * autolathe queueing * cl * garbage collection * wire fixes * some final tweaks * on second thought this might be annoying * fix that * whoopsies * that didn't work for shit --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
|
||||
/mob/living/silicon/robot/handle_regular_status_updates()
|
||||
if(camera && !scrambled_codes)
|
||||
if(stat == DEAD || wires.IsIndexCut(BORG_WIRE_CAMERA))
|
||||
if(stat == DEAD || wires.is_cut(WIRE_CAMERA))
|
||||
camera.set_status(0)
|
||||
else
|
||||
camera.set_status(1)
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
camera.replace_networks(list(NETWORK_STATION, NETWORK_ROBOTS))
|
||||
else
|
||||
camera.replace_networks(list(NETWORK_MERCENARY))
|
||||
if(wires.IsIndexCut(BORG_WIRE_CAMERA))
|
||||
if(wires.is_cut(WIRE_CAMERA))
|
||||
camera.status = FALSE
|
||||
|
||||
init()
|
||||
@@ -659,7 +659,7 @@
|
||||
to_chat(user, SPAN_NOTICE("You close \the [src]'s maintenance hatch."))
|
||||
opened = FALSE
|
||||
handle_panel_overlay()
|
||||
else if(wires_exposed && wires.IsAllCut())
|
||||
else if(wires_exposed && wires.is_all_cut())
|
||||
//Cell is out, wires are exposed, remove MMI, produce damaged chassis, baleet original mob.
|
||||
if(!mmi)
|
||||
to_chat(user, SPAN_WARNING("\The [src] has no brain to remove.")) // me irl - geeves
|
||||
@@ -742,7 +742,7 @@
|
||||
handle_panel_overlay()
|
||||
else if(W.iswirecutter() || W.ismultitool())
|
||||
if(wires_exposed)
|
||||
wires.Interact(user)
|
||||
wires.interact(user)
|
||||
else
|
||||
to_chat(user, SPAN_WARNING("\The [src]'s wires aren't exposed."))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user