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.

v0.31 Talk:Jewelry

From Dwarf Fortress Wiki
Revision as of 03:01, 9 June 2012 by Quietust (talk | contribs) (they DID match up thru 0.31.25)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Did a few tests in Arena mode with how other clothing interferes with jewelry as a Dwarf:

  • Putting on 10 amulets seems to take up the space of 1 hood.
  • While wearing more than 30 amulets, a crown cannot be put on.
  • While wearing both mittens and gloves, up to 10 bracelets can be worn on each hand.
  • While wearing mittens, up to 20 bracelets can be worn on each hand.
  • While wearing only gloves, there is no limit on the number of bracelets that can be worn, but once 10 bracelets are put on, it is no longer possible to put on mittens.

There's some strange stuff going on, probably due to me not properly understanding the interactions between different clothing layers (ARMOR, COVER, OVER, and UNDER). --Quietust 22:42, 21 December 2010 (UTC)

okay I guess I need to check my testing again, maybe its because I did my testing with a human. I gotta ask though why you didn't give me this info before. I know you read the thread so... not enough time or what? --LightBearer 04:47, 22 December 2010 (UTC)

I'd guess the reason there's no limit to amulets/bracelets normally is that they have undefined and/or infinite size permit, which would also explain the limiting with mittens/gloves/hoods. I'd think that they have a size of 1, based off of the data you've given, and if so then the crown has a permit of 30. --Doomdome 10:57, 24 December 2010 (UTC)

From a bit of disassembly diving into version 0.23.130.23a, I found LAYER, LAYER_PERMIT, and LAYER_SIZE values (and SHAPED flags) for a bunch of hardcoded items. With a bit of searching, I managed to locate the equivalent code in version 0.31.25 and confirmed that they match perfectly. I've also located the COVERAGE values, as well as values for splints and casts:

Item LAYER LAYER_PERMIT LAYER_SIZE COVERAGE Other
Amulet COVER 1000 1 1
Crown COVER 30 20 20 SHAPED
Ring UNDER 10 1 1
Earring UNDER 10 1 1
Bracelet UNDER 1000 1 1
Backpack COVER 200 50 50
Quiver COVER 200 30 30
Splint COVER 200 30 50 SHAPED
Orthopedic cast UNDER 30 30 100 SHAPED

--Quietust 03:01, 9 June 2012 (UTC)