Refactors bottle smashing, apply_hit_effect() now returns the blocked status.

Conflicts:
	code/modules/mob/living/carbon/human/species/xenomorphs/alien_facehugger.dm
	code/modules/mob/living/simple_animal/simple_animal.dm
	code/modules/reagents/reagent_containers/food/drinks/bottle.dm
This commit is contained in:
mwerezak
2016-04-22 04:57:23 -04:00
committed by HarpyEagle
parent 9ef3df66e3
commit deb215d262
9 changed files with 280 additions and 94 deletions
+1 -1
View File
@@ -237,7 +237,7 @@
..()
/obj/item/weapon/reagent_containers/food/snacks/grown/apply_hit_effect(mob/living/target, mob/living/user, var/hit_zone)
..()
. = ..()
if(seed && seed.get_trait(TRAIT_STINGS))
if(!reagents || reagents.total_volume <= 0)