mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
Remember if your scrolling though the list and something is unchecked it should almost certainly be checked. Simple animals moved over to the actual mob code area and out of the defines. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2868 316c924e-a436-60f5-8080-3fe189b3f50e
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
/mob/living/simple_animal/shade
|
|
name = "Shade"
|
|
desc = "A bound spirit"
|
|
icon = 'mob.dmi'
|
|
icon_state = "shade"
|
|
icon_living = "shade"
|
|
icon_dead = "shade_dead"
|
|
max_health = 50
|
|
health = 50
|
|
speak_emote = list("hisses")
|
|
emote_hear = list("wails","screeches")
|
|
response_help = "puts their hand through"
|
|
response_disarm = "flails at"
|
|
response_harm = "punches the"
|
|
melee_damage_lower = 5
|
|
melee_damage_upper = 15
|
|
attacktext = "drains the life from"
|
|
minbodytemp = 0
|
|
maxbodytemp = 4000
|
|
min_oxy = 0
|
|
max_co2 = 0
|
|
max_tox = 0
|
|
|
|
/mob/living/simple_animal/shade/Life()
|
|
..()
|
|
if (stat == 2)
|
|
new /obj/item/weapon/ectoplasm (src.loc)
|
|
for(var/mob/M in viewers(src, null))
|
|
if ((M.client && !( M.blinded )))
|
|
M.show_message("\red [src] lets out a contented sigh as their form unwinds. ")
|
|
del src
|
|
|
|
/mob/living/simple_animal/shade/attackby(var/obj/item/O as obj, var/mob/user as mob) //Marker -Agouri
|
|
if(istype(O, /obj/item/device/soulstone))
|
|
O.transfer_soul("SHADE", src, user)
|
|
else
|
|
if(O.force)
|
|
health -= O.force
|
|
for(var/mob/M in viewers(src, null))
|
|
if ((M.client && !( M.blinded )))
|
|
M.show_message("\red \b [src] has been attacked with the [O] by [user]. ")
|
|
else
|
|
usr << "\red This weapon is ineffective, it does no damage."
|
|
for(var/mob/M in viewers(src, null))
|
|
if ((M.client && !( M.blinded )))
|
|
M.show_message("\red [user] gently taps [src] with the [O]. ") |