allows med borgs to pet nymphs and mice (#21070)

* pprevents borgs from picking up nymphs or mice

* changes check slightly

* Update robot_items.dm
This commit is contained in:
Taran
2023-06-17 04:00:47 -06:00
committed by GitHub
parent 9ccb9bddc4
commit f20ca9e65f

View File

@@ -72,7 +72,7 @@
switch(mode)
if(CYBORG_HUGS)
if(M.health >= 0)
if(isanimal(M))
if(isanimal(M) && !M.holder_type) // checks if holder_type exists to prevent picking up animals like mice
var/list/modifiers = params2list(params)
M.attack_hand(user, modifiers) //This enables borgs to get the floating heart icon and mob emote from simple_animal's that have petbonus == true.
return