mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-23 12:06:22 +01:00
Adding sizecheck to edible code
While a full sized deathclaw can smack your ass down, a shrunk deathclaw shouldnt be able to, lets reflect that in code.
This commit is contained in:
@@ -258,7 +258,7 @@
|
||||
/obj/belly/proc/nom_mob(var/mob/prey, var/mob/user)
|
||||
if(owner.stat == DEAD)
|
||||
return
|
||||
if(!prey.isEdible) //CHOMPEDIT: Trying to make pred mobs prey? N O U
|
||||
if(!prey.isEdible && prey.size_multiplier >= 1) //CHOMPEDIT: Trying to make pred mobs prey? N O U
|
||||
|
||||
var/mob/living/simple_animal/preydator = prey
|
||||
if(preydator.icon_state == preydator.icon_living)
|
||||
|
||||
Reference in New Issue
Block a user