item_json.conf

Download raw config

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

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 = """{% itemType:item %}{% itemRarity:rarity %}{% itemMaterial:material %}{% itemEffect:effect %}{% itemLevel:level %}{% itemCharges:charges %}\{
  "id": {id | quote},
  "name": {display_name | quote},
  "type": {itemType | quote},
  "rarity": {itemRarity | quote},
  "level": {itemLevel},
  "properties": \{
    "material": {itemMaterial | quote},
    "effect": {itemEffect | quote},
    "charges": {itemCharges}
  \},
  "description": {description | quote}
\}
"""