mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
le fish au chocolate (#28418)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user