Jon-Davis / Cypher-System-JSON-DB

A machine readable document of the Cypher System Reference Document
9 stars 4 forks source link

Options consistency #20

Closed davebytemfg closed 1 year ago

davebytemfg commented 1 year ago

options on artifacts and cyphers are an single array of the hash name/table

options on creatures is just the hash name/table

pick one? not a big deal, but mentioning it to simplify my handing of general option tables -

      "options": {
        "name": "Shadow Elf Spell",
        "table": [
          {
            "start": 1,
            "end": 1,
            "entry": "Enchant weapon to inflict 3 additional points of damage (8 total)"
          },
          {
            "start": 2,
            "end": 2,
            "entry": "Enchant weapon to inflict 1 additional point of Speed damage (poison, ignores Armor), plus 2 points of Speed damage each additional round until victim succeeds on a Might defense roll"
          },

vs

      "options": [
        {
          "name": "",
          "table": [
            {
              "start": 1,
              "end": 3,
              "entry": "When looking through the hole, the user gains an asset to seeing things that are normally invisible to the eye, including doorways, beings, spirits, magical effects, and so on."
            },
            {
              "start": 4,
              "end": 6,
              "entry": "When worn on the finger as a ring, wards off spirits of the dead (grants +1 Armor against attacks from ghosts, haunts, and other spirits of the dead)."
            },
Jon-Davis commented 1 year ago

Yeah, there isn't an example of multiple tables in a creature, artifact, or cypher in the text, but who knows what they will add in the future, so I'll make all options a vec to try and prevent future breaking changes as much as possible.