Skip to content

A module for Foundry Virtual Tabletop that adds the ability to trap doors

License

Notifications You must be signed in to change notification settings

Ridiculosity-Games/trapped-doors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trapped Doors

A module for Foundry Virtual Tabletop that adds functionality to doors:

  • Allows the GM to attach traps to doors (with some included for dnd5e, add your own traps to the td-traps compendium in-game to expand it!)
    • Supported in dnd5e and pf2e, please submit an issue if you'd like another system supported
  • Allows the GM to generate a key that will allow players to lock/unlock doors when in their inventory
    • Supported in dnd5e and pf2e, please submit an issue if you'd like another system supported
  • Adds a keybinding for the GM to quickly arm/disarm trapped doors
  • Allows GMs to customize how doors should be peeked, and allows GMs and players both to peek doors open

Trapping a Door (pf2e and dnd5e)

  • Open up the config for the door you want to trap
    • image
  • Select the desired trap from the dropdown
    • image
  • Once the door is opened, trapped-doors looks for a "Door Traps" Actor folder and creates one if none exists
  • Trapped Doors then looks for an existing Actor that matches the entry in the compendium for the trap, and will create one if one does not exist.
    • This Actor is then put into the Door Traps folder, and deleted after five minutes have passed.
      • image
  • Trapped doors then:
    • In dnd5e: Shows the spell card for the "Effect" action on the trap's character sheet so the GM can roll attack/damage, or to prompt a player for a saving roll.
      • image
    • In pf2e: Pops up the roll prompt to roll the trap's attack
      • image
  • The trap is then deactivated and can be reactivated by:
    • Holding the activate/deactivate trap hotkey and clicking the door
    • Opening the wall config and saving it again with the trap still selected in the trap dropdown

Generating a key for a door

  • Open up the config for the door you want to key and select the "Generate a key for this door" checkbox
    • image
  • This creates a key with the door's ID in the name in the Items tab
    • image
  • Add the key to a player's character sheet to allow the player to lock and unlock that door with a right click\

Creating a Trap

  • dnd5e:
    • Create a new Non-Player Character Actor
    • Open the Features tab on the character sheet
      • image
    • Add an Action named "Effect" and fill in the Description and Details fields as appropriate
  • pf2e:
    • Create a new NPC Actor
    • In Main, add a melee or ranged attack
      • image
  • Add the trap Actor to the Traps (Trapped Doors) compendium
    • image

Default Hotkeys

  • Disarm/Re-arm trapped door
    • Left Shift and click on door
  • Reveal secret door
    • Left Alt and click on door
  • Peek door
    • Left Control and click on door

About

A module for Foundry Virtual Tabletop that adds the ability to trap doors

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published