Template:DM Harvest Component: Difference between revisions
Harvest DB: add effects field (controlled tag list) to the DM manifest schema, store, and row display |
Harvest DB: declare effect/notes as Wikitext type (matches player table) |
||
| Line 24: | Line 24: | ||
|cv=Integer | |cv=Integer | ||
|signature=Boolean | |signature=Boolean | ||
|effect= | |effect=Wikitext | ||
|effects=List (,) of String (allowed values={{Harvest Effect Values}}) | |effects=List (,) of String (allowed values={{Harvest Effect Values}}) | ||
|primary_for=List (,) of String | |primary_for=List (,) of String | ||
|contributor_to=List (,) of String | |contributor_to=List (,) of String | ||
|status=String | |status=String | ||
|notes= | |notes=Wikitext | ||
}} | }} | ||
'''DM-only manifest row''' — a component the party has not yet learned about (prepared manifests for unfought creatures, pending assignments, planned yields). Stores into the [[Special:CargoTables|Cargo]] table '''DMHarvest''' and renders one wikitable row. Wrap with [[Template:DM Harvest Header]] and [[Template:Harvest Table End]]. | '''DM-only manifest row''' — a component the party has not yet learned about (prepared manifests for unfought creatures, pending assignments, planned yields). Stores into the [[Special:CargoTables|Cargo]] table '''DMHarvest''' and renders one wikitable row. Wrap with [[Template:DM Harvest Header]] and [[Template:Harvest Table End]]. | ||
Latest revision as of 02:39, 13 September 2026
This template defines the table "DMHarvest". View table. DM-only manifest row — a component the party has not yet learned about (prepared manifests for unfought creatures, pending assignments, planned yields). Stores into the Cargo table DMHarvest and renders one wikitable row. Wrap with Template:DM Harvest Header and Template:Harvest Table End.
Safety: the store only fires on pages in the read-restricted DM: namespace — used anywhere else it stores nothing and shows an error. The data itself is not protected by Lockdown once stored: never #cargo_query the DMHarvest table from a player-visible page. When a creature's manifest is revealed at the table, move its rows to the creature page as Template:Harvest Component calls (the player table) and delete them here.
Same parameters as Template:Harvest Component — including effects (standard tags from Template:Harvest Effect Values) — plus:
dc— harvest DC; defaults from rarity (5/10/15/20/25/30).status—Unrevealed(default),Pending(assignments not confirmed),Revealed(migrated to the player table; keep briefly for bookkeeping).