Prevents simplemob spawning on random turfs, pending a better system.

This commit is contained in:
Atermonera
2020-05-09 19:00:21 -04:00
committed by VirgoBot
parent 6021131272
commit 5ed15f5636
+10 -5
View File
@@ -11,14 +11,14 @@ var/list/grass_types = list(
/turf/simulated/floor/outdoors/dirt
)
var/grass_chance = 20
/*
var/animal_chance = 1
// Weighted spawn list.
var/list/animal_types = list(
/mob/living/simple_mob/animal/passive/tindalos = 1
)
*/
var/list/grass_types = list(
/obj/structure/flora/ausbushes/sparsegrass,
/obj/structure/flora/ausbushes/fullgrass
@@ -38,8 +38,13 @@ var/list/grass_types = list(
edge_blending_priority = 4
grass_chance = 5
var/tree_chance = 2
<<<<<<< HEAD
animal_chance = 0 //VOREStation Edit
=======
/*
animal_chance = 0.5
>>>>>>> ac4719e... Merge pull request #7132 from Mechoid/Simplemobageddon
animal_types = list(
/mob/living/simple_mob/animal/sif/diyaab = 10,
@@ -48,7 +53,7 @@ var/list/grass_types = list(
/mob/living/simple_mob/animal/sif/shantak/retaliate = 2,
/obj/random/mob/multiple/sifmobs = 1
)
*/
grass_types = list(
/obj/structure/flora/sif/eyes = 1,
/obj/structure/flora/sif/tendrils = 10
@@ -70,11 +75,11 @@ var/list/grass_types = list(
if(grass_chance && prob(grass_chance) && !check_density())
var/grass_type = pickweight(grass_types)
new grass_type(src)
/*
if(animal_chance && prob(animal_chance) && !check_density())
var/animal_type = pickweight(animal_types)
new animal_type(src)
*/
. = ..()
/turf/simulated/floor/outdoors/grass/forest