1 line
8.2 KiB
HTML
1 line
8.2 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/map_generator/cave_generator - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="datum/map_generator/cave_generator.html#var">Var Details</a></header><main><h1>cave_generator <aside>/<a href="datum.html">datum</a>/<a href="datum/map_generator.html">map_generator</a>/<a href="datum/map_generator/cave_generator.html">cave_generator</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L1"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/birth_limit">birth_limit</a></th><td>How much neighbours does a dead cell need to become alive</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/closed_turf_types">closed_turf_types</a></th><td>Weighted list of the types that spawns if the turf is closed</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/death_limit">death_limit</a></th><td>How little neighbours does a alive cell need to die</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/feature_spawn_chance">feature_spawn_chance</a></th><td>Base chance of spawning features</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/feature_spawn_list">feature_spawn_list</a></th><td>Weighted list of extra features that can spawn in the area, such as geysers.</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/flora_spawn_chance">flora_spawn_chance</a></th><td>Base chance of spawning flora</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/flora_spawn_list">flora_spawn_list</a></th><td>Weighted list of flora that can spawn in the area.</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/initial_closed_chance">initial_closed_chance</a></th><td>Chance of cells starting closed</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/mob_spawn_chance">mob_spawn_chance</a></th><td>Base chance of spawning a mob</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/mob_spawn_list">mob_spawn_list</a></th><td>Weighted list of mobs that can spawn in the area.</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/open_turf_types">open_turf_types</a></th><td>Weighted list of the types that spawns if the turf is open</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/smoothing_iterations">smoothing_iterations</a></th><td>Amount of smoothing iterations</td></tr><tr><th><a href="datum/map_generator/cave_generator.html#var/string_gen">string_gen</a></th><td>Unique ID for this spawner</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/birth_limit"><aside class="declaration">var </aside>birth_limit <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L33"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 33"></a></h3><p>How much neighbours does a dead cell need to become alive</p><h3 id="var/closed_turf_types"><aside class="declaration">var </aside>closed_turf_types <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 6"></a></h3><p>Weighted list of the types that spawns if the turf is closed</p><h3 id="var/death_limit"><aside class="declaration">var </aside>death_limit <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L35"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 35"></a></h3><p>How little neighbours does a alive cell need to die</p><h3 id="var/feature_spawn_chance"><aside class="declaration">var </aside>feature_spawn_chance <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L24"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 24"></a></h3><p>Base chance of spawning features</p><h3 id="var/feature_spawn_list"><aside class="declaration">var </aside>feature_spawn_list <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L16"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 16"></a></h3><p>Weighted list of extra features that can spawn in the area, such as geysers.</p><h3 id="var/flora_spawn_chance"><aside class="declaration">var </aside>flora_spawn_chance <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L22"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 22"></a></h3><p>Base chance of spawning flora</p><h3 id="var/flora_spawn_list"><aside class="declaration">var </aside>flora_spawn_list <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L14"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 14"></a></h3><p>Weighted list of flora that can spawn in the area.</p><h3 id="var/initial_closed_chance"><aside class="declaration">var </aside>initial_closed_chance <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L29"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 29"></a></h3><p>Chance of cells starting closed</p><h3 id="var/mob_spawn_chance"><aside class="declaration">var </aside>mob_spawn_chance <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L20"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 20"></a></h3><p>Base chance of spawning a mob</p><h3 id="var/mob_spawn_list"><aside class="declaration">var </aside>mob_spawn_list <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 10"></a></h3><p>Weighted list of mobs that can spawn in the area.</p><h3 id="var/open_turf_types"><aside class="declaration">var </aside>open_turf_types <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 4"></a></h3><p>Weighted list of the types that spawns if the turf is open</p><h3 id="var/smoothing_iterations"><aside class="declaration">var </aside>smoothing_iterations <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L31"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 31"></a></h3><p>Amount of smoothing iterations</p><h3 id="var/string_gen"><aside class="declaration">var </aside>string_gen <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/CaveGenerator.dm#L26"><img src="git.png" width="16" height="16" title="code/datums/mapgen/CaveGenerator.dm 26"></a></h3><p>Unique ID for this spawner</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html> |