View Issue Details

IDProjectCategoryView StatusLast Update
0001447Dwarf FortressDwarf Mode -- Tradepublic2010-07-20 08:40
Reporterjgoodwin Assigned ToToady One  
PrioritylowSeverityminorReproducibilityhave not tried
Status acknowledgedResolutionopen 
Platformx64OSwinOS Version7
Product Version0.31.03 
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

Relationships

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

Activities

user6

2010-04-22 23:47

  ~0004684

Does this reproduce? That value seems awfully high.

ronarscorruption

2010-04-23 10:47

reporter   ~0004736

I can vouch for that, I get the same thing.

jgoodwin

2010-04-25 22:35

reporter   ~0005090

Last edited: 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

2010-04-25 23:05

reporter   ~0005095

There is some general funniness with the way weight is calculated currently. See 0001386 and 0000297.

GRead

2010-04-26 05:07

reporter   ~0005109

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

2010-04-26 09:03

reporter   ~0005127

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.

user6

2010-07-08 08:26

  ~0009789

Reminder sent to: Toady One

Hey Toady -- another weight bug that was possibly fixed already.

Toady One

2010-07-15 01:27

administrator   ~0010320

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.

Add Note

Note

Issue History

Date Modified Username Field Change
2010-04-22 23:06 jgoodwin New Issue
2010-04-22 23:47 user6 Note Added: 0004684
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
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 user6 Relationship added child of 0000297
2010-07-08 08:26 user6 Note Added: 0009789
2010-07-08 08:27 user6 Relationship replaced related to 0000297
2010-07-08 08:27 user6 Relationship added parent of 0001862
2010-07-08 08:27 user6 Relationship added parent of 0001860
2010-07-08 08:28 user6 Summary Gold nuggests weigh 901352 => Gold nuggets weigh 901352
2010-07-08 08:32 user6 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 user6 Relationship added has duplicate 0002395
2010-07-18 10:31 user6 Relationship added related to 0001575
2010-07-18 10:31 user6 Relationship replaced related to 0001860
2010-07-18 10:32 user6 Relationship deleted parent of 0001862
2010-07-18 10:32 user6 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 user11 Relationship added related to 0003955
2012-05-14 15:50 user6 Relationship added related to 0001862
2012-05-14 15:50 user6 Relationship deleted related to 0001860