Files
zero-engine/system.json
T
tevans b744b91354 fix: prevent duplicate credits submission causing NaN corruption
The non-Mk2 sheet had two inputs named system.details.credits (header
+ finances tab). Foundry concatenates duplicate names as "500,500"
which is not a valid number, causing the field to show blank/grey
after saving.

Fix: finances tab input made readonly with no name attribute — header
is now the sole authoritative credits field.

Also: on-boot sanitization now covers credits, fixing any actors
already storing the corrupted comma-string value.
2026-06-03 00:01:46 +01:00

88 lines
2.1 KiB
JSON

{
"id": "zero-engine",
"title": "Zero Engine (SLA Industries)",
"description": "A basic game system for SLA Industries using the Zero Engine rules.",
"version": "1.5.0",
"compatibility": {
"minimum": 13,
"verified": "14.359"
},
"authors": [
{
"name": "System Developer"
}
],
"scripts": [],
"esmodules": ["zero-engine.mjs"],
"styles": ["styles/zero-engine.css"],
"languages": [
{
"lang": "en",
"name": "English",
"path": "lang/en.json"
}
],
"socket": false,
"initiative": "@combat.initiative",
"grid": {
"distance": 1,
"units": "m"
},
"primaryTokenAttribute": "health",
"secondaryTokenAttribute": null,
"packs": [
{
"name": "sla-armors",
"label": "SLA Armors",
"path": "packs/sla-armors",
"type": "Item",
"system": "zero-engine"
},
{
"name": "sla-drugs",
"label": "SLA Drugs & Consumables",
"path": "packs/sla-drugs",
"type": "Item",
"system": "zero-engine"
},
{
"name": "sla-ebb-formulae",
"label": "SLA Ebb Formulae",
"path": "packs/sla-ebb-formulae",
"type": "Item",
"system": "zero-engine"
},
{
"name": "sla-specialties",
"label": "SLA Specialties",
"path": "packs/sla-specialties",
"type": "Item",
"system": "zero-engine"
},
{
"name": "sla-weapons",
"label": "SLA Weapons",
"path": "packs/sla-weapons",
"type": "Item",
"system": "zero-engine"
},
{
"name": "sla-equipment",
"label": "SLA Equipment & Gear",
"path": "packs/sla-equipment",
"type": "Item",
"system": "zero-engine"
},
{
"name": "sla-ammo",
"label": "SLA Ammunition",
"path": "packs/sla-ammo",
"type": "Item",
"system": "zero-engine"
}
],
"manifest": "https://raw.githubusercontent.com/slaguru666/zero-engine/main/system.json",
"download": "https://github.com/slaguru666/zero-engine/archive/refs/heads/main.zip",
"url": "https://github.com/slaguru666/zero-engine"
}