Skip to content

Commit

Permalink
remove factions and alignments
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSammyM committed Jan 30, 2024
1 parent 1f199be commit e5cd709
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
1 change: 0 additions & 1 deletion client/src/components/WikiSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ function getPageText(page: WikiPage): string {

return translate("wiki.entry.role",
translate("role."+role+".name"),
// translateRoleOutline(getRoleOutlineFromFactionAlignment(roleData.factionAlignment as FactionAlignment)) || '',
translateChecked("wiki.entry.role."+role+".guide") ?? translate("wiki.entry.role.noBasics"),
translateChecked("wiki.entry.role."+role+".abilities") ?? translate("wiki.entry.role.noAbilities"),
translateChecked("wiki.entry.role."+role+".attributes") ?? translate("wiki.entry.role.noAttributes"),
Expand Down
26 changes: 13 additions & 13 deletions client/src/resources/keywords.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
"vision": {"style": "keyword-info","link": "role/psychic"},
"good": {"style": "keyword-info"},
"faction": { "style": "keyword-info","link": "article/how_to_play"},
"townInvestigative": { "style": "keyword-good","link": "article/faction_alignments"},
"townProtective": { "style": "keyword-good","link": "article/faction_alignments"},
"townSupport": { "style": "keyword-good","link": "article/faction_alignments"},
"townKilling": { "style": "keyword-good","link": "article/faction_alignments"},
"townPower": { "style": "keyword-good","link": "article/faction_alignments"},
"townCommon": { "style": "keyword-good","link": "article/faction_alignments"},
"mafiaPower": { "style": "keyword-evil","link": "article/faction_alignments"},
"mafiaSupport": { "style": "keyword-evil","link": "article/faction_alignments"},
"neutralEvil": { "style": "keyword-neutral","link": "article/faction_alignments"},
"neutralKilling": { "style": "keyword-neutral","link": "article/faction_alignments"},
"neutralApocalypse": { "style": "keyword-neutral","link": "article/faction_alignments"},
"neutralChaos": { "style": "keyword-neutral","link": "article/faction_alignments"},
"townInvestigative": { "style": "keyword-good","link": "article/role_sets"},
"townProtective": { "style": "keyword-good","link": "article/role_sets"},
"townSupport": { "style": "keyword-good","link": "article/role_sets"},
"townKilling": { "style": "keyword-good","link": "article/role_sets"},
"townPower": { "style": "keyword-good","link": "article/role_sets"},
"townCommon": { "style": "keyword-good","link": "article/role_sets"},
"mafiaPower": { "style": "keyword-evil","link": "article/role_sets"},
"mafiaSupport": { "style": "keyword-evil","link": "article/role_sets"},
"neutralEvil": { "style": "keyword-neutral","link": "article/role_sets"},
"neutralKilling": { "style": "keyword-neutral","link": "article/role_sets"},
"neutralApocalypse": { "style": "keyword-neutral","link": "article/role_sets"},
"neutralChaos": { "style": "keyword-neutral","link": "article/role_sets"},
"town": { "style": "keyword-good","link": "article/how_to_play"},
"mafia": { "style": "keyword-evil","link": "article/how_to_play"},
"neutral": { "style": "keyword-neutral","link": "article/how_to_play"},
Expand All @@ -39,7 +39,7 @@
"wiki.entry.role.extra": { "style": "keyword-info","link": "article/how_to_play"},
"grave.killer.suicide": { "style": "keyword-info"},
"grave.killer.quit": { "style": "keyword-info"},
"random.gay": { "style": "keyword-pride","replacement": "random.gay"},
"random.gay": { "style": "keyword-pride","replacement": "random.gay","link": "role/transporter"},
"random.trans": { "style": "keyword-trans","replacement": "random.trans","link": "role/transporter"},

"day": {
Expand Down
3 changes: 0 additions & 3 deletions client/src/resources/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,9 +554,6 @@

"wiki.entry.article.phases_and_timeline.title":"Phases",
"wiki.entry.article.phases_and_timeline.text":"The game is always in a phase. Phases run in this order:\n\n### Night\nThis is when most roles use their abilities. Chat is closed at night so players can not communicate with each other. However, some roles can communicate with others at night, for example, the medium can talk to the dead, and mafia can talk with each other.\n\n### Morning\nPlayers see who died last night, their final will, and any death notes that were placed on the body. \n\n### Discussion\nPlayers discuss information they have to try to find out who the evil players are, or if they’re evil themselves, pretend to. Evil players will often try to throw out red herrings or pin the blame on someone else.\n\n### Voting\nPlayers vote to put a player on trial, but this doesn’t always mean that player is going to be killed. The players need a majority of the votes in order to put someone onto trial. If the voting phase ends before a majority is reached, it goes directly to night after. There can be a maximum of three trials during each day.\n\n### Testimony\nThis phase comes after voting only if a player was voted onto trial. The player on trial gives their testimony while everyone else stays quiet. Usually the player on trial will claim a role and post their will here.\n\nIf you have been voted for a trial, don’t give up. Even if you’re evil, you can lie your way out of getting hanged.### Judgment\nThis phase comes after testimony. Everyone votes either innocent, or guilty. If there are more guilty votes than innocent votes, the player on trial is killed. Players can also choose to abstain. The judgment period is usually how the town gets evil players killed.\n\n### Evening\nA brief period before night. If someone was voted guilty today, this is usually where they get to say their final words.\n\nWhen there are three or less players alive, each phase is half as long as it usually is.",

"wiki.entry.article.faction_alignments.title":"Factions and Alignments",
"wiki.entry.article.faction_alignments.text":"",

"wiki.entry.article.priority.title":"Priority",
"wiki.entry.article.priority.text":"Abilities are used in a specific order called priority order. If two players have abilities that go on the same priority, the player with the lower player number will go first. It is recommended that you read a roles encyclopedia page before this page. Some abilities go before night starts. Attacking someone doesn't kill them untill the end of the night. Here are all the priorities and the abilities that happen in them.\n\n**Before Night (Not a priority)**\n\n- Jailor chooses who to jail\n- Death kills everyone\n- Create Visits\n - All visits are decided by targeting the correct number of players, then roles execute their abilities using visits during their priority to affect other players\n\n**1: Top Priority**\n\n- Amnesiac (Convert)\n- Doomsayer (Kill)\n- Executioner (Suicide)\n- Jester (Haunt)\n- Veteran (Decide to Alert)\n- Vigilante (Suicide)\n\n**2: Transporter**\n\n- Transporter (Swap Visits)\n\n**3: Control**\n\n- Witch (Possess)\n\n**4: Necromancy**\n\n- Retributionist (Possess/Change Visits)\n- Necromancer (Possess/Change Visits)\n\n**5: roleblock**\n\n- Consort (roleblock)\n- Escort (roleblock)\n- Jailor (Invisible roleblock)\n\n**6: Deception**\n\n- Framer (Frame)\n- Blackmailer (Silence)\n- Janitor (Clean)\n- Consort (Send Fake Messages)\n- Arsonist (Douse)\n\n**7: Bodyguard**\n\n- Bodyguard (Change visits)\n\n**8: Heal**\n\n- Bodyguard (Defend themselves)\n- Crusader (Defend target)\n- Doctor (Defend)\n- Veteran (Defend themselves)\n\n**9: Kill**\n\n- Arsonist (Ignite)\n- Bodyguard (Attack attacker)\n- Crusader (Attack Visitor)\n- Godfather (Attack or Make Backup Attack)\n- Jailor (Attack)\n- Mafioso (Attack)\n- Veteran (Rampage)\n- Vigilante (Attack)\n- Werewolf (Rampage and attacks)\n\n**10: Investigative**\n\n- Arsonist (Find who is doused)\n- Bodyguard (Find if protected)\n- Consigliere (Investigate)\n- Crusader (Find if protected)\n- Death (Collect souls)\n- Doctor (Find if protected)\n- Janitor (Find role and will)\n- Lookout (Investigate)\n- Psychic (Investigate)\n- Seer (Investigate)\n- Detective (Investigate)\n- Spy (Find who the Mafia Visits)\n- Tracker (Investigate)\n- Werewolf (Track players scent)\n\n**11: Spy Bug**\n\n- Spy (Bug)\n\n**12: Steal Messages**\n\n- Witch (Get target messages)\n- Necromancer (Get target messages)\n- Retributionist (Get target messages)\n\n**13: Convert**\n\n- Vampire (Convert)",
Expand Down

0 comments on commit e5cd709

Please sign in to comment.