Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unit.appearance.colors ref target #788

Merged
merged 1 commit into from
Jul 17, 2024
Merged

unit.appearance.colors ref target #788

merged 1 commit into from
Jul 17, 2024

Conversation

Bumber64
Copy link
Contributor

unit.appearance.colors[i] refers to the unit's caste_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 relevant df.descriptor_pattern.

@quietust quietust merged commit 210c145 into DFHack:master Jul 17, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants