Notes |
|
|
|
|
(0025614)
|
Dwarfu
|
2014-07-10 16:09
|
|
This was probably the quarry bush leaves, though there are many other plants now that have edible leaves...will leave this open for feedback. |
|
|
|
Since the saves are no longer compatible it won't be easy to test for this. I'll keep an eye out, but I can't think of an easy way to go about this. |
|
|
(0025681)
|
Rafal99
|
2014-07-10 21:54
(edited on: 2014-07-10 21:56) |
|
Try updating the raws in your 40.01 save with the fixed Quarry Bush raws from 40.02, then load the save in 40.01 and see if the description changed.
The only line that changed in the raw is:
[ITEM_REACTION_PRODUCT:BAG_ITEM:PLANT_GROWTH:LEAVES:LOCAL_PLANT_MAT:STRUCTURAL]
Which changed to:
[ITEM_REACTION_PRODUCT:BAG_ITEM:PLANT_GROWTH:LEAVES:LOCAL_PLANT_MAT:LEAF]
|
|
|
(0026000)
|
Dwarfu
|
2014-07-12 11:49
|
|
There's still a problem somewhere - I keep getting preferences for "likes to consume unknown leaves," but quarry bush is the only entry that contained that line, so it may just be the wonky preferences screen. |
|
|
|
Well trees do drop their leaves during the later seasons which appear on the ground as gather-able with the gather plants option iirc. |
|
|
|
Found this as a preference in 40.03 |
|
|
(0027522)
|
Lich180
|
2014-07-25 12:15
(edited on: 2014-07-25 12:16) |
|
|
|
(0027523)
|
Quietust
|
2014-07-25 12:22
(edited on: 2014-07-25 19:59) |
|
The preference in question in Lich180's savegame is for PLANT_GROWTH items with material/matgloss values of 423/139, which decodes to PLANT_MAT:PARADISE_NUT:FRUIT, or paradise nut tree fruit.
I can only assume that it's trying (and failing) to translate that to a GROWTH type (i.e. "paradise nut fruits").
As such, this bug has no relation to 0006659.
[edit]
Upon closer inspection of the item description logic, it looks like PLANT_GROWTH items are always expected to have the item's subtype set to the index of the plant growth in question (and also expects that the material will be in the 419-618 range, ensuring that the matgloss is a valid plant ID).
Given that information, there are actually two different bugs here that need to be fixed:
1. Unit preferences of type 2 (food) and item type 55 (PLANT_GROWTH) must specify a valid subtype to indicate the plant growth type - currently, they store the value -1.
2. The preferences display code needs to pass the item subtype stored inside the preference record into the "format item name" function - currently, it passes a literal value of -1.
|
|
|
|
Should be fixed for 0.40.06. Old saves will still be affected. |
|