Closed Bumber64 closed 4 months ago
unit.appearance.colors[i] refers to the unit's caste_raw.color_modifiers[i].pattern_index, based on Stonesense code.
unit.appearance.colors[i]
caste_raw.color_modifiers[i].pattern_index
That is, caste_raw.color_modifiers[i].pattern_index[colors[i]] will get you the index of the relevant df.descriptor_pattern.
caste_raw.color_modifiers[i].pattern_index[colors[i]]
df.descriptor_pattern
unit.appearance.colors[i]
refers to the unit'scaste_raw.color_modifiers[i].pattern_index
, based on Stonesense code.That is,
caste_raw.color_modifiers[i].pattern_index[colors[i]]
will get you the index of the relevantdf.descriptor_pattern
.