feat(rules): add alignment field to Combatant with axis gating flags

Adds the PF1e two-axis alignment code (LG/NG/CG/LN/N/CN/LE/NE/CE,
default N) to the Combatant model with a strict validator, derived
is_lawful/is_chaotic/is_good/is_evil properties, exposure in the
observation snapshot, and alignment values for all monsters and PCs
sourced from the bestiary KB and the Foundry sheets.
This commit is contained in:
2026-09-20 11:49:04 +02:00
parent 40088e1869
commit f9e51e377a
20 changed files with 265 additions and 2 deletions
+1
View File
@@ -1,5 +1,6 @@
{
"name": "Esha Randu",
"alignment": "LG",
"level": 4,
"size": "Medium",
"abilities": {
+2 -1
View File
@@ -1,5 +1,6 @@
{
"name": "Esha's Mount",
"alignment": "N",
"level": 4,
"size": "Large",
"abilities": {
@@ -44,7 +45,7 @@
"natural": true
}
],
"notes": "Light-horse mount shared with Esha's sheet: hooves are 1d4 bludgeoning (SRD Bestiary horse, light - 2 hooves 1d4), natural attacks. No bite encoded: the SRD light horse has no bite attack and the Foundry sheet lists no mount bite (unlike Jeanne's sheet, which does).",
"notes": "Light-horse mount shared with Esha's sheet: hooves are 1d4 bludgeoning (SRD Bestiary horse, light - 2 hooves 1d4), natural attacks. No bite encoded: the SRD light horse has no bite attack and the Foundry sheet lists no mount bite (unlike Jeanne's sheet, which does). Alignment inferred: SRD animal (horse) is typically neutral; no alignment on the sheet",
"source": "fiches_personnages/esha_sheet.json (mount)",
"features": [
"Combat Reflexes",
+1
View File
@@ -1,5 +1,6 @@
{
"name": "Harvie",
"alignment": "N",
"level": 2,
"size": "Small",
"abilities": {
+1
View File
@@ -1,5 +1,6 @@
{
"name": "Ierlieth",
"alignment": "CN",
"level": 4,
"size": "Tiny",
"abilities": {
+1
View File
@@ -1,5 +1,6 @@
{
"name": "Jeanne",
"alignment": "N",
"level": 4,
"size": "Large",
"abilities": {
+1
View File
@@ -1,5 +1,6 @@
{
"name": "Misty",
"alignment": "NE",
"level": 4,
"size": "Medium",
"abilities": {
+1
View File
@@ -1,5 +1,6 @@
{
"name": "Nairda Guisenda",
"alignment": "CN",
"level": 4,
"size": "Medium",
"abilities": {
+1
View File
@@ -1,5 +1,6 @@
{
"name": "Oni Triumvir",
"alignment": "NG",
"level": 4,
"size": "Medium",
"abilities": {
+1
View File
@@ -1,5 +1,6 @@
{
"name": "Tammara Cailean",
"alignment": "CG",
"level": 4,
"size": "Medium",
"abilities": {