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 v0.31 Talk:Glass

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 "v0.31"). 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 1: Line 1:
===glass trap damage===
 
last version says glass weapon damage is 50%, is this still true in 2010? <small>&ndash; [[template:unsigned|unsigned]] comment by [[User:Rembrandtq|Rembrandtq]]</small>
 
:'''No''' - that's one of the major things that was completely changed. --[[User:Quietust|Quietust]] 04:00, 14 December 2010 (UTC)
 
 
 
==schroedingers glass==
 
==schroedingers glass==
 
Hullo. I had a glitch with raw clear glass where the jeweller's workshop could not see or did not list the clear glass in bins in storage piles in the same room.
 
Hullo. I had a glitch with raw clear glass where the jeweller's workshop could not see or did not list the clear glass in bins in storage piles in the same room.
Line 14: Line 10:
  
 
Glass spiked balls seems to deal blunt damage if unable to penetrate armor and hence are quite useful. Too useful in my case - I want enemies to fall while dodging, but they end up dying and jamming traps... <small>&ndash; [[template:unsigned|unsigned]] comment by [[User:213.145.155.74|213.145.155.74]]</small>
 
Glass spiked balls seems to deal blunt damage if unable to penetrate armor and hence are quite useful. Too useful in my case - I want enemies to fall while dodging, but they end up dying and jamming traps... <small>&ndash; [[template:unsigned|unsigned]] comment by [[User:213.145.155.74|213.145.155.74]]</small>
:I suspect this is actually because of the uninitialized MAX_EDGE value... glass ends up being "randomly really sharp", and it actually does punch through the armor. What do the combat messages say? --[[User:DeMatt|DeMatt]] 08:16, 26 November 2010 (UTC)
+
:I suspect this is actually because of the uninitialized MAX_EDGE value... glass ends up being "randomly really sharp", and it actually does punch through the armor. What do the combat messages say? --[[Special:Contributions/70.72.155.244|70.72.155.244]] 08:15, 26 November 2010 (UTC)
Actually i used 5 glass serrated disk + 5 glass spiked balls in each trap (for aesthetic). All serrated disk attacks were deflected by cloaks, but ball attacks of same trap fracture/cheap/shatter bones even through copper/iron armor. After detailed combat log analysis I noticed that there was no deflected ball attacks. Is it strange? Some attacks were blocked by his weapon, but none deflected by armor. I don't have any copper or steel ball traps no compare performance.
 
 
 
== Where are the raws? ==
 
I cannot find the raws for glass listed ANYWHERE in the game's files. Help? --[[User:HugoLuman|HugoLuman]] 03:54, 16 March 2011 (UTC)
 
:They don't actually exist as raws - the ones on this page are reconstructed based on values extracted directly from the game's code/memory. --[[User:Quietust|Quietust]] 03:57, 16 March 2011 (UTC)
 
::Will adding these raws as a .txt enable modding of glass? Or will it result in a dual-listings crash? --[[User:HugoLuman|HugoLuman]] 05:24, 16 March 2011 (UTC)
 
:::Neither - the old glass materials would continue to exist unmodified as GLASS_GREEN:NONE, GLASS_CLEAR:NONE, and GLASS_CRYSTAL:NONE, and the new materials defined in your .txt file would exist as INORGANIC:GLASS_GREEN, INORGANIC:GLASS_CLEAR, and INORGANIC:GLASS_CRYSTAL, and nothing would actually make use of them unless you added a bunch of custom reactions. The raws are provided solely for reference. --[[User:Quietust|Quietust]] 13:34, 16 March 2011 (UTC)
 
:::: I see. Thanks. Perhaps this will be remedied in future versions. --[[User:HugoLuman|HugoLuman]] 23:22, 16 March 2011 (UTC)
 
 
 
== Work around for Crystal Glass bug and a noble's demand ==
 
I have a couple of blank reactions in my reaction_smelter.txt file.  I had a noble that wanted crystal glass items.  I created this reaction and he was satisfied.  Is it cheating when you fix a bug?
 
 
 
[REACTION:DUMMY4]
 
[NAME:Crystal Crafts]
 
[BUILDING:SMELTER:NONE]
 
[REAGENT:A:2:BOULDER:NONE:NONE:NONE][WORTHLESS_STONE_ONLY]
 
[PRODUCT:100:3:CRAFTS:NO_SUBTYPE:GLASS_CRYSTAL:NONE]
 
[FUEL]
 
[SKILL:SMELT]
 
--[[User:Altaree|Altaree]] 14:41, 25 July 2011 (UTC)
 
:I've actually written a binary patch to fix '''all''' crystal glass production in Windows SDL version 0.31.25 - 0036AE87: 7C B8 32 00 00 00 -> 78 0F BF 47 7C 90 and 0036AE9B: 0F BF 4F 78 85 C9 78 2D -> B9 32 00 00 00 90 90 90. The actual problem was that the code to check for rough gems made of a material with CRYSTAL_GLASSABLE was calling a C preprocessor macro with the parameters in the wrong order (so instead of calling getMaterial(INORGANIC, CRYSTAL_ROCK).checkFlag(CRYSTAL_GLASSABLE), it's calling getMaterial(CRYSTAL_ROCK, CRYSTAL_GLASSABLE).checkFlag(INORGANIC)). --[[User:Quietust|Quietust]] 15:35, 25 July 2011 (UTC)
 

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Please sign comments with ~~~~

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)