View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013010 | Dwarf Fortress | Creatures | public | 2024-11-06 17:43 | 2024-11-06 17:43 |
Reporter | WearyWanderer | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | PC | OS | Windows | OS Version | 10 |
Product Version | 50.14 | ||||
Summary | 0013010: TL_COLOR_MODIFIER token is bugged when using multiple color arguments | ||||
Description | [TL_COLOR_MODIFIER] doesn't properly obey relative frequencies specified, the weights are shifted towards the first colors in a non-linear fashion. I used Object Testing Arena and out of 600 spawned creatures (modded kobold) the following arguments: [TL_COLOR_MODIFIER:GRAY:1:BLUE:1:CRIMSON:1:PURPLE:1] Produces: 237 GRAY, 189 BLUE, 130 CRIMSON, 44 PURPLE Using different weights does affect things, but the relation becomes even more complex: [TL_COLOR_MODIFIER:GRAY:2:BLUE:3:CRIMSON:4:PURPLE:12] Produces (out of 100): 19 GRAY, 24 BLUE, 24 CRIMSON, 33 PURPLE The bug also is present in vanilla creatures, for example, dwarven skin colors: [TL_COLOR_MODIFIER:BROWN:1:BURNT_UMBER:1:CINNAMON:1:COPPER:1:DARK_BROWN:1:DARK_PEACH:1:DARK_TAN:1:ECRU:1:PALE_BROWN:1:PALE_CHESTNUT:1:PALE_PINK:1:PEACH:1:PINK:1:RAW_UMBER:1:SEPIA:1:TAN:1:TAUPE_PALE:1:TAUPE_SANDY:1] Here colors toward the end like "TAUPE_SANDY" almost never appear due to this bug, despite having the exact same frequency set! | ||||
Steps To Reproduce | 1. Go to Object Testing Arena 2. Spawn any creature that is supposed to have tissues modified with TL_COLOR_MODIFIER with multiple color arguments and equal frequencies 3. Repeat N times 4. Observe frequency distribution being heavily skewed | ||||
Tags | 50.14, creature, creatures, raw file, raw files | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-11-06 17:43 | WearyWanderer | New Issue | |
2024-11-06 17:43 | WearyWanderer | Tag Attached: 50.14 | |
2024-11-06 17:43 | WearyWanderer | Tag Attached: creature | |
2024-11-06 17:43 | WearyWanderer | Tag Attached: creatures | |
2024-11-06 17:43 | WearyWanderer | Tag Attached: raw file | |
2024-11-06 17:43 | WearyWanderer | Tag Attached: raw files |