mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
@@ -63,7 +63,7 @@ GLOBAL_LIST_EMPTY(nuke_disks)
|
||||
to_chat(world, span_filter_system(span_large(span_bold("[syndicate_name()] operatives have earned Darwin Award!"))))
|
||||
to_chat(world, span_filter_system(span_bold("[syndicate_name()] operatives blew up something that wasn't [station_name()] and got caught in the explosion.") + " Next time, don't lose the disk!"))
|
||||
|
||||
else if (disk_rescued && mercs.antags_are_dead())
|
||||
else if (disk_rescued && GLOB.mercs.antags_are_dead())
|
||||
feedback_set_details("round_end_result","loss - evacuation - disk secured - syndi team dead")
|
||||
to_chat(world, span_filter_system(span_large(span_bold("Crew Major Victory!"))))
|
||||
to_chat(world, span_filter_system(span_bold("The Research Staff has saved the disc and killed the [syndicate_name()] Operatives")))
|
||||
@@ -73,7 +73,7 @@ GLOBAL_LIST_EMPTY(nuke_disks)
|
||||
to_chat(world, span_filter_system(span_large(span_bold("Crew Major Victory"))))
|
||||
to_chat(world, span_filter_system(span_bold("The Research Staff has saved the disc and stopped the [syndicate_name()] Operatives!")))
|
||||
|
||||
else if (!disk_rescued && mercs.antags_are_dead())
|
||||
else if (!disk_rescued && GLOB.mercs.antags_are_dead())
|
||||
feedback_set_details("round_end_result","loss - evacuation - disk not secured")
|
||||
to_chat(world, span_filter_system(span_large(span_bold("Mercenary Minor Victory!"))))
|
||||
to_chat(world, span_filter_system(span_bold("The Research Staff failed to secure the authentication disk but did manage to kill most of the [syndicate_name()] Operatives!")))
|
||||
|
||||
@@ -690,7 +690,7 @@ GLOBAL_LIST_EMPTY(all_objectives)
|
||||
if(istype(I,target)) total_amount++
|
||||
if(total_amount >= target_amount) return 1
|
||||
|
||||
for(var/datum/mind/raider in raiders.current_antagonists)
|
||||
for(var/datum/mind/raider in GLOB.raiders.current_antagonists)
|
||||
if(raider.current)
|
||||
for(var/obj/O in raider.current.get_contents())
|
||||
if(istype(O,target)) total_amount++
|
||||
@@ -744,7 +744,7 @@ GLOBAL_LIST_EMPTY(all_objectives)
|
||||
S = I
|
||||
total_amount += S.get_amount()
|
||||
|
||||
for(var/datum/mind/raider in raiders.current_antagonists)
|
||||
for(var/datum/mind/raider in GLOB.raiders.current_antagonists)
|
||||
if(raider.current)
|
||||
for(var/obj/item/O in raider.current.get_contents())
|
||||
if(istype(O,/obj/item/stack/material))
|
||||
@@ -760,7 +760,7 @@ GLOBAL_LIST_EMPTY(all_objectives)
|
||||
explanation_text = "Do not leave anyone behind, alive or dead."
|
||||
|
||||
/datum/objective/heist/preserve_crew/check_completion()
|
||||
if(raiders && raiders.is_raider_crew_safe()) return 1
|
||||
if(GLOB.raiders && GLOB.raiders.is_raider_crew_safe()) return 1
|
||||
return 0
|
||||
|
||||
//Borer objective(s).
|
||||
|
||||
@@ -63,7 +63,7 @@ var/list/all_technomancer_assistance = subtypesof(/datum/technomancer/assistance
|
||||
// Parameters: 1 (new_owner - mob that the book is trying to bind to)
|
||||
// Description: Links the catalog to hopefully the technomancer, so that only they can access it.
|
||||
/obj/item/technomancer_catalog/proc/bind_to_owner(var/mob/living/carbon/human/new_owner)
|
||||
if(!owner && (technomancers.is_antagonist(new_owner.mind) || universal)) //VOREStation Edit - Universal catalogs
|
||||
if(!owner && (GLOB.technomancers.is_antagonist(new_owner.mind) || universal)) //VOREStation Edit - Universal catalogs
|
||||
owner = new_owner
|
||||
|
||||
// Proc: New()
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
if(world.time % 5 == 0) // Maintaining fat lists is expensive, I imagine.
|
||||
maintain_summon_list()
|
||||
if(wearer && wearer.mind)
|
||||
if(!(technomancers.is_antagonist(wearer.mind)) && !universal) // In case someone tries to wear a stolen core. //VOREStation Edit - Add universal cores
|
||||
if(!(GLOB.technomancers.is_antagonist(wearer.mind)) && !universal) // In case someone tries to wear a stolen core. //VOREStation Edit - Add universal cores
|
||||
wearer.adjust_instability(20)
|
||||
if(!wearer || wearer.stat == DEAD) // Unlock if we're dead or not worn.
|
||||
canremove = TRUE
|
||||
|
||||
@@ -165,7 +165,7 @@
|
||||
if(core.loc != owner || owner.back != core) //Make sure the core's being worn.
|
||||
to_chat(owner, span_danger("You need to be wearing a core on your back!"))
|
||||
return 0
|
||||
if(!technomancers.is_antagonist(owner.mind) && !core.universal) //Now make sure the person using this is the actual antag. //VOREStation Edit - Universal cores
|
||||
if(!GLOB.technomancers.is_antagonist(owner.mind) && !core.universal) //Now make sure the person using this is the actual antag. //VOREStation Edit - Universal cores
|
||||
to_chat(owner, span_danger("You can't seem to figure out how to make the machine work properly."))
|
||||
return 0
|
||||
return 1
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/obj/item/spell/proc/is_ally(var/mob/living/L)
|
||||
if(L == owner) // The best ally is ourselves.
|
||||
return 1
|
||||
if(L.mind && technomancers.is_antagonist(L.mind)) // This should be done better since we might want opposing technomancers later.
|
||||
if(L.mind && GLOB.technomancers.is_antagonist(L.mind)) // This should be done better since we might want opposing technomancers later.
|
||||
return 1
|
||||
if(isanimal(L)) // Mind controlled simple mobs count as allies too.
|
||||
var/mob/living/simple_mob/SM = L
|
||||
|
||||
Reference in New Issue
Block a user