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 "40d Talk:Material token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
 
Line 44: Line 44:
 
::Turns out a few entries were out of order and one entry was missing altogether. Somewhat odd that there's a PLANT_ALCOHOL material that's seemingly distinct from PLANT and using hardcoded properties (as opposed to the plant [DRINK_*] properties) - not sure if it's actually used for booze in-game or if it actually uses PLANT. --[[User:Quietust|Quietust]] 21:31, 8 September 2010 (UTC)
 
::Turns out a few entries were out of order and one entry was missing altogether. Somewhat odd that there's a PLANT_ALCOHOL material that's seemingly distinct from PLANT and using hardcoded properties (as opposed to the plant [DRINK_*] properties) - not sure if it's actually used for booze in-game or if it actually uses PLANT. --[[User:Quietust|Quietust]] 21:31, 8 September 2010 (UTC)
 
:::A bit of memory probing confirms that booze ''does'' use the PLANT_ALCOHOL material in 40d. --[[User:Quietust|Quietust]] 00:25, 19 July 2011 (UTC)
 
:::A bit of memory probing confirms that booze ''does'' use the PLANT_ALCOHOL material in 40d. --[[User:Quietust|Quietust]] 00:25, 19 July 2011 (UTC)
::::Upon further investigation, DRINK/EXTRACT/CHEESE items explicitly fetched plant/creature material properties when made of PLANT[_ALCOHOL] or LEATHER, while other items would effectively use the above table. Additionally, there's only a single item vmethod for getting the material's density, and only creature/plant-related items returned the appropriate LIQUID_DENSITY value (everything else always returned the solid density). Of course, there were some rather amusing bugs as well - PLANT, MEAT, FISH, and FISH_RAW items forced a COLDDAM_POINT of NONE, and DRINK items would always use the hardcoded plant_alcohol density due to it accidentally checking for LEATHER/PLANT instead of LEATHER/PLANT_ALCOHOL like all of the temperature values did. --[[User:Quietust|Quietust]] ([[User talk:Quietust|talk]]) 17:02, 20 February 2014 (UTC)
+
::::Upon further investigation, DRINK/EXTRACT/CHEESE items explicitly fetched plant/creature material properties when made of PLANT or LEATHER (DRINK items used PLANT_ALCOHOL instead of PLANT), while other items would effectively use the above table. Additionally, there's only a single item vmethod for getting the material's density, and only creature/plant-related items returned the appropriate LIQUID_DENSITY value (everything else always returned the solid density). Of course, there were some rather amusing bugs as well - PLANT, MEAT, FISH, and FISH_RAW items forced a COLDDAM_POINT of NONE, and DRINK items would always use the hardcoded plant_alcohol density due to it accidentally checking for LEATHER/PLANT instead of LEATHER/PLANT_ALCOHOL like all of the temperature values did. --[[User:Quietust|Quietust]] ([[User talk:Quietust|talk]]) 17:02, 20 February 2014 (UTC)

Latest revision as of 17:02, 20 February 2014

		spec_heat	heatdam_point	colddam_point	ignite_point	melting_point	boiling_point	fixed_temp	density
wood		420		matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss
stone		matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss
metal		matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss
bone		matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss
ivory		matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss
horn		matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss
amber		1000		11000		NONE		NONE		NONE		NONE		NONE		1200
coral		1000		10600		NONE		NONE		NONE		NONE		NONE		1200
pearl		1000		10600		NONE		NONE		NONE		NONE		NONE		1200
shell		1000		10600		NONE		NONE		NONE		NONE		NONE		1200
leather		matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss
silk		matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss
plant		matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss	matgloss
green glass	700		NONE		NONE		NONE		13600		16000		NONE		2600
clear glass	700		NONE		NONE		NONE		13600		16000		NONE		2600
crystal glass	700		NONE		NONE		NONE		13600		16000		NONE		2600
sand		835		NONE		NONE		NONE		13600		16000		NONE		1600
water		4181		NONE		NONE		NONE		10000		10180		NONE		920
coal		409		NONE		NONE		11440		NONE		16708		NONE		1346
potash		800		NONE		NONE		NONE		NONE		NONE		NONE		1200
ash		800		NONE		NONE		NONE		NONE		NONE		NONE		1200
pearlash	800		NONE		NONE		NONE		NONE		NONE		NONE		1200
lye		4181		NONE		NONE		NONE		10000		10180		NONE		920
tallow		4181		NONE		NONE		10180		10180		10360		NONE		1200
soap		800		NONE		NONE		NONE		10180		10360		NONE		1200
fat		4181		NONE		NONE		10180		10180		10360		NONE		1200
mud		800		NONE		NONE		NONE		NONE		NONE		NONE		1200
vomit		4181		10180		NONE		NONE		10000		10180		NONE		1200
blood_nonspec	4181		10180		NONE		NONE		10000		10180		NONE		920
slime		4181		10180		NONE		NONE		10000		10180		NONE		1200
salt		854		NONE		NONE		NONE		11442		12637		NONE		1200
blood_spec	4181		10180		NONE		NONE		10000		10180		NONE		920
plant_alcohol	4181		NONE		NONE		NONE		10000		10180		NONE		800
filth_b		4181		10180		NONE		NONE		10000		10180		NONE		1200
filth_y		4181		10180		NONE		NONE		10000		10180		NONE		920
unknown_subst	4181		10180		NONE		NONE		10000		10180		NONE		920
grime		800		NONE		NONE		NONE		NONE		NONE		NONE		1200

ivory and horn both use bone properties

Values determined from disassembly of 0.28.181.40d. --Quietust 20:14, 11 August 2010 (UTC)

Added solid_density values. Can't seem to locate the liquid_density lookup function anywhere. --Quietust 15:02, 19 August 2010 (UTC)
Turns out a few entries were out of order and one entry was missing altogether. Somewhat odd that there's a PLANT_ALCOHOL material that's seemingly distinct from PLANT and using hardcoded properties (as opposed to the plant [DRINK_*] properties) - not sure if it's actually used for booze in-game or if it actually uses PLANT. --Quietust 21:31, 8 September 2010 (UTC)
A bit of memory probing confirms that booze does use the PLANT_ALCOHOL material in 40d. --Quietust 00:25, 19 July 2011 (UTC)
Upon further investigation, DRINK/EXTRACT/CHEESE items explicitly fetched plant/creature material properties when made of PLANT or LEATHER (DRINK items used PLANT_ALCOHOL instead of PLANT), while other items would effectively use the above table. Additionally, there's only a single item vmethod for getting the material's density, and only creature/plant-related items returned the appropriate LIQUID_DENSITY value (everything else always returned the solid density). Of course, there were some rather amusing bugs as well - PLANT, MEAT, FISH, and FISH_RAW items forced a COLDDAM_POINT of NONE, and DRINK items would always use the hardcoded plant_alcohol density due to it accidentally checking for LEATHER/PLANT instead of LEATHER/PLANT_ALCOHOL like all of the temperature values did. --Quietust (talk) 17:02, 20 February 2014 (UTC)