scottburton11 / burger-time

D&D 5e Hunger rules for Foundry VTT
MIT License
3 stars 0 forks source link

Offering Pathfinder 2e Support #11

Open PadreMontoya opened 1 year ago

PadreMontoya commented 1 year ago

Hi Scott,

I'd love to upgrade this to add support for Pathfinder. I've made some minor tweaks to other add-ons, but this would be new territory for me.

In Pathfinder, the rules are simple: https://2e.aonprd.com/Rules.aspx?ID=537 If you don't eat, you are fatigued. You then take damage that can't be healed over time.

For now I may simply do Fatigued or not Fatigued. Later on I'll add support for taking damage, once I understand things better.

To support this, I think I'd have to:

Does anything else come to mind for basic support?

{
      "img": "https://assets.forge-vtt.com/bazaar/systems/pf2e/assets/icons/conditions/fatigued.webp",
      "name": "Fatigued",
      "system": {
        "description": {
          "gm": "",
          "value": "<p>You're tired and can't summon much energy. You take a -1 status penalty to AC and saving throws. While exploring, you can't choose an exploration activity.</p>\n<p>You recover from fatigue after a full night's rest.</p>"
        },
        "source": {
          "value": "Pathfinder Core Rulebook"
        },
        "rules": [
          {
            "key": "FlatModifier",
            "selector": [
              "ac",
              "saving-throw"
            ],
            "slug": "fatigued",
            "type": "status",
            "value": -1
          }
        ],
        "slug": "fatigued",
        "schema": {
          "version": 0.84,
          "lastMigration": null
        },
        "group": null,
        "duration": {
          "value": 0
        },
        "value": {
          "isValued": false,
          "value": null
        },
        "references": {
          "children": [],
          "overrides": [],
          "overriddenBy": [],
          "immunityFrom": []
        },
        "overrides": []
      },
      "type": "condition",
      "flags": {
        "core": {
          "sourceId": "Compendium.pf2e.conditionitems.HL2l2VRSaQHu9lUw"
        }
      },
      "effects": [],
      "folder": null,
      "sort": 0,
      "ownership": {
        "default": 0,
        "GmMYmcFeQufmXwZB": 3
      },
      "_stats": {
        "systemId": "pf2e",
        "systemVersion": "4.12.9",
        "coreVersion": "10.303",
        "createdTime": 1689647259469,
        "modifiedTime": 1689647259469,
        "lastModifiedBy": "GmMYmcFeQufmXwZB"
      },
      "_id": "wM2xekFiD9wSyTpN"
    }