Skip to content

Creating Critical Tables

ksignorini edited this page Sep 30, 2021 · 3 revisions

Create Critical Injuries Items

To create critical injury items.

  1. In Foundry, navigate to the item panel on the right side.
  2. Click Create Folder, and name it Critical Injuries.
  3. Click the Feather to the right of the folder name OR click Create Item.
  4. In "name" enter the name of the critical injury (e.g. "Stunned")
  5. Change "type" to criticalinjury.
  6. Set "Folder" to Critical Injuries.
  7. Click "Create New Item".

  1. On the new item screen, under "D100 Roll" write the lower and upper threshold for the injury (e.g. 31 and 35).
  2. Select the severity of the injury from the drop down.
  3. Add a description explaining the effects of the injury.

Repeat steps 3-10 until you have created one item for each critical injury result.

Create the Critical Injuries Table

Once you have created all of your critical injuries, you will use a macro to create the damage table.

To do this:

  1. In the bottom left corner of the screen, next to the macro bar, click the folder icon.
  2. This opens the Macro Directory, from here click Create Macro.
  3. In the Create Macro Command window, name you macro "table gen" give it the type "script" and click "Create New Macro Command".

  1. Copy and paste the code found here into "Command"

  2. Click Execute

Now, on your rollable tables panel, you will see a "Critical Injuries" table.

At this point, you can safely delete the table gen macro. It will create a new table each time you run it. From the macro directory, just right click and select delete.

Repeat for Critical Damage

Next, repeat the above step for Critical Ship Damage, with the following changes.

  • Create a new Critical Damage folder
  • New items use the type criticaldamage instead of criticalinjury
  • When creating the Critical Ship Damage use this code instead

Add the Critical Roll Macro

  1. After creating one or both tables, return to the Macro Directory and create a new Macro.
  2. Name your macro Critical Roll, keep the type as script, and click "Create New Macro Command".
  3. Follow the directions here