View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006129 | Dwarf Fortress | Reactions | public | 2012-07-24 08:53 | 2012-07-24 09:02 |
Reporter | Quietust | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Product Version | 0.34.11 | ||||
Summary | 0006129: Cannot specify COAL:NONE, only COAL:NO_MATGLOSS | ||||
Description | When specifying materials for reactions, the string "NONE" is accepted in most places as "undefined". Trying to make a reaction accept generic "refined coal" using this notation, however, does not work - specifying COAL:NONE will just give you the error "Unrecognized Coal Token: NONE". In order for it to work correctly, you need to specify COAL:NO_MATGLOSS, which is inconsistent with other materials - for INORGANIC, you can specify either NO_MATGLOSS or NONE. | ||||
Tags | No tags attached. | ||||
|
There's also the fact that the stock reactions in reaction_smelter.txt tend to use lots of outdated legacy syntax compared to the newer reactions defined in reaction_other.txt. 1. All of the smelter reactions use NO_SUBTYPE for null item subtypes, while other reactions use NONE (to the same effect). 2. All of the smelter reactions refer to metals by the alias "METAL" instead of the material token "INORGANIC". This has actually confused some modders into thinking that INORGANIC cannot be used with metals, most notably in comment 18880 on bug 0004573. 3. All of the ore-using smelter reactions use the old syntax [REAGENT:x:1:METAL_ORE:foo] instead of the more consistent syntax [REAGENT:x:1:NONE:NONE:NONE:NONE][METAL_ORE:foo] (which was found in the first place by disassembling the code that parses the reaction raws). |