Files
2025-02-05 06:19:18 +00:00

1 line
4.5 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/biome - /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/biome.html#var">Var Details</a> - <a href="datum/biome.html#proc">Proc Details</a></header><main><h1>biome <aside>/<a href="datum.html">datum</a>/<a href="datum/biome.html">biome</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L2"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 2"></a></h1><p>This datum handles the transitioning from a turf to a specific biome, and handles spawning decorative structures and mobs.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/biome.html#var/fauna_density">fauna_density</a></th><td>Chance of having a mob from the fauna types list spawn</td></tr><tr><th><a href="datum/biome.html#var/fauna_types">fauna_types</a></th><td>list of type paths of mobs that can be spawned when the turf spawns fauna</td></tr><tr><th><a href="datum/biome.html#var/flora_density">flora_density</a></th><td>Chance of having a structure from the flora types list spawn</td></tr><tr><th><a href="datum/biome.html#var/flora_types">flora_types</a></th><td>list of type paths of objects that can be spawned when the turf spawns flora</td></tr><tr><th><a href="datum/biome.html#var/turf_type">turf_type</a></th><td>Type of turf this biome creates</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/biome.html#proc/generate_turf">generate_turf</a></th><td>This proc handles the creation of a turf of a specific biome type</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/fauna_density"><aside class="declaration">var </aside>fauna_density <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L8"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 8"></a></h3><p>Chance of having a mob from the fauna types list spawn</p><h3 id="var/fauna_types"><aside class="declaration">var </aside>fauna_types <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L12"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 12"></a></h3><p>list of type paths of mobs that can be spawned when the turf spawns fauna</p><h3 id="var/flora_density"><aside class="declaration">var </aside>flora_density <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L6"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 6"></a></h3><p>Chance of having a structure from the flora types list spawn</p><h3 id="var/flora_types"><aside class="declaration">var </aside>flora_types <aside> /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L10"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 10"></a></h3><p>list of type paths of objects that can be spawned when the turf spawns flora</p><h3 id="var/turf_type"><aside class="declaration">var </aside>turf_type <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 4"></a></h3><p>Type of turf this biome creates</p><h2 id="proc">Proc Details</h2><h3 id="proc/generate_turf"><aside class="declaration">proc </aside>generate_turf<aside>(/<a href="turf.html">turf</a>/gen_turf) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/mapgen/biomes/_biome.dm#L15"><img src="git.png" width="16" height="16" title="code/datums/mapgen/biomes/_biome.dm 15"></a></aside></h3><p>This proc handles the creation of a turf of a specific biome type</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>