le fish au chocolate (#28418)

This commit is contained in:
Qwertytoforty
2025-02-18 05:37:48 -05:00
committed by GitHub
parent b9bd42ff21
commit e72967152b
@@ -36,6 +36,7 @@
faction = list("carp", "mining")
pressure_resistance = 200
gold_core_spawnable = HOSTILE_SPAWN
density = FALSE
initial_traits = list(TRAIT_FLYING, TRAIT_SHOCKIMMUNE)
@@ -121,6 +122,16 @@
else
add_dead_carp_overlay()
// We do not want mobs moving through space carp, we as such we block it if the mob is not dense
/mob/living/simple_animal/hostile/carp/CanPass(atom/movable/mover, border_dir)
if(isliving(mover) && !istype(mover, /mob/living/simple_animal/hostile/carp) && mover.density == TRUE)
return FALSE
return ..()
// Since it's not dense we let it always hit
/mob/living/simple_animal/hostile/carp/projectile_hit_check(obj/item/projectile/P)
return FALSE
/mob/living/simple_animal/hostile/carp/holocarp
icon_state = "holocarp"
icon_living = "holocarp"