Dwarf Fortress > DF Modding

Stupid question about custom reaction

(1/2) > >>

Gobolinno:
Hi!.
I'm TRYING to get a custom (cheat) reaction in a savegame.

ok... I go to data -> save -> my world -> raw -> objects.

I modify the  entity_default, and I add this:

[PERMITTED_REACTION:ADAMANTINE_II]

just below all the other "permited_reaction" so I'm sure it's in the right place.

Now, I go to the reaction_smelter file, and I add this:


[REACTION:ADAMANTINE_II]
[NAME:New adamantine]
[BUILDING:SMELTER:NONE]
[REAGENT:A:REACTION_CLASS:JUNK]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:ADAMANTINE]
[PRODUCT_DIMENSION:150]
[FUEL]
[SKILL:SMELT]

(I followed more or less all the other reactions in this file).
With the obvious intention to use anything that I want to get rid of, to get the best metal).

But the option doesn't appear in the list, at all. =/

(I'm following this:

--- Quote ---f you add a smelting reaction, you have to add the reaction to the "reaction_smelter.txt", you then have to make your reaction permitted on the "entity_default.txt".
When you add a reaction to the "entity_default.txt" it will be under the [ENTITY:MOUNTAIN] listing. Your permitted reaction should look like...
[PERMITTED_REACTION:XXXCUSTOM_REACTION_NAMEXXX]

--- End quote ---

So, anyone can point me where's the error, please?. =)

Sver:
The reagent is really off. It should be defined like this:


--- Code: ---[REAGENT:tag:amount:TYPE:SUBTYPE:MATERIAL:SUBMATERIAL]
--- End code ---

If any item is ok to use, all the uppercase ones should be set to NONE, like this:


--- Code: ---[REAGENT:A:1:NONE:NONE:NONE:NONE]
--- End code ---

although, I'm not entirely sure if the reaction will work with not even an item type defined.

REACTION_CLASS:JUNK is not a valid reaction class in vanilla and can only be added manually - to certain materials, in their respective raws. In case you do mod it in, the reagent should look like this:


--- Code: ---[REAGENT:A:1:NONE:NONE:NONE:NONE]
[REACTION_CLASS:JUNK]
--- End code ---

Gobolinno:
Thanks!!!!

I'm looking at the inorganic_stone_mineral file...
Instead of adding the extra line to each one, is it possible to use the [IS_STONE] category?.
Unfortunately, is not a "reaction_class" so I'm trying to use that.

[Or another stupid question, can anyone point me out where are the doors? =P... As you can make doors from any rock (I think), I could use that one, but I can't find the mason txt file =/]

Hugo_The_Dwarf:
if you still dont see it make sure you permit it in the entity

Gobolinno:

--- Quote from: Hugo_The_Dwarf on June 20, 2018, 09:30:46 pm ---if you still dont see it make sure you permit it in the entity

--- End quote ---

That's the whole problem, I tried every combination, I even just copied one of the others reagents into this one.
My problem is that the game IS NOT reading the entity_default inside the save folder.
That's all... but how can I force the game to read it?. =/
And yes, I added the permitted_reaction, is just below the "normal one", so I'm sure it's there.

But the game just doesn't look at it. O.O

PS: Like this: (and these are the ones that are inside the "save" world).
https://imgur.com/a/be1u7kQ

Navigation

[0] Message Index

[#] Next page

Go to full version