mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 06:04:23 +01:00
52e5c478fe
* make hallucination great again * 10x the current hallucination
19 lines
748 B
Plaintext
19 lines
748 B
Plaintext
/datum/event/mass_hallucination/setup()
|
|
announceWhen = rand(0, 20)
|
|
|
|
/datum/event/mass_hallucination/start()
|
|
for(var/thing in GLOB.human_list)
|
|
var/mob/living/carbon/human/H = thing
|
|
if(H.stat == DEAD)
|
|
continue
|
|
var/turf/T = get_turf(H)
|
|
if(!is_station_level(T?.z))
|
|
continue
|
|
var/armor = H.getarmor(type = RAD)
|
|
if(HAS_TRAIT(H, TRAIT_RADIMMUNE) || armor >= 150) // Leave radiation-immune species/rad armored players completely unaffected
|
|
continue
|
|
H.AdjustHallucinate(rand(50 SECONDS, 100 SECONDS))
|
|
|
|
/datum/event/mass_hallucination/announce()
|
|
GLOB.minor_announcement.Announce("The [station_name()] is passing through a minor radiation field. Be advised that acute exposure to space radiation can induce hallucinogenic episodes.")
|