Simplify crafted rule for sitem name parser

merge/2021-11-19
kaetemi 4 years ago
parent 56c3248198
commit e3ac824104
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -18,16 +18,6 @@ scheme = {
"kar": "karavan",
"b": "tribe",
"hb": "high tribe",
"cf": "crafted fyros",
"cm": "crafted matis",
"ct": "crafted tryker",
"cz": "crafted zorai",
"cc": "crafted common",
"cr": "crafted refugee", # i cr a b a Refugee Boots
"ckam": "crafted kami",
"ckar": "crafted karavan",
"cb": "crafted tribe",
"chb": "crafted high tribe",
},
{
"a": "armor",
@ -166,6 +156,10 @@ scheme = {
],
}
# c crafted
for k in scheme[""][1].copy():
scheme[""][1]["c" + k] = "crafted " + scheme[""][1][k]
def addTags(sub, depth, tags):
for i in range(len(tags) - 1, -1, -1):
tag = tags[i]

Loading…
Cancel
Save