[MIRROR] [MDB Ignore] Refactoring Flora code [MDB IGNORE] (#13651)

* [MDB Ignore] Refactoring Flora code

* update bushes

Co-authored-by: DragonTrance <dylan661993@gmail.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-05-20 17:01:51 +02:00
committed by GitHub
parent a079903ecb
commit 6bea86d98f
91 changed files with 15597 additions and 15192 deletions
@@ -4,11 +4,11 @@
//Pine Trees
/datum/map_generator_module/pine_trees
spawnableAtoms = list(/obj/structure/flora/tree/pine = 30)
spawnableAtoms = list(/obj/structure/flora/tree/pine/style_random = 30)
//Dead Trees
/datum/map_generator_module/dead_trees
spawnableAtoms = list(/obj/structure/flora/tree/dead = 10)
spawnableAtoms = list(/obj/structure/flora/tree/dead/style_random = 10)
//Random assortment of bushes
/datum/map_generator_module/rand_bushes
@@ -16,14 +16,14 @@
/datum/map_generator_module/rand_bushes/New()
..()
spawnableAtoms = typesof(/obj/structure/flora/ausbushes)
spawnableAtoms = typesof(/obj/structure/flora/bush) - typesof(/obj/structure/flora/bush/snow)
for(var/i in spawnableAtoms)
spawnableAtoms[i] = 20
//Random assortment of rocks and rockpiles
/datum/map_generator_module/rand_rocks
spawnableAtoms = list(/obj/structure/flora/rock = 40, /obj/structure/flora/rock/pile = 20)
spawnableAtoms = list(/obj/structure/flora/rock/style_random = 40, /obj/structure/flora/rock/pile/style_random = 20)
//Grass turfs
@@ -34,4 +34,4 @@
//Grass tufts with a high spawn chance
/datum/map_generator_module/dense_layer/grass_tufts
spawnableTurfs = list()
spawnableAtoms = list(/obj/structure/flora/ausbushes/grassybush = 75)
spawnableAtoms = list(/obj/structure/flora/bush/grassy/style_random = 75)