mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
Dead carp no longer block lasers / interact weirdly (#28487)
* fucking carp * dead carp don't swarm * Apply suggestions from code review Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> --------- Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -124,13 +124,13 @@
|
||||
|
||||
// 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)
|
||||
if(isliving(mover) && !istype(mover, /mob/living/simple_animal/hostile/carp) && mover.density == TRUE && stat != DEAD)
|
||||
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
|
||||
return stat == DEAD
|
||||
|
||||
/mob/living/simple_animal/hostile/carp/holocarp
|
||||
icon_state = "holocarp"
|
||||
|
||||
Reference in New Issue
Block a user