mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
* finally revenge on all those evil doctors * Adds medical machinery to the hallucination list * forgor * spacing * Update code/game/objects/items/devices/scanners.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: Luc <89928798+lewcc@users.noreply.github.com> * bbetter docs * Improved health shuffle, add some other silly things for being dead --------- Signed-off-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
19 lines
616 B
Plaintext
19 lines
616 B
Plaintext
|
|
/obj/effect/hallucination/trait_applier
|
|
/// The trait to apply
|
|
var/trait_applied
|
|
|
|
|
|
/obj/effect/hallucination/trait_applier/Initialize(mapload, mob/living/carbon/hallucination_target)
|
|
. = ..()
|
|
// add a single one per datum in case it gets invoked multiple times
|
|
ADD_TRAIT(hallucination_target, trait_applied, UNIQUE_TRAIT_SOURCE(src))
|
|
|
|
/obj/effect/hallucination/trait_applier/Destroy()
|
|
REMOVE_TRAIT(target, trait_applied, UNIQUE_TRAIT_SOURCE(src))
|
|
return ..()
|
|
|
|
/obj/effect/hallucination/trait_applier/medical_machinery
|
|
duration = list(40 SECONDS, 60 SECONDS)
|
|
trait_applied = TRAIT_MED_MACHINE_HALLUCINATING
|