From 6f4d23510716ee3357ca2030e86d5279396311a8 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 17:33:57 +0000 Subject: [PATCH] Define the PF2e wiki fact properties in pf2e-remaster 1.4.0 The package declares pf2e:level, pf2e:rank, pf2e:tradition, pf2e:class, pf2e:ancestry and pf2e:source-book under wiki_properties (manifest format 1.17), now that the engine no longer defines them, and names itself with title. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01W2vBCHZtYnUWucfFWTw2NW --- README.md | 2 +- index.yaml | 2 +- pf2e-remaster/README.md | 11 ++++++++++- pf2e-remaster/package.yaml | 35 +++++++++++++++++++++++++++++++++-- 4 files changed, 45 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7e3b68c..18665c8 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ constraints checked before anything is planned. | [`http-handler/`](http-handler/) | 1.0.0 | Inbound HTTP verb routers using existing handler objects | | [`profile-handler/`](profile-handler/) | 1.0.0 | Read-only character directory and profile API; depends on HTTP Handler | | [`roll-tables/`](roll-tables/) | 1.0.0 | Random tables as softcode data: `+table/roll` tells the room, table keepers edit them by command, and a table can be published to a wiki page | -| [`pf2e-remaster/`](pf2e-remaster/) | 1.3.2 | Pathfinder Second Edition (Remaster) core rules as wiki pages: classes, ancestries, heritages, backgrounds, feats, spells, actions, equipment, skills, conditions and DC tables; a content pack under the ORC License | +| [`pf2e-remaster/`](pf2e-remaster/) | 1.4.0 | Pathfinder Second Edition (Remaster) core rules as wiki pages: classes, ancestries, heritages, backgrounds, feats, spells, actions, equipment, skills, conditions and DC tables; a content pack under the ORC License | These currently double as the reference implementations for package authors — each README explains which manifest features it demonstrates. The curated diff --git a/index.yaml b/index.yaml index 2ef8712..230b9fd 100644 --- a/index.yaml +++ b/index.yaml @@ -35,5 +35,5 @@ packages: - path: pf2e-remaster/ name: Pathfinder 2e package: pf2e-remaster - version: 1.3.2 + version: 1.4.0 description: Pathfinder Second Edition (Remaster) core rules as wiki pages (classes, ancestries, feats, spells, equipment, skills, conditions, DC tables; ORC License) diff --git a/pf2e-remaster/README.md b/pf2e-remaster/README.md index e8e4357..24c1cc2 100644 --- a/pf2e-remaster/README.md +++ b/pf2e-remaster/README.md @@ -40,10 +40,16 @@ items their level, price, Bulk, traits, usage and weapon, armor or shield stats. Every page ends with a line linking the ORC License Notice page. +It also defines six wiki fact properties, so pages can state them and be found by them: +`pf2e:level` and `pf2e:rank` (numbers), `pf2e:tradition` (arcane, divine, occult, primal; several +per page), `pf2e:class` (class pages; several per page), `pf2e:ancestry` (an ancestry page) and +`pf2e:source-book` (player core, player core 2, gm core). Uninstalling removes the properties; pages +keep the facts they state. + ## Requirements Requires a SharpMUSH server and strict PackageValidator supporting manifest format -1.13 and its `wiki_collection_name` metadata ([SharpMUSH #2050](https://github.com/SharpMUSH/SharpMUSH/issues/2050)). +1.17, for its `wiki_properties` ([SharpMUSH #2227](https://github.com/SharpMUSH/SharpMUSH/pull/2227)). The validator checks the complete manifest and file-backed wiki bodies. Version 1.3.0 adds the complete Dwarf Wizard Example, locally checked level-1/2 @@ -98,3 +104,6 @@ manifest format 1.14), so the portal shows it under **Start here** on the collec It also adds a first-roll primer (GM and player roles, dice notation, DC, AC, HP) to Learn PF2e, makes the Degrees of Success ranges disjoint with boundary examples, and explains how typed and untyped penalties stack. + +Version 1.4.0 defines the PF2e wiki fact properties (`wiki_properties`, manifest format 1.17) +and names the package (`title`). diff --git a/pf2e-remaster/package.yaml b/pf2e-remaster/package.yaml index 92c0b07..ed1d73d 100644 --- a/pf2e-remaster/package.yaml +++ b/pf2e-remaster/package.yaml @@ -1,6 +1,7 @@ -format: 1.14 +format: "1.17" package: pf2e-remaster -version: 1.3.2 +title: Pathfinder 2e +version: 1.4.0 wiki_landing_page: main:learn_pf2e wiki_collection_name: Pathfinder 2e authors: [SharpMUSH project] @@ -15,6 +16,36 @@ homepage: https://github.com/SharpMUSH/SharpMUSH.Packages/tree/main/pf2e-remaste keywords: [pathfinder, pf2e, rules, character-creation, wiki] locale: en +wiki_properties: + pf2e:level: + type: number + label: Level + description: The level of a feat, item or creature, or the level a class feature is gained at. + pf2e:rank: + type: number + label: Rank + description: A spell's rank, 1 to 10; 0 for a cantrip. + pf2e:tradition: + type: keyword + multiple: true + values: [arcane, divine, occult, primal] + label: Tradition + description: The magical traditions a spell belongs to. + pf2e:class: + type: page + multiple: true + label: Class + description: The class pages a feat, feature or spell belongs to. + pf2e:ancestry: + type: page + label: Ancestry + description: The ancestry page a heritage or ancestry feat belongs to. + pf2e:source-book: + type: keyword + values: [player core, player core 2, gm core] + label: Source book + description: The book the rules come from. + wiki: - page: category:pf2e_start_here title: Start here — Learn PF2e