#!/usr/bin/env python3
"""upgrade_cost: what it costs one character to get an item to a quality at the Forge of Potential, the honest way.

No creation-time tricks and no relay: one character crafts the item, upgrades it at its crafting station as far as the station
allows, then upgrades it at the Forge of Potential. When an attempt fails, the item breaks; the character crafts a new
copy and starts over. Every roll is the character's real roll, replayed from its creation date and the seeds stored in
its file (see upgrade_oracle.py; Valheim 1.0.30 and newer), so the result is exact for that character, not an average.

    python3 upgrade_cost.py --item "Iron Sword" --target 10 --created "2026-11-25 21:29:31"   # a new character
    python3 upgrade_cost.py --item "Iron Sword" --target 10 --save Ragnar.fch     # uses the seeds already stored
    python3 upgrade_cost.py --item "Iron Sword" --target 10 --save Ragnar.fch --tz Europe/Prague   # the game PC's zone
    python3 upgrade_cost.py --item "Iron Sword" --target 10 --save Ragnar.fch -v  # every copy, step by step

Costs, as the game computes them (Piece.Requirement.GetAmount, Player.ConsumeResources, InventoryGui.DoCrafting):
  * Crafting takes each ingredient's amount. Deep North gear and staffs are crafted as a cast instead, which the Frost
    Foundry cooks into the item on Liquid Frost (5 per cast); a copy then costs the cast recipe plus that fuel.
  * Upgrading to quality q at the station takes per-level amounts:
    (q - 1) x per level below quality 4, and (4 + (q - 4) / 2) x per level (rounded down) from quality 4 on.
  * The station only reaches a level of 1 + one per kind of extension, so some items (Deep North gear, for example)
    stop below their max quality there. The copy is taken to that cap before it goes to the Forge.
  * Each Forge attempt costs one Idol of the item's tier, success or failure; the station ingredients are not used.
  * Gear used as an ingredient (the Nord Sword in a Frostfire Sword, the Ripper in a Wound Ripper) is counted as what
    it takes to craft, recursively, and is never refunded.
  * A break refunds part of the refundable ingredients of the item's upgrade recipe: BREAK_RETURN x (the craft amount +
    the amount of every level up to the one it had), rounded to the nearest whole number (halves to even). Idols and foundry fuel are never refunded, and neither is a cast
    ingredient the upgrade recipe leaves out (the staffs' moulds).

Needs upgrade_oracle.py next to it (for reading saves and replaying rolls). Python 3, standard library only.
"""
import argparse
import json
import math
import sys
from collections import Counter

import upgrade_oracle as oracle

MAX_COPIES = 1_000_000          # give up after crafting this many copies

# BEGIN GENERATED COST DATA (tools/update_cost_data.py rewrites everything up to END GENERATED COST DATA)
# Share of the ingredients (those marked refundable) returned when the Forge of Potential breaks an item.
BREAK_RETURN = 0.6499999761581421
# Prefab name -> recipe facts. resources: the recipe used for upgrades and break refunds, as (ingredient,
# amount, amount per level, is the Idol, refundable). craft: what one new copy costs, as (ingredient, amount,
# the gear ingredient it goes into or None); gear ingredients are replaced by what they take to craft.
ITEMS = {
    'ArmorAshlandsMediumChest': {'name': 'Breastplate of Ask', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Linen Thread', 15, 10, False, True), ('Lox Pelt', 4, 2, False, True), ('Asksvin Hide', 10, 5, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Linen Thread', 15, None), ('Lox Pelt', 4, None), ('Asksvin Hide', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'ArmorAshlandsMediumlegs': {'name': 'Trousers of Ask', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Linen Thread', 15, 10, False, True), ('Lox Pelt', 4, 2, False, True), ('Asksvin Hide', 10, 5, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Linen Thread', 15, None), ('Lox Pelt', 4, None), ('Asksvin Hide', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'ArmorBerserkerChest': {'name': 'Patterns of the Bear', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bear Hide', 5, 2, False, True), ('Bear Paw', 2, 0, False, True), ('Blueberries', 4, 1, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Bear Hide', 5, None), ('Bear Paw', 2, None), ('Blueberries', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'ArmorBerserkerLegs': {'name': 'Loincloth of the Bear', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bear Hide', 5, 2, False, True), ('Blueberries', 4, 1, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Bear Hide', 5, None), ('Blueberries', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'ArmorBerserkerUndeadChest': {'name': 'Vilebone Cage', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bear Hide', 4, 2, False, True), ('Vile Ribcage', 3, 1, False, True), ('Linen Thread', 4, 1, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Bear Hide', 4, None), ('Vile Ribcage', 3, None), ('Linen Thread', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'ArmorBerserkerUndeadLegs': {'name': 'Vilebone Drapes', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bear Hide', 10, 5, False, True), ('Vile Ribcage', 1, 1, False, True), ('Linen Thread', 4, 1, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Bear Hide', 10, None), ('Vile Ribcage', 1, None), ('Linen Thread', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'ArmorBronzeChest': {'name': 'Bronze Plate Tunic', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bronze', 5, 3, False, True), ('Deer Hide', 2, 0, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Bronze', 5, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'ArmorBronzeLegs': {'name': 'Bronze Plate Leggings', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bronze', 5, 3, False, True), ('Deer Hide', 2, 0, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Bronze', 5, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'ArmorCarapaceChest': {'name': 'Carapace Breastplate', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Carapace', 20, 10, False, True), ('Scale Hide', 3, 1, False, True), ('Iron', 5, 0, False, True), ('Refined Eitr', 4, 2, False, True), ('Black Marble Protection Idol', 1, 0, True, False)], 'craft': [('Carapace', 20, None), ('Scale Hide', 3, None), ('Iron', 5, None), ('Refined Eitr', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Protection Idol']},
    'ArmorCarapaceLegs': {'name': 'Carapace Greaves', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Carapace', 20, 10, False, True), ('Scale Hide', 3, 1, False, True), ('Iron', 5, 0, False, True), ('Refined Eitr', 4, 2, False, True), ('Black Marble Protection Idol', 1, 0, True, False)], 'craft': [('Carapace', 20, None), ('Scale Hide', 3, None), ('Iron', 5, None), ('Refined Eitr', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Protection Idol']},
    'ArmorDeepNorthHeavyChest': {'name': 'Breastplate of the Protector', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 15, False, True), ('Mould: Breastplate of the Protector', 1, 0, False, True), ('Moose Hide', 8, 3, False, True), ('Leather Straps', 4, 3, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Breastplate of the Protector', 1, None), ('Moose Hide', 8, None), ('Leather Straps', 4, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Breastplate of the Protector', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'ArmorDeepNorthHeavylegs': {'name': 'Trousers of the Protector', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 15, False, True), ('Mould: Trousers of the Protector', 1, 0, False, True), ('Moose Hide', 8, 3, False, True), ('Leather Straps', 4, 3, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Trousers of the Protector', 1, None), ('Moose Hide', 8, None), ('Leather Straps', 4, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Trousers of the Protector', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'ArmorDeepNorthMageChest': {'name': 'Robes of the Caller', 'station': 'Galdr Table', 'minStationLevel': 3, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 6, 3, False, True), ('Mould: Robes of the Caller', 1, 0, False, True), ('Moose Hide', 6, 3, False, True), ('Nornathread', 5, 3, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 6, None), ('Mould: Robes of the Caller', 1, None), ('Moose Hide', 6, None), ('Nornathread', 5, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Robes of the Caller', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'ArmorDeepNorthMagelegs': {'name': 'Trousers of the Caller', 'station': 'Galdr Table', 'minStationLevel': 3, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 6, 3, False, True), ('Mould: Trousers of the Caller', 1, 0, False, True), ('Moose Hide', 6, 3, False, True), ('Nornathread', 5, 3, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 6, None), ('Mould: Trousers of the Caller', 1, None), ('Moose Hide', 6, None), ('Nornathread', 5, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Trousers of the Caller', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'ArmorDeepNorthMediumChest': {'name': 'Chestpiece of the Vanguard', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 12, 6, False, True), ('Mould: Chestpiece of the Vanguard', 1, 0, False, True), ('Elaking Hair Bundle', 8, 4, False, True), ('Leather Straps', 4, 2, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 12, None), ('Mould: Chestpiece of the Vanguard', 1, None), ('Elaking Hair Bundle', 8, None), ('Leather Straps', 4, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Chestpiece of the Vanguard', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'ArmorDeepNorthMediumlegs': {'name': 'Trousers of the Vanguard', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 12, 6, False, True), ('Mould: Trousers of the Vanguard', 1, 0, False, True), ('Elaking Hair Bundle', 8, 4, False, True), ('Seal Pelt', 4, 2, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 12, None), ('Mould: Trousers of the Vanguard', 1, None), ('Elaking Hair Bundle', 8, None), ('Seal Pelt', 4, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Trousers of the Vanguard', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'ArmorFenringChest': {'name': 'Fenris Coat', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Fenris Hair', 20, 5, False, True), ('Wolf Pelt', 5, 3, False, True), ('Leather Scraps', 10, 4, False, True), ('Silver Protection Idol', 1, 0, True, False)], 'craft': [('Fenris Hair', 20, None), ('Wolf Pelt', 5, None), ('Leather Scraps', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Protection Idol']},
    'ArmorFenringLegs': {'name': 'Fenris Leggings', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Fenris Hair', 20, 5, False, True), ('Wolf Pelt', 5, 3, False, True), ('Leather Scraps', 10, 4, False, True), ('Silver Protection Idol', 1, 0, True, False)], 'craft': [('Fenris Hair', 20, None), ('Wolf Pelt', 5, None), ('Leather Scraps', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Protection Idol']},
    'ArmorFlametalChest': {'name': 'Flametal Breastplate', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Flametal', 20, 10, False, True), ('Asksvin Hide', 3, 1, False, True), ('Charred Bone', 5, 0, False, True), ('Morgen Heart', 1, 0, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Flametal', 20, None), ('Asksvin Hide', 3, None), ('Charred Bone', 5, None), ('Morgen Heart', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'ArmorFlametalLegs': {'name': 'Flametal Greaves', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Flametal', 20, 10, False, True), ('Asksvin Hide', 3, 1, False, True), ('Charred Bone', 5, 0, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Flametal', 20, None), ('Asksvin Hide', 3, None), ('Charred Bone', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'ArmorIronChest': {'name': 'Iron Scale Mail', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Iron', 20, 5, False, True), ('Deer Hide', 2, 0, False, True), ('Iron Protection Idol', 1, 0, True, False)], 'craft': [('Iron', 20, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Protection Idol']},
    'ArmorIronLegs': {'name': 'Iron Greaves', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Iron', 20, 5, False, True), ('Deer Hide', 2, 0, False, True), ('Iron Protection Idol', 1, 0, True, False)], 'craft': [('Iron', 20, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Protection Idol']},
    'ArmorLeatherChest': {'name': 'Leather Tunic', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Deer Hide', 6, 6, False, True), ('Bone Fragments', 0, 5, False, True), ('Wooden Protection Idol', 1, 0, True, False)], 'craft': [('Deer Hide', 6, None), ('Bone Fragments', 0, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Protection Idol']},
    'ArmorLeatherLegs': {'name': 'Leather Trousers', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Deer Hide', 6, 6, False, True), ('Bone Fragments', 0, 5, False, True), ('Wooden Protection Idol', 1, 0, True, False)], 'craft': [('Deer Hide', 6, None), ('Bone Fragments', 0, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Protection Idol']},
    'ArmorLoxChest': {'name': 'Lox Fur Jacket', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Lox Pelt', 5, 6, False, True), ('Bone Fragments', 8, 4, False, True), ('Root', 2, 1, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Lox Pelt', 5, None), ('Bone Fragments', 8, None), ('Root', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'ArmorLoxLegs': {'name': 'Lox Fur Trousers', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Lox Pelt', 5, 3, False, True), ('Bone Fragments', 8, 4, False, True), ('Root', 2, 1, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Lox Pelt', 5, None), ('Bone Fragments', 8, None), ('Root', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'ArmorMageChest': {'name': 'Eitr-weave Robe', 'station': 'Galdr Table', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Linen Thread', 20, 10, False, True), ('Refined Eitr', 20, 5, False, True), ('Feathers', 10, 0, False, True), ('Scale Hide', 5, 0, False, True), ('Black Marble Protection Idol', 1, 0, True, False)], 'craft': [('Linen Thread', 20, None), ('Refined Eitr', 20, None), ('Feathers', 10, None), ('Scale Hide', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Protection Idol']},
    'ArmorMageChest_Ashlands': {'name': 'Robes of Embla', 'station': 'Galdr Table', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Linen Thread', 20, 10, False, True), ('Refined Eitr', 20, 5, False, True), ('Asksvin Hide', 10, 0, False, True), ('Flametal', 5, 2, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Linen Thread', 20, None), ('Refined Eitr', 20, None), ('Asksvin Hide', 10, None), ('Flametal', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'ArmorMageLegs': {'name': 'Eitr-weave Trousers', 'station': 'Galdr Table', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Linen Thread', 20, 10, False, True), ('Refined Eitr', 20, 5, False, True), ('Scale Hide', 10, 0, False, True), ('Black Marble Protection Idol', 1, 0, True, False)], 'craft': [('Linen Thread', 20, None), ('Refined Eitr', 20, None), ('Scale Hide', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Protection Idol']},
    'ArmorMageLegs_Ashlands': {'name': 'Trousers of Embla', 'station': 'Galdr Table', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Linen Thread', 20, 10, False, True), ('Refined Eitr', 20, 5, False, True), ('Asksvin Hide', 10, 0, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Linen Thread', 20, None), ('Refined Eitr', 20, None), ('Asksvin Hide', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'ArmorPaddedCuirass': {'name': 'Padded Cuirass', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Iron', 10, 3, False, True), ('Linen Thread', 20, 10, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Iron', 10, None), ('Linen Thread', 20, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'ArmorPaddedGreaves': {'name': 'Padded Greaves', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Iron', 10, 3, False, True), ('Linen Thread', 20, 10, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Iron', 10, None), ('Linen Thread', 20, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'ArmorRagsChest': {'name': 'Rag Tunic', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 2, 'cap': 2, 'season': None, 'resources': [('Leather Scraps', 5, 5, False, True), ('Wooden Protection Idol', 1, 0, True, False)], 'craft': [('Leather Scraps', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Protection Idol']},
    'ArmorRagsLegs': {'name': 'Rag Trousers', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 2, 'cap': 2, 'season': None, 'resources': [('Leather Scraps', 5, 5, False, True), ('Wooden Protection Idol', 1, 0, True, False)], 'craft': [('Leather Scraps', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Protection Idol']},
    'ArmorRootChest': {'name': 'Root Harnesk', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Root', 10, 2, False, True), ('Ancient Bark', 10, 5, False, True), ('Deer Hide', 2, 0, False, True), ('Iron Protection Idol', 1, 0, True, False)], 'craft': [('Root', 10, None), ('Ancient Bark', 10, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Protection Idol']},
    'ArmorRootLegs': {'name': 'Root Leggings', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Root', 10, 2, False, True), ('Ancient Bark', 10, 5, False, True), ('Deer Hide', 2, 0, False, True), ('Iron Protection Idol', 1, 0, True, False)], 'craft': [('Root', 10, None), ('Ancient Bark', 10, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Protection Idol']},
    'ArmorTrollLeatherChest': {'name': 'Troll Leather Tunic', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Troll Hide', 5, 2, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Troll Hide', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'ArmorTrollLeatherLegs': {'name': 'Troll Leather Trousers', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Troll Hide', 5, 2, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Troll Hide', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'ArmorWolfChest': {'name': 'Wolf Hide Chestpiece', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Silver', 20, 5, False, True), ('Wolf Pelt', 5, 2, False, True), ('Chain', 1, 0, False, True), ('Silver Protection Idol', 1, 0, True, False)], 'craft': [('Silver', 20, None), ('Wolf Pelt', 5, None), ('Chain', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Protection Idol']},
    'ArmorWolfLegs': {'name': 'Wolf Hide Trousers', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Silver', 20, 5, False, True), ('Wolf Pelt', 5, 2, False, True), ('Wolf Fang', 4, 1, False, True), ('Silver Protection Idol', 1, 0, True, False)], 'craft': [('Silver', 20, None), ('Wolf Pelt', 5, None), ('Wolf Fang', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Protection Idol']},
    'AtgeirBlackmetal': {'name': 'Black Metal Atgeir', 'station': 'Forge', 'minStationLevel': 4, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 10, 0, False, True), ('Black Metal', 30, 15, False, True), ('Linen Thread', 5, 5, False, True), ('Black Metal Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 10, None), ('Black Metal', 30, None), ('Linen Thread', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Battle Idol']},
    'AtgeirBronze': {'name': 'Bronze Atgeir', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 10, 0, False, True), ('Bronze', 8, 4, False, True), ('Leather Scraps', 2, 0, False, True), ('Bronze Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 10, None), ('Bronze', 8, None), ('Leather Scraps', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Battle Idol']},
    'AtgeirGold': {'name': 'Nord Atgeir', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Atgeir', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Atgeir', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Atgeir', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'AtgeirGold_BloodLightning': {'name': 'Thunderblood Atgeir', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Atgeir', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Atgeir'), ('Mould: Nord Atgeir', 1, 'Nord Atgeir'), ('Timberwood', 10, 'Nord Atgeir'), ('Liquid Frost', 5, 'Nord Atgeir'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Atgeir and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'AtgeirGold_FrostFire': {'name': 'Frostfire Atgeir', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Atgeir', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Atgeir'), ('Mould: Nord Atgeir', 1, 'Nord Atgeir'), ('Timberwood', 10, 'Nord Atgeir'), ('Liquid Frost', 5, 'Nord Atgeir'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Atgeir and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'AtgeirHimminAfl': {'name': 'Himminafl', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Yggdrasil Wood', 10, 0, False, True), ('Refined Eitr', 15, 15, False, True), ('Silver', 5, 5, False, True), ('Mandible', 2, 2, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Yggdrasil Wood', 10, None), ('Refined Eitr', 15, None), ('Silver', 5, None), ('Mandible', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'AtgeirIron': {'name': 'Iron Atgeir', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 10, 0, False, True), ('Iron', 30, 15, False, True), ('Leather Scraps', 2, 1, False, True), ('Iron Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 10, None), ('Iron', 30, None), ('Leather Scraps', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Battle Idol']},
    'AxeBerzerkr': {'name': 'Berserkir Axes', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Charred Bone', 15, 0, False, True), ('Flametal', 24, 15, False, True), ('Asksvin Hide', 3, 1, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 15, None), ('Flametal', 24, None), ('Asksvin Hide', 3, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'AxeBerzerkrBlood': {'name': 'Bleeding Berserkir Axes', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Berserkir Axes', 1, 0, False, False), ('Flametal', 5, 5, False, True), ('Bloodstone', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 15, 'Berserkir Axes'), ('Flametal', 24, 'Berserkir Axes'), ('Asksvin Hide', 3, 'Berserkir Axes'), ('Flametal', 5, None), ('Bloodstone', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Berserkir Axes and everything crafted into it', 'Bloodstone', 'Flametal Battle Idol']},
    'AxeBerzerkrLightning': {'name': 'Thundering Berserkir Axes', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Berserkir Axes', 1, 0, False, False), ('Flametal', 5, 5, False, True), ('Iolite', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 15, 'Berserkir Axes'), ('Flametal', 24, 'Berserkir Axes'), ('Asksvin Hide', 3, 'Berserkir Axes'), ('Flametal', 5, None), ('Iolite', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Berserkir Axes and everything crafted into it', 'Iolite', 'Flametal Battle Idol']},
    'AxeBerzerkrNature': {'name': 'Primal Berserkir Axes', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Berserkir Axes', 1, 0, False, False), ('Flametal', 5, 5, False, True), ('Jade', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 15, 'Berserkir Axes'), ('Flametal', 24, 'Berserkir Axes'), ('Asksvin Hide', 3, 'Berserkir Axes'), ('Flametal', 5, None), ('Jade', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Berserkir Axes and everything crafted into it', 'Jade', 'Flametal Battle Idol']},
    'AxeBlackMetal': {'name': 'Black Metal Axe', 'station': 'Forge', 'minStationLevel': 4, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 6, 0, False, True), ('Black Metal', 20, 10, False, True), ('Linen Thread', 5, 5, False, True), ('Black Metal Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 6, None), ('Black Metal', 20, None), ('Linen Thread', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Battle Idol']},
    'AxeBronze': {'name': 'Bronze Axe', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 4, 0, False, True), ('Bronze', 8, 4, False, True), ('Leather Scraps', 2, 1, False, True), ('Bronze Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 4, None), ('Bronze', 8, None), ('Leather Scraps', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Battle Idol']},
    'AxeEarly': {'name': 'Early Axes', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 4, 2, False, True), ('Leather Scraps', 0, 2, False, True), ('Curious Axe Head', 1, 0, False, True), ('Mysterious Axe Head', 1, 0, False, True), ('Bronze Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 4, None), ('Leather Scraps', 0, None), ('Curious Axe Head', 1, None), ('Mysterious Axe Head', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Battle Idol']},
    'AxeFlint': {'name': 'Flint Axe', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 4, 0, False, True), ('Flint', 6, 3, False, True), ('Leather Scraps', 0, 2, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 4, None), ('Flint', 6, None), ('Leather Scraps', 0, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'AxeGold': {'name': 'Nord Axe', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Axe', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Axe', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Axe', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'AxeGold_BloodLightning': {'name': 'Thunderblood Axe', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Axe', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Axe'), ('Mould: Nord Axe', 1, 'Nord Axe'), ('Timberwood', 10, 'Nord Axe'), ('Liquid Frost', 5, 'Nord Axe'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Axe and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'AxeGold_FrostFire': {'name': 'Frostfire Axe', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Axe', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Axe'), ('Mould: Nord Axe', 1, 'Nord Axe'), ('Timberwood', 10, 'Nord Axe'), ('Liquid Frost', 5, 'Nord Axe'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Axe and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'AxeIron': {'name': 'Iron Axe', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 4, 0, False, True), ('Iron', 20, 10, False, True), ('Leather Scraps', 2, 1, False, True), ('Iron Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 4, None), ('Iron', 20, None), ('Leather Scraps', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Battle Idol']},
    'AxeJotunBane': {'name': 'Jotun Bane', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Yggdrasil Wood', 5, 0, False, True), ('Iron', 15, 10, False, True), ('Bilebag', 3, 1, False, True), ('Refined Eitr', 10, 1, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Yggdrasil Wood', 5, None), ('Iron', 15, None), ('Bilebag', 3, None), ('Refined Eitr', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'AxeStone': {'name': 'Stone Axe', 'station': None, 'minStationLevel': 1, 'stationMaxLevel': None, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 5, 0, False, True), ('Stone', 4, 2, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 5, None), ('Stone', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'Battleaxe': {'name': 'Battleaxe', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ancient Bark', 30, 5, False, True), ('Iron', 35, 15, False, True), ('Leather Scraps', 4, 0, False, True), ('Iron Battle Idol', 1, 0, True, False)], 'craft': [('Ancient Bark', 30, None), ('Iron', 35, None), ('Leather Scraps', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Battle Idol']},
    'BattleaxeBlackmetal': {'name': 'Black Metal Battleaxe', 'station': 'Forge', 'minStationLevel': 4, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 10, 0, False, True), ('Black Metal', 30, 15, False, True), ('Linen Thread', 5, 5, False, True), ('Black Metal Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 10, None), ('Black Metal', 30, None), ('Linen Thread', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Battle Idol']},
    'BattleaxeCrystal': {'name': 'Crystal Battleaxe', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ancient Bark', 40, 5, False, True), ('Silver', 30, 15, False, True), ('Crystal', 10, 0, False, True), ('Silver Battle Idol', 1, 0, True, False)], 'craft': [('Ancient Bark', 40, None), ('Silver', 30, None), ('Crystal', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Battle Idol']},
    'BattleaxeGold': {'name': 'Nord Greataxe', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Greataxe', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Greataxe', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Greataxe', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'BattleaxeGold_BloodLightning': {'name': 'Thunderblood Greataxe', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Greataxe', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Greataxe'), ('Mould: Nord Greataxe', 1, 'Nord Greataxe'), ('Timberwood', 10, 'Nord Greataxe'), ('Liquid Frost', 5, 'Nord Greataxe'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Greataxe and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'BattleaxeGold_FrostFire': {'name': 'Frostfire Greataxe', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Greataxe', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Greataxe'), ('Mould: Nord Greataxe', 1, 'Nord Greataxe'), ('Timberwood', 10, 'Nord Greataxe'), ('Liquid Frost', 5, 'Nord Greataxe'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Greataxe and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'BattleaxeSkullSplittur': {'name': 'Skull Splittur', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Iron', 30, 15, False, True), ('Yggdrasil Wood', 15, 5, False, True), ('Refined Eitr', 10, 0, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Iron', 30, None), ('Yggdrasil Wood', 15, None), ('Refined Eitr', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'Bow': {'name': 'Crude Bow', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 10, 5, False, True), ('Leather Scraps', 8, 4, False, True), ('Deer Hide', 0, 1, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 10, None), ('Leather Scraps', 8, None), ('Deer Hide', 0, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'BowAshlands': {'name': 'Ash Fang', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ashwood', 10, 5, False, True), ('Charred Bone', 16, 10, False, True), ('Flametal', 5, 5, False, True), ('Bonemaw Tooth', 5, 5, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, None), ('Charred Bone', 16, None), ('Flametal', 5, None), ('Bonemaw Tooth', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'BowAshlandsBlood': {'name': 'Blood Fang', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Ash Fang', 1, 0, False, False), ('Flametal', 5, 5, False, True), ('Bloodstone', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, 'Ash Fang'), ('Charred Bone', 16, 'Ash Fang'), ('Flametal', 5, 'Ash Fang'), ('Bonemaw Tooth', 5, 'Ash Fang'), ('Flametal', 5, None), ('Bloodstone', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Ash Fang and everything crafted into it', 'Bloodstone', 'Flametal Battle Idol']},
    'BowAshlandsRoot': {'name': 'Root Fang', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Ash Fang', 1, 0, False, False), ('Flametal', 5, 5, False, True), ('Jade', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, 'Ash Fang'), ('Charred Bone', 16, 'Ash Fang'), ('Flametal', 5, 'Ash Fang'), ('Bonemaw Tooth', 5, 'Ash Fang'), ('Flametal', 5, None), ('Jade', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Ash Fang and everything crafted into it', 'Jade', 'Flametal Battle Idol']},
    'BowAshlandsStorm': {'name': 'Storm Fang', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Ash Fang', 1, 0, False, False), ('Flametal', 5, 5, False, True), ('Iolite', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, 'Ash Fang'), ('Charred Bone', 16, 'Ash Fang'), ('Flametal', 5, 'Ash Fang'), ('Bonemaw Tooth', 5, 'Ash Fang'), ('Flametal', 5, None), ('Iolite', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Ash Fang and everything crafted into it', 'Iolite', 'Flametal Battle Idol']},
    'BowDraugrFang': {'name': 'Draugr Fang', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ancient Bark', 10, 5, False, True), ('Silver', 20, 10, False, True), ('Deer Hide', 2, 2, False, True), ('Guck', 10, 2, False, True), ('Silver Battle Idol', 1, 0, True, False)], 'craft': [('Ancient Bark', 10, None), ('Silver', 20, None), ('Deer Hide', 2, None), ('Guck', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Battle Idol']},
    'BowFineWood': {'name': 'Finewood Bow', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 10, 5, False, True), ('Corewood', 10, 5, False, True), ('Deer Hide', 2, 2, False, True), ('Bronze Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 10, None), ('Corewood', 10, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Battle Idol']},
    'BowGold': {'name': 'Nord Bow', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Bow', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Bow', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Bow', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'BowGold_BloodLightning': {'name': 'Thunderblood Bow', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Bow', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Bow'), ('Mould: Nord Bow', 1, 'Nord Bow'), ('Timberwood', 10, 'Nord Bow'), ('Liquid Frost', 5, 'Nord Bow'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Bow and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'BowGold_FrostFire': {'name': 'Frostfire Bow', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Bow', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Bow'), ('Mould: Nord Bow', 1, 'Nord Bow'), ('Timberwood', 10, 'Nord Bow'), ('Liquid Frost', 5, 'Nord Bow'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Bow and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'BowHuntsman': {'name': 'Huntsman Bow', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 10, 5, False, True), ('Iron', 20, 10, False, True), ('Feathers', 10, 5, False, True), ('Deer Hide', 2, 2, False, True), ('Iron Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 10, None), ('Iron', 20, None), ('Feathers', 10, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Battle Idol']},
    'BowSpineSnap': {'name': 'Spinesnap', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 10, 5, False, True), ('Bone Fragments', 40, 20, False, True), ('Refined Eitr', 10, 0, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 10, None), ('Bone Fragments', 40, None), ('Refined Eitr', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'CapeAsh': {'name': 'Ashen Cape', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Asksvin Hide', 6, 2, False, True), ('Morgen Sinew', 2, 0, False, True), ('Flametal', 5, 0, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Asksvin Hide', 6, None), ('Morgen Sinew', 2, None), ('Flametal', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'CapeAsksvin': {'name': 'Asksvin Cloak', 'station': 'Galdr Table', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Asksvin Hide', 6, 2, False, True), ('Morgen Sinew', 2, 0, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Asksvin Hide', 6, None), ('Morgen Sinew', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'CapeDeepNorth': {'name': 'Moose Hide Cape', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Moose Hide', 6, 3, False, True), ('Moose Sinew', 2, 1, False, True), ('Bloodgold', 5, 2, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Moose Hide', 6, None), ('Moose Sinew', 2, None), ('Bloodgold', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bloodgold Protection Idol']},
    'CapeDeepNorthMage': {'name': 'Cape of the Caller', 'station': 'Galdr Table', 'minStationLevel': 4, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 2, 'season': None, 'resources': [('Seal Pelt', 6, 3, False, True), ('Nornathread', 2, 1, False, True), ('Bloodgold', 5, 2, False, True), ('Refined Eitr', 15, 5, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Seal Pelt', 6, None), ('Nornathread', 2, None), ('Bloodgold', 5, None), ('Refined Eitr', 15, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bloodgold Protection Idol']},
    'CapeDeerHide': {'name': 'Deer Hide Cape', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Deer Hide', 4, 4, False, True), ('Bone Fragments', 5, 5, False, True), ('Wooden Protection Idol', 1, 0, True, False)], 'craft': [('Deer Hide', 4, None), ('Bone Fragments', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Protection Idol']},
    'CapeFeather': {'name': 'Feather Cape', 'station': 'Galdr Table', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Feathers', 10, 2, False, True), ('Scale Hide', 5, 5, False, True), ('Refined Eitr', 20, 3, False, True), ('Black Marble Protection Idol', 1, 0, True, False)], 'craft': [('Feathers', 10, None), ('Scale Hide', 5, None), ('Refined Eitr', 20, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Protection Idol']},
    'CapeLinen': {'name': 'Linen Cape', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Linen Thread', 20, 4, False, True), ('Silver', 1, 0, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Linen Thread', 20, None), ('Silver', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'CapeLox': {'name': 'Lox Cape', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Lox Pelt', 6, 2, False, True), ('Silver', 2, 0, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Lox Pelt', 6, None), ('Silver', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'CapeOdin': {'name': 'Cape of Oden', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Leather Scraps', 10, 5, False, True), ('Coal', 4, 2, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Leather Scraps', 10, None), ('Coal', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'CapeTrollHide': {'name': 'Troll Hide Cape', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Troll Hide', 10, 5, False, True), ('Bone Fragments', 10, 5, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Troll Hide', 10, None), ('Bone Fragments', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'CapeWolf': {'name': 'Wolf Fur Cape', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wolf Pelt', 6, 4, False, True), ('Silver', 4, 2, False, True), ('Wolf Trophy', 1, 0, False, True), ('Silver Protection Idol', 1, 0, True, False)], 'craft': [('Wolf Pelt', 6, None), ('Silver', 4, None), ('Wolf Trophy', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Protection Idol']},
    'Club': {'name': 'Club', 'station': None, 'minStationLevel': 1, 'stationMaxLevel': None, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 6, 0, False, True), ('Bone Fragments', 0, 5, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 6, None), ('Bone Fragments', 0, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'CrossbowArbalest': {'name': 'Arbalest', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 10, 5, False, True), ('Iron', 8, 4, False, True), ('Root', 4, 1, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 10, None), ('Iron', 8, None), ('Root', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'CrossbowGold': {'name': 'Nord Crossbow', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Crossbow', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Crossbow', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Crossbow', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'CrossbowGold_BloodLightning': {'name': 'Thunderblood Crossbow', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Crossbow', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Crossbow'), ('Mould: Nord Crossbow', 1, 'Nord Crossbow'), ('Timberwood', 10, 'Nord Crossbow'), ('Liquid Frost', 5, 'Nord Crossbow'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Crossbow and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'CrossbowGold_FrostFire': {'name': 'Frostfire Crossbow', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Crossbow', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Crossbow'), ('Mould: Nord Crossbow', 1, 'Nord Crossbow'), ('Timberwood', 10, 'Nord Crossbow'), ('Liquid Frost', 5, 'Nord Crossbow'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Crossbow and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'CrossbowRipper': {'name': 'Ripper', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ashwood', 10, 5, False, True), ('Flametal', 8, 4, False, True), ('Morgen Sinew', 2, 1, False, True), ('Bonemaw Tooth', 4, 4, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, None), ('Flametal', 8, None), ('Morgen Sinew', 2, None), ('Bonemaw Tooth', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'CrossbowRipperBlood': {'name': 'Wound Ripper', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Ripper', 1, 0, False, False), ('Flametal', 8, 8, False, True), ('Bloodstone', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, 'Ripper'), ('Flametal', 8, 'Ripper'), ('Morgen Sinew', 2, 'Ripper'), ('Bonemaw Tooth', 4, 'Ripper'), ('Flametal', 8, None), ('Bloodstone', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Ripper and everything crafted into it', 'Bloodstone', 'Flametal Battle Idol']},
    'CrossbowRipperLightning': {'name': 'Storm Ripper', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Ripper', 1, 0, False, False), ('Flametal', 8, 8, False, True), ('Iolite', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, 'Ripper'), ('Flametal', 8, 'Ripper'), ('Morgen Sinew', 2, 'Ripper'), ('Bonemaw Tooth', 4, 'Ripper'), ('Flametal', 8, None), ('Iolite', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Ripper and everything crafted into it', 'Iolite', 'Flametal Battle Idol']},
    'CrossbowRipperNature': {'name': 'Root Ripper', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Ripper', 1, 0, False, False), ('Flametal', 8, 8, False, True), ('Jade', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, 'Ripper'), ('Flametal', 8, 'Ripper'), ('Morgen Sinew', 2, 'Ripper'), ('Bonemaw Tooth', 4, 'Ripper'), ('Flametal', 8, None), ('Jade', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Ripper and everything crafted into it', 'Jade', 'Flametal Battle Idol']},
    'Cultivator': {'name': 'Cultivator', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Corewood', 5, 1, False, True), ('Bronze', 5, 1, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Corewood', 5, None), ('Bronze', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'FistBjornClaw': {'name': 'Paws of the Bear', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bear Hide', 2, 2, False, True), ('Bear Paw', 2, 0, False, True), ('Leather Scraps', 4, 2, False, True), ('Bronze Battle Idol', 1, 0, True, False)], 'craft': [('Bear Hide', 2, None), ('Bear Paw', 2, None), ('Leather Scraps', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Battle Idol']},
    'FistBjornUndeadClaw': {'name': 'Vilebone Maulclaws', 'station': 'Forge', 'minStationLevel': 4, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bear Hide', 2, 1, False, True), ('Vile Ribcage', 2, 1, False, True), ('Black Metal', 2, 1, False, True), ('Linen Thread', 4, 2, False, True), ('Black Metal Battle Idol', 1, 0, True, False)], 'craft': [('Bear Hide', 2, None), ('Vile Ribcage', 2, None), ('Black Metal', 2, None), ('Linen Thread', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Battle Idol']},
    'FistFenrirClaw': {'name': 'Flesh Rippers', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Fenris Hair', 10, 1, False, True), ('Fenris Claw', 6, 1, False, True), ('Silver', 10, 1, False, True), ('Silver Battle Idol', 1, 0, True, False)], 'craft': [('Fenris Hair', 10, None), ('Fenris Claw', 6, None), ('Silver', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Battle Idol']},
    'FistGold': {'name': 'Nord Knucklechains', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Knucklechains', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Knucklechains', 1, None), ('Long Claws', 2, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Knucklechains', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': ['Long Claws'], 'neverRefunded': ['Liquid Frost', 'Long Claws', 'Bloodgold Battle Idol']},
    'FistGold_BloodLightning': {'name': 'Thunderblood Knucklechains', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Knucklechains', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Knucklechains'), ('Mould: Nord Knucklechains', 1, 'Nord Knucklechains'), ('Long Claws', 2, 'Nord Knucklechains'), ('Liquid Frost', 5, 'Nord Knucklechains'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Knucklechains and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'FistGold_FrostFire': {'name': 'Frostfire Knucklechains', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Knucklechains', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Knucklechains'), ('Mould: Nord Knucklechains', 1, 'Nord Knucklechains'), ('Long Claws', 2, 'Nord Knucklechains'), ('Liquid Frost', 5, 'Nord Knucklechains'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Knucklechains and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'Hammer': {'name': 'Hammer', 'station': None, 'minStationLevel': 1, 'stationMaxLevel': None, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Wood', 3, 1, False, True), ('Stone', 2, 1, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 3, None), ('Stone', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'HelmetAshlandsMediumHood': {'name': 'Hood of Ask', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Linen Thread', 15, 10, False, True), ('Lox Pelt', 4, 2, False, True), ('Asksvin Hide', 10, 5, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Linen Thread', 15, None), ('Lox Pelt', 4, None), ('Asksvin Hide', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'HelmetBerserkerHood': {'name': 'Headdress of the Bear', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bear Hide', 5, 2, False, True), ('Bear Trophy', 1, 0, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Bear Hide', 5, None), ('Bear Trophy', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'HelmetBerserkerUndead': {'name': 'Vilebone Visage', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bear Hide', 5, 2, False, True), ('Vile Trophy', 1, 0, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Bear Hide', 5, None), ('Vile Trophy', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'HelmetBronze': {'name': 'Bronze Helmet', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bronze', 5, 3, False, True), ('Deer Hide', 2, 0, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Bronze', 5, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'HelmetCarapace': {'name': 'Carapace Helmet', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Carapace', 16, 8, False, True), ('Scale Hide', 3, 1, False, True), ('Mandible', 2, 0, False, True), ('Refined Eitr', 4, 2, False, True), ('Black Marble Protection Idol', 1, 0, True, False)], 'craft': [('Carapace', 16, None), ('Scale Hide', 3, None), ('Mandible', 2, None), ('Refined Eitr', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Protection Idol']},
    'HelmetCelebration': {'name': 'Celebratory Cap', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Deer Hide', 2, 1, False, True), ('Bronze', 1, 1, False, True), ('Bear Hide', 1, 0, False, True), ('Amber Pearl', 1, 0, False, True), ('Wooden Protection Idol', 1, 0, True, False)], 'craft': [('Deer Hide', 2, None), ('Bronze', 1, None), ('Bear Hide', 1, None), ('Amber Pearl', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Protection Idol']},
    'HelmetDNHeavy': {'name': 'Helmet of the Protector', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 15, False, True), ('Mould: Helmet of the Protector', 1, 0, False, True), ('Moose Hide', 4, 3, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Helmet of the Protector', 1, None), ('Moose Hide', 4, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Helmet of the Protector', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'HelmetDNMage': {'name': 'Headdress of the Caller', 'station': 'Galdr Table', 'minStationLevel': 3, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Moose Sinew', 2, 1, False, True), ('Mould: Headdress of the Caller', 1, 0, False, True), ('Moose Trophy', 1, 0, False, True), ('Nornathread', 3, 2, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Moose Sinew', 2, None), ('Mould: Headdress of the Caller', 1, None), ('Moose Trophy', 1, None), ('Nornathread', 3, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Headdress of the Caller', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'HelmetDNMediumHood': {'name': 'Hood of the Vanguard', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Seal Pelt', 5, 3, False, True), ('Mould: Hood of the Vanguard', 1, 0, False, True), ('Moose Hide', 5, 3, False, True), ('Moose Sinew', 1, 1, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Seal Pelt', 5, None), ('Mould: Hood of the Vanguard', 1, None), ('Moose Hide', 5, None), ('Moose Sinew', 1, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Hood of the Vanguard', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'HelmetDrake': {'name': 'Drake Helmet', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Silver', 20, 5, False, True), ('Wolf Pelt', 2, 0, False, True), ('Drake Trophy', 2, 0, False, True), ('Silver Protection Idol', 1, 0, True, False)], 'craft': [('Silver', 20, None), ('Wolf Pelt', 2, None), ('Drake Trophy', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Protection Idol']},
    'HelmetFenring': {'name': 'Fenris Hood', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Fenris Hair', 20, 5, False, True), ('Wolf Pelt', 2, 4, False, True), ('Cultist Trophy', 1, 0, False, True), ('Silver Protection Idol', 1, 0, True, False)], 'craft': [('Fenris Hair', 20, None), ('Wolf Pelt', 2, None), ('Cultist Trophy', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Protection Idol']},
    'HelmetFishingHat': {'name': 'Fishing Hat', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Perch', 1, 1, False, True), ('Pike', 1, 1, False, True), ('Tuna', 1, 1, False, True), ('Tetra', 1, 1, False, True), ('Trollfish', 1, 1, False, True), ('Giant Herring', 1, 1, False, True), ('Grouper', 1, 1, False, True), ('Coral Cod', 1, 1, False, True), ('Anglerfish', 1, 1, False, True), ('Northern Salmon', 1, 1, False, True), ('Magmafish', 1, 1, False, True), ('Pufferfish', 1, 1, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Perch', 1, None), ('Pike', 1, None), ('Tuna', 1, None), ('Tetra', 1, None), ('Trollfish', 1, None), ('Giant Herring', 1, None), ('Grouper', 1, None), ('Coral Cod', 1, None), ('Anglerfish', 1, None), ('Northern Salmon', 1, None), ('Magmafish', 1, None), ('Pufferfish', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'HelmetFlametal': {'name': 'Flametal Helmet', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Flametal', 16, 8, False, True), ('Asksvin Hide', 3, 1, False, True), ('Charred Bone', 2, 0, False, True), ('Refined Eitr', 4, 2, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Flametal', 16, None), ('Asksvin Hide', 3, None), ('Charred Bone', 2, None), ('Refined Eitr', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'HelmetIron': {'name': 'Iron Helmet', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Iron', 20, 5, False, True), ('Deer Hide', 2, 0, False, True), ('Iron Protection Idol', 1, 0, True, False)], 'craft': [('Iron', 20, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Protection Idol']},
    'HelmetLeather': {'name': 'Leather Helmet', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Deer Hide', 6, 6, False, True), ('Bone Fragments', 0, 5, False, True), ('Wooden Protection Idol', 1, 0, True, False)], 'craft': [('Deer Hide', 6, None), ('Bone Fragments', 0, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Protection Idol']},
    'HelmetLox': {'name': 'Lox Fur Hood', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Lox Pelt', 4, 2, False, True), ('Bone Fragments', 4, 2, False, True), ('Writhan Roots', 2, 1, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Lox Pelt', 4, None), ('Bone Fragments', 4, None), ('Writhan Roots', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'HelmetMage': {'name': 'Eitr-weave Hood', 'station': 'Galdr Table', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Linen Thread', 16, 8, False, True), ('Refined Eitr', 15, 5, False, True), ('Iron', 2, 0, False, True), ('Black Marble Protection Idol', 1, 0, True, False)], 'craft': [('Linen Thread', 16, None), ('Refined Eitr', 15, None), ('Iron', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Protection Idol']},
    'HelmetMage_Ashlands': {'name': 'Hood of Embla', 'station': 'Galdr Table', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Linen Thread', 16, 8, False, True), ('Refined Eitr', 15, 5, False, True), ('Asksvin Hide', 2, 0, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Linen Thread', 16, None), ('Refined Eitr', 15, None), ('Asksvin Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'HelmetOdin': {'name': 'Hood of Oden', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Leather Scraps', 10, 5, False, True), ('Coal', 4, 2, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Leather Scraps', 10, None), ('Coal', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'HelmetPadded': {'name': 'Padded Helmet', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Iron', 10, 5, False, True), ('Linen Thread', 15, 10, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Iron', 10, None), ('Linen Thread', 15, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'HelmetPointyHat': {'name': 'Pointy Hat', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': 'Halloween', 'resources': [('Deer Hide', 3, 5, False, True), ('Coal', 5, 0, False, True), ('Bronze', 1, 0, False, True), ('Wooden Protection Idol', 1, 0, True, False)], 'craft': [('Deer Hide', 3, None), ('Coal', 5, None), ('Bronze', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Protection Idol']},
    'HelmetRoot': {'name': 'Root Mask', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Root', 10, 2, False, True), ('Ancient Bark', 10, 5, False, True), ('Leather Scraps', 4, 0, False, True), ('Iron Protection Idol', 1, 0, True, False)], 'craft': [('Root', 10, None), ('Ancient Bark', 10, None), ('Leather Scraps', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Protection Idol']},
    'HelmetTrollLeather': {'name': 'Troll Leather Hood', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Troll Hide', 5, 2, False, True), ('Bone Fragments', 3, 1, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Troll Hide', 5, None), ('Bone Fragments', 3, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'Hoe': {'name': 'Hoe', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Wood', 5, 1, False, True), ('Stone', 2, 1, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 5, None), ('Stone', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'KnifeBlackMetal': {'name': 'Black Metal Knife', 'station': 'Forge', 'minStationLevel': 4, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 4, 0, False, True), ('Black Metal', 10, 4, False, True), ('Linen Thread', 5, 5, False, True), ('Black Metal Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 4, None), ('Black Metal', 10, None), ('Linen Thread', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Battle Idol']},
    'KnifeChitin': {'name': 'Abyssal Razor', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 4, 0, False, True), ('Chitin', 20, 10, False, True), ('Leather Scraps', 2, 0, False, True), ('Iron Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 4, None), ('Chitin', 20, None), ('Leather Scraps', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Battle Idol']},
    'KnifeCopper': {'name': 'Copper Knife', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 2, 0, False, True), ('Copper', 8, 4, False, True), ('Greydwarf Eye', 0, 8, False, True), ('Bronze Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 2, None), ('Copper', 8, None), ('Greydwarf Eye', 0, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Battle Idol']},
    'KnifeFlint': {'name': 'Flint Knife', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 2, 0, False, True), ('Flint', 4, 2, False, True), ('Leather Scraps', 2, 0, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 2, None), ('Flint', 4, None), ('Leather Scraps', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'KnifeGold': {'name': 'Nord Dagger', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Dagger', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Dagger', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Dagger', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'KnifeGold_BloodLightning': {'name': 'Thunderblood Dagger', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Dagger', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Dagger'), ('Mould: Nord Dagger', 1, 'Nord Dagger'), ('Timberwood', 10, 'Nord Dagger'), ('Liquid Frost', 5, 'Nord Dagger'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Dagger and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'KnifeGold_FrostFire': {'name': 'Frostfire Dagger', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Dagger', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Dagger'), ('Mould: Nord Dagger', 1, 'Nord Dagger'), ('Timberwood', 10, 'Nord Dagger'), ('Liquid Frost', 5, 'Nord Dagger'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Dagger and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'KnifeSilver': {'name': 'Silver Knife', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 2, 1, False, True), ('Silver', 10, 5, False, True), ('Leather Scraps', 3, 1, False, True), ('Iron', 2, 1, False, True), ('Silver Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 2, None), ('Silver', 10, None), ('Leather Scraps', 3, None), ('Iron', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Battle Idol']},
    'KnifeSkollAndHati': {'name': 'Skoll and Hati', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 4, 0, False, True), ('Iron', 10, 4, False, True), ('Black Metal', 10, 4, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 4, None), ('Iron', 10, None), ('Black Metal', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'MaceBronze': {'name': 'Bronze Mace', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 4, 0, False, True), ('Bronze', 8, 4, False, True), ('Leather Scraps', 3, 0, False, True), ('Bronze Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 4, None), ('Bronze', 8, None), ('Leather Scraps', 3, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Battle Idol']},
    'MaceEldner': {'name': 'Flametal Mace', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Charred Bone', 10, 5, False, True), ('Flametal', 15, 8, False, True), ('Sulfur', 5, 3, False, True), ('Asksvin Hide', 3, 2, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 10, None), ('Flametal', 15, None), ('Sulfur', 5, None), ('Asksvin Hide', 3, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'MaceEldnerBlood': {'name': 'Bloodgeon', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Flametal Mace', 1, 0, False, False), ('Flametal', 8, 8, False, True), ('Bloodstone', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 10, 'Flametal Mace'), ('Flametal', 15, 'Flametal Mace'), ('Sulfur', 5, 'Flametal Mace'), ('Asksvin Hide', 3, 'Flametal Mace'), ('Flametal', 8, None), ('Bloodstone', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Mace and everything crafted into it', 'Bloodstone', 'Flametal Battle Idol']},
    'MaceEldnerLightning': {'name': 'Storm Star', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Flametal Mace', 1, 0, False, False), ('Flametal', 8, 8, False, True), ('Iolite', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 10, 'Flametal Mace'), ('Flametal', 15, 'Flametal Mace'), ('Sulfur', 5, 'Flametal Mace'), ('Asksvin Hide', 3, 'Flametal Mace'), ('Flametal', 8, None), ('Iolite', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Mace and everything crafted into it', 'Iolite', 'Flametal Battle Idol']},
    'MaceEldnerNature': {'name': 'Klossen', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Flametal Mace', 1, 0, False, False), ('Flametal', 8, 8, False, True), ('Jade', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 10, 'Flametal Mace'), ('Flametal', 15, 'Flametal Mace'), ('Sulfur', 5, 'Flametal Mace'), ('Asksvin Hide', 3, 'Flametal Mace'), ('Flametal', 8, None), ('Jade', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Mace and everything crafted into it', 'Jade', 'Flametal Battle Idol']},
    'MaceGold': {'name': 'Nord Mace', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Mace', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Mace', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Mace', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'MaceGold_BloodLightning': {'name': 'Thunderblood Mace', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Mace', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Mace'), ('Mould: Nord Mace', 1, 'Nord Mace'), ('Timberwood', 10, 'Nord Mace'), ('Liquid Frost', 5, 'Nord Mace'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Mace and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'MaceGold_FrostFire': {'name': 'Frostfire Mace', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Mace', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Mace'), ('Mould: Nord Mace', 1, 'Nord Mace'), ('Timberwood', 10, 'Nord Mace'), ('Liquid Frost', 5, 'Nord Mace'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Mace and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'MaceIron': {'name': 'Iron Mace', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 4, 0, False, True), ('Iron', 20, 10, False, True), ('Leather Scraps', 3, 0, False, True), ('Iron Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 4, None), ('Iron', 20, None), ('Leather Scraps', 3, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Battle Idol']},
    'MaceNeedle': {'name': 'Porcupine', 'station': 'Forge', 'minStationLevel': 4, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 5, 0, False, True), ('Iron', 20, 2, False, True), ('Needle', 5, 2, False, True), ('Linen Thread', 10, 0, False, True), ('Black Metal Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 5, None), ('Iron', 20, None), ('Needle', 5, None), ('Linen Thread', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Battle Idol']},
    'MaceSilver': {'name': 'Frostner', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ancient Bark', 10, 0, False, True), ('Silver', 30, 15, False, True), ('Ymir Flesh', 5, 0, False, True), ('Freeze Gland', 5, 0, False, True), ('Silver Battle Idol', 1, 0, True, False)], 'craft': [('Ancient Bark', 10, None), ('Silver', 30, None), ('Ymir Flesh', 5, None), ('Freeze Gland', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Battle Idol']},
    'PickaxeBlackMetal': {'name': 'Black Metal Pickaxe', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Yggdrasil Wood', 3, 1, False, True), ('Black Metal', 25, 15, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Yggdrasil Wood', 3, None), ('Black Metal', 25, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'PickaxeBronze': {'name': 'Bronze Pickaxe', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Corewood', 3, 1, False, True), ('Bronze', 10, 5, False, True), ('Bronze Battle Idol', 1, 0, True, False)], 'craft': [('Corewood', 3, None), ('Bronze', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Battle Idol']},
    'PickaxeIron': {'name': 'Iron Pickaxe', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Corewood', 3, 1, False, True), ('Iron', 20, 10, False, True), ('Iron Battle Idol', 1, 0, True, False)], 'craft': [('Corewood', 3, None), ('Iron', 20, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Battle Idol']},
    'Scythe': {'name': 'Scythe', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Scythe Handle', 1, 0, False, True), ('Silver', 6, 5, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Scythe Handle', 1, None), ('Silver', 6, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'ShieldBanded': {'name': 'Banded Shield', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Finewood', 10, 10, False, True), ('Iron', 8, 4, False, True), ('Iron Protection Idol', 1, 0, True, False)], 'craft': [('Finewood', 10, None), ('Iron', 8, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Protection Idol']},
    'ShieldBlackmetal': {'name': 'Black Metal Shield', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Finewood', 10, 10, False, True), ('Black Metal', 8, 4, False, True), ('Chain', 5, 2, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Finewood', 10, None), ('Black Metal', 8, None), ('Chain', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'ShieldBlackmetalTower': {'name': 'Black Metal Tower Shield', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Finewood', 15, 10, False, True), ('Black Metal', 10, 4, False, True), ('Chain', 7, 2, False, True), ('Black Metal Protection Idol', 1, 0, True, False)], 'craft': [('Finewood', 15, None), ('Black Metal', 10, None), ('Chain', 7, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Protection Idol']},
    'ShieldBoneTower': {'name': 'Bone Tower Shield', 'station': 'Workbench', 'minStationLevel': 3, 'stationMaxLevel': 5, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Wood', 10, 5, False, True), ('Bone Fragments', 10, 5, False, True), ('Skeleton Trophy', 3, 0, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Wood', 10, None), ('Bone Fragments', 10, None), ('Skeleton Trophy', 3, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'ShieldBronzeBuckler': {'name': 'Bronze Buckler', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Bronze', 10, 5, False, True), ('Wood', 4, 1, False, True), ('Bronze Protection Idol', 1, 0, True, False)], 'craft': [('Bronze', 10, None), ('Wood', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Protection Idol']},
    'ShieldCarapace': {'name': 'Carapace Shield', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Carapace', 20, 10, False, True), ('Scale Hide', 3, 3, False, True), ('Refined Eitr', 10, 3, False, True), ('Black Marble Protection Idol', 1, 0, True, False)], 'craft': [('Carapace', 20, None), ('Scale Hide', 3, None), ('Refined Eitr', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Protection Idol']},
    'ShieldCarapaceBuckler': {'name': 'Carapace Buckler', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Carapace', 16, 8, False, True), ('Scale Hide', 3, 3, False, True), ('Refined Eitr', 10, 3, False, True), ('Black Marble Protection Idol', 1, 0, True, False)], 'craft': [('Carapace', 16, None), ('Scale Hide', 3, None), ('Refined Eitr', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Protection Idol']},
    'ShieldFlametal': {'name': 'Flametal Shield', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Ashwood', 10, 10, False, True), ('Flametal', 8, 4, False, True), ('Asksvin Hide', 2, 2, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, None), ('Flametal', 8, None), ('Asksvin Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'ShieldFlametalTower': {'name': 'Flametal Tower Shield', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Ashwood', 15, 10, False, True), ('Flametal', 10, 4, False, True), ('Asksvin Hide', 5, 2, False, True), ('Flametal Protection Idol', 1, 0, True, False)], 'craft': [('Ashwood', 15, None), ('Flametal', 10, None), ('Asksvin Hide', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Protection Idol']},
    'ShieldGold': {'name': 'Nord Shield', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 15, 8, False, True), ('Mould: Nord Shield', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 15, None), ('Mould: Nord Shield', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Shield', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'ShieldGoldBuckler': {'name': 'Nord Buckler', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 10, 5, False, True), ('Mould: Nord Buckler', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 10, None), ('Mould: Nord Buckler', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Buckler', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'ShieldGoldTower': {'name': 'Nord Greatshield', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Greatshield', 1, 0, False, True), ('Timberwood', 20, 10, False, True), ('Bloodgold Protection Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Greatshield', 1, None), ('Timberwood', 20, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Greatshield', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Protection Idol']},
    'ShieldIronBuckler': {'name': 'Iron Buckler', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Iron', 10, 5, False, True), ('Ancient Bark', 4, 1, False, True), ('Iron Protection Idol', 1, 0, True, False)], 'craft': [('Iron', 10, None), ('Ancient Bark', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Protection Idol']},
    'ShieldIronTower': {'name': 'Iron Tower Shield', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Finewood', 15, 10, False, True), ('Iron', 10, 5, False, True), ('Iron Protection Idol', 1, 0, True, False)], 'craft': [('Finewood', 15, None), ('Iron', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Protection Idol']},
    'ShieldRoots': {'name': 'Shield of Roots', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Finewood', 10, 5, False, True), ('Writhan Roots', 1, 2, False, True), ('Iron Protection Idol', 1, 0, True, False)], 'craft': [('Finewood', 10, None), ('Writhan Roots', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Protection Idol']},
    'ShieldSerpentscale': {'name': 'Serpent Scale Shield', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Finewood', 10, 10, False, True), ('Iron', 4, 2, False, True), ('Serpent Scale', 8, 4, False, True), ('Silver Protection Idol', 1, 0, True, False)], 'craft': [('Finewood', 10, None), ('Iron', 4, None), ('Serpent Scale', 8, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Protection Idol']},
    'ShieldSilver': {'name': 'Silver Shield', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Finewood', 10, 10, False, True), ('Silver', 8, 4, False, True), ('Silver Protection Idol', 1, 0, True, False)], 'craft': [('Finewood', 10, None), ('Silver', 8, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Protection Idol']},
    'ShieldWood': {'name': 'Wood Shield', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Wood', 10, 5, False, True), ('Resin', 4, 2, False, True), ('Leather Scraps', 4, 2, False, True), ('Wooden Protection Idol', 1, 0, True, False)], 'craft': [('Wood', 10, None), ('Resin', 4, None), ('Leather Scraps', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Protection Idol']},
    'ShieldWoodTower': {'name': 'Wood Tower Shield', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Wood', 10, 5, False, True), ('Leather Scraps', 6, 3, False, True), ('Wooden Protection Idol', 1, 0, True, False)], 'craft': [('Wood', 10, None), ('Leather Scraps', 6, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Protection Idol']},
    'Shovel': {'name': 'Snow Shovel', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 3, 'cap': 3, 'season': None, 'resources': [('Finewood', 5, 1, False, True), ('Flametal', 4, 10, False, True), ('Embers', 2, 0, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 5, None), ('Flametal', 4, None), ('Embers', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'SledgeDemolisher': {'name': 'Demolisher', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Yggdrasil Wood', 10, 2, False, True), ('Iron', 20, 15, False, True), ('Refined Eitr', 10, 2, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Yggdrasil Wood', 10, None), ('Iron', 20, None), ('Refined Eitr', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'SledgeGold': {'name': 'Nord Sledge', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Sledge', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Sledge', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Sledge', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'SledgeGold_BloodLightning': {'name': 'Thunderblood Sledge', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Sledge', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Sledge'), ('Mould: Nord Sledge', 1, 'Nord Sledge'), ('Timberwood', 10, 'Nord Sledge'), ('Liquid Frost', 5, 'Nord Sledge'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Sledge and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'SledgeGold_FrostFire': {'name': 'Frostfire Sledge', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Sledge', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Sledge'), ('Mould: Nord Sledge', 1, 'Nord Sledge'), ('Timberwood', 10, 'Nord Sledge'), ('Liquid Frost', 5, 'Nord Sledge'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Sledge and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'SledgeIron': {'name': 'Iron Sledge', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ancient Bark', 10, 2, False, True), ('Iron', 30, 15, False, True), ('Ymir Flesh', 4, 2, False, True), ('Draugr Elite Trophy', 1, 0, False, True), ('Iron Battle Idol', 1, 0, True, False)], 'craft': [('Ancient Bark', 10, None), ('Iron', 30, None), ('Ymir Flesh', 4, None), ('Draugr Elite Trophy', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Battle Idol']},
    'SledgeStagbreaker': {'name': 'Stagbreaker', 'station': 'Workbench', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Corewood', 20, 5, False, True), ('Deer Trophy', 5, 2, False, True), ('Leather Scraps', 2, 1, False, True), ('Bone Fragments', 0, 10, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Corewood', 20, None), ('Deer Trophy', 5, None), ('Leather Scraps', 2, None), ('Bone Fragments', 0, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'SpearBronze': {'name': 'Bronze Spear', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 5, 3, False, True), ('Bronze', 6, 4, False, True), ('Deer Hide', 2, 1, False, True), ('Bronze Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 5, None), ('Bronze', 6, None), ('Deer Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Battle Idol']},
    'SpearCarapace': {'name': 'Carapace Spear', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Yggdrasil Wood', 10, 5, False, True), ('Carapace', 4, 4, False, True), ('Mandible', 2, 1, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Yggdrasil Wood', 10, None), ('Carapace', 4, None), ('Mandible', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'SpearElderbark': {'name': 'Ancient Bark Spear', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Troll Hide', 4, 1, False, True), ('Iron', 10, 5, False, True), ('Ancient Bark', 10, 5, False, True), ('Iron Battle Idol', 1, 0, True, False)], 'craft': [('Troll Hide', 4, None), ('Iron', 10, None), ('Ancient Bark', 10, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Battle Idol']},
    'SpearFlint': {'name': 'Flint Spear', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 5, 3, False, True), ('Flint', 10, 5, False, True), ('Leather Scraps', 2, 1, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 5, None), ('Flint', 10, None), ('Leather Scraps', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'SpearGold': {'name': 'Nord Spear', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Spear', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Spear', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Spear', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'SpearGold_BloodLightning': {'name': 'Thunderblood Spear', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Spear', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Spear'), ('Mould: Nord Spear', 1, 'Nord Spear'), ('Timberwood', 10, 'Nord Spear'), ('Liquid Frost', 5, 'Nord Spear'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Spear and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'SpearGold_FrostFire': {'name': 'Frostfire Spear', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Spear', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Spear'), ('Mould: Nord Spear', 1, 'Nord Spear'), ('Timberwood', 10, 'Nord Spear'), ('Liquid Frost', 5, 'Nord Spear'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Spear and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'SpearSplitner': {'name': 'Splitnir', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ashwood', 10, 5, False, True), ('Flametal', 6, 6, False, True), ('Asksvin Hide', 2, 1, False, True), ('Bonemaw Tooth', 3, 3, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, None), ('Flametal', 6, None), ('Asksvin Hide', 2, None), ('Bonemaw Tooth', 3, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'SpearSplitner_Blood': {'name': 'Splitnir the Bleeding', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Splitnir', 1, 0, False, False), ('Flametal', 6, 6, False, True), ('Bloodstone', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, 'Splitnir'), ('Flametal', 6, 'Splitnir'), ('Asksvin Hide', 2, 'Splitnir'), ('Bonemaw Tooth', 3, 'Splitnir'), ('Flametal', 6, None), ('Bloodstone', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Splitnir and everything crafted into it', 'Bloodstone', 'Flametal Battle Idol']},
    'SpearSplitner_Lightning': {'name': 'Splitnir the Storming', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Splitnir', 1, 0, False, False), ('Flametal', 6, 6, False, True), ('Iolite', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, 'Splitnir'), ('Flametal', 6, 'Splitnir'), ('Asksvin Hide', 2, 'Splitnir'), ('Bonemaw Tooth', 3, 'Splitnir'), ('Flametal', 6, None), ('Iolite', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Splitnir and everything crafted into it', 'Iolite', 'Flametal Battle Idol']},
    'SpearSplitner_Nature': {'name': 'Splitnir the Primal', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Splitnir', 1, 0, False, False), ('Flametal', 6, 6, False, True), ('Jade', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, 'Splitnir'), ('Flametal', 6, 'Splitnir'), ('Asksvin Hide', 2, 'Splitnir'), ('Bonemaw Tooth', 3, 'Splitnir'), ('Flametal', 6, None), ('Jade', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Splitnir and everything crafted into it', 'Jade', 'Flametal Battle Idol']},
    'SpearWolfFang': {'name': 'Fang Spear', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ancient Bark', 10, 5, False, True), ('Wolf Fang', 4, 2, False, True), ('Leather Scraps', 2, 1, False, True), ('Silver', 2, 1, False, True), ('Silver Battle Idol', 1, 0, True, False)], 'craft': [('Ancient Bark', 10, None), ('Wolf Fang', 4, None), ('Leather Scraps', 2, None), ('Silver', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Battle Idol']},
    'StaffClusterbomb': {'name': 'Staff of Fracturing', 'station': 'Galdr Table', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Charred Bone', 15, 5, False, True), ('Ashwood', 5, 3, False, True), ('Proustite Powder', 8, 1, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 15, None), ('Ashwood', 5, None), ('Proustite Powder', 8, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'StaffFireball': {'name': 'Staff of Embers', 'station': 'Galdr Table', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Yggdrasil Wood', 20, 10, False, True), ('Surtling Core', 4, 2, False, True), ('Refined Eitr', 16, 8, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Yggdrasil Wood', 20, None), ('Surtling Core', 4, None), ('Refined Eitr', 16, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'StaffFrostOrbs': {'name': 'Northern Vengeance', 'station': 'Galdr Table', 'minStationLevel': 3, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Ice', 10, 5, False, True), ('Nornathread', 5, 2, False, True), ('Hexen Trophy', 1, 0, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Ice', 10, None), ('Nornathread', 5, None), ('Hexen Trophy', 1, None), ('Mould: Northern Vengeance', 1, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Northern Vengeance', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': ['Mould: Northern Vengeance'], 'neverRefunded': ['Liquid Frost', 'Mould: Northern Vengeance', 'Bloodgold Battle Idol']},
    'StaffGreenRoots': {'name': 'Staff of the Wild', 'station': 'Galdr Table', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ashwood', 15, 5, False, True), ('Fiddlehead', 10, 2, False, True), ('Celestial Feather', 3, 3, False, True), ('Jade', 1, 1, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 15, None), ('Fiddlehead', 10, None), ('Celestial Feather', 3, None), ('Jade', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'StaffIceShards': {'name': 'Staff of Frost', 'station': 'Galdr Table', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Yggdrasil Wood', 20, 10, False, True), ('Freeze Gland', 4, 2, False, True), ('Refined Eitr', 16, 8, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Yggdrasil Wood', 20, None), ('Freeze Gland', 4, None), ('Refined Eitr', 16, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'StaffLightning': {'name': 'Dundr', 'station': 'Galdr Table', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Ashwood', 10, 5, False, True), ('Flametal', 4, 2, False, True), ('Celestial Feather', 3, 3, False, True), ('Bloodstone', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Ashwood', 10, None), ('Flametal', 4, None), ('Celestial Feather', 3, None), ('Bloodstone', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bloodstone', 'Flametal Battle Idol']},
    'StaffOrbofAhri': {'name': 'Echo Spike', 'station': 'Galdr Table', 'minStationLevel': 3, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 10, 5, False, True), ('Nornathread', 4, 2, False, True), ('Frostfire Essence', 1, 1, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 10, None), ('Nornathread', 4, None), ('Frostfire Essence', 1, None), ('Mould: Echo Spike', 1, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Echo Spike', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': ['Mould: Echo Spike'], 'neverRefunded': ['Liquid Frost', 'Mould: Echo Spike', 'Bloodgold Battle Idol']},
    'StaffRedTroll': {'name': 'Trollstav', 'station': 'Galdr Table', 'minStationLevel': 2, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Charred Bone', 15, 5, False, True), ('Troll Trophy', 1, 1, False, True), ('Flametal', 3, 3, False, True), ('Bloodstone', 1, 1, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 15, None), ('Troll Trophy', 1, None), ('Flametal', 3, None), ('Bloodstone', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'StaffShield': {'name': 'Staff of Protection', 'station': 'Galdr Table', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Yggdrasil Wood', 20, 10, False, True), ('Blood Clot', 4, 2, False, True), ('Refined Eitr', 16, 8, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Yggdrasil Wood', 20, None), ('Blood Clot', 4, None), ('Refined Eitr', 16, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'StaffSkeleton': {'name': 'Dead Raiser', 'station': 'Galdr Table', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Bone Fragments', 10, 5, False, True), ('Refined Eitr', 16, 8, False, True), ('Skeleton Trophy', 4, 2, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Bone Fragments', 10, None), ('Refined Eitr', 16, None), ('Skeleton Trophy', 4, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'StaffSpiritCaller': {'name': 'Spirit Caller', 'station': 'Galdr Table', 'minStationLevel': 3, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Frozen Branch', 8, 4, False, True), ('Nornathread', 5, 2, False, True), ('Moose Trophy', 1, 0, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Frozen Branch', 8, None), ('Nornathread', 5, None), ('Moose Trophy', 1, None), ('Mould: Spirit Caller', 1, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Spirit Caller', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': ['Mould: Spirit Caller'], 'neverRefunded': ['Liquid Frost', 'Mould: Spirit Caller', 'Bloodgold Battle Idol']},
    'StaffThunderBlood': {'name': 'Lightning Strike', 'station': 'Galdr Table', 'minStationLevel': 3, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 10, 5, False, True), ('Nornathread', 5, 2, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 10, None), ('Nornathread', 5, None), ('Thunderblood Essence', 1, None), ('Mould: Lightning Strike', 1, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Lightning Strike', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': ['Mould: Lightning Strike'], 'neverRefunded': ['Thunderblood Essence', 'Liquid Frost', 'Mould: Lightning Strike', 'Bloodgold Battle Idol']},
    'SwordBlackmetal': {'name': 'Black Metal Sword', 'station': 'Forge', 'minStationLevel': 4, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 2, 0, False, True), ('Black Metal', 20, 10, False, True), ('Linen Thread', 5, 5, False, True), ('Black Metal Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 2, None), ('Black Metal', 20, None), ('Linen Thread', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Metal Battle Idol']},
    'SwordBronze': {'name': 'Bronze Sword', 'station': 'Forge', 'minStationLevel': 1, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 2, 1, False, True), ('Bronze', 8, 4, False, True), ('Leather Scraps', 2, 1, False, True), ('Bronze Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 2, None), ('Bronze', 8, None), ('Leather Scraps', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Bronze Battle Idol']},
    'SwordDyrnwyn': {'name': 'Dyrnwyn', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Dyrnwyn Hilt Fragment', 1, 0, False, True), ('Dyrnwyn Blade Fragment', 1, 0, False, True), ('Dyrnwyn Tip Fragment', 1, 0, False, True), ('Flametal', 20, 10, False, True), ('Bloodstone', 1, 1, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Dyrnwyn Hilt Fragment', 1, None), ('Dyrnwyn Blade Fragment', 1, None), ('Dyrnwyn Tip Fragment', 1, None), ('Flametal', 20, None), ('Bloodstone', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'SwordGold': {'name': 'Nord Sword', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Sword', 1, 0, False, True), ('Timberwood', 10, 5, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Sword', 1, None), ('Timberwood', 10, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Sword', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'SwordGold_BloodLightning': {'name': 'Thunderblood Sword', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Sword', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Sword'), ('Mould: Nord Sword', 1, 'Nord Sword'), ('Timberwood', 10, 'Nord Sword'), ('Liquid Frost', 5, 'Nord Sword'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Sword and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'SwordGold_FrostFire': {'name': 'Frostfire Sword', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Sword', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Sword'), ('Mould: Nord Sword', 1, 'Nord Sword'), ('Timberwood', 10, 'Nord Sword'), ('Liquid Frost', 5, 'Nord Sword'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Sword and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'SwordIron': {'name': 'Iron Sword', 'station': 'Forge', 'minStationLevel': 2, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 2, 1, False, True), ('Iron', 20, 10, False, True), ('Leather Scraps', 3, 2, False, True), ('Iron Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 2, None), ('Iron', 20, None), ('Leather Scraps', 3, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Iron Battle Idol']},
    'SwordMistwalker': {'name': 'Mistwalker', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Finewood', 3, 0, False, True), ('Iron', 15, 10, False, True), ('Refined Eitr', 10, 5, False, True), ('Wisp', 3, 1, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Finewood', 3, None), ('Iron', 15, None), ('Refined Eitr', 10, None), ('Wisp', 3, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'SwordNiedhogg': {'name': 'Nidhögg', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Charred Bone', 3, 0, False, True), ('Flametal', 12, 10, False, True), ('Asksvin Hide', 2, 2, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 3, None), ('Flametal', 12, None), ('Asksvin Hide', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'SwordNiedhoggBlood': {'name': 'Nidhögg the Bleeding', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nidhögg', 1, 0, False, False), ('Flametal', 6, 6, False, True), ('Bloodstone', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 3, 'Nidhögg'), ('Flametal', 12, 'Nidhögg'), ('Asksvin Hide', 2, 'Nidhögg'), ('Flametal', 6, None), ('Bloodstone', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nidhögg and everything crafted into it', 'Bloodstone', 'Flametal Battle Idol']},
    'SwordNiedhoggLightning': {'name': 'Nidhögg the Thundering', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nidhögg', 1, 0, False, False), ('Flametal', 6, 6, False, True), ('Iolite', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 3, 'Nidhögg'), ('Flametal', 12, 'Nidhögg'), ('Asksvin Hide', 2, 'Nidhögg'), ('Flametal', 6, None), ('Iolite', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nidhögg and everything crafted into it', 'Iolite', 'Flametal Battle Idol']},
    'SwordNiedhoggNature': {'name': 'Nidhögg the Primal', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nidhögg', 1, 0, False, False), ('Flametal', 6, 6, False, True), ('Jade', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Charred Bone', 3, 'Nidhögg'), ('Flametal', 12, 'Nidhögg'), ('Asksvin Hide', 2, 'Nidhögg'), ('Flametal', 6, None), ('Jade', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nidhögg and everything crafted into it', 'Jade', 'Flametal Battle Idol']},
    'SwordSilver': {'name': 'Silver Sword', 'station': 'Forge', 'minStationLevel': 3, 'stationMaxLevel': 7, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 2, 1, False, True), ('Silver', 40, 20, False, True), ('Leather Scraps', 3, 1, False, True), ('Iron', 5, 3, False, True), ('Silver Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 2, None), ('Silver', 40, None), ('Leather Scraps', 3, None), ('Iron', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Silver Battle Idol']},
    'SwordWood': {'name': 'Wooden Sword', 'station': 'Workbench', 'minStationLevel': 1, 'stationMaxLevel': 5, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Wood', 5, 1, False, True), ('Finewood', 3, 10, False, True), ('Corewood', 2, 2, False, True), ('Wooden Battle Idol', 1, 0, True, False)], 'craft': [('Wood', 5, None), ('Finewood', 3, None), ('Corewood', 2, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Wooden Battle Idol']},
    'THSwordGold': {'name': 'Nord Greatsword', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Bloodgold', 20, 10, False, True), ('Mould: Nord Greatsword', 1, 0, False, True), ('Frozen Branch', 2, 1, False, True), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, None), ('Mould: Nord Greatsword', 1, None), ('Frozen Branch', 2, None), ('Liquid Frost', 5, None)], 'via': {'cast': 'Cast: Nord Greatsword', 'foundry': 'Frost Foundry', 'fuel': 'Liquid Frost', 'perCast': 5}, 'notRefunded': [], 'neverRefunded': ['Liquid Frost', 'Bloodgold Battle Idol']},
    'THSwordGold_BloodLightning': {'name': 'Thunderblood Greatsword', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Greatsword', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Thunderblood Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Greatsword'), ('Mould: Nord Greatsword', 1, 'Nord Greatsword'), ('Frozen Branch', 2, 'Nord Greatsword'), ('Liquid Frost', 5, 'Nord Greatsword'), ('Bloodgold', 20, None), ('Thunderblood Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Greatsword and everything crafted into it', 'Thunderblood Essence', 'Bloodgold Battle Idol']},
    'THSwordGold_FrostFire': {'name': 'Frostfire Greatsword', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Nord Greatsword', 1, 0, False, False), ('Bloodgold', 20, 10, False, True), ('Frostfire Essence', 1, 1, False, False), ('Bloodgold Battle Idol', 1, 0, True, False)], 'craft': [('Bloodgold', 20, 'Nord Greatsword'), ('Mould: Nord Greatsword', 1, 'Nord Greatsword'), ('Frozen Branch', 2, 'Nord Greatsword'), ('Liquid Frost', 5, 'Nord Greatsword'), ('Bloodgold', 20, None), ('Frostfire Essence', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Nord Greatsword and everything crafted into it', 'Frostfire Essence', 'Bloodgold Battle Idol']},
    'THSwordKrom': {'name': 'Krom', 'station': 'Black Forge', 'minStationLevel': 1, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Iron', 30, 15, False, True), ('Bronze', 20, 10, False, True), ('Scale Hide', 5, 5, False, True), ('Black Marble Battle Idol', 1, 0, True, False)], 'craft': [('Iron', 30, None), ('Bronze', 20, None), ('Scale Hide', 5, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Black Marble Battle Idol']},
    'THSwordSlayer': {'name': 'Slayer', 'station': 'Black Forge', 'minStationLevel': 3, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 4, 'season': None, 'resources': [('Flametal', 30, 15, False, True), ('Asksvin Hide', 5, 5, False, True), ('Morgen Sinew', 3, 3, False, True), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Flametal', 30, None), ('Asksvin Hide', 5, None), ('Morgen Sinew', 3, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Flametal Battle Idol']},
    'THSwordSlayerBlood': {'name': 'Brutal Slayer', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Slayer', 1, 0, False, False), ('Flametal', 15, 15, False, True), ('Bloodstone', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Flametal', 30, 'Slayer'), ('Asksvin Hide', 5, 'Slayer'), ('Morgen Sinew', 3, 'Slayer'), ('Flametal', 15, None), ('Bloodstone', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Slayer and everything crafted into it', 'Bloodstone', 'Flametal Battle Idol']},
    'THSwordSlayerLightning': {'name': 'Scourging Slayer', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Slayer', 1, 0, False, False), ('Flametal', 15, 15, False, True), ('Iolite', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Flametal', 30, 'Slayer'), ('Asksvin Hide', 5, 'Slayer'), ('Morgen Sinew', 3, 'Slayer'), ('Flametal', 15, None), ('Iolite', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Slayer and everything crafted into it', 'Iolite', 'Flametal Battle Idol']},
    'THSwordSlayerNature': {'name': 'Primal Slayer', 'station': 'Black Forge', 'minStationLevel': 4, 'stationMaxLevel': 6, 'maxQuality': 4, 'cap': 3, 'season': None, 'resources': [('Slayer', 1, 0, False, False), ('Flametal', 15, 15, False, True), ('Jade', 1, 1, False, False), ('Flametal Battle Idol', 1, 0, True, False)], 'craft': [('Flametal', 30, 'Slayer'), ('Asksvin Hide', 5, 'Slayer'), ('Morgen Sinew', 3, 'Slayer'), ('Flametal', 15, None), ('Jade', 1, None)], 'via': None, 'notRefunded': [], 'neverRefunded': ['Slayer and everything crafted into it', 'Jade', 'Flametal Battle Idol']},
}
# END GENERATED COST DATA


def amount(resource, quality):
    """Piece.Requirement.GetAmount: how many of an ingredient one craft (quality 1) or one upgrade to `quality` takes."""
    _, base, per_level, idol, _ = resource
    if quality <= 1:
        return base
    steps = 4.0 + (quality - 4) / 2.0 if quality >= 4 else float(quality - 1)
    return math.floor(steps * per_level + (base if idol else 0))


def refund(resource, quality):
    """What a break returns of one ingredient, when the item broke going to `quality` (InventoryGui.DoCrafting, Valheim
    1.0.30): BREAK_RETURN x everything the item took of it so far (the craft and every upgrade up to the level it had),
    rounded to the nearest whole number with Mathf.RoundToInt, which rounds halves to even (as Python's round does).
    (Before 1.0.30 it was 35% of the craft amount plus the last level's amount, rounded up.)"""
    if not resource[4]:
        return 0
    so_far = sum(amount(resource, level) for level in range(1, quality))
    return round(oracle.f32(oracle.f32(so_far) * oracle.f32(BREAK_RETURN)))


def find(text):
    """A prefab name from a prefab name or a display name (case does not matter)."""
    low = text.lower()
    for prefab, info in ITEMS.items():
        if low in (prefab.lower(), info["name"].lower()):
            return prefab
    matches = [p for p, info in ITEMS.items() if low in info["name"].lower() or low in p.lower()]
    if len(matches) == 1:
        return matches[0]
    raise oracle.SaveError(f"{text!r} is not an item the Forge of Potential can upgrade" if not matches else
                           f"{text!r} matches several items: " + ", ".join(sorted(ITEMS[m]["name"] for m in matches)[:12]))


def simulate(prefab, target, char_base, seeds, max_copies=MAX_COPIES):
    """Craft copies of the item and upgrade them, as one character, until one reaches `target`. `char_base` is the
    character's part of a default seed (upgrade_oracle.date_base / the hash of its creation time).

    Returns the copies (how far each got), and Counters of what was spent and refunded."""
    info = ITEMS[prefab]
    station = [r for r in info["resources"] if not r[3]]
    idols = [r for r in info["resources"] if r[3]]
    cap = info["cap"]
    seeds = dict(seeds)                         # the replay moves the character's seeds on as the game would
    base = oracle.stable_hash(prefab)
    spent, refunded, copies = Counter(), Counter(), []
    while len(copies) < max_copies:
        for ingredient, count, _ in info["craft"]:  # craft a new copy (cast and fuel, gear ingredients expanded)...
            spent[ingredient] += count
        for q in range(2, min(cap, target) + 1):    # ...and upgrade it at its station
            for r in station:
                if amount(r, q):
                    spent[r[0]] += amount(r, q)
        level, steps = min(cap, target), []
        while level < target:                   # then the Forge of Potential
            to = level + 1
            for r in idols:
                spent[r[0]] += amount(r, to)
            key = oracle.s32(base + to)
            saved = key in seeds
            value, seeds[key] = oracle.roll(seeds[key] if saved else oracle.s32(char_base + key))
            if oracle.UPGRADE_CHANCE >= value:
                steps.append((to, value, True, saved))
                level = to
                continue
            if oracle.BREAK_CHANCE < oracle.f32(1.0 - value):
                raise oracle.SaveError("this item can lose a level instead of breaking, which this tool does not model")
            steps.append((to, value, False, saved))
            for r in info["resources"]:
                if refund(r, to):
                    refunded[r[0]] += refund(r, to)
            break
        copies.append({"reached": level, "steps": steps})
        if level >= target:
            return copies, spent, refunded, True
    return copies, spent, refunded, False


def gear_parts(info):
    """{gear ingredient: [(ingredient, amount)]} for the gear a new copy is made from (the Nord Sword in a Frostfire Sword)."""
    parts = {}
    for n, a, gear in info["craft"]:
        if gear:
            parts.setdefault(gear, []).append((n, a))
    return parts


def report(prefab, target, who, source, copies, spent, refunded, done, verbose):
    info = ITEMS[prefab]
    cap = info["cap"]
    print(f"{info['name']} to quality {target}, upgraded by {who} ({source})")
    where = info["station"] or "no station"
    note = (f", which is as far as {where} goes (it reaches level {info['stationMaxLevel']})"
            if cap < info["maxQuality"] else "")
    via = info["via"]
    made = (f"Crafted as {via['cast']} at {where}, then cooked in the {via['foundry']} with {via['perCast']} "
            f"{via['fuel']} per cast" if via else f"Crafted at {where}")
    print(f"  {made}; each copy is upgraded at {where} to quality {min(cap, target)}{note}.")
    for gear, parts in gear_parts(info).items():
        print(f"  Each copy also takes a new {gear}, counted as what it takes to craft: "
              + ", ".join(f"{a:g} {n}" for n, a in parts) + ".")
    if info["notRefunded"]:
        print(f"  Its upgrade recipe leaves out the {', '.join(info['notRefunded'])} that the craft takes, so a break never "
              "refunds it. That looks like a game bug.")
    print(f"  Never refunded on a break: {', '.join(info['neverRefunded'])}.")
    if info["season"]:
        print(f"  Its recipe is seasonal: only available during {info['season']}.")
    if target > cap:
        attempts = sum(len(c["steps"]) for c in copies)
        print(f"  Forge of Potential: {attempts} attempt{'s' if attempts != 1 else ''}, "
              f"{len(copies) - (1 if done else 0)} break{'s' if len(copies) - (1 if done else 0) != 1 else ''}, "
              f"{len(copies)} cop{'y' if len(copies) == 1 else 'ies'} crafted.")
    if not done:
        print(f"  Not reached: still breaking after {len(copies):,} copies. The totals below are for those copies.")
    if verbose and target > cap:
        for i, c in enumerate(copies, 1):
            path = " ".join(f"{to}{'✓' if ok else '✗'}" for to, _, ok, _ in c["steps"])
            print(f"    copy {i}: {min(cap, target)} → {path}")
    print()
    width = max(len(k) for k in spent) if spent else 10
    print(f"  {'Ingredient':<{width}}  {'spent':>9}  {'refunded':>9}  {'net':>9}")
    for k in sorted(spent, key=lambda k: (k not in {r[0] for r in info['resources'] if r[3]}, k)):
        print(f"  {k:<{width}}  {spent[k]:>9,}  {refunded[k]:>9,}  {spent[k] - refunded[k]:>9,}")


# ---------------------------------------------------------------------------------------------------------------
# Entry points for the web page (web/finder-worker.js runs this file in the browser with Pyodide)
# ---------------------------------------------------------------------------------------------------------------

WEB_MAX_COPIES = 200_000        # the browser is several times slower; stop sooner


def web_cost_items():
    """JSON list of the display names of every item the Forge of Potential can upgrade."""
    return json.dumps(sorted((v["name"] for v in ITEMS.values()), key=str.lower))


def web_cost(item, target, created, data=None, tz=None):
    """JSON for the page's cost tool. `created` is a new character's local creation date and time
    ("YYYY-MM-DDTHH:MM[:SS]"). `data` is a character file's bytes instead (then its creation date, read in time zone
    `tz` (default: the browser's), and its seeds are used). A typed time is a local time in `tz` too."""
    try:
        target = int(target)
        if not 1 <= target <= oracle.WEB_MAX_QUALITY:
            raise oracle.SaveError(f"the target quality must be between 1 and {oracle.WEB_MAX_QUALITY}")
        prefab = find(item)
        if data is not None and type(data).__name__ != "JsNull":
            save = oracle.load(bytes(data.to_py()) if hasattr(data, "to_py") else bytes(data))
            zone = oracle.web_zone(tz)
            wall = oracle.local_wall(save["created"], zone)
            label = oracle.web_zone_label(zone, save["created"])
            name, seeds, source = save["name"], save["seeds"], "file"
        elif not created:
            raise oracle.SaveError("enter the character's creation date and time or choose a character file")
        else:
            zone = oracle.web_zone(tz)
            wall = oracle.checked_wall(created, zone)
            label = oracle.web_zone_label(zone, oracle.wall_instant(wall, zone))
            name, seeds, source = None, {}, "created"
        char_base = oracle.ticks_hash(oracle.wall_ticks(wall))
        copies, spent, refunded, done = simulate(prefab, target, char_base, seeds, WEB_MAX_COPIES)
    except oracle.SaveError as e:
        return json.dumps({"error": str(e)})
    info = ITEMS[prefab]
    idols = {r[0] for r in info["resources"] if r[3]}
    rows = [{"name": k, "spent": spent[k], "refunded": refunded[k], "net": spent[k] - refunded[k], "idol": k in idols}
            for k in sorted(spent, key=lambda k: (k not in idols, k))]
    # every copy's Forge attempts as a compact string, "1" a success and "0" the break: "110" went up twice, then broke
    listed = ["".join("1" if ok else "0" for _, _, ok, _ in c["steps"]) for c in copies]
    return json.dumps({"item": info["name"], "target": target, "character": name, "source": source,
                       "created": oracle.fmt_wall(wall), "timeZone": label,
                       "savedSeeds": len(seeds), "station": info["station"], "cap": info["cap"],
                       "maxQuality": info["maxQuality"], "stationMaxLevel": info["stationMaxLevel"],
                       "season": info["season"], "via": info["via"], "notRefunded": info["notRefunded"],
                       "gear": [{"name": g, "parts": [{"name": n, "amount": a} for n, a in p]}
                                for g, p in gear_parts(info).items()],
                       "neverRefunded": info["neverRefunded"],
                       "reached": done, "copies": len(copies),
                       "attempts": sum(len(c["steps"]) for c in copies), "rows": rows, "list": listed,
                       "maxCopies": WEB_MAX_COPIES})


def main():
    ap = argparse.ArgumentParser(description="What one character pays to get an item to a quality at the Forge of "
                                 "Potential, crafting a new copy after every break.")
    ap.add_argument("--item", required=True, help="the item, by display name or prefab name (e.g. 'Iron Sword')")
    ap.add_argument("--target", required=True, type=int, help="the quality to reach")
    who = ap.add_mutually_exclusive_group(required=True)
    who.add_argument("--save", help="the character's .fch file (uses its creation date and the upgrade seeds stored in it)")
    who.add_argument("--created", help="a new character's creation date and time, as the game PC's clock showed it "
                     "(\"YYYY-MM-DD HH:MM:SS\"), for a character that has never used the Forge of Potential")
    ap.add_argument("--tz", help="with --save: the time zone of the computer running the game (IANA name, UTC or "
                    "+02:00; default: this machine's)")
    ap.add_argument("--max-copies", type=int, default=MAX_COPIES, help=f"give up after this many copies "
                    f"(default: {MAX_COPIES:,})")
    ap.add_argument("-v", "--verbose", action="store_true", help="show how far every copy got")
    ap.add_argument("--json", action="store_true", help="print the result as JSON")
    args = ap.parse_args()
    try:
        prefab = find(args.item)
        if not 1 <= args.target <= oracle.WEB_MAX_QUALITY:
            raise oracle.SaveError(f"the target quality must be between 1 and {oracle.WEB_MAX_QUALITY}")
        tz = oracle.parse_tz(args.tz)
        if args.save:
            save = oracle.load(args.save)
            wall = oracle.local_wall(save["created"], tz)
            name, seeds = save["name"], save["seeds"]
            who = repr(name)
            source = (f"created {oracle.fmt_wall(wall)} local time in {oracle.tz_label(tz, save['created'])}, "
                      f"{len(seeds)} saved seeds from the file")
        else:
            wall = oracle.parse_created(args.created, tz)[1]
            name, seeds, who = None, {}, "a new character"
            source = f"created {oracle.fmt_wall(wall)} local time: rolls from the creation time"
        copies, spent, refunded, done = simulate(prefab, args.target, oracle.ticks_hash(oracle.wall_ticks(wall)), seeds,
                                                 args.max_copies)
    except FileNotFoundError:
        ap.error(f"file not found: {args.save}")
    except oracle.SaveError as e:
        ap.error(str(e))
    if args.json:
        print(json.dumps({"item": ITEMS[prefab]["name"], "target": args.target, "character": name,
                          "created": oracle.fmt_wall(wall), "reached": done,
                          "stationCap": ITEMS[prefab]["cap"], "copies": len(copies),
                          "attempts": sum(len(c["steps"]) for c in copies),
                          "spent": dict(spent), "refunded": dict(refunded),
                          "net": {k: spent[k] - refunded[k] for k in spent}}, indent=1))
    else:
        report(prefab, args.target, who, source, copies, spent, refunded, done, args.verbose)


if __name__ == "__main__":
    main()
