fuck why even fuck you (#25874)

This commit is contained in:
Contrabang
2024-06-29 13:55:31 -04:00
committed by GitHub
parent 32b73150ef
commit bd8c428ee6
2 changed files with 8 additions and 16 deletions
@@ -1466,7 +1466,7 @@ Eyes need to have significantly high darksight to shine unless the mob has the X
rad_act(current_size * 3)
/mob/living/carbon/human/narsie_act()
if(iswizard(src) && IS_CULTIST(src)) //Wizard cultists are immune to narsie because it would prematurely end the wiz round that's about to end by the automated shuttle call anyway
if(iswizard(src) || IS_CULTIST(src)) // Wizards are immune to the magic. Cultists also don't get transformed.
return
..()
@@ -112,7 +112,6 @@
return
/obj/singularity/narsie/proc/pickcultist() //Narsie rewards his cultists with being devoured first, then picks a ghost to follow. --NEO
var/list/cultists = list()
var/list/noncultists = list()
for(var/mob/living/carbon/food in GLOB.alive_mob_list) //we don't care about constructs or cult-Ians or whatever. cult-monkeys are fair game i guess
var/turf/pos = get_turf(food)
@@ -121,18 +120,12 @@
if(pos.z != src.z)
continue
if(IS_CULTIST(food))
cultists += food
else
if(!IS_CULTIST(food))
noncultists += food
if(length(cultists)) //cultists get higher priority
acquire(pick(cultists))
return
if(length(noncultists))
acquire(pick(noncultists))
return
if(length(noncultists))
acquire(pick(noncultists))
return
//no living humans, follow a ghost instead.
for(var/mob/dead/observer/ghost in GLOB.player_list)
@@ -141,10 +134,9 @@
var/turf/pos = get_turf(ghost)
if(pos.z != src.z)
continue
cultists += ghost
if(length(cultists))
acquire(pick(cultists))
return
noncultists += ghost
if(length(noncultists))
acquire(pick(noncultists))
/obj/singularity/narsie/proc/acquire(mob/food)