Register

Stochastic, Fantastic! - Random Encounter Generator

An Add-on Module for Foundry Virtual Tabletop

Author: Eric Triebe Project Source: Project URL Versions 9.238+ (Verified 11.298) Last Updated 3 months, 2 weeks ago

Stochastic, Fantastic!

Support this project here.

Latest Release Download Count Forge Installs Foundry Core Compatible Version

How to use:

Click the Generate Encounter in the actor sidebar to bring up the window image

What do the buttons do?

  1. Encounter Type: This will choose from a number of formulaeic encounter types, based on monster challenge rating/XP. For example:
    1. Single BBEG: One Big Bad Evil Guy/Gal using the entire encounter budget
    2. BBEG + 2 Minions: One BBEG and two of the same minions 1/3rd of their CR
    3. 2 Semi-BBEG: Two of the same type of BBEG
    4. BBEG + Monster horde: One BBEG and 5 of the same monsters ~1/10th of the BBEG's CR
    5. BBEG + Random monster horde: One BBEG and 5 different monsters ~1/10th of the BBEG's CR
    6. Monster horde: 6 of the same monster
    7. Random monster horde: 6 equal CR monsters
    8. Random: Completely random algorithm which does the following
      1. Choose a monster that is within some range of acceptable CR for this encounter
      2. Choose a quantity of this monster that is within our encounter budget
      3. Add this monster
      4. Repeat steps 1-3 until we get close enough to our encounter budget
    9. Note: If you have other encounter formula types to add, let me know! They are super cheap and easy to add (One line of code!)
  2. Generate Encounters: Does what it says! This will index your local compendiums you have selected and use them to create encounters! This should run in ~5-20 seconds, depending on the speed of your computer and size of your compendiums.
  3. You encounters will appear, from here you can do the following:
    1. Use the star icon to save the encounter for later
    2. Use the Double Arrow icon (on the right) to spawn the encounter
    3. Use the Toolbox icon (under the Double Arrow icon) to generate a loot sheet (Item Piles is highly raccomanded for this to look better)
    4. Drag n Drop any monster to the scene to spawn them or drag n drop any item to an actor to add it to them
    5. Click the two swords icon to get a combat estimate for this encounter
  4. Filter Buttons: These buttons will all have similar functionality for allowing you to filter the types of these items for use in encounter generation.
    1. Treasure Type: Types of loot rarity do we include in the treasure listed? (Note: Only PF2e for the moment)
    2. Creature Type: Types of creatures we include in our list of encounters to generate
    3. Environment: Types of environments to choose creatures from. If Any is chosen, this means monsters that either had "Any" listed in their environment list or monsters that had no environment selected.
    4. Players: The players to choose for identifying encounter CR/XP budgets.
    5. Compendium: The compendiums to choose monsters/items from for all of the above. image

Additionally you can use the searchbar on top to search for encounter name\creatures\items on the left of the searchbox you will find the filter for favorite only and on the right of the searchbox the funnel icon will bring up the compendium configuration window: in this window you can sort and enable\disable compendiums the module will pull from. (Note: This may not work as expected currently. Issue #52)

Combat Estimate

We will either take the monsters and players listed in the combat dialog or the monsters in the encounter selected and the players from the player filter dialog and attempt to choose the optimal actions for damage in their list of possible actions. We will use AC, Saving Throw modifiers of the enemies of the current combatant to identify how likely an attack is to hit, in addition to calculating the average and expected damage. This can be especially useful for determining difficulty in campaigns with magical items. Please let me know if some player features aren't identified correctly (e.g. Great Weapon Master) or if a Monster's best action/spell or multiattack wasn't parsed correctly.

image

Creature Codex

A creature codex to browse the creatures you have in multiple compendiums and sort, filter by more than just name: XP, creature type, environment, etc.

image

License / Credits

Sortable.Js

More info here https://github.com/SortableJS/Sortable

Fuzzyset.js

This package is licensed under the Prosperity Public License 3.0.

That means that this package is free to use for non-commercial projects

See https://github.com/Glench/fuzzyset.js for more details

Stochastic, Fantastic! is unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards. Portions of the materials used are property of Wizards of the Coast. ©Wizards of the Coast LLC.

Available Versions

  1. Version 1.0.56

    Compatibility: 9.238+ (Verified 11.298) Installation Link: Manifest URL Update Notes: Read Notes
  2. Version 1.0.55

    Compatibility: 9.238+ (Verified 11.298) Installation Link: Manifest URL Update Notes: Read Notes
  3. Version 1.0.53

    Compatibility: 9.238+ (Verified 11.298) Installation Link: Manifest URL Update Notes: Read Notes
  4. Version 1.0.52

    Compatibility: 9.238+ (Verified 11.298) Installation Link: Manifest URL Update Notes: Read Notes
  5. Version 1.0.51

    Compatibility: 9.238+ (Verified 11.298) Installation Link: Manifest URL Update Notes: Read Notes
  6. Version 1.0.50

    Compatibility: 9.238+ (Verified 11.298) Installation Link: Manifest URL Update Notes: Read Notes
  7. Version 1.0.49

    Compatibility: 9.238+ (Verified 11.298) Installation Link: Manifest URL Update Notes: Read Notes
  8. Version 1.0.48

    Compatibility: 9.238+ (Verified 11.298) Installation Link: Manifest URL Update Notes: Read Notes
  9. Version 1.0.47

    Compatibility: 9.238+ (Verified 11.298) Installation Link: Manifest URL Update Notes: Read Notes
  10. Version 1.0.43

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  11. Version 1.0.42

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  12. Version 1.0.41

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  13. Version 1.0.40

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  14. Version 1.0.39

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  15. Version 1.0.38

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  16. Version 1.0.37

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  17. Version 1.0.36

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  18. Version 1.0.35

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  19. Version 1.0.34

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  20. Version 1.0.33

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  21. Version 1.0.32

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  22. Version 1.0.31

    Compatibility: 9+ (Verified 11) Installation Link: Manifest URL Update Notes: Read Notes
  23. Version 1.0.29

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  24. Version 1.0.28

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  25. Version 1.0.27

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  26. Version 1.0.26

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  27. Version 1.0.25

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  28. Version 1.0.24

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  29. Version 1.0.23

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  30. Version 1.0.22

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  31. Version 1.0.21

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  32. Version 1.0.20

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  33. Version 1.0.19

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  34. Version 1.0.18

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  35. Version 1.0.17

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  36. Version 1.0.16

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  37. Version 1.0.15

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  38. Version 1.0.14

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  39. Version 1.0.13

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  40. Version 1.0.12

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  41. Version 1.0.11

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  42. Version 1.0.9

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  43. Version 1.0.8

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  44. Version 1.0.7

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  45. Version 1.0.6

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  46. Version 1.0.5

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  47. Version 1.0.4

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  48. Version 1.0.3

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  49. Version 1.0.2

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  50. Version 1.0.0

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  51. Version 0.9.6

    Compatibility: 9+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  52. Version 0.8.9

    Compatibility: 9+ (Verified 9) Installation Link: Manifest URL Update Notes: Read Notes
  53. Version 0.7

    Compatibility: 0.8.6+ (Verified 9) Installation Link: Manifest URL Update Notes: Read Notes
  54. Version 0.5

    Compatibility: 0.8.6+ (Verified 9) Installation Link: Manifest URL Update Notes: Read Notes