mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update * fix that verb * cl * fix that * toworld * this is pointless * update info * siiiiick.. * vv edit update * fix that * fix editing vars * fix VV * Port the /TG/ globals controller. * part 1 * part 2 * oops * part 3 * Hollow Purple * sadas * bsbsdb * muda na agaki ta * ids 1-15 * 16-31 * 41-75 * bring me back to how things used to be before i lost it all * the strength of mayhem * final touches * cl * protect some vars * update sdql2 to use glob * stuff? * forgot that is not defined there * whoops * observ * but it never gets better * a --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
|
||||
to_chat(user, SPAN_CULT("You psionically say to [target]: [text]"))
|
||||
|
||||
for (var/mob/M in player_list)
|
||||
for (var/mob/M in GLOB.player_list)
|
||||
if (istype(M, /mob/abstract/new_player))
|
||||
continue
|
||||
else if(M.stat == DEAD && M.client.prefs.toggles & CHAT_GHOSTEARS)
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
to_chat(user, SPAN_CULT("You psionically suggest an emotion to [target]: [text]"))
|
||||
|
||||
for (var/mob/M in player_list)
|
||||
for (var/mob/M in GLOB.player_list)
|
||||
if (istype(M, /mob/abstract/new_player))
|
||||
continue
|
||||
else if(M.stat == DEAD && HAS_FLAG(M.client.prefs.toggles, CHAT_GHOSTEARS))
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
for(var/obj/item/organ/E in H.bad_external_organs) // Fix bones
|
||||
var/obj/item/organ/external/affected = E
|
||||
if(do_mob(user, H, 10 SECONDS))
|
||||
if((affected.damage < affected.min_broken_damage * config.organ_health_multiplier) && (affected.status & ORGAN_BROKEN))
|
||||
if((affected.damage < affected.min_broken_damage * GLOB.config.organ_health_multiplier) && (affected.status & ORGAN_BROKEN))
|
||||
to_chat(user, SPAN_NOTICE("You mend their [affected] together."))
|
||||
affected.status &= ~ORGAN_BROKEN
|
||||
if(HAS_FLAG(affected.status, ORGAN_ARTERY_CUT))
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
return
|
||||
|
||||
var/list/mob_choices = list()
|
||||
for(var/mob/living/L in mob_list)
|
||||
for(var/mob/living/L in GLOB.mob_list)
|
||||
if(L == user)
|
||||
continue
|
||||
if(!L.is_psi_blocked())
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
if(do_after(L, 3 SECONDS))
|
||||
var/list/level_humans = list()
|
||||
var/found_apex = FALSE
|
||||
for(var/mob/living/carbon/human/H in human_mob_list)
|
||||
for(var/mob/living/carbon/human/H in GLOB.human_mob_list)
|
||||
if(H == L)
|
||||
continue
|
||||
if((GET_Z(H) == GET_Z(L)) && !H.is_psi_blocked())
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
visible_message(SPAN_NOTICE("[user] rests a hand on \the [hit_atom]."))
|
||||
busy = TRUE
|
||||
|
||||
spark(our_turf, 3, cardinal)
|
||||
spark(our_turf, 3, GLOB.cardinal)
|
||||
|
||||
while(i)
|
||||
checked_turf = get_step(checked_turf, direction) //Advance in the given direction
|
||||
|
||||
Reference in New Issue
Block a user