Dwarf Fortress

Dwarf Fortress

37 ratings
Pale Birch
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
203.906 KB
1 May, 2023 @ 4:21pm
8 Feb, 2024 @ 11:57am
6 Change Notes ( view )

Subscribe to download
Pale Birch

In 1 collection by 20firebird
Bugs and Bothers
19 items
Description
Makes birch wood pale in color; by default, it is a very deep brown. It's now the same color as feather tree wood.
16 Comments
acymetric 9 Aug, 2024 @ 6:02pm 
@Droseran

I don't think you can override individual tags that way for materials. You can ADD new tags with SELECT_PLANT but not override existing tags (or remove tags), as I understand it. Creatures have CV_REMOVE_TAG and CV_CONVERT_TAG to remove or modify existing tags, but those calls aren't available outside of CREATURE types. I think we're still stuck with CUT/REPLACE for materials, entities, etc for now.

If I'm misunderstanding would be nice to know that also!
Droseran 23 Apr, 2024 @ 5:17pm 
Hey, just a quick update. Dwarf Fortress version 50.13 has added the SELECT_MATERIAL token for plants. You can now use

[SELECT_PLANT:BIRCH]
[SELECT_MATERIAL:WOOD]
[STATE_COLOR:ALL_SOLID:CREAM]

and it will work and be compatible with other mods as long as this mod is loaded after them.
20firebird  [author] 8 Jan, 2024 @ 2:57pm 
@Droseran I can see how the raws might cause that. I'd like to actually observe/replicate the issue in-game, but in the mean time I can revert to the previous version.
Droseran 8 Jan, 2024 @ 2:06pm 
Cutting and replacing is currently the only way to change the wood color. The new way this mod is working is duplicating the birch wood material and will lead to save corruption due to having two materials in the array with the same identifier but different indices.

Advanced Agriculture and Pale Birch are compatible if Pale Birch is loaded after Advanced Agriculture. I've also updated Advanced Agriculture with a lighter birch color.
20firebird  [author] 8 Jan, 2024 @ 9:53am 
@anopiko Ah, yeah, that will do it. My notes for this mod say that cutting and replacing was the only way to make it work, but I double-checked and did a test run, and apparently I was wrong? So a new version is coming.
anopiko 8 Jan, 2024 @ 9:38am 
Seems like last time I didn't load pale birch last as I wrote in the first time, so that's on me. I indeed put it after the vanilla mods but before Advanced Agriculture...
anopiko 8 Jan, 2024 @ 9:36am 
I am not sure why, maybe I am mistaken, I found out that it conflicts with the Advanced Agriculture mod. Seems like both of the mods cuts and re-add birches each with its own parameters. I wonder if this is possible not to use the CUT tag but instead a SELECT tag?
20firebird  [author] 8 Jan, 2024 @ 9:29am 
@anopiko That's interesting. Pale Birch works by cutting and replacing the raw for birch trees, so it needs to be loaded after any other mod that changes plant raws, but if it's last in the list, I don't see why there would be a conflict...
anopiko 8 Jan, 2024 @ 7:07am 
Does the load order matter? It doesn't work if I just put it last in the list
Mr.Zombie 15 Sep, 2023 @ 12:18pm 
to clarify, does this also change the tree color?