4951
DF Modding / Re: New Reactions Please submit your cool reactions
« on: January 04, 2010, 10:40:06 pm »Some of these reactions look useful, but I am uncertain how to implement them. Do I just dump them at the end of reaction_standard.txt? Will it require genning a new world?
I am pretty clueless about reactions in general. I wanted to modify some reactions, mainly to make it a little less time consuming (and wood intensive) to make a fort out of clear glass, but I can't find the ash/potash/pearlash reactions. Are they hard coded? Searching the raw/objects folder, the only reference to them that I found were to things like kind of tree called ash, or the profession potash maker.
Likewise, how do I go about making items and armor out of glass? I presume I can just add [WEAPON] to the proper entry, but there doesn't appear to be a matgloss entry for glass or clear glass. I am running a mod (Relentless Assault) but it's not like I am missing these things in-game. Just can't find them in the raws.
Thanks in advance for the help.
Either add to the existing reaction_standard.txt file or make a new file called something like reaction_new.txt that contains the reactions you wish to add (you will also have to copy the first few lines of the reaction_standard.txt file, but change so that the name matches the new file). Yes in most cases they require a world regen (there is a way around this where you keep the name of an existing reaction and change the commands).
The ash/potash/pearlash reactions are hard coded though you can make your own reactions to supplement them.
Likewise glass is hard coded so you will be unable to easily make glass armor. Some one did do an all glass mod with tons of reactions (try a search for glass fortress).
[REACTION:MAKE_GLASS_GREEN_WEAPON]
[NAME:make green glass short sword]
[SMELTER]
[REAGENT:3:SMALLGEM:NO_SUBTYPE:GLASS_GREEN:NO_MATGLOSS]
[PRODUCT:100:25:WEAPON:ITEM_WEAPON_SWORD_SHORT:GLASS_GREEN:NO_MATGLOSS]
change GLASS_GREEN to GLASS_CLEAR or GLASS_CRYSTAL for the other types
change SMALLGEM (which would be cut raw glass) to GEM (a finished good called "Large cut green glass") or blocks or remove it and produce it unrealiscly (bad spelling)
WEAPON can be ARMOR,AMMO,PANTS,SHOES,HELMS,and so on just at the subtype is used from the same item_XXXX.txt
Glass has no matgloss there is no such thing as "Gold Green Glass" and so on
Hope this helps you
)
and another thing giving a creature [EVIL] and [SAVAGE] tags does it show up on those maps or only when they are both present?