diff --git a/code/modules/mob/living/simple_animal/hostile/skeleton.dm b/code/modules/mob/living/simple_animal/hostile/skeleton.dm new file mode 100644 index 00000000000..11dad484aa9 --- /dev/null +++ b/code/modules/mob/living/simple_animal/hostile/skeleton.dm @@ -0,0 +1,54 @@ +/mob/living/simple_animal/hostile/skeleton + name = "reanimated skeleton" + desc = "A real bonefied skeleton, doesn't seem like it wants to socialize." + icon = 'icons/mob/human.dmi' + icon_state = "skeleton_s" + icon_living = "skeleton_s" + icon_dead = "skeleton_dead" + turns_per_move = 5 + speak_emote = list("rattles") + emote_see = list("rattles") + a_intent = "harm" + maxHealth = 500 + health = 50 + speed = 1 + harm_intent_damage = 5 + melee_damage_lower = 15 + melee_damage_upper = 15 + attacktext = "slashes" + attack_sound = 'sound/hallucinations/growl1.ogg' + atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0) + unsuitable_atmos_damage = 10 + environment_smash = 1 + robust_searching = 1 + stat_attack = 2 + gold_core_spawnable = 1 + faction = list("skeleton") + see_invisible = SEE_INVISIBLE_MINIMUM + see_in_dark = 8 + layer = MOB_LAYER - 0.1 + var/remains = /obj/effect/decal/remains/human + +/mob/living/simple_animal/hostile/skeleton/death(gibbed) + ..(gibbed) + if(remains) + new remains (src.loc) + visible_message("The skeleton falls apart!") + qdel(src) + return + +/mob/living/simple_animal/hostile/spawner/skeleton + name = "bone pit" + desc = "A pit full of bones, some still seem to be moving.." + icon_state = "hole" + icon_living = "hole" + icon = 'icons/mob/nest.dmi' + health = 300 + maxHealth = 300 + list/spawned_mobs = list() + max_mobs = 30 + spawn_time = 100 + mob_type = /mob/living/simple_animal/hostile/skeleton + spawn_text = "climbs out of" + atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0) + faction = list("skeleton") \ No newline at end of file