mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
holy fucking shit this sucks rocks (#27139)
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
diag_hud_set_status()
|
||||
diag_hud_set_health()
|
||||
if(camera)
|
||||
camera.status = FALSE
|
||||
camera.turn_off(src, FALSE)
|
||||
update_headlamp(1) //So borg lights are disabled when killed.
|
||||
|
||||
if(in_contents_of(/obj/machinery/recharge_station))//exit the recharge station
|
||||
|
||||
@@ -45,11 +45,9 @@
|
||||
handle_no_power()
|
||||
|
||||
/mob/living/silicon/robot/proc/handle_equipment()
|
||||
if(camera && !scrambledcodes)
|
||||
if(camera && camera.status && !scrambledcodes) //Don't turn off cameras already off
|
||||
if(stat == DEAD || wires.is_cut(WIRE_BORG_CAMERA))
|
||||
camera.status = FALSE
|
||||
else
|
||||
camera.status = TRUE
|
||||
camera.turn_off(src, FALSE)
|
||||
|
||||
//update the state of modules and components here
|
||||
if(stat != CONSCIOUS)
|
||||
|
||||
@@ -185,7 +185,7 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
|
||||
camera.c_tag = real_name
|
||||
camera.network = list("SS13","Robots")
|
||||
if(wires.is_cut(WIRE_BORG_CAMERA)) // 5 = BORG CAMERA
|
||||
camera.status = FALSE
|
||||
camera.turn_off(src, FALSE)
|
||||
|
||||
if(mmi == null)
|
||||
mmi = new /obj/item/mmi/robotic_brain(src) //Give the borg an MMI if he spawns without for some reason. (probably not the correct way to spawn a robotic brain, but it works)
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
else
|
||||
if(health > 0 && !suiciding && has_power_source())
|
||||
update_revive()
|
||||
if(camera)
|
||||
if(!wires.is_cut(WIRE_BORG_CAMERA))
|
||||
camera.turn_on(src, FALSE)
|
||||
var/mob/dead/observer/ghost = get_ghost()
|
||||
if(ghost)
|
||||
to_chat(ghost, "<span class='ghostalert'>Your cyborg shell has been repaired and repowered, re-enter if you want to continue!</span> (Verbs -> Ghost -> Re-enter corpse)")
|
||||
|
||||
Reference in New Issue
Block a user