Login  |  Register

Author Topic: [Mod] King's Courtier (Chrome Plugin)  (Read 1612 times)

Offline Icehawk78

  • Newbie
  • *
  • Posts: 30
    • View Profile
[Mod] King's Courtier (Chrome Plugin)
« on: 24 January 2017, 04:47:21 AM »
This is still very much a work in progress, but it was suggested that I post this here, since the other two mods are also here.

King's Courtier is a Chrome Plugin that adds some extra functionality to the Shuffle iT site. Currently there are only two features, but more are in progress:

  • Kingdom Text View - This replaces all cards' images in the kingdom with their associated card text.
  • Repeat Kingdom Button - This adds a "Repeat Kingdom" button to the end of game scoring screen, which when clicked will set every card in the kingdom just played as a required card.

Download from here:  https://github.com/Icehawk78/kings_courtier/releases


I'm working on a screen that will let you change which options are active, but in the meantime, you can change the options by opening your Javascript Console (on Windows, ctrl-shift-j) and running this:

Turn off the text-view kingdom:
Code: [Select]
KC.update_preference('kingdom_text', false);
Turn off the repeat kingdom button:
Code: [Select]
KC.update_preference('show_repeat', false);

Offline Icehawk78

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [Mod] King's Courtier (Chrome Plugin)
« Reply #1 on: 31 January 2017, 12:13:09 PM »
Finally getting around to updating this post.

I now have the full Kingdom viewer working, which also now allows for naming of cards that are not in visible piles, including split pile cards, individual knights, shelters, and ruins.

Installation instructions:

This can be installed via the Chrome Web Store at King's Courtier or by downloading it directly from Github.

To open the Kingdom viewer, simply click the "Kingdom" button on the left.

You will then be presented with this screen:

Some notes:

  • The black market deck will not be a secret if you use this. I've looked into it, and unfortunately the only way for me at this time to hide the black market contents would unfortunately also risk leaking which cards are in your opponent's hand, due to the way the client model is structured.
  • Any input that is waiting on you will be obscured by the card list. I can look into changing this later, but for now, make sure you close it when not actively watching so you know when it's your turn.
  • When you play a "name any card" effect card, opening the Kingdom view will allow you to select all cards. (If this doesn't work, please let me know so I can update it.)