/
githubmirror
/
vgstation13
Обзор
Документация
Войти
/
githubmirror
/
vgstation13
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
Bleeding-Edge
code/modules/procedural mapping/mapGeneratorModules/nature.dm
36 строк
1 KB
PJB3005
Ports https://github.com/tgstation/-tg-station/pull/9252
04 май 2015, 00:39
04 май 2015, 00:39
54bac59
Код
Авторство
О чём код?
//Contents exist primarily for the nature generator test type. //Pine Trees /datum/mapGeneratorModule/pineTrees spawnableAtoms = list(/obj/structure/flora/tree/pine = 30) //Dead Trees /datum/mapGeneratorModule/deadTrees spawnableAtoms = list(/obj/structure/flora/tree/dead = 10) //Random assortment of bushes /datum/mapGeneratorModule/randBushes spawnableAtoms = list() /datum/mapGeneratorModule/randBushes/New() ..() spawnableAtoms = typesof(/obj/structure/flora/ausbushes) for(var/i in spawnableAtoms) spawnableAtoms[i] = 20 //Random assortment of rocks and rockpiles /datum/mapGeneratorModule/randRocks spawnableAtoms = list(/obj/structure/flora/rock = 40, /obj/structure/flora/rock/pile = 20) //Grass turfs /datum/mapGeneratorModule/bottomLayer/grassTurfs spawnableTurfs = list(/turf/unsimulated/floor/grass = 100) //Grass tufts with a high spawn chance /datum/mapGeneratorModule/denseLayer/grassTufts spawnableTurfs = list() spawnableAtoms = list(/obj/structure/flora/ausbushes/grassybush = 75)