/
artifacts.dm
38 lines (30 loc) · 1.35 KB
/
artifacts.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//////////////////////Scrying orb//////////////////////
/obj/item/scrying
name = "scrying orb"
desc = "An incandescent orb of otherworldly energy, staring into it gives you vision beyond mortal means."
icon = 'icons/obj/projectiles.dmi'
icon_state = "bluespace"
throw_speed = 3
throw_range = 7
throwforce = 10
damtype = DAMAGE_BURN
force = 10
hitsound = 'sound/magic/forcewall.ogg'
/obj/item/scrying/attack_self(mob/user as mob)
if((user.mind && !GLOB.wizards.is_antagonist(user.mind)))
to_chat(user, SPAN_WARNING("You stare into the orb and see nothing but your own reflection."))
return
to_chat(user, SPAN_INFO("You can see... everything!")) // This never actually happens.
visible_message(SPAN_DANGER("[user] stares into [src], their eyes glazing over."))
user.teleop = user.ghostize(1)
announce_ghost_joinleave(user.teleop, 1, "You feel that they used a powerful artifact to [pick("invade","disturb","disrupt","infest","taint","spoil","blight")] this place with their presence.")
return
/////////////////////////Cursed Dice///////////////////////////
/obj/item/dice/d20/cursed
desc = "A dice with twenty sides said to have an ill effect on those that are unlucky..."
/obj/item/dice/d20/cursed/attack_self(mob/living/user)
..()
if(icon_state == "[name][sides]")
user.adjustBruteLoss(-30)
else if(icon_state == "[name]1")
user.adjustBruteLoss(30)