mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 00:55:20 +01:00
e9384e10a2
Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
/obj/item/camera/spooky
|
|
name = "camera obscura"
|
|
desc = "A polaroid camera, some say it can see ghosts!"
|
|
see_ghosts = CAMERA_SEE_GHOSTS_BASIC
|
|
|
|
/obj/item/camera/spooky/steal_souls(list/victims)
|
|
for(var/mob/living/target in victims)
|
|
if(!(target.mob_biotypes & MOB_SPIRIT))
|
|
continue
|
|
|
|
// time to steal your soul
|
|
if(istype(target, /mob/living/basic/revenant))
|
|
var/mob/living/basic/revenant/peek_a_boo = target
|
|
peek_a_boo.apply_status_effect(/datum/status_effect/revenant/revealed, 2 SECONDS) // no hiding
|
|
peek_a_boo.apply_status_effect(/datum/status_effect/incapacitating/paralyzed/revenant, 2 SECONDS)
|
|
|
|
target.visible_message(
|
|
span_warning("[target] violently flinches!"),
|
|
span_revendanger("You feel your essence draining away from having your picture taken!"),
|
|
)
|
|
target.apply_damage(rand(10, 15))
|
|
|
|
/obj/item/camera/spooky/badmin
|
|
desc = "A polaroid camera, some say it can see ghosts! It seems to have an extra magnifier on the end."
|
|
see_ghosts = CAMERA_SEE_GHOSTS_ORBIT
|
|
|
|
/obj/item/camera/detective
|
|
name = "detective's camera"
|
|
desc = "A silent polaroid camera with extra capacity for crime investigations."
|
|
print_monochrome = TRUE
|
|
flash_enabled = FALSE
|
|
silent = TRUE
|
|
pictures_max = 30
|
|
pictures_left = 30
|