mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
Cyborgs can now use succumb (#15887)
* cyborg succumb * Update code/modules/mob/living/silicon/robot/robot.dm Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> --------- Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
This commit is contained in:
@@ -511,7 +511,7 @@
|
||||
set category = "Robot Commands"
|
||||
set name = "View Holomap"
|
||||
set desc = "View a virtual map of the surrounding area."
|
||||
|
||||
|
||||
var/obj/machinery/station_map/mobile/holo_map_object
|
||||
if(src.holo_map)
|
||||
holo_map_object = src.holo_map.resolve()
|
||||
@@ -520,7 +520,7 @@
|
||||
if(!holo_map_object)
|
||||
holo_map_object = new(src)
|
||||
src.holo_map = WEAKREF(holo_map)
|
||||
|
||||
|
||||
holo_map_object.startWatching(src)
|
||||
|
||||
/mob/living/silicon/robot/verb/rebuild_overlays()
|
||||
@@ -1296,3 +1296,11 @@
|
||||
to_chat(src, SPAN_DANGER("Hack attempt detected and thwarted. Evacuate the area immediately."))
|
||||
return SMOOTH_TRUE
|
||||
return
|
||||
|
||||
/mob/living/silicon/robot/succumb()
|
||||
set hidden = TRUE
|
||||
if(health < maxHealth / 3)
|
||||
death()
|
||||
to_chat(src, SPAN_NOTICE("You have given up life and succumbed to death."))
|
||||
else
|
||||
to_chat(src, SPAN_NOTICE("You are not injured enough to succumb to death!"))
|
||||
Reference in New Issue
Block a user