View Issue Details

IDProjectCategoryView StatusLast Update
0006129Dwarf FortressReactionspublic2012-07-24 09:02
ReporterQuietust Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version0.34.11 
Summary0006129: Cannot specify COAL:NONE, only COAL:NO_MATGLOSS
DescriptionWhen 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.
TagsNo tags attached.

Activities

Quietust

2012-07-24 09:02

reporter   ~0023341

Last edited: 2012-07-24 09:03

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).

Add Note

Note

Issue History

Date Modified Username Field Change
2012-07-24 08:53 Quietust New Issue
2012-07-24 09:02 Quietust Note Added: 0023341
2012-07-24 09:03 Quietust Note Edited: 0023341