Merge pull request #10361 from Kyep/hellhound_new_sprites

Hellhound Tweaks
This commit is contained in:
variableundefined
2018-11-28 09:46:07 +08:00
committed by GitHub
2 changed files with 19 additions and 9 deletions
@@ -2,11 +2,11 @@
/mob/living/simple_animal/hostile/hellhound
// Sprites by FoS: http://nanotrasen.se/phpBB3/memberlist.php?mode=viewprofile&u=386
name = "Lesser Hellhound"
desc = "A horrifying, black canine monster, with glowing red eyes and vicious-looking teeth."
icon_state = "blackdog"
icon_living = "blackdog"
icon_dead = "blackdog_dead"
icon_resting = "blackdog_rest"
desc = "A horrifying, black canine monster, with glowing red eyes and vicious-looking teeth. A firey, lava-like substance drips from it."
icon_state = "hellhound"
icon_living = "hellhound"
icon_dead = "hellhound_dead"
icon_resting = "hellhound_rest"
mutations = list(BREATHLESS)
gold_core_spawnable = CHEM_MOB_SPAWN_HOSTILE
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)
@@ -52,7 +52,7 @@
update_canmove()
else if(wants_to_rest())
custom_emote(1, "lays down, and starts to lick their wounds.")
icon_state = "[icon_living]_rest"
icon_state = "[icon_resting]"
resting = 1
update_canmove()
@@ -100,6 +100,13 @@
if(ishuman(target))
special_aoe()
/mob/living/simple_animal/hostile/hellhound/attackby(obj/item/C, mob/user, params)
. = ..()
if(target && isliving(target))
var/mob/living/L = target
if(L.stat != CONSCIOUS)
target = user
/mob/living/simple_animal/hostile/hellhound/proc/special_aoe()
if(world.time < (smoke_lastuse + smoke_freq))
return
@@ -110,12 +117,15 @@
/mob/living/simple_animal/hostile/hellhound/greater
name = "Greater Hellhound"
icon_state = "hellhoundgreater"
icon_living = "hellhoundgreater"
icon_resting = "hellhoundgreater_sit"
maxHealth = 400
health = 400
force_threshold = 5 // no punching
smoke_freq = 200
life_regen_cycle_trigger = 5
melee_damage_lower = 20
melee_damage_upper = 30
environment_smash = 2
gold_core_spawnable = CHEM_MOB_SPAWN_INVALID
light_color = "#FF0000"
light_power = 6
light_range = 2