mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
global lists global defined
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
landing_zone.dir = lz_dir
|
||||
landing_zone.register() //new docking ports must be registered
|
||||
|
||||
for(var/obj/machinery/computer/shuttle/S in machines)
|
||||
for(var/obj/machinery/computer/shuttle/S in GLOB.machines)
|
||||
if(S.shuttleId == shuttle_id)
|
||||
S.possible_destinations = "[landing_zone.id]"
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
emergency_shuttle_recalled.Announce("The emergency shuttle has been recalled.[shuttle_master.emergencyLastCallLoc ? " Recall signal traced. Results can be viewed on any communications console." : "" ]")
|
||||
|
||||
/obj/docking_port/mobile/emergency/proc/is_hijacked()
|
||||
for(var/mob/living/player in player_list)
|
||||
for(var/mob/living/player in GLOB.player_list)
|
||||
if(player.mind)
|
||||
if(player.stat != DEAD)
|
||||
if(issilicon(player)) //Borgs are technically dead anyways
|
||||
@@ -268,7 +268,7 @@
|
||||
mode = SHUTTLE_ESCAPE
|
||||
timer = world.time
|
||||
priority_announcement.Announce("The Emergency Shuttle has left the station. Estimate [timeLeft(600)] minutes until the shuttle docks at Central Command.")
|
||||
for(var/mob/M in player_list)
|
||||
for(var/mob/M in GLOB.player_list)
|
||||
if(!isnewplayer(M) && !M.client.karma_spent && !(M.client.ckey in karma_spenders) && !M.get_preference(DISABLE_KARMA_REMINDER))
|
||||
to_chat(M, "<i>You have not yet spent your karma for the round; was there a player worthy of receiving your reward? Look under Special Verbs tab, Award Karma.</i>")
|
||||
|
||||
|
||||
@@ -553,7 +553,7 @@
|
||||
if(!istype(S0))
|
||||
return 1
|
||||
|
||||
for(var/obj/machinery/door/airlock/A in airlocks)
|
||||
for(var/obj/machinery/door/airlock/A in GLOB.airlocks)
|
||||
if(A.id_tag == S0.id)
|
||||
spawn(-1)
|
||||
A.close()
|
||||
@@ -563,7 +563,7 @@
|
||||
if(!istype(S1))
|
||||
return 0
|
||||
|
||||
for(var/obj/machinery/door/airlock/A in airlocks)
|
||||
for(var/obj/machinery/door/airlock/A in GLOB.airlocks)
|
||||
if(A.id_tag == S1.id)
|
||||
spawn(-1)
|
||||
if(A.locked)
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
if(cost)
|
||||
shuttle_master.techLevels[tech.id] = tech.level
|
||||
shuttle_master.points += cost
|
||||
for(var/mob/M in player_list)
|
||||
for(var/mob/M in GLOB.player_list)
|
||||
if(M.mind)
|
||||
for(var/datum/job_objective/further_research/objective in M.mind.job_objectives)
|
||||
objective.unit_completed(cost)
|
||||
|
||||
Reference in New Issue
Block a user