Guest User

Noobie Help

a guest
Feb 19th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Noobie Help
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  show known role descriptions
  6. // @match        https://epicmafia.com/game/*
  7. // @grant        none
  8. // @require      http://code.jquery.com/jquery-1.12.4.min.js
  9. // ==/UserScript==
  10.  
  11. setInterval(function() {
  12.     //Create information boxes on revealed roles
  13.     $("li.user_li").find("div.roleimg").each(function(){
  14.         if($(this).find(".role_info").length){
  15.             //pass
  16.         }else{
  17.             $(this).append('<div class="role_info">error</div>');
  18.             $(this).find('.role_info').css({
  19.                 'min-width' : '200px',
  20.                 'background-color' : 'rgb(255, 255, 255)',
  21.                 'visibility' : 'hidden',
  22.                 'z-index' : '9000',
  23.                 'position' : 'relative',
  24.                 'top' : '20px',
  25.                 'display' : 'inline-block'
  26.             })
  27.             //Insert role-specific description
  28.             var role_name = this.className.substring(13, 99)
  29.             role_desc = role_descriptions(role_name)
  30.             $(this).find('.role_info').text(role_desc)
  31.         }
  32.     })
  33.  
  34.     //Show information element on mouseenter
  35.     $("li.user_li").find("div.roleimg").mouseenter(function(){
  36.         $(this).find("div.role_info").css("visibility", "visible");
  37.     })
  38.     //Hide information element on mouseleave
  39.     $("li.user_li").find("div.roleimg").mouseleave(function(){
  40.         $(this).find("div.role_info").css("visibility", "hidden");
  41.     })
  42. }, 1000);//Check for new revealed roles every 1 seconds
  43.  
  44.  
  45. function role_descriptions(role){
  46.     console.log("The role passed is " + role)
  47.     if(role == 'villager'){
  48.         return 'Wins if there are no mafia remaining. Sided with the village.'
  49.     }else if(role == 'mafia'){
  50.         return 'Chooses one person to kill every night. Wins when the mafia outnumber the village. Sided with the mafia.'
  51.     }else if(role == 'doctor'){
  52.         return 'Can choose one person to save every night. Sided with the village.'
  53.     }else if(role == 'nurse'){
  54.         return 'Can choose one person to save every night. Any role that it visits will be role blocked. Sided with the village.'
  55.     }else if(role == 'surgeon'){
  56.         return "Visits one person during the night. Prevents that person from dying and from being converted. One person who visits the surgeon's target on the same night will die, unless they're a Cult. Sided with the village."
  57.     }else if(role == 'bodyguard'){
  58.         return "Chooses one person every night. If he chooses the same person mafia tries to kill: 50/50 chance of either a Mafia dying or the Bodyguard dying. Has a 100% chance to kill if protecting a Celebrity. Sided with the village."
  59.     }else if(role == 'cop'){
  60.         return "Visits one person every night. Receives a report with that person's alignment. Sided with the village."
  61.     }else if(role == 'insane'){
  62.         return "Visits one person every night. Receives a report with that person's alignment. Guilty reports will appear innocent. Innocent reports will appear guilty. Appears as normal Cop to himself and upon death. Sided with the village."
  63.     }else if(role == 'confused'){
  64.         return "Visits one person every night. Receives a report with that person's alignment. Reports will be random. Appears as normal Cop to himself and upon death. Sided with the village."
  65.     }else if(role == 'paranoid'){
  66.         return "Visits one person every night. Receives a report with that person's alignment. Everyone will always appear guilty. Appears as normal Cop to himself and upon death. When investigating an Alien, the Alien will appear 'sided with the Alien'. Sided with the village."
  67.     }else if(role == 'naive'){
  68.         return "Visits one person every night. Receives a report with that person's alignment. Everyone will always appear innocent. Appears as normal Cop to himself and upon death. Sided with the village."
  69.     }else if(role == 'lazy'){
  70.         return "Visits one person every night. Receives a report of the person's alignment on the day after. Cannot be roleblocked. Appears as normal Cop to himself and upon death. Sided with the village."
  71.     }else if(role == 'watcher'){
  72.         return "Chooses one person every night. Will know who visited that person that night. Watcher's night action does not count as a visit. Sided with the village."
  73.     }else if(role == 'tracker'){
  74.         return "Visits one person every night. Will know who that person visited that night. Sided with the village."
  75.     }else if(role == 'detective'){
  76.         return "Visits one person every night. Receives a report with the role of that person. Sided with the village."
  77.     }else if(role == 'snoop'){
  78.         return "Visits one person every night. Discovers what items they have at the start of day phase. Can see Mason and Cultist robes. Can see Miller, Insane, Paranoid, and Naive suits. Can see Sheriff, Deputy, Sniper guns and Bulletproof vests. Sided with the village."
  79.     }else if(role == 'journalist'){
  80.         return "Visits one person every night. Any system messages that person receives that night are given to the Journalist as well. Sided with the village."
  81.     }else if(role == 'mortician'){
  82.         return "Visits one dead player every night. Learns the role of that player. Sided with the village."
  83.     }else if(role == 'pathologist'){
  84.         return "Visits a dead player every night. All system messages that player received are given to Pathologist the next day. Sided with the village."
  85.     }else if(role == 'vigilante'){
  86.         return "Visits one person every night. Kills that person. If visiting the same person as mafia, the Vigilante dies. If shot by the mafia, Vigilante fails to kill. Sided with the village."
  87.     }else if(role == 'sheriff'){
  88.         return "Carries one gun that can be shot during the day. Gun cannot be stolen. Identity will be revealed when the gun is shot. Sided with the village."
  89.     }else if(role == 'deputy'){
  90.         return "Carries one gun that can be shot during the day. Gun cannot be stolen. Identity will not be revealed when the gun is shot. Sided with the village."
  91.     }else if(role == 'drunk'){
  92.         return "Visits one person every night. Any role that it visits will be role blocked. Visiting a Driver causes them to die. Sided with the village."
  93.     }else if(role == 'sleepwalker'){
  94.         return "Randomly visits one person every night. Visit is mandatory and does nothing. Appears as villager to self. Sided with the village."
  95.     }else if(role == 'civilian'){
  96.         return "Mafia win if more than half the number of civilians in play die. Mafia win if... ... a lone Civilian dies ... If both are dead out of 2 total Civilians ... If 2 are dead out of 3 total Civilians ... If 3 are dead out of 4 total Civilians ... If 3 are dead out of 5 total Civilians ...etc."
  97.     }else if(role == 'president'){
  98.         return "At the beginning of the game, all village sided people are informed to who the president is. If the president dies, the mafia automatically wins. Sided with the village."
  99.     }else if(role == 'miller'){
  100.         return "Appears as villager to self. When investigated by cop, will appear to be guilty. When lynched, appears to be mafia. When killed, appears to be miller. Sided with the village."
  101.     }else if(role == 'suspect'){
  102.         return "Appears as blue to self. Appears as mafia to cops. Appears as self on death. Sided with the village."
  103.     }else if(role == 'leader'){
  104.         return "If killed, votes will be anonymous during the next day. Sided with the village."
  105.     }else if(role == 'bulletproof'){
  106.         return "Has a bulletproof vest. The vest allows the Bulletproof to survive one shot. Sided with the village."
  107.     }else if(role == 'bleeder'){
  108.         return "Will not instantly die if shot. After a day, the Bleeder will die. If shot while dying, nothing happens. Sided with the village."
  109.     }else if(role == 'bomb'){
  110.         return "Anyone who kills him/her will be blown up. Will not explode if lynched. Sided with the village."
  111.     }else if(role == 'granny'){
  112.         return "Will kill anyone who visits her during the night. Cannot die during the night or be killed during the day. Sided with the village."
  113.     }else if(role == 'hunter'){
  114.         return "When lynched, is awarded the ability to kill any other player as they die. Sided with the village."
  115.     }else if(role == 'crier'){
  116.         return "Can send anonymous messages that appear during day phases. Sided with the village."
  117.     }else if(role == 'invisible'){
  118.         return "Can choose to follow a person during the day. If this person has meeting during the night, the invisible man hears conversation without name of people who are talking. Sided with the village."
  119.     }else if(role == 'governor'){
  120.         return "Can override a lynch once during a game. Cannot override a no lynch. Sided with the village."
  121.     }else if(role == 'telepath'){
  122.         return "Can send anonymous messages to people (like agent/spy but sends them to the person not the role) Sided with the village"
  123.     }else if(role == 'agent'){
  124.         return "Can send anonymous messages to any role not aligned with village. Sided with the village."
  125.     }else if(role == 'celebrity'){
  126.         return "Current role will always be revealed to all. Immune to Tailor. Sided with the village."
  127.     }else if(role == 'loudmouth'){
  128.         return "Appears as villager to self. If visited during the night, it will reveal all visitors. When whispered, the whisper always leaks. Cannot be silenced by a Silencer. Will not be alerted if visited by a Ninja. Sided with the village."
  129.     }else if(role == 'mason'){
  130.         return "Visits one person to recruit every night. If recruiting a Town-sided role, they will be converted into a Mason. If recruiting a Mafia-sided role or a Killer, all visiting masons die unless Roleblocked. If recruiting a Cultist, Cultist dies. Sided with the village."
  131.     }else if(role == 'templar'){
  132.         return "Shares a night meeting with all other Templars. Sided with the Village."
  133.     }else if(role == 'shrink'){
  134.         return "Visits one person every night. That person cannot be converted that night. Can choose to target self. Converts Killer to Villager. Sided with the village."
  135.     }else if(role == 'samurai'){
  136.         return "Will kill anyone who tries to convert him at night. Can only kill 2 people. Can only be converted into a zombie. Will kill the Ninja if visited by one. Sided with the village."
  137.     }else if(role == 'jailer'){
  138.         return "If no lynching, chooses one target at the end of the day. The target will be visited by the Jailer and jailed at night. The target will be immune to night actions (except driving). The target cannot do any action except write a will. The Jailer and the target can converse at night. The Jailer's identity is not revealed to the target. The Jailer can choose to kill the jailed person. Counts as a visit which can be role blocked. Sided with the village."
  139.     }else if(role == 'chef'){
  140.         return "Chooses two people during the day. Those two people are invited to a banquet for dinner and conversation. The two people know each other's roles but not each other's identities. Sided with the village."
  141.     }else if(role == 'turncoat'){
  142.         return "If mafia tries to kill, he will turn into a Traitor. Sided with the village."
  143.     }else if(role == 'enchantress'){
  144.         return "Visits one person once per game. Gives that player a crystal ball. Whoever has a crystal ball can choose a person each night. When the holder of the crystal ball dies, the role of the last person chosen will be revealed to all players. Sided with the village."
  145.     }else if(role == 'priest'){
  146.         return "Visits self every night. Learns what roles visited him during the night. Werewolves who visit are exorcised and die. If were to be killed has 50% chance of... ... Changes mafia to Traitors ... Changes village sided killers to Villagers. ... Changes third party to Survivors. Sided with the village."
  147.     }else if(role == 'trapper'){
  148.         return "Visits one person every night. Will kill one person who visited that person that night. If a killing role visits alongside others, it will kill in this order: Mafia, Third-party, and then Town-sided. Sided with the village."
  149.     }else if(role == 'baker'){
  150.         return "Can give two pieces of bread every night. Once the Baker is dead, the famine begins. Whoever does not have bread for 3 days will die from famine. Sided with the village."
  151.     }else if(role == 'ghoul'){
  152.         return "Chooses one person every night. If targeted by a killing role, the chosen person will be killed instead. Ability only works once. Sided with the village."
  153.     }else if(role == 'party'){
  154.         return "Throws a wild party once a game. Everyone who is alive will be invited. Everyone will be sharing a night meeting. All night actions and such go on as per normal. Sided with the village."
  155.     }else if(role == 'penguin'){
  156.         return "At night, the penguin is able to 'waddle' over to someone and tell them a secret about another player. Multiple forms of secrets. For example, (1)'During the night a fluffy penguin visits you and tells you that Player 1 has visited Player 2.' ; (2)'During the night a fluffy penguin visits you and tells you that Player 1 is carrying a suit.' ; (3) During the night a fluffy penguin visits you and tells you that Player 1 has taken no action over the course of the night.' The secrets are randomized. If drunked/hooked/nursed, the Penguin visit does not go through and instead the Penguin will receive a message saying 'You tried to visit Player 1, but a ferocious seal was blocking you. If two Penguins are in the game and one visits the other, they will mate and all player actions will be blocked during the night (can only happen once per game). Sided with the village."
  157.     }else if(role == 'justice'){
  158.         return "Can choose two different players at night. Will receive a report in the morning whether the two players have same or different alignments."
  159.     }else if(role == 'judge'){
  160.         return "The Judge's votes counts as two votes during the day. Sided with the village."
  161.     }else if(role == 'gallis'){
  162.         return "Appears as a villager to self. If lynched the gallis will not die If he has a minority vote on him when the lynch is finalized, he will die. Sided with the village."
  163.     }else if(role == 'huntsman'){
  164.         return "Hunter that gets lynched with minority vote. Selfvote does not count. Sees Self as Hunter Village sided."
  165.     }else if(role == 'mechanic'){
  166.         return "Fixes all items that it receives that are broken or sabotaged. Immune to saboteur visits. Sided with the village"
  167.     }else if(role == 'treestump'){
  168.         return "Can choose to become a tree at night. Once a tree, cannot be killed or converted. Once a tree, cannot vote. Can be killed if doused and lit by an Arsonist. Sided with the village."
  169.     }else if(role == 'bride'){
  170.         return "Once a game during the day, can choose to propose to a player The player must decide whether they will or will not marry the Bride If they accept, both the bride and the groom will be revealed Otherwise the town will know they declined Sided with the village"
  171.     }else if(role == 'monkey'){
  172.         return "Each night, chooses one person for their 'Monkey See' meeting and one person for their 'Monkey Do' meeting Mimics the actions of the person in 'Monkey See,' performs those action on the person in the 'Monkey Do' meeting. Blocks the action of the person in 'Monkey See' Sided with the village"
  173.     }else if(role == 'secretary'){
  174.         return "If ever killed during the night then voting will be completely disabled the following day. Guns and other items or actions preformed during the day will still work. Sided with the village."
  175.     }else if(role == 'virgin'){
  176.         return "If lynched, mafia cannot kill the next night. When visited by Hooker, becomes a Villager. Sided with the village."
  177.     }else if(role == 'cutler'){
  178.         return "Chooses one person to give a knife to every night. Knives always reveal the attacker upon use. Knives will cause the target to bleed. Knives break after one use. Sided with the village."
  179.     }else if(role == 'blacksmith'){
  180.         return "Visits one person every night. That person receives a vest. The vest allows the person to survive one shot. Sided with the village."
  181.     }else if(role == 'oracle'){
  182.         return "Chooses one person every night. When the oracle dies, the role of the last person chosen will be revealed to all. Cannot be roleblocked. Sided with the village."
  183.     }else if(role == 'psychic'){
  184.         return "Visits one person every night. Will learn that person's true alignment regardless of role. Will learn nothing if visited by anyone. Sided with the village."
  185.     }else if(role == 'dreamer'){
  186.         return "Will receive a dream at the start of every day phases. The dream can tell a tale of 3 people, at least one of whom is mafia or the dream can tell a tale of one person whom is innocent. Does not dream if visited at night. Sided with the village."
  187.     }else if(role == 'angel'){
  188.         return "Assigned one person at the start of the game. Can choose to save that person once per game. If that person dies that night or is lynched the next day, Angel dies instead. Wins if their target is alive at the end of the game."
  189.     }else if(role == 'lightkeeper'){
  190.         return "If killed, town will be engulfed in darkness during the next day. Players cannot see who is talking. Players cannot see who voted whom. Sided with the village."
  191.     }else if(role == 'keymaker'){
  192.         return "Makes a Key each night and gives it to a player. That player can then lock himself in his house during any night of the game. Locked player is roleblocked for that night and can not be visited that night. A player with a key can not be jailed. Keymaker can make a key for himself. Ninjas and Thieves can visit locked players normally. Sided with the village."
  193.     }else if(role == 'gunsmith'){
  194.         return "Chooses one person to give a gun to every night Guns from the gunsmith have a 50% chance of revealing the shooter upon firing. Sided with the village."
  195.     }else if(role == 'tinkerer'){
  196.         return "At night, if visited by no one, crafts a gun and arms himself with it. When killed at night, his workshop is raided and one visitor receives a gun. The gun raided from the workshop will always reveal the shooter"
  197.     }else if(role == 'mimic'){
  198.         return "Chooses one person at night. Visits that person (can be Driven). Checks alignment, then performs an action: If the Mimic chose a town: ...Visits that person and self (cannot be Driven). ...Steals their role and turns them into a Villager. If the Mimic chose a mafia: ...Visits self (cannot be Driven). ...Turns self into a Villager. If the Mimic chose a 3rd party role: ...Visits self (cannot be Driven). ...Turns self into an Amnesiac. Sided with the village."
  199.     }else if(role == 'santa'){
  200.         return "Visits one player every night. Will learn if they are 'Naughty' (Mafia) or 'Nice' (Town) or 'Neither Naughty nor Nice' (Third-party). Will not receive a report if visited. Visits a second player every night. That person will receive an item of Santa's choice. Can give guns, vests, knives, snowballs, crystal balls, or bread. Sided with the village."
  201.     }else if(role == 'snowman'){
  202.         return "Can give a snowball every night. During the day, the snowball can be thrown at a player. The snowball will roleblock whoever it hits for the following night. Immune to snowballs. Sided with the village."
  203.     }else if(role == 'butterfly'){
  204.         return "When killed, resets everyone's roles to what it was at the beginning of the game Sided with the village"
  205.     }else if(role == 'trickster'){
  206.         return "Gives out at random a crystal, gun, knife, snowball, bomb, or vest to a random player each night Appears as villager Sided with the village"
  207.     }else if(role == 'caroler'){
  208.         return "Visits one person every night. Sings a carol that consists of three players, at least one of which is mafia. If player sung to is visiting that night, they don't hear the carol. Cannot choose the same person consecutively. Sided with the village."
  209.     }else if(role == 'siren'){
  210.         return "Selects one person at night If the selected person visits the Siren that night, the person dies Wins if successfully kills two people"
  211.     }else if(role == 'monk'){
  212.         return "Visits one person every night. If that person is killed or lynched, they are protected. Wins if he successfully protects twice. Alternatively, wins if no one dies for four day/night phases."
  213.     }else if(role == 'cultist'){
  214.         return "Visits one person every night. That person is converted to the Cult. Any Cult member visited by Mason at night will die. If the Cult leader is killed, all Cult members will die. Wins if Cultists outnumber everyone else."
  215.     }else if(role == 'cthulhu'){
  216.         return "Anyone who visits Cthulhu goes mad. Mad players are unable to vote and their chat is jumbled. Only the Shrink can cure madness. If masons attempt to mason Cthulhu, Cthulhu will die. Can only win with the cult."
  217.     }else if(role == 'cyborg'){
  218.         return "Starts with three charges. Receives a charge every time they receive a non-deadly town visit at night. Loses a charge each day, as well as if they are shot, stabbed, or attacked at night. Once per day, can choose to use a charge to convert another player into a Cyborg. All Cyborgs share a night meeting. Only dies when their charge count hits zero. Wins if the Cyborgs outnumber the town."
  219.     }else if(role == 'nomad'){
  220.         return "Votes do not count during the day Visits one person each night to join their alignment (village or mafia) Visiting third party will give the Nomad no alignment Wins with alignment"
  221.     }else if(role == 'zombie'){
  222.         return "Visits one person every night. That person gets an infection that converts them to a Zombie exactly one day later. Doctors can kill Zombies by visiting them. Immune to Drunk, Hooker, conversions, can be killed. Survivors will be infected but will not become zombies. Wins if everyone is either infected or zombified. All Zombies will die if they try infecting a cult member"
  223.     }else if(role == 'fool'){
  224.         return "Can visit one person every night. The visit does nothing. Wins the game upon being lynched. Can win with the town instead, while receiving substantially less points."
  225.     }else if(role == 'lover'){
  226.         return "Visits one person at night once per game. The target will fall madly in love with her. Both will die if the other dies of any circumstance. Wins if both are alive at the end of the game."
  227.     }else if(role == 'cupid'){
  228.         return "Picks two people night one, entagling them in love. Both the chosen players recieve a message d1, informing them who they've been paired with. The chosen players retain their roles but also act as lovers. Cupid wins if both players survive until the end of the game."
  229.     }else if(role == 'lyncher'){
  230.         return "One person in the town irritates him. Selected at random. Mafia cannot be chosen. Wins if that person is lynched. Wins if town wins, while receiving less points."
  231.     }else if(role == 'killer'){
  232.         return "Must visit one person every night. Kills that person. Wins if alive alone or among the final two."
  233.     }else if(role == 'clockmaker'){
  234.         return "Clock starts at 6. Chooses one person to kill each night. If victim is villager, clock goes up one hour. If victim is mafia, clock goes up two hours. If victim is third party, clock goes down three hours. Gets an extra life if clock goes to 9 o clock. Dies immediately if clock lands on 3. Wins if 12 o clock, or if one of last 2 alive."
  235.     }else if(role == 'rival'){
  236.         return "At the start of the game, knows who all other rivals are. Whichever rival is left alive at the end of the game wins. If multiple rivals are alive at the end, none will win."
  237.     }else if(role == 'survivor'){
  238.         return "Visits one person each night. If that person does not visit, the Survivor hides in their home and cannot be targeted. Dies if their chosen person dies that night. Wins if alive at the end of the game."
  239.     }else if(role == 'warlock'){
  240.         return "Each night chooses one person. If that person is lynched the next day, the warlock has predicted correctly. The warlock wins if he/she predicts correctly two times."
  241.     }else if(role == 'mistletoe'){
  242.         return "Chooses two people to put under the mistletoe. If the players alignments are the same, they fall in love. If players alignments are different, nothing happens and the Mistletoe is alerted that the love failed. Wins if everyone alive is in love with someone. Does not win with town. Is converted to Mafia if visited by a Hooker. Sided with the third-party."
  243.     }else if(role == 'gambler'){
  244.         return "Once a night, can choose someone to play rock / paper / scissors with. If the player loses, the gambler takes his/her life. If the player wins or ties, the player escapes unharmed. Gambler wins if alive and takes two lives."
  245.     }else if(role == 'prophet'){
  246.         return "Chooses an upcoming day or night during the night once. Wins if the game ends at that time."
  247.     }else if(role == 'alien'){
  248.         return "Visits one human every night. That human is probed. Probes count as items. Wins if all living humans are probed. If visited by Paranoid Cop, appears 'sided with the Alien'. Sided with the third-party."
  249.     }else if(role == 'werewolf'){
  250.         return "Visits one person and attempts to call the role of that person. If correct... The Werewolf devours that player. The Werewolf becomes invulnerable to day kills and lynches for one day. If wrong... The Werewolf will be revealed to all. Wins if Werewolves outnumber all parties."
  251.     }else if(role == 'amnesiac'){
  252.         return "Visits one person in the graveyard at night. Acquires the role of the chosen player and its win condition. Amnesiac cannot win the game if they do not pick a player."
  253.     }else if(role == 'anarchist'){
  254.         return "Visits one person every night. That person receives a bomb. Bomb will explode at a random time during the day, killing the holder. Anarchist holding the bomb will not die, but will be revealed. Wins if alive among final two, or if able to kill three people."
  255.     }else if(role == 'creepygirl'){
  256.         return "Gives out a doll at night. The doll can be passed around. Wins when whoever has the doll dies at night. Third Party."
  257.     }else if(role == 'traitor'){
  258.         return "Does not participate in mafia meetings. Mafia does not know who Traitor is. Appears as a innocent on Cop reports. Does not count toward mafia's majority win condition. Only wins if mafia wins."
  259.     }else if(role == 'admirer'){
  260.         return "All Admirers in the setup are evenly distributed to any Killers in the setup. Knows who their Killer is, but Killers don't know who their Admirers are. When a Killer dies, one of his Admirers (chosen at random) becomes a copycat Killer. When that copycat dies, another Admirer of the original Killer becomes a Killer. Appears as Villager when investigated. The Killer and his respective Admirers win when they outnumber the village."
  261.     }else if(role == 'sidekick'){
  262.         return "Randomly sided with a third party at the beginning of the game. Wins if the chosen third party player wins."
  263.     }else if(role == 'maid'){
  264.         return "Can choose one player to switch roles with each night Nothing can prevent the role switch Old Maid cannot win"
  265.     }else if(role == 'autocrat'){
  266.         return "Wins if alive when village wins. Village does not win if Autocrat is alive."
  267.     }else if(role == 'politician'){
  268.         return "Vote counts twice during the day. Politician will be sided with a random side at game start. The Politican switches alignments every day until N2 (D3 for Daystart/Dawnstart setups). Afterwards, he switches alignments every 1.5 days."
  269.     }else if(role == 'librarian'){
  270.         return "Once in the game can force the village into a library during the day. Everyone can only whisper to each other in the library. Sided with the mafia"
  271.     }else if(role == 'silencer'){
  272.         return "Visits one person every night. That person cannot talk during day. Does not attend mafia meetings. Sided with the mafia."
  273.     }else if(role == 'blinder'){
  274.         return "Visits one person each night. Chosen person cannot see votes or voting logs the next day. Does not attend mafia meetings. Sided with the mafia."
  275.     }else if(role == 'sniper'){
  276.         return "Carries one gun that can be shot during the day. Identity will not be revealed when the gun is shot. Does not attend mafia meetings. Sided with the mafia."
  277.     }else if(role == 'illusionist'){
  278.         return "Starts off with one gun. (Gun is immune to Sab) Can choose someone at night. When the gun is fired, it reveals to have been shot by whoever this player chose. Can do this once a game. Attends mafia meetings Sided with Mafia"
  279.     }else if(role == 'saboteur'){
  280.         return "Visits one person every night. If that person has a gun, the gun is rigged. A rigged gun will explode and kill the owner instead. Sided with the mafia."
  281.     }else if(role == 'yakuza'){
  282.         return "Visits one person and himself. That person is converted to mafia, and the Yakuza dies. Cannot be saved. Sided with the mafia."
  283.     }else if(role == 'consigliere'){
  284.         return "Appears to everyone as a villager Does not attend mafia meetings Can convert self to mafia once per game. Sided with the mafia"
  285.     }else if(role == 'godfather'){
  286.         return "Appears innocent on cop reports. Sided with the mafia."
  287.     }else if(role == 'framer'){
  288.         return "Visits one person every night. That person will appear guilty on cop reports that night. Sided with the mafia."
  289.     }else if(role == 'hooker'){
  290.         return "Visits one person every night. Any role that visits will be role blocked. Visiting a Virgin converts them into a Villager. Visiting a Mistletoe converts them into a Mafia. Sided with the mafia."
  291.     }else if(role == 'disguiser'){
  292.         return "Visits one person every night. If that person dies during that night, the Disguiser will steal his/her player identity. Sided with the mafia."
  293.     }else if(role == 'actress'){
  294.         return "Visits one person every night. Learns that person's role. The Actress will appear as that person's role upon death. Sided with the mafia."
  295.     }else if(role == 'tailor'){
  296.         return "Visits one person every night. That person receives a suit chosen by the Tailor. If that person dies, his/her role will be revealed as whatever the suit is. Sided with the mafia."
  297.     }else if(role == 'informant'){
  298.         return "Visits one person every night. Any system messages that person may have received are given to Informant as well. Sided with the mafia."
  299.     }else if(role == 'strongman'){
  300.         return "Once per game, can use his strength. Strength guarantees the mafia's kill is successful. Works through roleblocking and protection. Sided with the mafia."
  301.     }else if(role == 'janitor'){
  302.         return "Visits one person at night once per game. If that person dies, only the Janitor will know his/her role. Sided with the mafia."
  303.     }else if(role == 'don'){
  304.         return "The Don can override a lynch once during a game. Can not override a mafia-lynch. Can not override a no-lynch. Sided with the mafia."
  305.     }else if(role == 'prosecutor'){
  306.         return "Vote counts twice. Sided with the mafia."
  307.     }else if(role == 'filibuster'){
  308.         return "Can only be lynched if every village member votes for them. Sided with the mafia."
  309.     }else if(role == 'interrogator'){
  310.         return "If no lynching, chooses one target at the end of the day. The target will be visited by the Interrogator and jailed at night. The target will be immune to night actions (except driving). The target cannot do any action except write a will. The Interrogator and the target can converse at night. The Interrogator's identity is not revealed to the target. The Interrogator can choose to kill the jailed person. Counts as a visit which can be role blocked. Does not attend mafia meetings. Sided with the mafia."
  311.     }else if(role == 'whisperer'){
  312.         return "Can send anonymous messages to players. Sided with the mafia."
  313.     }else if(role == 'slasher'){
  314.         return "Receives a knife each day if not disturbed during the night. When used, the knife never reveals the slasher. Does not participate in mafia meetings. Sided with the mafia."
  315.     }else if(role == 'spy'){
  316.         return "Can send anonymous messages to any role. Sided with the mafia."
  317.     }else if(role == 'lawyer'){
  318.         return "Visits one mafia member every night. That person will appear innocent on cop reports. Sided with the mafia."
  319.     }else if(role == 'forger'){
  320.         return "Visits one person every night. Can change that person's will at night. He/she will learn of that person's real will the next day. Sided with the mafia."
  321.     }else if(role == 'stalker'){
  322.         return "Visits one person every night. Receives a report with the role of that person. Sided with the mafia."
  323.     }else if(role == 'enforcer'){
  324.         return "Visits one person every night. Prevents that person from being converted that night. Converts Killer to Traitor. Sided with the mafia."
  325.     }else if(role == 'quack'){
  326.         return "Visits one person every night. That person will be protected from dying that night. Does not attend mafia meetings. Sided with the mafia."
  327.     }else if(role == 'poisoner'){
  328.         return "Visits one person every night, poisoning the selected player. Poisoned players will die a day later, and know they are poisoned. The doctor can heal poison. Sided with the mafia."
  329.     }else if(role == 'driver'){
  330.         return "Visits two people every night. Any person who visits one of those people will visit the other chosen person instead. The Driver meeting's actions will not be on Watcher's report. Dies if visited by a Drunk. Sided with the mafia."
  331.     }else if(role == 'toreador'){
  332.         return "Visits one person every night. The person visited will automatically visit the toreador during this same night (except if it's a role who doesn't visit during night). Sided with the mafia."
  333.     }else if(role == 'gramps'){
  334.         return "Learns a role of any player who visits him. Can not be killed at night or shot during day. Sided with the mafia."
  335.     }else if(role == 'interceptor'){
  336.         return "Visits one person each night. Kills one other person who visits the chosen person, excluding the mafia's kill visit. Anyone else who visits the same person finds out the identity of the interceptor. Sided with the mafia."
  337.     }else if(role == 'fiddler'){
  338.         return "Visits one person every night. The next day, that person cannot hear town discussion. Does not attend mafia meetings. Sided with the mafia."
  339.     }else if(role == 'plumber'){
  340.         return "Can choose one person each night to visit. Can choose to either: a. Clog pipe - victim will send whispers, but the whispered will not receive the message b. Break pipe - victim will always leak when whispering c. Patch pipe - victim will never leak unless if they force leak, in which they will start leaking again Sided with the mafia"
  341.     }else if(role == 'witch'){
  342.         return "Visits one person each night. That person will die if visited by a person not sided with the mafia that night. Player can still be protected. Sided with the mafia."
  343.     }else if(role == 'heartbreaker'){
  344.         return "Can choose somebody to love once a game If the heartbreaker dies, the chosen lover dies as well. If the lover dies, the heartbreaker is unaffected. Sided with the mafia"
  345.     }else if(role == 'ventriloquist'){
  346.         return "Can speak as a chosen target, to another chosen target during the day. Sided with the mafia."
  347.     }else if(role == 'diabolist'){
  348.         return "Each night casts a spell on an individual, forbidding them from voting for someone. If that person were to make the forbidden vote, they die. Sided with the mafia"
  349.     }else if(role == 'voodoo'){
  350.         return "Chooses a 4 letter or more word and a player every night. If the chosen player says the chosen word, that player will die! Sided with the mafia."
  351.     }else if(role == 'thief'){
  352.         return "Visits one person every night. Steals a random item from that player. Cannot steal sheriff/deputy guns. Does not attend mafia meetings. Sided with the mafia."
  353.     }else if(role == 'apprentice'){
  354.         return "When a fellow mafia member is lynched, can decide whether to take over his/her role. Sided with the mafia."
  355.     }else if(role == 'paralyzer'){
  356.         return "Can choose to paralyze the town once a game. Everyone's votes will be locked if they are voting. Sided with the mafia."
  357.     }else if(role == 'paparazzi'){
  358.         return "When lynched, can choose one person to reveal. The person revealed will be visible only to the mafia. Sided with the mafia."
  359.     }else if(role == 'scout'){
  360.         return "Visits one person every night. Will know who that person visited that night. Sided with the mafia."
  361.     }else if(role == 'associate'){
  362.         return "Gives a working gun to a non-mafia member once per night. The gun will not kill a mafia member. (e.g. will show up as if it hit a bulletproof vest) The gun can kill other villagers. The gun has a 50% chance of revealing, 50% chance of being anonymous. Sided with the mafia."
  363.     }else if(role == 'fabricator'){
  364.         return "Visits one person every night. That person will receive an item of Fabricator's choice. Fake vest will not protect. Fake bread will not preserve the player. Fake gun will kill the shooter. Fake crystal balls will not reveal their targets. Fake keys will not lock out visitors Fake knives will not cause their target to bleed. Fake snowballs will not stun. Sided with the Mafia."
  365.     }else if(role == 'lookout'){
  366.         return "Chooses one person every night. Will know who visited that person that night. Does not count as a visit itself. Sided with the mafia."
  367.     }else if(role == 'ninja'){
  368.         return "Does not visit when killing. Can night kill bombs without risk. Be sure to vote first. Does not alert Loudmouth when visiting them. Can be killed if visiting a Samurai. Sided with the mafia."
  369.     }else if(role == 'hitman'){
  370.         return "Visits one person every night. Kills that person. Doesn't attend mafia meetings. Sided with the mafia."
  371.     }else if(role == 'arsonist'){
  372.         return "Visits one person every night. That person will be doused with gasoline. Once per game can choose to set fire to all doused players, killing them. Does not attend mafia meetings. Can kill Treestumps by dousing and lighting them. Sided with the mafia."
  373.     }else if(role == 'medusa'){
  374.         return "Anyone who visits Medusa at night, turns into stone the following day (after this day, they are converted back to normal). Being turned into stone doesn't do anything, but Medusa can see how many players she turned to stone overnight. Once a game, Medusa can choose to crumble all stones and kill them. Sided with the mafia"
  375.     }else if(role == 'terrorist'){
  376.         return "Chooses a person during the day. The chosen person and the Terrorist both blow up and die. Sided with the mafia."
  377.     }else if(role == 'mastermind'){
  378.         return "If Mastermind is in the game, mafia meetings are anonymous. Wins if alive when mafia wins. Mafia does not win if mastermind is alive."
  379.     }else if(role == 'host'){
  380.         return "Can pass on role to another user on any day/night. Cannot die. Games cannot be ranked with host. If host exists, village meetings can have no whisper leaks."
  381.     }
  382. }
Advertisement
Add Comment
Please, Sign In to add comment