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.
Editing 40d Talk:Material token
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
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 or LEATHER | + | ::::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) |