Random loot drops 2 (Space bees)

50% Iron Pre
20% Silver Ore
This commit is contained in:
Sharkmare
2019-02-21 08:33:27 +01:00
committed by GitHub
parent e41015319f
commit d8b107eeb0
@@ -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)