You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Rcl/doc: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(passives can have timing restrictions too (e.g. Odd-Night Ascetic))
(change the rules for derived roles)
Line 18: Line 18:
|-
|-
| <code>p</code> || [[Passive]]: an ability that is always in effect, with no choices made by the user. || [[Bulletproof]], [[Miller]], [[Ascetic]], [[Paranoid Gun Owner]]
| <code>p</code> || [[Passive]]: an ability that is always in effect, with no choices made by the user. || [[Bulletproof]], [[Miller]], [[Ascetic]], [[Paranoid Gun Owner]]
|-
| <code>d</code> || Derived role: a role that names another role because it is linked to it, but does not have the abilities of that role. || [[Enabler]]
|-
|-
| <code>m</code> || Action modifier: an ability that changes the effects of one or all actions (e.g. by adding side effects), or places a targeting (but not timing) restriction on them. || [[Loyal]], [[Weak]], [[Strong-Willed]], [[Ninja]]
| <code>m</code> || Action modifier: an ability that changes the effects of one or all actions (e.g. by adding side effects), or places a targeting (but not timing) restriction on them. || [[Loyal]], [[Weak]], [[Strong-Willed]], [[Ninja]]
Line 25: Line 23:
| <code>g</code> || General restriction: a role or modifier that applies to all active actions a player has, and changes how they can be used in relation to each other, or changes every action in the same way. || [[Multitasking]], [[JOAT]], [[Inventor]]
| <code>g</code> || General restriction: a role or modifier that applies to all active actions a player has, and changes how they can be used in relation to each other, or changes every action in the same way. || [[Multitasking]], [[JOAT]], [[Inventor]]
|-
|-
| <code>s</code> || Schedule restriction: a modifier that applies to a single ability, and changes the schedule on which it can be used. || [[1-shot]], [[Odd-Night]], [[Day (modifier)|Day]]  
| <code>s</code> || Schedule restriction: a modifier that applies to a single ability, and changes the schedule on which it can be used. || [[1-shot]], [[Odd-Night]], [[Day (modifier)|Day]], [[Backup]]
|-
|-
| <code>t</code> || [[Target]]ed [[active]]: an ability that is explicitly activated by the user at a specific, single other player. || [[Cop]], [[Doctor]], [[Roleblocker]], [[Vigilante]]
| <code>t</code> || [[Target]]ed [[active]]: an ability that is explicitly activated by the user at a specific, single other player. || [[Cop]], [[Doctor]], [[Roleblocker]], [[Vigilante]]
|-
|-
| <code>u</code> || Untargeted [[active]]: an ability that is explicitly activated by the user when they want to use it, but does not target in the regular way. It may require choices other than a target, or have a nonstandard form of targeting. || [[Oracle]], [[Activated]], [[Dreaming God]], [[Bus Driver]]
| <code>u</code> || Untargeted [[active]]: an ability that is explicitly activated by the user when they want to use it, but does not target in the regular way. It may require choices other than a target, or have a nonstandard form of targeting. || [[Oracle]], [[Dreaming God]], [[Bus Driver]]
|-
| <code>d''x''</code> || Derived role: a role that names another role because it is linked to it, but does not have the abilities of that role. The second letter ''x'' shows the category of role that's created. ([[Backup]] is ''not'' a derived role; a Backup role ''does'' gain the abilities of the original, just can't always use them.) || [[Enabler]] (<code>dp</code>), [[Activated]] (<code>du</code>), [[Switch]] (<code>du</code>).
|}
|}


In order to add an option to this template, create a page <code>Template:rcl/''role''</code>, e.g. {{tl|rcl/Cop}}. The content should be a single letter, the expected output from the template.
In order to add an option to this template, create a page <code>Template:rcl/''role''</code>, e.g. {{tl|rcl/Cop}}. The content should be a single letter (or <code>d</code>-letter pair, the expected output from the template.

Revision as of 18:37, 27 May 2018

Name:
  • rcl
Type:
Sub-Template:
  • Yes
Designer:

{{rcl}} is short for "role classifier"; it's used by the role parser templates to determine which parts of a role name correspond to which parts of a role PM.

Here are the possible output values:

Class Description Examples
f Faction: which team a player is on. Also determines their win condition. Town, Mafia, Werewolf, Jester
h Hidden: a role component that that the user is not self-aware of (and thus does not show up in the role PM). Also used for role components that clarify that a role has no additional abilities. False, Naive, Paranoid, Goon
p Passive: an ability that is always in effect, with no choices made by the user. Bulletproof, Miller, Ascetic, Paranoid Gun Owner
m Action modifier: an ability that changes the effects of one or all actions (e.g. by adding side effects), or places a targeting (but not timing) restriction on them. Loyal, Weak, Strong-Willed, Ninja
g General restriction: a role or modifier that applies to all active actions a player has, and changes how they can be used in relation to each other, or changes every action in the same way. Multitasking, JOAT, Inventor
s Schedule restriction: a modifier that applies to a single ability, and changes the schedule on which it can be used. 1-shot, Odd-Night, Day, Backup
t Targeted active: an ability that is explicitly activated by the user at a specific, single other player. Cop, Doctor, Roleblocker, Vigilante
u Untargeted active: an ability that is explicitly activated by the user when they want to use it, but does not target in the regular way. It may require choices other than a target, or have a nonstandard form of targeting. Oracle, Dreaming God, Bus Driver
dx Derived role: a role that names another role because it is linked to it, but does not have the abilities of that role. The second letter x shows the category of role that's created. (Backup is not a derived role; a Backup role does gain the abilities of the original, just can't always use them.) Enabler (dp), Activated (du), Switch (du).

In order to add an option to this template, create a page Template:rcl/role, e.g. {{rcl/Cop}}. The content should be a single letter (or d-letter pair, the expected output from the template.