Generate craftable refugee armor sheets

merge/2021-11-19
kaetemi 3 years ago
parent fe9d945265
commit 34bb64cea7
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -167,7 +167,7 @@ BCRPE *
BCRPEA * BCRPEA *
BCRA armor BCRA armor
BCRAE * BCRAE *
BCRAEA light BCRAEA *
BCRAEB medium BCRAEB medium
BCRAEC heavy BCRAEC heavy
BCRAED caster BCRAED caster

1 BC crafted
167 BCRPEA *
168 BCRA armor
169 BCRAE *
170 BCRAEA light *
171 BCRAEB medium
172 BCRAEC heavy
173 BCRAED caster

@ -117,6 +117,8 @@ def findSkill(tags):
t.remove("ranged") t.remove("ranged")
if "magic" in t and "two-handed" in t: if "magic" in t and "two-handed" in t:
t.remove("two-handed") t.remove("two-handed")
if "refugee" in t and not "heavy" in t and not "medium" in t and not "light" in t:
t += [ "light" ]
res = findTreeEntry(skillTree, t) res = findTreeEntry(skillTree, t)
if len(res) == 7: if len(res) == 7:
return res return res
@ -130,8 +132,6 @@ def findBrickFamily(tags):
t.remove("ranged") t.remove("ranged")
if "caster" in t and "light" in t: if "caster" in t and "light" in t:
t.remove("light") t.remove("light")
if "refugee" in t and "light" in t:
t.remove("light")
res = findTreeEntry(brickFamilyTree, t) res = findTreeEntry(brickFamilyTree, t)
return res return res
@ -674,7 +674,7 @@ def generateSitems():
if "armor" in tags and "caster" in tags and not "pants" in tags: if "armor" in tags and "caster" in tags and not "pants" in tags:
continue # Only include caster pants continue # Only include caster pants
if "armor" in tags and "refugee" in tags: if "armor" in tags and "refugee" in tags and len(name) > 5:
continue # No need to generate these for now continue # No need to generate these for now
parent = findSitemParent(tags) parent = findSitemParent(tags)

@ -386,3 +386,5 @@ ictauwv tr_hom_underwear_gilet tr_hof_underwear_gilet underwear armor vest
ictauwp tr_hom_underwear_pantabottes tr_hof_underwear_pantabottes tryker underwear armor pants ictauwp tr_hom_underwear_pantabottes tr_hof_underwear_pantabottes tryker underwear armor pants
iczauwv tr_hom_underwear_gilet zo_hof_underwear_gilet underwear armor vest iczauwv tr_hom_underwear_gilet zo_hof_underwear_gilet underwear armor vest
iczauwp zo_hom_underwear_pantabottes zo_hof_underwear_pantabottes zorai underwear armor pants iczauwp zo_hom_underwear_pantabottes zo_hof_underwear_pantabottes zorai underwear armor pants
icrav tr_hom_refugee_gilet tr_hof_refugee_gilet refugee armor vest
icrap tr_hom_refugee_pantabottes tr_hof_refugee_pantabottes refugee armor pants

Can't render this file because it has a wrong number of fields in line 5.

@ -398,3 +398,5 @@ ictauwv.sitem
ictauwp.sitem ictauwp.sitem
iczauwv.sitem iczauwv.sitem
iczauwp.sitem iczauwp.sitem
icrav.sitem
icrap.sitam

@ -34,3 +34,7 @@ ictauwv.sitem
ictauwp.sitem ictauwp.sitem
iczauwv.sitem iczauwv.sitem
iczauwp.sitem iczauwp.sitem
; refugee
icrav.sitem
icrap.sitam

@ -386,3 +386,5 @@ ictauwv ictauwv item crafted tryker light underwear armor vest
ictauwp ictauwp item crafted tryker light underwear armor pants ictauwp ictauwp item crafted tryker light underwear armor pants
iczauwv iczauwv item crafted zorai light underwear armor vest iczauwv iczauwv item crafted zorai light underwear armor vest
iczauwp iczauwp item crafted zorai light underwear armor pants iczauwp iczauwp item crafted zorai light underwear armor pants
icrav icrav item crafted refugee armor vest
icrap icrap item crafted refugee armor pants

Can't render this file because it has a wrong number of fields in line 5.

@ -17,6 +17,7 @@ boostTags = {
"sleeves": 2, "sleeves": 2,
"helmet": 2, "helmet": 2,
"boots": 2, "boots": 2,
"refugee": 2,
# "hands": 2, # "hands": 2,
} }

Loading…
Cancel
Save