Template:Harvest Component: Difference between revisions
Jump to navigation
Jump to search
Harvest DB: add effects field (controlled tag list from Template:Harvest Effect Values) to schema, store, and row display |
Harvest DB: declare effect/notes as Wikitext type — Text double-escapes ampersands in query output |
||
| Line 21: | Line 21: | ||
|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 | ||
|notes= | |notes=Wikitext | ||
}} | }} | ||
One '''manifest row''' — a component that exists on a creature's carcass per the [[Monster Harvesting]] carcass-first rules. Stores the row into the [[Special:CargoTables|Cargo]] table '''HarvestComponents''' and renders one wikitable row. Wrap a run of these with [[Template:Harvest Profile Header]] and [[Template:Harvest Table End]]. | One '''manifest row''' — a component that exists on a creature's carcass per the [[Monster Harvesting]] carcass-first rules. Stores the row into the [[Special:CargoTables|Cargo]] table '''HarvestComponents''' and renders one wikitable row. Wrap a run of these with [[Template:Harvest Profile Header]] and [[Template:Harvest Table End]]. | ||
Revision as of 02:39, 13 September 2026
This template defines the table "HarvestComponents". View table. One manifest row — a component that exists on a creature's carcass per the Monster Harvesting carcass-first rules. Stores the row into the Cargo table HarvestComponents and renders one wikitable row. Wrap a run of these with Template:Harvest Profile Header and Template:Harvest Table End.
Parameters
component— the component's name. Must be globally unique across all creatures (the Harvested Materials ledger joins on it); prefix generic names with the creature (e.g.Hydra Hide Scraps).creature— defaults to the page name; set explicitly when the profile lives elsewhere.tool— the tool column(s) that can extract it.rarity— one ofScraps, Common, Uncommon, Rare, Very Rare, Legendary, Artifact. Craft Value per unit is derived automatically (1/2/4/8/16/32/64).rarity_note— display-only italic after the rarity (e.g.above ceiling — nat 20 only).signature—yesfor the carcass's signature component.effect— free prose: what a primary use themes toward; leave empty for Structure only components. This is the creative canvas — players may pitch anything it suggests.effects— standard effect tags, comma-separated, drawn only from the vocabulary in Template:Harvest Effect Values (e.g.Damage: Poison, Afflict: Poisoned). 1–4 tags describing what an item built primarily from this component could deliver; structure-only parts get none. Powers the Find Components search and Special:Drilldown filtering.primary_for/contributor_to— comma-separated lists drawn from:Potion, Poison, Bomb, Wand, Staff, Wondrous, Armor, Weapon, Rations.notes— free text, shown in italics after the effect.