v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing 23a Talk:Strange mood
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "23a"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
==Item count== | ==Item count== | ||
One of the limiting factors on artifact count is indeed the number of items in the fortress; however, the number being used seems to be '''double''' the actual count. The strange mood code sums up the contents of the vector starting at [00EA059C] (using the size of another seemingly unrelated vector) and divides it by 200, and that vector contains both counts of generic item types (e.g. STONE, ORE; presumably for the left side of the Stocks screen) and of specific item/material combinations (e.g. chalk boulders, schist boulders, pumice boulders, cassiterite, malachite, sphalerite; presumably for the right side of the stocks screen), so the item count is doubled. It might be worth checking if this same is true in later versions. --[[User:Quietust|Quietust]] 19:27, 8 July 2011 (UTC) | One of the limiting factors on artifact count is indeed the number of items in the fortress; however, the number being used seems to be '''double''' the actual count. The strange mood code sums up the contents of the vector starting at [00EA059C] (using the size of another seemingly unrelated vector) and divides it by 200, and that vector contains both counts of generic item types (e.g. STONE, ORE; presumably for the left side of the Stocks screen) and of specific item/material combinations (e.g. chalk boulders, schist boulders, pumice boulders, cassiterite, malachite, sphalerite; presumably for the right side of the stocks screen), so the item count is doubled. It might be worth checking if this same is true in later versions. --[[User:Quietust|Quietust]] 19:27, 8 July 2011 (UTC) | ||
− | |||
==More Artifacts== | ==More Artifacts== | ||
Line 11: | Line 10: | ||
== Dropping Artifacts == | == Dropping Artifacts == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Due to a bug, dwarves never drop their artifacts like they're supposed to. Edit dwarfort.exe and apply the following patches and it'll start working correctly again. Additionally, changing the bytes at 0x0A721F from 0x0F 0x84 0xB1 0x03 to 0x90 0xE9 0x22 0x02 will cause dwarves to '''always''' drop their artifacts instead of hiding or becoming obsessed with them. --[[User:Quietust|Quietust]] 21:31, 19 August 2011 (UTC) | |
− | + | * 0x14079B : 8A -> 8B | |
− | --[[User:Quietust|Quietust]] 21:31, 19 August 2011 (UTC) | + | * 0x1407A1 : B0 FE C2 04 00 90 90 90 -> B8 FE FF FF FF C2 04 00 |
− | + | * 0x0B5430 : B0 FE C2 04 00 90 90 90 -> B8 FE FF FF FF C2 04 00 | |
− | + | * 0x1E8015 : 0F BE C0 -> 90 90 90 | |
− | |||
− | |||
− | |||
− | |||
− | : | ||
− | |||
− | : | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | : | ||
− | |||
− | : | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |