KINBARROW modding reference
v0.2.0+main.a22009f4c dataset b2f73c2ab65ff925

GraveGoods

tables/grave_goods.ron configures original barrow goods and the magic left by incoming bands at every kind of site. Other landscape sites begin without goods. The values are realm tuning, independent of published treasure coin amounts. Omitting this whole table leaves barrows without builder records or original goods and disables move-in magic.

FieldTypeRequiredDescription
age_max_yearsuint64required

Oldest possible barrow age in whole years, inclusive. Must be at least the minimum and fit a signed 64-bit graph integer.

age_min_yearsuint64required

Youngest possible barrow age in whole years, inclusive.

chiefGraveGoodsTierrequired

A chieftain's original size, coin and magic rarities.

chief_one_inuint64required

One in this many barrows has a chieftain's standing. Must be positive.

familyGraveGoodsTierrequired

A family's original size, coin and magic rarities.

lairLairGoodsrequired

Magic count and danger-level weights for each new band's remains.

magic_count_facesuint64required

Sides on the one die that determines the magic-item count. Positive.

magic_count_subtractuint64required

Subtract this from the die, flooring the result at zero. Must be less than the number of faces.

sourceSourcerequired

Provenance of the authored table.

Nested shapes

Every shape GraveGoods closes over, so this page stands alone.

GraveGoodsTier

The size and original goods of one builder's standing.

FieldTypeRequiredDescription
chambersuint32required

Interior chamber count, excluding the entrance and final seat. At least five; at most 65,534, so every mission chamber has a 16-bit index.

numeraire_daysint64required

Original burial coin in apprentice labour days, converted at the realm wage scale when minted before the genesis census. Must be positive.

rarities[MagicRarity, uint32][]required

Distinct Common/Uncommon rarities with positive relative weights. Missing loaded pools drop out of the weight total. Choose rarity by weight, then an item uniformly within it, with replacement.

LairGoods

Magic left unowned in the Seat whenever a new band moves into a site.

FieldTypeRequiredDescription
magic_count_facesuint64required

Sides on the one die that determines the magic-item count. Positive.

magic_count_subtractuint64required

Subtract this from the die, flooring the result at zero. Must be less than the number of faces.

tiersLairGoodsTier[]required

Nonempty ascending danger-level policies, starting at level one.

LairGoodsTier

One lair's magic policy from its minimum danger level upward. The highest reached minimum applies; tiers start at one and strictly increase.

FieldTypeRequiredDescription
min_leveluint32required

Lowest danger level that selects this row, inclusive.

rarities[MagicRarity, uint32][]required

Distinct Common/Uncommon rarities with positive relative weights. Missing loaded pools drop out of the weight total. Choose rarity by weight, then an item uniformly within it, with replacement.

MagicRarity

SRD 5.1 magic-item rarity. The magic axis is ORTHOGONAL to the quality tier: a +1 sword is Uncommon whatever its craftsmanship, and a Masterwork mundane blade is no rarer than a Poor one. The engine branches on rarity for the worth FACTOR ([MagicRarity::worth_factor]) — the one place magic touches the pricing seam.

Common

Select the common behavior.

Uncommon

Select the uncommon behavior.

Rare

Select the rare behavior.

VeryRare

Select the very rare behavior.

Legendary

Select the legendary behavior.

Source

Every file's top-level value carries source.

Srd51

SRD 5.1 — retained nonconflicting catalogue material.

Srd52

SRD 5.2.1 — the 2024-revision System Reference Document, the same CC-BY-4.0 grant as 5.1 and the current rules chassis. Its files carry the .srd52.ron suffix so provenance reads off the path; see data/README.md for which document rules a given value.

Original

Original content authored for this game (not from the SRD).

Phb2024

Material transcribed from the 2024 Player's Handbook. This source is not redistributable by this project and belongs in a phb2024 mod.

Dmg2024

Material transcribed from the 2024 Dungeon Master's Guide. This source is not redistributable by this project and belongs in a dmg2024 mod.

Mm2024

Material transcribed from the 2024 Monster Manual. This source is not redistributable by this project and belongs in an mm2024 mod.

Tce

Material transcribed from Tasha's Cauldron of Everything. This source is not redistributable by this project and belongs in a tce mod.

Xge

Material transcribed from Xanathar's Guide to Everything. This source is not redistributable by this project and belongs in an xge mod.