resources — Static Lookup Data
Static catalogs referenced in rule expressions. Compiled to resources.yaml.
resources:
item_catalog:
sword_001:
name: Iron Sword
value: 150
rarity: common
shield_002:
name: Oak Shield
value: 80
rarity: commonAccess in expressions: resources.item_catalog[event.item_id].value
Resource types are automatically pluralized in the expression scope:
type: product→resources.products["id"]type: coupon→resources.coupons["id"]