|Anonymous | Login | Signup for a new account||2022-07-04 08:00 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0011863||Dwarf Fortress||Items||public||2022-04-01 06:18||2022-04-08 08:03|
|Target Version||Fixed in Version|
|Summary||0011863: Tool SIZE and CONTAINER_CAPACITY are a tenth defined size|
|Description||While working out container sizes in arena mode, I noticed something was off with tools compared to the hard-coded items. It seems (based on investigation with placing things inside other things until full + looking at sizes in DFhack) that the size and capacity of tools are 1/10th their raw-defined amounts.|
- A bucket has a capacity of 600, but it's able to fit 6 display cases (supposedly 1000 in size each) before becoming full.
- A pouch has a supposed capacity of 1000, but can't fit in a bucket (which has a volume of 300). Nor can it fit any non-tool item more than 100 in size before becoming full.
It could be that this is intended, and that it's just the explanation on the wiki of what the SIZE and CONTAINER_CAPACITY values are supposed to represent that's wrong. If that's true though, then some of the numbers chosen seem a little off - it's hard to imagine that a six-sided die in the DF universe is supposed to be ~8mm per side.
|Tags||No tags attached.|
This might be why I've always been noticing tools being surprisingly light (as also noticed with this issue https://www.bay12games.com/dwarves/mantisbt/view.php?id=11196 [^])
Given the whole factor of 10 and sizing thing, this is probably in some way linked with https://www.bay12games.com/dwarves/mantisbt/view.php?id=11772 [^]
edited on: 2022-04-08 08:30
The Volume/Capacity numbers listed on the wiki page were determined via disassembly analysis, and they explicitly indicate that Tools use SIZE/10 and CAPACITY/10 for those numbers. Thus, you need to multiply all of them by 10 if you want things to match up (and I've just updated the wiki page accordingly).
Effectively, what the game is doing internally is just rounding all weights down to the nearest 10 units. Exactly why it's doing that, I don't know, but that's what it's doing.
|2022-04-01 06:18||Atkana||New Issue|
|2022-04-01 06:22||Atkana||Note Added: 0041238|
|2022-04-01 06:25||Atkana||Issue Monitored: Atkana|
|2022-04-08 08:03||Quietust||Note Added: 0041240|
|2022-04-08 08:30||Quietust||Note Edited: 0041240||View Revisions|
|Copyright © 2000 - 2010 MantisBT Group|