1 line
14 KiB
HTML
1 line
14 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/modules/mafia/_defines.dm - /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="code/modules/mafia/_defines.html#define">Define Details</a></header><main><h1>code/modules/mafia/_defines.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm0"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/modules/mafia/_defines.html#define/MAFIA_MAX_PLAYER_COUNT">MAFIA_MAX_PLAYER_COUNT</a></th><td>how many people can play mafia without issues (running out of spawns, procs not expecting more than this amount of people, etc)</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/TOWN_OVERFLOW">TOWN_OVERFLOW</a></th><td>Add this if you don't want a role to be a choice in the selection</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/TOWN_INVEST">TOWN_INVEST</a></th><td>roles that learn info about others in the game (chaplain, detective, psych)</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/TOWN_PROTECT">TOWN_PROTECT</a></th><td>roles that keep other roles safe (doctor, sec officer, and weirdly enough lawyer counts)</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/TOWN_KILLING">TOWN_KILLING</a></th><td>roles that are only there to kill bad guys.</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/TOWN_SUPPORT">TOWN_SUPPORT</a></th><td>roles that don't fit into anything else (hop)</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/MAFIA_REGULAR">MAFIA_REGULAR</a></th><td>normal vote kill changelings</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/MAFIA_SPECIAL">MAFIA_SPECIAL</a></th><td>every other changeling role that has extra abilities</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/NEUTRAL_KILL">NEUTRAL_KILL</a></th><td>role that wins solo that nobody likes</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/NEUTRAL_DISRUPT">NEUTRAL_DISRUPT</a></th><td>role that upsets the game aka obsessed, usually worse for town than mafia but they can vote against mafia</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/ROLE_UNDETECTABLE">ROLE_UNDETECTABLE</a></th><td>to all forms of detection, shows themselves as an assistant.</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/ROLE_CAN_KILL">ROLE_CAN_KILL</a></th><td>has the ability to kill at night and thus, blocks the game from ending with other teams alive.</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/ROLE_UNIQUE">ROLE_UNIQUE</a></th><td>can only be one in a randomly generated game</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/ROLE_REVEALED">ROLE_REVEALED</a></th><td>role is public to all other players in the game.</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/ROLE_VULNERABLE">ROLE_VULNERABLE</a></th><td>can not be defended, protected, or any other form of protection. all kills succeed no matter what.</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/ROLE_ROLEBLOCKED">ROLE_ROLEBLOCKED</a></th><td>cannot perform any actions that night, preselected actions fail</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/COMSIG_MAFIA_SUNDOWN">COMSIG_MAFIA_SUNDOWN</a></th><td>when the shutters fall, before the 45 second wait and night event resolution</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/COMSIG_MAFIA_NIGHT_START">COMSIG_MAFIA_NIGHT_START</a></th><td>after the 45 second wait, for actions that must go first</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/COMSIG_MAFIA_NIGHT_ACTION_PHASE">COMSIG_MAFIA_NIGHT_ACTION_PHASE</a></th><td>most night actions now resolve</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/COMSIG_MAFIA_NIGHT_KILL_PHASE">COMSIG_MAFIA_NIGHT_KILL_PHASE</a></th><td>now killing happens from the roles that do that. the reason this is post action phase is to ensure doctors can protect and lawyers can block</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/COMSIG_MAFIA_NIGHT_END">COMSIG_MAFIA_NIGHT_END</a></th><td>now undoing states like protection, actions that must happen last, etc. right before shutters raise and the day begins</td></tr><tr><th><a href="code/modules/mafia/_defines.html#define/COMSIG_MAFIA_GAME_END">COMSIG_MAFIA_GAME_END</a></th><td>signal sent to roles when the game is confirmed ending</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/COMSIG_MAFIA_GAME_END"><aside class="declaration">#define </aside>COMSIG_MAFIA_GAME_END <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L74"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 74"></a></h3><p>signal sent to roles when the game is confirmed ending</p><h3 id="define/COMSIG_MAFIA_NIGHT_ACTION_PHASE"><aside class="declaration">#define </aside>COMSIG_MAFIA_NIGHT_ACTION_PHASE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L67"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 67"></a></h3><p>most night actions now resolve</p><h3 id="define/COMSIG_MAFIA_NIGHT_END"><aside class="declaration">#define </aside>COMSIG_MAFIA_NIGHT_END <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L71"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 71"></a></h3><p>now undoing states like protection, actions that must happen last, etc. right before shutters raise and the day begins</p><h3 id="define/COMSIG_MAFIA_NIGHT_KILL_PHASE"><aside class="declaration">#define </aside>COMSIG_MAFIA_NIGHT_KILL_PHASE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L69"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 69"></a></h3><p>now killing happens from the roles that do that. the reason this is post action phase is to ensure doctors can protect and lawyers can block</p><h3 id="define/COMSIG_MAFIA_NIGHT_START"><aside class="declaration">#define </aside>COMSIG_MAFIA_NIGHT_START <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L65"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 65"></a></h3><p>after the 45 second wait, for actions that must go first</p><h3 id="define/COMSIG_MAFIA_SUNDOWN"><aside class="declaration">#define </aside>COMSIG_MAFIA_SUNDOWN <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L63"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 63"></a></h3><p>when the shutters fall, before the 45 second wait and night event resolution</p><h3 id="define/MAFIA_MAX_PLAYER_COUNT"><aside class="declaration">#define </aside>MAFIA_MAX_PLAYER_COUNT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L2"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 2"></a></h3><p>how many people can play mafia without issues (running out of spawns, procs not expecting more than this amount of people, etc)</p><h3 id="define/MAFIA_REGULAR"><aside class="declaration">#define </aside>MAFIA_REGULAR <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L22"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 22"></a></h3><p>normal vote kill changelings</p><h3 id="define/MAFIA_SPECIAL"><aside class="declaration">#define </aside>MAFIA_SPECIAL <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L24"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 24"></a></h3><p>every other changeling role that has extra abilities</p><h3 id="define/NEUTRAL_DISRUPT"><aside class="declaration">#define </aside>NEUTRAL_DISRUPT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L28"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 28"></a></h3><p>role that upsets the game aka obsessed, usually worse for town than mafia but they can vote against mafia</p><h3 id="define/NEUTRAL_KILL"><aside class="declaration">#define </aside>NEUTRAL_KILL <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L26"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 26"></a></h3><p>role that wins solo that nobody likes</p><h3 id="define/ROLE_CAN_KILL"><aside class="declaration">#define </aside>ROLE_CAN_KILL <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 34"></a></h3><p>has the ability to kill at night and thus, blocks the game from ending with other teams alive.</p><h3 id="define/ROLE_REVEALED"><aside class="declaration">#define </aside>ROLE_REVEALED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L38"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 38"></a></h3><p>role is public to all other players in the game.</p><h3 id="define/ROLE_ROLEBLOCKED"><aside class="declaration">#define </aside>ROLE_ROLEBLOCKED <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L42"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 42"></a></h3><p>cannot perform any actions that night, preselected actions fail</p><h3 id="define/ROLE_UNDETECTABLE"><aside class="declaration">#define </aside>ROLE_UNDETECTABLE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L32"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 32"></a></h3><p>to all forms of detection, shows themselves as an assistant.</p><h3 id="define/ROLE_UNIQUE"><aside class="declaration">#define </aside>ROLE_UNIQUE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L36"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 36"></a></h3><p>can only be one in a randomly generated game</p><h3 id="define/ROLE_VULNERABLE"><aside class="declaration">#define </aside>ROLE_VULNERABLE <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L40"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 40"></a></h3><p>can not be defended, protected, or any other form of protection. all kills succeed no matter what.</p><h3 id="define/TOWN_INVEST"><aside class="declaration">#define </aside>TOWN_INVEST <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L12"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 12"></a></h3><p>roles that learn info about others in the game (chaplain, detective, psych)</p><h3 id="define/TOWN_KILLING"><aside class="declaration">#define </aside>TOWN_KILLING <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L16"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 16"></a></h3><p>roles that are only there to kill bad guys.</p><h3 id="define/TOWN_OVERFLOW"><aside class="declaration">#define </aside>TOWN_OVERFLOW <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L10"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 10"></a></h3><p>Add this if you don't want a role to be a choice in the selection</p><h3 id="define/TOWN_PROTECT"><aside class="declaration">#define </aside>TOWN_PROTECT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L14"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 14"></a></h3><p>roles that keep other roles safe (doctor, sec officer, and weirdly enough lawyer counts)</p><h3 id="define/TOWN_SUPPORT"><aside class="declaration">#define </aside>TOWN_SUPPORT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/mafia/_defines.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/mafia/_defines.dm 18"></a></h3><p>roles that don't fit into anything else (hop)</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> |