mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +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:
@@ -14,11 +14,11 @@
|
||||
|
||||
/obj/item/phylactery/Initialize()
|
||||
. = ..()
|
||||
world_phylactery += src
|
||||
GLOB.world_phylactery += src
|
||||
|
||||
/obj/item/phylactery/Destroy()
|
||||
to_chat(lich, "<span class='danger'>Your phylactery was destroyed, your soul is cast into the abyss as your immortality vanishes away!</span>")
|
||||
world_phylactery -= src
|
||||
GLOB.world_phylactery -= src
|
||||
lich = null
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
if(A.blood_DNA)
|
||||
var/marked = pick(A.blood_DNA)
|
||||
|
||||
for(var/mob/living/carbon/human/H in mob_list)
|
||||
for(var/mob/living/carbon/human/H in GLOB.mob_list)
|
||||
if(H.dna.unique_enzymes == marked)
|
||||
target = WEAKREF(H)
|
||||
countenance = H.dna.species
|
||||
@@ -54,7 +54,7 @@
|
||||
if(target_zone == BP_R_LEG || target_zone == BP_L_LEG)
|
||||
to_chat(user, "<span class='notice'>You move \the [src]'s legs around.</span>")
|
||||
if(H.canmove && !H.restrained() && !(istype(H.loc, /turf/space)))
|
||||
step(H, pick(cardinal))
|
||||
step(H, pick(GLOB.cardinal))
|
||||
|
||||
if(target_zone == BP_L_HAND || target_zone == BP_L_ARM)
|
||||
to_chat(user, "<span class='notice'>You twist \the [src]'s left arm.</span>")
|
||||
@@ -120,7 +120,7 @@
|
||||
..()
|
||||
var/mob/living/carbon/human/H = target.resolve()
|
||||
if(H)
|
||||
H.throw_at(get_edge_target_turf(H,pick(alldirs)), 5, 1)
|
||||
H.throw_at(get_edge_target_turf(H,pick(GLOB.alldirs)), 5, 1)
|
||||
|
||||
/obj/item/poppet/emp_act(severity)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user