[MIRROR] Maint Pred Availability (#8200)

Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-04-10 22:57:05 -07:00
committed by GitHub
parent c8bcc8e993
commit 3cc86ae5ad
15 changed files with 165 additions and 53 deletions

View File

@@ -15,6 +15,7 @@
var/mob_wander_distance = 3
var/mob_hostile = 0
var/mob_retaliate = 0
var/mob_ghostjoin = 0 //Should be a number between 0 and 100, dictates the probability of that mob being ghost joinable.
/obj/random/mob/item_to_spawn()
return pick(prob(10);/mob/living/simple_mob/animal/passive/lizard,
@@ -62,7 +63,9 @@
if(mob_faction)
M.faction = mob_faction
if(mob_ghostjoin)
if(prob(mob_ghostjoin))
M.ghostjoin = 1
/obj/random/mob/sif
name = "Random Sif Animal"