Pf2eToolsOrg / Pf2eTools

A site dedicated to making playing games with your friends as easy as possible.
https://pf2etools.com/
MIT License
99 stars 62 forks source link

BUG-Git Vehicle without defenses and speed is invalid #337

Closed cgahr closed 1 year ago

cgahr commented 1 year ago

Steps to reproduce The attached vehicle from Rage of Elements has neither a speed nor defences. This is not allowed and the following errors are raised:

The following entry has broken the page's filters: Planar Skiff|RoE TypeError: it.defenses is undefined
Uncaught (in promise) TypeError: it.speed is undefined

Severity Medium

Data to reproduce

{
    "name": "Planar Skiff",
    "source": "RoE",
    "page": 225,
    "level": 15,
    "traits": [
        "rare",
        "magical"
    ],
    "price": {
        "coin": "gp",
        "amount": 19500
    },
    "space": {
        "long": {
            "number": 30,
            "unit": "feet"
        },
        "wide": {
            "number": 15,
            "unit": "feet"
        },
        "high": {
            "number": 20,
            "unit": "feet"
        }
    },
    "crew": [
        {
            "type": "pilot",
            "number": 1
        },
        {
            "type": "crew",
            "number": 3
        }
    ],
    "passengers": 6,
    "entries": [
        "A planar skiff is a flat-bottomed ship designed to travel the Great Beyond. A wide variety of skiffs course the planes, with designs incorporating their home planes' fashions and materials. Their magical sails allow them to catch planar currents, and their wards protect travelers as they move across planar boundaries. To allow travel to multiple planes, a planar skiff can have multiple planar keys installed (including items like a {@item cipher of the elemental planes|RoE}). Installing or removing one takes 10 minutes. A planar skiff is typically built with one planar key from its plane of manufacture and a second for a destination plane."
    ]
}
cgahr commented 1 year ago

nevermind