mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
A new space ruin, the telecommunications satellite? [100% done, ready for final review] (#25820)
* THE WORK, IT GOES AND SO IT GOES * darker yet darker * more changes * Almost done, let's post the pr and have some dev people test it out. * update comment * small change * pushing , then we address changes * Apply suggestions from code review Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * more progress * final bar lines * aditional tweaks * Update telecomns_returns.dmm * Update code/modules/awaymissions/mission_code/ruins/telecomns.dm Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * sirian changes * emp weakness, light changes * no runtimes, shoot borgs * sorry for all the commits just update to master thanks * Update code/modules/awaymissions/mission_code/ruins/telecomns.dm Co-authored-by: warriorstar-orion <orion@snowfrost.garden> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * fixes * fixes pathing. Voices * removes always spawn * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * more changes * requested string change * Update code/modules/awaymissions/mission_code/ruins/telecomns.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * lewcs final changes * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> --------- Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Co-authored-by: warriorstar-orion <orion@snowfrost.garden> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
co-authored by
1080pCat
Ryan
warriorstar-orion
Luc
parent
e4ed1b1db3
commit
26f28cb7e7
@@ -1162,3 +1162,7 @@
|
||||
if(istype(mover, /obj/singularity/energy_ball))
|
||||
dust()
|
||||
return ..()
|
||||
|
||||
/// Can a mob interact with the apc remotely like a pulse demon, cyborg, or AI?
|
||||
/mob/living/proc/can_remote_apc_interface(obj/machinery/power/apc/ourapc)
|
||||
return FALSE
|
||||
|
||||
@@ -960,11 +960,13 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
|
||||
|
||||
// I would love to scope this locally to the AI class, however its used by holopads as well
|
||||
// I wish we had nice OOP -aa07
|
||||
/proc/getHologramIcon(icon/A, safety = TRUE) // If safety is on, a new icon is not created.
|
||||
// hi squidward I'm stealing this for a space ruin -qwerty
|
||||
/proc/getHologramIcon(icon/A, safety = TRUE, colour = rgb(125, 180, 225), opacity = 0.5, colour_blocking = FALSE) // If safety is on, a new icon is not created.
|
||||
var/icon/flat_icon = safety ? A : new(A) // Has to be a new icon to not constantly change the same icon.
|
||||
var/icon/alpha_mask
|
||||
flat_icon.ColorTone(rgb(125,180,225)) // Let's make it bluish.
|
||||
flat_icon.ChangeOpacity(0.5) // Make it half transparent.
|
||||
if(colour && !colour_blocking)
|
||||
flat_icon.ColorTone(colour) // Let's make it bluish.
|
||||
flat_icon.ChangeOpacity(opacity) // Make it half transparent.
|
||||
|
||||
if(A.Height() == 64)
|
||||
alpha_mask = new('icons/mob/ancient_machine.dmi', "scanline2") //Scaline for tall icons.
|
||||
@@ -1519,6 +1521,13 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/mob/living/silicon/ai/can_remote_apc_interface(obj/machinery/power/apc/ourapc)
|
||||
if(ourapc.hacked_by_ruin_AI || ourapc.aidisabled)
|
||||
return FALSE
|
||||
if(ourapc.malfhack && istype(ourapc.malfai) && (ourapc.malfai != src && ourapc.malfai != parent))
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/mob/living/silicon/ai/proc/blurb_it()
|
||||
addtimer(CALLBACK(src, TYPE_PROC_REF(/mob/living/silicon/ai, show_ai_blurb)), 1 SECONDS)
|
||||
|
||||
|
||||
@@ -1763,3 +1763,10 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
|
||||
if(!cell)
|
||||
return externally_powered
|
||||
return cell.is_powered() || externally_powered
|
||||
|
||||
/mob/living/silicon/robot/can_remote_apc_interface(obj/machinery/power/apc/ourapc)
|
||||
if(ourapc.hacked_by_ruin_AI || ourapc.aidisabled)
|
||||
return FALSE
|
||||
if(ourapc.malfai && !(src in ourapc.malfai.connected_robots))
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user