Skip to content

Issues and Fixes for Simple5e 2.1

Lionel edited this page May 27, 2020 · 2 revisions

Players cannot use Skills, Saves, and Ability Checks from the Character Sheet

Unfortunately, a bug in MapTool prevents players from clicking the roller links on their own character sheets in Simple5e. A fix is on the way for MapTool 1.8, but in the meantime you can use this fix to allow players to click on Skills, Saves, and Ability Checks from their character sheets in your Simple5e game.

Preparing a 'Sheet' Campaign Macro for all players

The principle is we will have to move a 'Sheet' macro to the Campaign panel, and then edit your players' 'Sheet' macros to point to that, instead. We'll also add a quick security check to make sure players don't run that sheet on any tokens they don't own, lest they see all the gooey details of our Monsters and NPCs.

  1. Open the Campaign and GM panel so you can see both side-by-side.
  2. Copy the 'Sheet' macro from the GM panel to the Campaign panel by dragging and dropping. I like to place it in '5. Token Manage'.
  3. Add the following snippet to the very top of the new Campaign macro:
    [h: "<!-- Prevent players from altering tokens they do not own. -->"]
    [h, if(!isGM()), code: {
       [vToken = currentToken()]
       [vOwned = getOwned()]
       [if(!listContains(vOwned, vToken)): assert(0, "Only GMs may run the '" + getMacroName() + "' macro on a token they do not own.", 0)]
    }]
    
  4. Replace each player's 'Sheet' macro on their token with the following:
    [macro("Sheet@campaign"):""]
    

Preparing customized 'Sheet' Campaign Macro for a player

If you have a customized 'Sheet' macro for a particular player, for instance a Bard with the Jack of All Trades customization, no problem:

  1. Rename the specialized 'Sheet' macro something distinctive like 'Sheet - Bard'.
  2. Copy the specialized Sheet macro to the Campaign macro panel by dragging and dropping.
  3. Edit the Sheet macro and check 'Apply to selected tokens' in the Config tab.
  4. Paste the security snippet from step 3 above to the top of the macro.
  5. Replace just that player's token macro with a reference to the specialized sheet macro:
    [macro("Sheet - Bard@campaign"):""]
    

That's it! This workaround will let your players use the skills, saves, and ability check rollers on their character sheets.

Note that this fix should be unnecessary beginning in MapTool 1.8.0.