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.

Difference between revisions of "23a Talk:Strange mood"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with '==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 cou…')
 
m
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 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)

Revision as of 19:27, 8 July 2011

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. --Quietust 19:27, 8 July 2011 (UTC)