diff --git a/ryzom/tools/extract_r2_required/generate_sitem.py b/ryzom/tools/extract_r2_required/generate_sitem.py index d87f5db61..aaecba8a4 100644 --- a/ryzom/tools/extract_r2_required/generate_sitem.py +++ b/ryzom/tools/extract_r2_required/generate_sitem.py @@ -119,6 +119,8 @@ def findSkill(tags): 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" ] + if "shield" in t: + t += [ "armor" ] res = findTreeEntry(skillTree, t) if len(res) == 7: return res @@ -669,7 +671,7 @@ def generateSitems(): # print(shapeFemale) # print(tags) - if not "armor" in tags: + if not "armor" in tags and not "shield" in tags: continue if "armor" in tags and "caster" in tags and not "pants" in tags: @@ -710,6 +712,8 @@ def generateSitems(): f.write(" \n") f.write(" \n") f.write(" \n") + if origin != "common": + f.write(" \n") if itemType != "undefined": f.write(" \n") if armorSlot != "Undefined": @@ -722,8 +726,7 @@ def generateSitems(): f.write(" \n") f.write(" \n") f.write(" \n") - if shapeFemale != shapeMale: - f.write(" \n") + f.write(" \n") if mapVariant != "Default": f.write(" \n") if icon != "": @@ -828,24 +831,34 @@ def generateSitems(): f.write(" \n") f.write(" \n") f.write(" \n") - if "armor" in tags: + if "armor" in tags or "shield" in tags: f.write(" \n") f.write(" \n") # f.write(" \n") f.write(" \n") f.write(" \n") f.write(" \n") - if "light" in tags: - f.write(" \n") - else: + if "armor" in tags: + if "light" in tags: + f.write(" \n") + else: + f.write(" \n") + f.write(" \n") + f.write(" \n") + f.write(" \n") + f.write(" \n") + f.write(" \n") + f.write(" \n") + f.write(" \n") + if "shield" in tags: f.write(" \n") - f.write(" \n") # TODO: Calibrate - f.write(" \n") - f.write(" \n") # TODO: Calibrate - f.write(" \n") - f.write(" \n") # TODO: Calibrate - f.write(" \n") - f.write(" \n") # TODO: Calibrate + f.write(" \n") + f.write(" \n") + f.write(" \n") + f.write(" \n") + f.write(" \n") + f.write(" \n") + f.write(" \n") f.write(" \n") f.write(" \n") f.write(" \n") diff --git a/ryzom/tools/extract_r2_required/sbrick_index.tsv b/ryzom/tools/extract_r2_required/sbrick_index.tsv index c3bbf9ed8..f80dabc41 100644 --- a/ryzom/tools/extract_r2_required/sbrick_index.tsv +++ b/ryzom/tools/extract_r2_required/sbrick_index.tsv @@ -439,12 +439,12 @@ BCFSCA 22 bcfsca22 __missing BCFSCA 23 bcfsca23 __missing BCFSCA 24 bcfsca24 __missing BCFSCA 25 bcfsca25 __missing -BCFSEA 01 bcfsea01 icfsb -BCFSEA 2 bcfsea01_2 icfsb_2 __missing -BCFSEA 3 bcfsea01_3 icfsb_3 __missing -BCFSEA 4 bcfsea02 icfss __missing -BCFSEA 5 bcfsea02_2 icfss_2 __missing -BCFSEA 6 bcfsea02_3 icfss_3 __missing +BCFSEA 1 bcfsea01_fsb bcfsea01 icfsb +BCFSEA 2 bcfsea02_fsb_2 bcfsea01_2 icfsb_2 +BCFSEA 3 bcfsea03_fsb_3 bcfsea01_3 icfsb_3 +BCFSEA 4 bcfsea04_fss bcfsea02 icfss +BCFSEA 5 bcfsea05_fss_2 bcfsea02_2 icfss_2 +BCFSEA 6 bcfsea06_fss_3 bcfsea02_3 icfss_3 BCFSEA 7 bcfsea03 icfsbb __missing BCFTCA 01 bcftca01 __missing BCFTCA 02 bcftca02 __missing @@ -861,12 +861,12 @@ BCMSCA 22 bcmsca22 __missing BCMSCA 23 bcmsca23 __missing BCMSCA 24 bcmsca24 __missing BCMSCA 25 bcmsca25 __missing -BCMSEA 01 bcmsea01 icmsb -BCMSEA 2 bcmsea01_2 icmsb_2 __missing -BCMSEA 3 bcmsea01_3 icmsb_3 __missing -BCMSEA 4 bcmsea02 icmss __missing -BCMSEA 5 bcmsea02_2 icmss_2 __missing -BCMSEA 6 bcmsea02_3 icmss_3 __missing +BCMSEA 1 bcmsea01_msb bcmsea01 icmsb +BCMSEA 2 bcmsea02_msb_2 bcmsea01_2 icmsb_2 +BCMSEA 3 bcmsea03_msb_3 bcmsea01_3 icmsb_3 +BCMSEA 4 bcmsea04_mss bcmsea02 icmss +BCMSEA 5 bcmsea05_mss_2 bcmsea02_2 icmss_2 +BCMSEA 6 bcmsea06_mss_3 bcmsea02_3 icmss_3 BCMSEA 7 bcmsea03 icmsbl __missing BCMTCA 01 bcmtca01 __missing BCMTCA 02 bcmtca02 __missing @@ -1472,12 +1472,12 @@ BCTSCA 22 bctsca22 __missing BCTSCA 23 bctsca23 __missing BCTSCA 24 bctsca24 __missing BCTSCA 25 bctsca25 __missing -BCTSEA 01 bctsea01 ictsb -BCTSEA 2 bctsea01_2 ictsb_2 __missing -BCTSEA 3 bctsea01_3 ictsb_3 __missing -BCTSEA 4 bctsea02 ictss __missing -BCTSEA 5 bctsea02_2 ictss_2 __missing -BCTSEA 6 bctsea02_3 ictss_3 __missing +BCTSEA 1 bctsea01_tsb bctsea01 ictsb +BCTSEA 2 bctsea02_tsb_2 bctsea01_2 ictsb_2 +BCTSEA 3 bctsea03_tsb_3 bctsea01_3 ictsb_3 +BCTSEA 4 bctsea04_tss bctsea02 ictss +BCTSEA 5 bctsea05_tss_2 bctsea02_2 ictss_2 +BCTSEA 6 bctsea06_tss_3 bctsea02_3 ictss_3 BCTSEA 7 bctsea03 ictsbw __missing BCTTCA 01 bcttca01 __missing BCTTCA 02 bcttca02 __missing @@ -1811,12 +1811,12 @@ BCZSCA 22 bczsca22 __missing BCZSCA 23 bczsca23 __missing BCZSCA 24 bczsca24 __missing BCZSCA 25 bczsca25 __missing -BCZSEA 01 bczsea01 iczsb -BCZSEA 2 bczsea01_2 iczsb_2 __missing -BCZSEA 3 bczsea01_3 iczsb_3 __missing -BCZSEA 4 bczsea02 iczss __missing -BCZSEA 5 bczsea02_2 iczss_2 __missing -BCZSEA 6 bczsea02_3 iczss_3 __missing +BCZSEA 1 bczsea01_zsb bczsea01 iczsb +BCZSEA 2 bczsea02_zsb_2 bczsea01_2 iczsb_2 +BCZSEA 3 bczsea03_zsb_3 bczsea01_3 iczsb_3 +BCZSEA 4 bczsea04_zss bczsea02 iczss +BCZSEA 5 bczsea05_zss_2 bczsea02_2 iczss_2 +BCZSEA 6 bczsea06_zss_3 bczsea02_3 iczss_3 BCZSEA 7 bczsea03 iczsbe __missing BCZTCA 01 bcztca01 __missing BCZTCA 02 bcztca02 __missing