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.

Difference between revisions of "v0.34 Talk:Jewelry"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with "From a bit of disassembly diving into version 0.23.130.23a, I've come up with LAYER, LAYER_PERMIT, and LAYER_SIZE values for a bunch of hardcoded items. There's no guarantee that...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
From a bit of disassembly diving into version 0.23.130.23a, I've come up with LAYER, LAYER_PERMIT, and LAYER_SIZE values for a bunch of hardcoded items. There's no guarantee that these values haven't changed in the past 5 years, but from my experience I can say it's quite likely that they haven't - still, it wouldn't hurt to check, and finding the code shouldn't be difficult now that it's clear what it looks like.
+
From a bit of disassembly, I've located the effective LAYER, LAYER_PERMIT, LAYER_SIZE, and COVERAGE values for a bunch of hardcoded items. Interestingly, they are quite different from what they were in 0.31.25 (where they perfectly matched the values from version 0.23.130.23a)...
 
 
 
{|
 
{|
 
! Item
 
! Item
Line 6: Line 5:
 
! LAYER_PERMIT
 
! LAYER_PERMIT
 
! LAYER_SIZE
 
! LAYER_SIZE
! Other
+
! COVERAGE
 
|-
 
|-
 
| Amulet
 
| Amulet
 
| COVER
 
| COVER
| 1000
+
| 10000
 +
| 0
 
| 1
 
| 1
|
 
 
|-
 
|-
 
| Crown
 
| Crown
 
| COVER
 
| COVER
| 30
+
| 10000
 +
| 0
 
| 20
 
| 20
| SHAPED
 
 
|-
 
|-
 
| Ring
 
| Ring
 
| UNDER
 
| UNDER
| 10
+
| 10000
 +
| 0
 
| 1
 
| 1
|
 
 
|-
 
|-
 
| Earring
 
| Earring
 
| UNDER
 
| UNDER
| 10
+
| 10000
 +
| 0
 
| 1
 
| 1
|
 
 
|-
 
|-
 
| Bracelet
 
| Bracelet
 
| UNDER
 
| UNDER
| 1000
+
| 10000
 +
| 0
 
| 1
 
| 1
|
 
 
|-
 
|-
 
| Backpack
 
| Backpack
 
| COVER
 
| COVER
| 200
+
| 10000
 +
| 0
 
| 50
 
| 50
|
 
 
|-
 
|-
 
| Quiver
 
| Quiver
 
| COVER
 
| COVER
| 200
+
| 10000
 +
| 0
 
| 30
 
| 30
|  
+
|-
 +
| Splint
 +
| COVER
 +
| 10000
 +
| 0
 +
| 50
 +
|-
 +
| Orthopedic Cast
 +
| UNDER
 +
| 10000
 +
| 0
 +
| 100
 
|}
 
|}
--[[User:Quietust|Quietust]] 20:05, 8 June 2012 (UTC)
+
--[[User:Quietust|Quietust]] 02:41, 9 June 2012 (UTC)

Latest revision as of 03:03, 9 June 2012

From a bit of disassembly, I've located the effective LAYER, LAYER_PERMIT, LAYER_SIZE, and COVERAGE values for a bunch of hardcoded items. Interestingly, they are quite different from what they were in 0.31.25 (where they perfectly matched the values from version 0.23.130.23a)...

Item LAYER LAYER_PERMIT LAYER_SIZE COVERAGE
Amulet COVER 10000 0 1
Crown COVER 10000 0 20
Ring UNDER 10000 0 1
Earring UNDER 10000 0 1
Bracelet UNDER 10000 0 1
Backpack COVER 10000 0 50
Quiver COVER 10000 0 30
Splint COVER 10000 0 50
Orthopedic Cast UNDER 10000 0 100

--Quietust 02:41, 9 June 2012 (UTC)