Generate craftable refugee armor sheets

merge/2021-11-19
kaetemi 4 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 *
BCRA armor
BCRAE *
BCRAEA light
BCRAEA *
BCRAEB medium
BCRAEC heavy
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")
if "magic" in t and "two-handed" in t:
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)
if len(res) == 7:
return res
@ -130,8 +132,6 @@ def findBrickFamily(tags):
t.remove("ranged")
if "caster" in t and "light" in t:
t.remove("light")
if "refugee" in t and "light" in t:
t.remove("light")
res = findTreeEntry(brickFamilyTree, t)
return res
@ -674,7 +674,7 @@ def generateSitems():
if "armor" in tags and "caster" in tags and not "pants" in tags:
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
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
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
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
iczauwv.sitem
iczauwp.sitem
icrav.sitem
icrap.sitam

@ -34,3 +34,7 @@ ictauwv.sitem
ictauwp.sitem
iczauwv.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
iczauwv iczauwv item crafted zorai light underwear armor vest
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,
"helmet": 2,
"boots": 2,
"refugee": 2,
# "hands": 2,
}

Loading…
Cancel
Save