mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-19 02:52:46 +01:00
Merge pull request #423 from Sharkmare/patch-33
Random loot drops 2 (Space bees)
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