EM Role Descriptors

nearbeerover 8 years ago

https://greasyfork.org/en/scripts/37782-em-role-descriptors

Hello again, this time I've got an in-game script that adds a link to the learning page to words that mention them. Don't remember the exact values for clockmaker? Just click on anywhere someone said "cm" (the plugin makes it a hyperlink so you can't miss it) and it'll bring up the page for you. I hope this will be useful for people that are still learning what all the roles do.

The plugin works by scanning each new message, linking both official role names (grabbed from an API) and slang names that are hardcoded into the plugin. Mentioning any slang names that I forgot to add in would be appreciated. Also point out any bugs to me, I'm sure they're there.

The script requires Tampermonkey for Chrome or Greasemonkey for Mozilla. It can run in tandem with EMJack or the EM Enhancement Suite.

Tampermonkey:

https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en

Greasemonkey:

https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/

Poll
Will this help the new player experience™?
Yes50%9
I am a great pro, I don't need this44%8
needs more deck recipes5%1
Nah0%0
nepentheover 7 years ago
Shwartz99
oh and remove "det" as an alias for detective because there's a detonator now too
det is still p much only used for detective though
Shwartz99over 7 years ago
aliases

stalk - stalker
tor - toreador
friendly - friendlycop
exor - exorcist
demo - demolitionist
sold - soldier
jack - jackripper
vice - vicepresident
necro - necromancer
whistle/whist - whistleblower

maybe aliases (haven't been used enough)

resur - resurrectionist
tm - troublemaker
qb - queenbee
sq - snowqueen
rm - rainmaker
hk - housekeeper
gh - ghosthunter
gr - graverobber
cl - catlady
sv - supervillain
pc - partycrasher
keep - jailkeep
neigh - neighbor
Shwartz99over 7 years ago
admin
ok removed det and added vigilante
ill compile a list for you
adminover 7 years ago
ok removed det and added vigilante
Shwartz99over 7 years ago
oh and remove "det" as an alias for detective because there's a detonator now too
Shwartz99over 7 years ago
yeah definitely one of the important aliases needed is "vigilante" for vig because its coded as "vigil"
adminover 7 years ago
added this! i'll eventually make it so mods can add extra aliases to each role too
3
luis4rodover 7 years ago
admin
yea, i can build this into the game, but only for accepted roles to start off with
awesome thanks lucid!
adminover 7 years ago
yea, i can build this into the game, but only for accepted roles to start off with
1
luis4rodover 7 years ago
lucid please add this thx
godnmasteabout 8 years ago
goodjob!
GuyFawkes85about 8 years ago
@whoever is working on it

I'm not using it because I don't need it, but thanks for all you're doing. This really can be helpful for new players. Hopefully it can be stickied in the forums and used by everyone (who needs it). Thanks!
Shwartz99about 8 years ago
view
idk if you're alive or not but http://prntscr.com/kagcrz
lil display issue
yeah that can happen but it happens when you mouse over a role normally anyways so i blame that one on lucid
viewabout 8 years ago
idk if you're alive or not but http://prntscr.com/kagcrz
lil display issue
nearbeerover 8 years ago
v1.3: Merged my code with Shwartz's code. Adds the ability to see role descriptions when you hover over the hyperlink, plus a few new aliases.

Thanks, Shwartz! That was a really good addition.
1
Shwartz99over 8 years ago
For some reason I had to manually update it
1
nearbeerover 8 years ago
Did you update to 1.2? I should have fixed that.
Shwartz99over 8 years agoedited
sometimes a random
nearbeerover 8 years ago
Shwartz99
its still pretty bugged :(
Anything in particular? I haven't actually had many problems and I've played a good amount of games.
Shwartz99over 8 years ago
its still pretty bugged :(
nearbeerover 8 years ago
v1.2: Roles are highlighted in logs and system text also. Fixed a bug where anything starting with punctuation got borked (including emojis)
nearbeerover 8 years ago
sl0nderman
day 1 patch....... sloppy..........
There's a good reason I work development and not QA
Shwartz99over 8 years ago
Hey this isn't bad. Nice work!
Bebopover 8 years ago
sl0nderman
Bebop
sl0nderman
day 1 patch....... sloppy..........
nEArbeer
don't reply to me every again
ok
sl0ndermanover 8 years ago
Bebop
sl0nderman
day 1 patch....... sloppy..........
nEArbeer
don't reply to me every again
1