structured_item.conf

Download raw config

item = ["lantern", "blade", "cloak", "compass"]
rarity = ["common", "rare", "ancient", "mythic"]
material = ["moonstone", "iron", "silver", "glass"]
effect = ["spark", "ember", "shield", "whisper"]
history = ["guard", "save", "find", "catch"]
use = ["search", "run", "guide", "watch"]
level = [1, 2, 3, 11]
charges = [2, 3, 4]

context {
  itemType = "{item}"
  itemRarity = "{rarity}"
  itemMaterial = "{material}"
  itemEffect = "{effect}"
  itemLevel = "{level}"
  itemCharges = "{charges}"
}

display_name = "{itemRarity | titlecase} {itemMaterial | titlecase} {itemType | titlecase}"
id = "{display_name | slug}-{itemLevel | ordinal}"
description = "{itemMaterial | article | sentence} {itemType} once {history | past_tense} a lost caravan. It still releases {itemCharges} {itemEffect | pluralize} when its bearer is {use | present_participle} in the dark."

origin {
  id = "{id}"
  name = "{display_name}"
  type = "{itemType}"
  rarity = "{itemRarity}"
  level = "{itemLevel}"
  properties {
    material = "{itemMaterial}"
    effect = "{itemEffect}"
    charges = "{itemCharges}"
  }
  tags = [
    "{itemRarity | slug}",
    "{itemType | slug}",
    "{itemEffect | slug}"
  ]
  description = "{description}"
}