Files

1 line
5.0 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/controller/subsystem/processing/station - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="datum/controller/subsystem/processing/station.html#var">Var Details</a> - <a href="datum/controller/subsystem/processing/station.html#proc">Proc Details</a></header><main><h1>station <aside>/<a href="datum.html">datum</a>/<a href="datum/controller.html">controller</a>/<a href="datum/controller/subsystem.html">subsystem</a>/<a href="datum/controller/subsystem/processing/station.html">processing/station</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/processing/SSstation.dm#L1"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/SSstation.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/controller/subsystem/processing/station.html#var/selectable_traits_by_types">selectable_traits_by_types</a></th><td>Assoc list of trait type || assoc list of traits with weighted value. Used for picking traits from a specific category.</td></tr><tr><th><a href="datum/controller/subsystem/processing/station.html#var/station_traits">station_traits</a></th><td>A list of currently active station traits</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/controller/subsystem/processing/station.html#proc/SetupTraits">SetupTraits</a></th><td>Rolls for the amount of traits and adds them to the traits list</td></tr><tr><th><a href="datum/controller/subsystem/processing/station.html#proc/pick_traits">pick_traits</a></th><td>Picks traits of a specific category (e.g. bad or good) and a specified amount, then initializes them and adds them to the list of traits.</td></tr><tr><th><a href="datum/controller/subsystem/processing/station.html#proc/setup_trait">setup_trait</a></th><td>Creates a given trait of a specific type, while also removing any blacklisted ones from the future pool.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/selectable_traits_by_types"><aside class="declaration">var </aside>selectable_traits_by_types <aside> /alist</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/processing/SSstation.dm#L12"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/SSstation.dm 12"></a></h3><p>Assoc list of trait type || assoc list of traits with weighted value. Used for picking traits from a specific category.</p><h3 id="var/station_traits"><aside class="declaration">var </aside>station_traits <aside> /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/processing/SSstation.dm#L10"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/SSstation.dm 10"></a></h3><p>A list of currently active station traits</p><h2 id="proc">Proc Details</h2><h3 id="proc/SetupTraits"><aside class="declaration">proc </aside>SetupTraits<aside>() <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/processing/SSstation.dm#L18"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/SSstation.dm 18"></a></aside></h3><p>Rolls for the amount of traits and adds them to the traits list</p><h3 id="proc/pick_traits"><aside class="declaration">proc </aside>pick_traits<aside>(trait_sign, amount) <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/processing/SSstation.dm#L61"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/SSstation.dm 61"></a></aside></h3><p>Picks traits of a specific category (e.g. bad or good) and a specified amount, then initializes them and adds them to the list of traits.</p><h3 id="proc/setup_trait"><aside class="declaration">proc </aside>setup_trait<aside>(/<a href="datum.html">datum</a>/<a href="datum/station_trait.html">station_trait</a>/trait_type) <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/processing/SSstation.dm#L69"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/SSstation.dm 69"></a></aside></h3><p>Creates a given trait of a specific type, while also removing any blacklisted ones from the future pool.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/edee60476d21ee840643bd1abe7f6003a8c65773">edee604</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>