Skip to content

Remove references to materials.*_BASE#1601

Merged
ab9rf merged 1 commit into
DFHack:masterfrom
quietust:matinfo
Jul 18, 2026
Merged

Remove references to materials.*_BASE#1601
ab9rf merged 1 commit into
DFHack:masterfrom
quietust:matinfo

Conversation

@quietust

Copy link
Copy Markdown
Member

in favor of df.builtin_mats.*_1

This will allow the eventual removal of the CREATURE_BASE and PLANT_BASE constants defined inside library/lua/gui/materials.lua (which are currently magic numbers which happen to match DF's enum values)

in favor of df.builtin_mats.*_1
@ab9rf
ab9rf merged commit 68b3932 into DFHack:master Jul 18, 2026
10 checks passed
@quietust
quietust deleted the matinfo branch July 19, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants