Random lootdrops for scary bats

but this time they work
This commit is contained in:
Sharkmare
2019-02-20 21:09:27 +01:00
committed by GitHub
parent 72636bdfec
commit 3be3a2371f
@@ -49,11 +49,16 @@
/mob/living/simple_animal/hostile/scarybat/New(loc, mob/living/L as mob)
..()
if(prob(30))//30% should be nice for a tiny bonus of silver, at least gives fighting mobs more purpose
contents += "/obj/item/weapon/ore/silver" //CHOMP EDIT: Random chance for bats to carry silver
if(istype(L))
owner = L
/mob/living/simple_animal/hostile/scarybat/death()
..()
if(prob(40))
visible_message("<span class='notice'>\The [src] dropped some ore!</span>")
var/location = get_turf(src)
new /obj/item/weapon/ore/silver(location)//CHOMP EDIT: Random chance for bats to carry silver
/mob/living/simple_animal/hostile/scarybat/Process_Spacemove(var/check_drift = 0)
return ..()