erdtree-utils/corrections.py
2022-03-25 22:24:43 +01:00

154 lines
4.8 KiB
Python

# dont add these items to the output
IGNORED = [
"",
"head",
"body",
"arms",
"legs",
"travel-hairstyle",
"millicents-robe",
"millicents-gloves",
"millicents-boots",
"millicents-tunic",
"millicents-robe",
"braves-cord-circlet",
"braves-battlewear",
"braves-battlewear-altered",
"braves-bracer",
"braves-legwraps",
"braves-leather-helm",
"ragged-hat",
"ragged-hat-altered",
"ragged-armor",
"ragged-armor-altered",
"ragged-gloves",
"ragged-loincloth",
"deathbed-smalls"
# these items are wrong in the param file
"ash-of-war-scarab",
"sanguine-noble-hood",
"sanguine-noble-robe",
"sanguine-noble-bracelets",
"sanguine-noble-trousers",
"fias-robe",
"fias-robe-altered",
]
# these items are either missing or wrong in the param files
MISSING = {
"helmets": [
{
"id": "ash-of-war-scarab",
"name": "Ash-of-War Scarab",
"defenses": [-5.8, -5.6, -5.8, -5.8, -4.9, -4.9, -4.9, -5.1],
"resistances": [42, 22, 27, 26],
"poise": 2,
"weight": 5.1,
},
{
"id": "godskin-noble-hood",
"name": "Godskin Noble Hood",
"defenses": [1.4, 2.8, 1.8, 1.4, 4.5, 4, 4.2, 4.8],
"resistances": [16, 10, 27, 29],
"poise": 1,
"weight": 1.7,
},
{
"id": "sanguine-noble-hood",
"name": "Sanguine Noble Hood",
"defenses": [1.4, 0.9, 0.9, 0.9, 4.6, 3.8, 4.5, 4.6],
"resistances": [18, 5, 29, 27],
"poise": 0,
"weight": 1.4,
},
],
"chestpieces": [
{
"id": "godskin-noble-robe",
"name": "Godskin Noble Robe",
"defenses": [6.1, 9.5, 6.7, 6.1, 13, 12.4, 12.6, 14.1],
"resistances": [46, 25, 76, 83],
"poise": 5,
"weight": 6.3,
},
{
"id": "sanguine-noble-robe",
"name": "Sanguine Noble Robe",
"defenses": [6.1, 5.3, 5.3, 5.3, 13.3, 11.9, 13.0, 13.5],
"resistances": [50, 21, 83, 76],
"poise": 2,
"weight": 5.1,
},
{
"id": "fias-robe",
"name": "Fia's Robe",
"defenses": [5.3, 6.1, 5.3, 5.3, 12.6, 12.4, 12.6, 13],
"resistances": [46, 21, 76, 108],
"poise": 2,
"weight": 5.1,
},
{
"id": "fias-robe",
"name": "Fia's Robe",
"defenses": [5.3, 6.1, 5.3, 5.3, 12.6, 12.4, 12.6, 13.0],
"resistances": [46, 21, 76, 108],
"poise": 2,
"weight": 5.1,
},
{
"id": "fias-robe-altered",
"name": "Fia's Robe (Altered)",
"defenses": [2.7, 4.2, 2.7, 2.7, 11.9, 11.4, 11.9, 12.6],
"resistances": [34, 10, 57, 93],
"poise": 0,
"weight": 3.2,
},
],
"gauntlets": [
{
"id": "godskin-noble-bracelets",
"name": "Godskin Noble Bracelets",
"defenses": [1.3, 2.1, 1.5, 1.3, 3.2, 2.9, 3.1, 3.4],
"resistances": [14, 8, 24, 25],
"poise": 1,
"weight": 1.7,
},
],
"leggings": [
{
"id": "godskin-noble-trousers",
"name": "Godskin Noble Trousers",
"defenses": [2.3, 4.5, 3, 2.3, 7.2, 6.5, 6.8, 7.7],
"resistances": [24, 14, 39, 41],
"poise": 1,
"weight": 2.5,
},
],
}
# until i find where this is located in the param files, this is the workaround
HELMET_STATS = {
"alberichs-pointed-hat": [0, 0, 0, 0, 0, 0, 0, 4],
"crimson-hood": [1, 0, 0, 0, 0, 0, 0, 0],
"haima-glintstone-crown": [0, 0, 0, 2, 0, 2, 0, 0],
"haligtree-helm": [0, 0, 0, 0, 0, 0, 1, 0],
"haligtree-knight-helm": [0, 0, 0, 0, 0, 0, 2, 0],
"hierodas-glintstone-crown": [0, 0, 2, 0, 0, 2, 0, 0],
"imp-head-cat": [0, 0, 0, 0, 0, 2, 0, 0],
"imp-head-corpse": [0, 0, 0, 0, 0, 0, 2, 0],
"imp-head-elder": [0, 0, 0, 0, 0, 0, 0, 2],
"imp-head-long-tongued": [0, 0, 0, 0, 2, 0, 0, 0],
"imp-head-wolf": [0, 0, 2, 0, 0, 0, 0, 0],
"imp-head-fanged": [0, 0, 0, 2, 0, 0, 0, 0],
"karolos-glinstone-crown": [0, 0, 0, 0, 0, 3, 0, 0],
"mask-of-confidence": [0, 0, 0, 0, 0, 0, 0, 3],
"navy-hood": [0, 1, 0, 0, 0, 0, 0, 0],
"okina-mask": [0, 0, 0, 0, 3, 0, 0, 0],
"olivinus-glintstone-crown": [0, 0, 0, 0, 0, 3, 0, 0],
"omensmirk-mask": [0, 0, 0, 2, 0, 0, 0, 0],
"queens-crescent-crown": [0, 0, 0, 0, 0, 3, 0, 0],
"silver-tear-mask": [0, 0, 0, 0, 0, 0, 0, 8],
"twinsage-glintstone-crown": [0, 0, 0, 0, 0, 6, 0, 0],
"witchs-glintstone-crown": [0, 0, 0, 0, 0, 3, 0, 3],
}