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.

40d Talk:Reactions

From Dwarf Fortress Wiki
Jump to navigation Jump to search

Page expansion

I want to explore the reaction mechanisms further so I'm going to be gathering information from the forum and other pages on the wiki and linking it to the talk page to have a nice list put together for information sources. --Ikkonoishi 12:51, 11 January 2008 (EST)

Reactions can produce other items besides metal and stones. http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=13&t=000101

Using Plants as materials. 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.

adding to flint
[MATGLOSS_STONE:FLINT]
[NAME:flint][COLOR:0:7:1][TILE:178]
[SEDIMENTARY]
[REACTION_CLASS:TEST]
[SOLID_DENSITY:9999]


and adding a new reaction

[REACTION:STONE_MAGIC]
[NAME:make steel from test flag]
[SMELTER]
[REAGENT:1:REACTION_CLASS:TEST]
[PRODUCT:100:2:BAR:NO_SUBTYPE:METAL:STEEL]


gives out 2 bars of steel bars --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 :) Darekun 13:37, 1 April 2009 (UTC)

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? 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. --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... Darekun 13:37, 1 April 2009 (UTC)


If you smelt a cow, do you get something milkable? Or does that still not unbreak it? 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? --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. --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. --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. --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? 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)--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. --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? --Ohsottovoce 16:56, 17 May 2009 (UTC)

__ I know what it is, you have [REAGENT] instead of [REAGENT:foo:foo:foo]