mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user