mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-21 02:56:39 +01:00
Random loot drops 2 (Space bees)
50% Iron Pre 20% Silver Ore
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user