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:Reactions

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 9: Line 9:
 
http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=13&t=000051
 
http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=13&t=000051
  
=== Mislabeled? ===
 
While browsing it seems that rather than a MATGLOSS token, REACTION and PRODUCT take a MATERIAL token. Likewise the link to the matgloss token page is quite unhelpful, while the material token page gives a fair idea. I admit I could be wrong... -- No one in particular. (13 November 2009)
 
 
=== Reaction tag experimentation ===
 
  
 
just tested and confirmed that you can add reaction tags.  testing if multiple reaction tags can be added to one items now.   
 
just tested and confirmed that you can add reaction tags.  testing if multiple reaction tags can be added to one items now.   
Line 36: Line 32:
 
gives out 2 bars of steel bars  --[[User:Shadetree|Shadetree]] 23:29, 5 February 2008 (EST)
 
gives out 2 bars of steel bars  --[[User:Shadetree|Shadetree]] 23:29, 5 February 2008 (EST)
  
:Yes, but does it consume the flint? Have you checked the error log? If you create a reaction with an error in its [REAGENT]s, the offending reagents will be deleted, so you might end up with a "free steel bars" recipe. Given the presence of "FLUX" and "Flux Stone" in the [[string dump]] I'm skeptical, but that's sweet if it works :) [[User:Darekun|Darekun]] 13:37, 1 April 2009 (UTC)
 
  
 
=== Pets? ===
 
=== Pets? ===
 
I notice one of the entries for item tokens is PET. Is it possible to smelt animals? Can I have a smelter pop out a swarm of giant eagles? [[User:Rkyeun|Rkyeun]] 22:26, 18 August 2008 (EDT)
 
I notice one of the entries for item tokens is PET. Is it possible to smelt animals? Can I have a smelter pop out a swarm of giant eagles? [[User:Rkyeun|Rkyeun]] 22:26, 18 August 2008 (EDT)
 
:No. Well, technically you can, but it'll pop out as a swarm of tiny vermin instead of a flock of killer birds. --[[User:Untelligent|Untelligent]] 18:32, 19 August 2008 (EDT)
 
 
:Specifically, [PRODUCT:100:1:PET:NO_SUBTYPE:DRAGON:NO_SUBTYPE] will turn out a weird little tame-vermin version of a dragon, and [PRODUCT:100:1:VERMIN:NO_SUBTYPE:DRAGON:NO_SUBTYPE] will turn out a similar wild-vermin dragon. If you make vermin versions of [TRAINABLE] creatures, you might be able to train them as war vermin... [[User:Darekun|Darekun]] 13:37, 1 April 2009 (UTC)
 
 
 
::If you smelt a cow, do you get something milkable? Or does that still not unbreak it?  [[Special:Contributions/98.207.116.43|98.207.116.43]] 08:48, 20 March 2010 (UTC)
 
 
==Plant Reactions==
 
In the August 12th dev log (which eventually became part of 40a), Toady mentioned that reactions for several items, notably "plants to bones to extracts etc." are fully supported now (as opposed to making the material number the same as the number of the plant). Can someone find the correct syntax for such reactions? --[[User:Untelligent|Untelligent]] 18:32, 19 August 2008 (EDT)
 
:I've added the syntax for plants and seeds to the [[Material tokens]] page, since that's where it gets a bit weird. --[[User:Zaranthan|Zaranthan]] 18:24, 17 February 2009 (EST)
 
== Update  ==
 
 
Version 0.28.181.40a added embark profiles and generalized the item definitions. This means that reactions will work better with things other than stone and metal. How much better remains to be seen. We need to document it. --[[User:Ikkonoishi|Ikkonoishi]] 17:52, 3 September 2008 (EDT)
 
:I've updated the information some. Still needs some cleaning and more work, but I'm tired of it for now. --[[User:Ikkonoishi|Ikkonoishi]] 19:19, 3 September 2008 (EDT)
 
 
== Containers ==
 
 
Given that smelters look in bar/block bins as a matter of course, the line "The smelter cannot look inside containers for reagents..." seems overgeneralized or false. Any data to back it up? [[User:Darekun|Darekun]] 13:20, 1 April 2009 (UTC)
 
 
:I think that this is false, and am going to run a test, using an added reaction of my own, to see if the smelter will look into my barrels for those plump helmets that it's going to be making into adamantine... ;) (But don't expect me to have this test done for at least a few more days)--[[User:Drake1500|Drake1500]] 05:20, 4 May 2009 (UTC)
 
 
::No need.. It was obviously false since 99% of fortresses run their smelting operations out of a bar stockpile with bars in bins. --[[User:N9103|Edward]] 05:52, 4 May 2009 (UTC)
 
 
== Small Item Reactions ==
 
 
I've been playing around with what I can and cannot produce via reactions and have come across a peculiarity: I only get small versions of the item declared using the following reaction:
 
 
 
[REACTION:FREE_IBNIR]
 
[NAME:make ibnir]
 
[SMELTER]
 
[REAGENT]
 
[PRODUCT:100:5:ARMOR:ITEM_ARMOR_IBNIR:METAL:ADAMANTINE]
 
 
 
Here's the entry under item_armor.txt:
 
 
 
[ITEM_ARMOR:ITEM_ARMOR_IBNIR]
 
[NAME:ibnir:ibnira]
 
[WEIGHT:10]
 
[VALUE:1000]
 
[MAINBLOCK:300]
 
[SECONDBLOCK:175]
 
[UBSTEP:MAX]
 
[LBSTEP:MAX]
 
[LAYER:OVER]
 
[COVERAGE:100]
 
[LAYER_SIZE:15]
 
[LAYER_PERMIT:150]
 
[MATERIAL_SIZE:75]
 
[HARD]
 
[METAL]
 
 
 
I've had no trouble getting free reactions otherwise, e.g.:
 
 
 
[REACTION:FREE_ADAMANTINE_WAFERS]
 
[NAME:make adamantine wafers]
 
[SMELTER]
 
[REAGENT]
 
[PRODUCT:100:50:BAR:NO_SUBTYPE:METAL:ADAMANTINE]
 
 
 
I can change the material in the FREE_IBNIR reaction without any problems, but the product still comes out "small".
 
 
I set "ITEM_ARMOR_IBNIR" to "COMMON" in the entity profile and my units consequently embark with steel ibnirs equipped (normal size, which is to say, no size-related adjective appended).
 
 
I cannot for the life of me figure out what's going on, which means it's probably something obvious. Anyone care to point it out for me? --[[User:Ohsottovoce|Ohsottovoce]] 16:56, 17 May 2009 (UTC)
 
 
__
 
<s>I know what it is, you have [REAGENT] instead of [REAGENT:foo:foo:foo]</s>nvm, I misread the post. Silly me.
 

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)