mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[MIRROR] Makes non-dense mobs not knock monkeys over [MDB IGNORE] (#11662)
* Makes non-dense mobs not knock monkeys over (#65040) Monkeys only get knocked over when you walk over them (not even when you swap places with them, which I thought was supposed to be the case), this makes non-dense mobs not knock them over. Which means Revenants, bots, small animals (lizards/butterflies), larvas, ect. will not knock monkeys over. * Makes non-dense mobs not knock monkeys over Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
This commit is contained in:
co-authored by
John Willard
parent
96d7bc425e
commit
9a9bf5cd1e
@@ -173,7 +173,7 @@ have ways of interacting with a specific mob and control it.
|
||||
/datum/ai_controller/monkey/proc/on_entered(datum/source, atom/movable/arrived, atom/old_loc, list/atom/old_locs)
|
||||
SIGNAL_HANDLER
|
||||
var/mob/living/living_pawn = pawn
|
||||
if(!IS_DEAD_OR_INCAP(living_pawn) && isliving(arrived))
|
||||
if(!IS_DEAD_OR_INCAP(living_pawn) && isliving(arrived) && arrived.density)
|
||||
var/mob/living/in_the_way_mob = arrived
|
||||
in_the_way_mob.knockOver(living_pawn)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user