Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001386Dwarf FortressItemspublic2010-04-20 22:252010-07-05 01:24
ReporterPencilinHand 
Assigned ToToady One 
PrioritynoneSeveritytweakReproducibilityalways
StatusresolvedResolutionfixed 
PlatformFuijitsu Lifebook T4220OSWindows XP Tablet Edition 2005OS VersionSP3
Product Version0.31.03 
Target VersionFixed in Version0.31.09 
Summary0001386: High boots weigh about 1/33 as much as low boots.
DescriptionTitle pretty much says it all. High boots weigh a fraction of what low boots weigh. Surely, there is a calculation mistake somewhere.
Steps To ReproduceEnter arena mode. Equip a creature with one slade high boot and one slade low boot. Compare their weights.
Additional InformationThe weight formula for shoes appears to be LAYER_SIZE*DENSITY/75000 though more research is needed.
TagsEquipment, weight
Attached Files

- Relationships
child of 0000297resolvedToady One Bronze shields, gauntlets and boots weigh less than 1 kilogram 

-  Notes
(0004413)
Footkerchief (manager)
2010-04-20 22:39

See 0000297.
(0004416)
Zas (reporter)
2010-04-20 22:53

I think it's just a typo in raws. Should simply be the other way round.
(0004418)
PencilinHand (reporter)
2010-04-20 23:11

That is a negative there Zas, not a problem in the raws but something internal. The other items in item_shoes.txt derive their weight from LAYER_SIZE*DENSITY/75000. Plugging in the raw numbers for high boots results in a different weight number than the one reported in game.

Helm's appear to be somewhat similarly cursed. Items under item_helm.txt derive their weight from (layer size * material density)/60000 but a helm is just the material density / 1010(or something close to that).

I stumbled on the helm and high boots problem trying to derive the weight formulas for each item. I was somewhat surprised to find they weren't all consistent even within an item class. After weighing the degree of discrepancy I concluded they were bugs.
(0009618)
Footkerchief (manager)
2010-07-04 09:03

Reminder sent to: Toady One

Was this one fixed as well?
(0009619)
smjjames (reporter)
2010-07-04 09:09

Foot, maybe put a reminder on 0001009 since that one is related to weight and the same thing that was causing the weight bug with armor and clothing could have been fixed there as well?
(0009639)
Toady One (administrator)
2010-07-05 01:24

Ah, yeah, I was going to search for and mark these off today, since I fixed these problems without reference to a specific bug report. Thanks for hunting them down.

- Issue History
Date Modified Username Field Change
2010-04-20 22:25 PencilinHand New Issue
2010-04-20 22:39 Footkerchief Note Added: 0004413
2010-04-20 22:39 Footkerchief Relationship added child of 0000297
2010-04-20 22:49 foxbyte Tag Attached: weight
2010-04-20 22:49 foxbyte Tag Attached: Equipment
2010-04-20 22:53 Zas Note Added: 0004416
2010-04-20 23:11 PencilinHand Note Added: 0004418
2010-07-04 09:03 Footkerchief Issue Monitored: Toady One
2010-07-04 09:03 Footkerchief Note Added: 0009618
2010-07-04 09:09 smjjames Note Added: 0009619
2010-07-05 01:24 Toady One Note Added: 0009639
2010-07-05 01:24 Toady One Status new => resolved
2010-07-05 01:24 Toady One Fixed in Version => 0.31.09
2010-07-05 01:24 Toady One Resolution open => fixed
2010-07-05 01:24 Toady One Assigned To => Toady One


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker