Dwarf Fortress Bug Tracker - Dwarf Fortress |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0006380 | Dwarf Fortress | Dwarf Mode -- Buildings, Machines | public | 2013-10-02 13:57 | 2014-08-01 11:08 |
|
Reporter | Quietust | |
Assigned To | Toady One | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 0.34.11 | |
Target Version | | Fixed in Version | 0.40.05 | |
|
Summary | 0006380: Wind strength constant on smaller worlds? |
Description | Little proper information is available on the behavior of windmills in Dwarf Fortress, so I attempted to analyze the code behind determining wind strength and found what appears to be a bug.
When wind strength is calculated, it first determines X/Y strength based on the current time of day (and based on region properties), then it further adjusts the Y strength based on your latitude. The latitude variance has special cases for each world height (17, 33, 65, 129, and 257) to scale them to the range of 0-256, but if the world height is found to be less than 129 (i.e. any POCKET, SMALLER, or SMALL worlds), it simply ignores the latitude and uses a static wind strength of 3 (instead of varying values between -20 and +25). |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-10-02 13:57 | Quietust | New Issue | |
2013-10-02 14:36 | Quietust | Note Added: 0024152 | |
2013-10-21 10:17 | Quietust | Note Added: 0024170 | |
2014-03-19 17:40 | Footkerchief | Tag Attached: Fixed in 0.34.12? | |
2014-05-22 12:35 | Quietust | Note Edited: 0024152 | bug_revision_view_page.php?bugnote_id=0024152#r9266 |
2014-07-07 22:23 | Footkerchief | Tag Renamed | Fixed in 0.34.12? => Fixed in 0.40.01? |
2014-08-01 06:03 | Quietust | Note Added: 0028078 | |
2014-08-01 11:08 | Dwarfu | Note Added: 0028086 | |
2014-08-01 11:08 | Dwarfu | Status | new => resolved |
2014-08-01 11:08 | Dwarfu | Fixed in Version | => 0.40.05 |
2014-08-01 11:08 | Dwarfu | Resolution | open => fixed |
2014-08-01 11:08 | Dwarfu | Assigned To | => Toady One |
2014-08-01 11:08 | Dwarfu | Tag Detached: Fixed in 0.40.01? | |
Notes |
|
(0024152)
|
Quietust
|
2013-10-02 14:36
(edited on: 2014-05-22 12:35) |
|
Doing some further examining, I've tested several worlds and have been unable to locate any regions which have morning/evening winds - it's possible that although windmills contain logic to handle them, the game never actually generates them in the world to begin with (or they're generated dynamically during gameplay, and I was only analyzing them after worldgen).
|
|
|
|
The logic for scaling latitude to fit the 0-256 range appears to have been added in version 0.31 (with the same problem for small worlds), as it was not present in 0.28.181.40d. |
|
|
|
This appears to be fixed in version 0.40.05 - the wind strength function no longer has a special case for height<129. |
|
|
(0028086)
|
Dwarfu
|
2014-08-01 11:08
|
|
|