Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001447Dwarf FortressDwarf Mode -- Tradepublic2010-04-22 23:062010-07-20 08:40
Assigned ToToady One 
PrioritylowSeverityminorReproducibilityhave not tried
Platformx64OSwinOS Version7
Product Version0.31.03 
Target VersionFixed in Version 
Summary0001447: Gold nuggets weigh 901352
DescriptionIn the trade display gold the weight format is not wide enough and the weight value (1352) runs into the sale value (90) and overwrites the dwarf-bucks symbol.

Anyway 1352 is unreasonably large given that anvils weigh only 78 and the entire caravan's weight capacity was 3100. So instead of fixing the format you could just set a max weight of 999 for any one item.
Steps To Reproducestrike the earth, find gold, trade nugget.
Tagsitem, trading, user interface, weight
Attached Files

- Relationships
related to 0000297resolvedToady One Bronze shields, gauntlets and boots weigh less than 1 kilogram 
related to 0001575resolvedToady One Interface text is too wide, overwrites other menu options 
has duplicate 0002395resolvedFootkerchief Heavy weights printing over value of trade items 
related to 0003955new Text overflow 
related to 0001862new Weight discrepancy between boulders and blocks/bars 

-  Notes
Footkerchief (manager)
2010-04-22 23:47

Does this reproduce? That value seems awfully high.
ronarscorruption (reporter)
2010-04-23 10:47

I can vouch for that, I get the same thing.
jgoodwin (reporter)
2010-04-25 22:35
edited on: 2010-04-25 22:40

Btw examining a gold nugget shows its weight is 1352. Anyone with gold can repro this easily. So it's simply a display format error that the value (90) runs into the weight (1352). But I think 1352 is too high anyway.

24kt gold is 1204 lb/ft3 and cast lead is 708 lb/ft3, the ratio is 1.7:1.
In game a bar of lead (weight 22) and a bar of gold (weight 38) closely match this ratio, implying that a bar of lead in game is the same size as a bar of gold. Since you get one bar of lead from a galena boulder, which weighs 525, there's a smelting reduction factor of 23.86. And since you get one gold bar weighing 38 from smelting a gold nugget weighing 1352, the gold smelting reduction factor is much higher, 35.58, implying that a gold nugget is much less pure gold than a galena boulder is pure lead.

That doesn't match my intuition about gold nuggets, which is of course based on movies and not science.

Just using the lead smelting reduction factor for gold would mean gold nuggets should weigh 907 (38*23.86). Or 525*1.7 is 983, so I think gold nuggets should weigh no more than 907.

PencilinHand (reporter)
2010-04-25 23:05

There is some general funniness with the way weight is calculated currently. See 0001386 and 0000297.
GRead (reporter)
2010-04-26 05:07

This seems unrelated to 0001386 and 0000297, which are internal calculation errors. This actually follows directly from the raws; gold nuggets *are* pure gold, and have a solid_density of 19320. Galena has a solid_density of 7500. But all boulders are created the same, so the 'gold nuggets' weigh significantly more than the galena boulder.
DoctorZuber (reporter)
2010-04-26 09:03

nice report. Allowing for some variance in purity from one material to the next the weight for gold could be working as intended. raw ore is awful darned heavy, and isn't necessarily all on the same ratio before smelting.

In either event, this does still leave a misleading display error.
Footkerchief (manager)
2010-07-08 08:26

Reminder sent to: Toady One

Hey Toady -- another weight bug that was possibly fixed already.
Toady One (administrator)
2010-07-15 01:27

That one is kind of in a weird space. The boulders are human-sized, so a gold boulder ("nuggets") is quite heavy -- 1300kg seems reasonable. The reason they are human-sized is because you can make giant statues from them (as well as like three goblets). Shrinking/growing is inevitable until more reactions respect sizes etc., and I'm not even sure how good of an idea that'll end up being, though it's more important to do for adv mode.

- Issue History
Date Modified Username Field Change
2010-04-22 23:06 jgoodwin New Issue
2010-04-22 23:47 Footkerchief Note Added: 0004684
2010-04-23 00:09 Footkerchief Issue Monitored: Footkerchief
2010-04-23 10:47 ronarscorruption Note Added: 0004736
2010-04-25 22:35 jgoodwin Note Added: 0005090
2010-04-25 22:40 jgoodwin Note Edited: 0005090 View Revisions
2010-04-25 23:05 PencilinHand Note Added: 0005095
2010-04-26 05:07 GRead Note Added: 0005109
2010-04-26 09:03 DoctorZuber Note Added: 0005127
2010-07-08 08:25 Footkerchief Relationship added child of 0000297
2010-07-08 08:26 Footkerchief Issue Monitored: Toady One
2010-07-08 08:26 Footkerchief Note Added: 0009789
2010-07-08 08:27 Footkerchief Relationship replaced related to 0000297
2010-07-08 08:27 Footkerchief Relationship added parent of 0001862
2010-07-08 08:27 Footkerchief Relationship added parent of 0001860
2010-07-08 08:28 Footkerchief Summary Gold nuggests weigh 901352 => Gold nuggets weigh 901352
2010-07-08 08:32 Footkerchief Relationship added related to 0001484
2010-07-15 01:27 Toady One Note Added: 0010320
2010-07-15 01:27 Toady One Assigned To => Toady One
2010-07-15 01:27 Toady One Status new => acknowledged
2010-07-18 10:31 Footkerchief Relationship added has duplicate 0002395
2010-07-18 10:31 Footkerchief Relationship added related to 0001575
2010-07-18 10:31 Footkerchief Relationship replaced related to 0001860
2010-07-18 10:32 Footkerchief Relationship deleted parent of 0001862
2010-07-18 10:32 Footkerchief Relationship deleted related to 0001484
2010-07-18 18:23 TomiTapio Tag Attached: item
2010-07-18 18:23 TomiTapio Tag Attached: trading
2010-07-18 18:23 TomiTapio Tag Attached: weight
2010-07-20 08:40 quatch Tag Attached: user interface
2011-07-09 01:04 Dwarfu Relationship added related to 0003955
2012-05-14 15:50 Footkerchief Relationship added related to 0001862
2012-05-14 15:50 Footkerchief Relationship deleted related to 0001860

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker