mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-23 20:16:19 +01:00
Merge pull request #599 from Sharkmare/patch-69
Adding sizecheck to edible code
This commit is contained in:
@@ -261,7 +261,8 @@
|
||||
if(!prey.isEdible) //CHOMPEDIT: Trying to make pred mobs prey? N O U
|
||||
|
||||
var/mob/living/simple_animal/preydator = prey
|
||||
if(preydator.icon_state == preydator.icon_living)
|
||||
|
||||
if(preydator.icon_state == preydator.icon_living && preydator.size_multiplier >= 1)
|
||||
user.visible_message("<span class='danger'>\the [user] promptly gets tackled by \the [prey] for trying to break their prefs! !</span>!")
|
||||
user.Weaken(5)
|
||||
if (preydator.will_eat(user))
|
||||
|
||||
Reference in New Issue
Block a user