mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 11:05:16 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user