Merge pull request #423 from Sharkmare/patch-33

Random loot drops 2 (Space bees)
This commit is contained in:
Vollybally
2019-02-21 03:04:39 -05:00
committed by GitHub
@@ -42,4 +42,17 @@
// Activate Noms!
/mob/living/simple_animal/retaliate/bee
vore_active = 1
vore_icons = SA_ICON_LIVING
vore_icons = SA_ICON_LIVING
//CHOMPEDIT Hook in for loot drop code.
/mob/living/simple_animal/retaliate/bee/death()
..()
if(prob(50))
visible_message("<span class='notice'>\The [src] dropped some ore!</span>")
var/location = get_turf(src)
new /obj/item/weapon/ore/iron(location)
if(prob(20))
visible_message("<span class='notice'>\The [src] dropped some ore!</span>")
var/location = get_turf(src)
new /obj/item/weapon/ore/silver(location)