Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Some reaction addition/modification questions  (Read 850 times)

ShadowLuigi147

  • Bay Watcher
  • Urist McPicard has entered a martial trance!
    • View Profile
Some reaction addition/modification questions
« on: February 05, 2010, 02:58:09 am »

So, I have a couple questions.
1. How do I add a reaction to have bauxite come out of my smelter?
2. Does changing a previous entry (i.e. changing lignite to coke to something else) cause fatal errors, or require worldgen?
3. Or, how to I change a matgloss or whatever to make something like granite magma-proof to be used in mechanisms?
« Last Edit: February 05, 2010, 03:05:03 am by ShadowLuigi147 »
Logged
Ah, Dwarf Fortress. The only game where it's considered perfectly normal to discuss the most efficient method of farming and butchering friendly sentient beings for their valuable bones...

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Some reaction addition/modification questions
« Reply #1 on: February 05, 2010, 03:10:39 am »

1)
[PRODUCT:100:1:STONE:NO_SUBTYPE:STONE:BAUXITE]
Bolded number is the amount of items.
2) If you don't change the ID ([REACTION:BRONZE_MAKING] for example), you can change anything within its "body", you can even remove the content. However if you add NEW reactions, you have to regen a world.
3) IN matgloss_stone_***.txt find the desired stone and add the same data as bauxite has:
Code: [Select]
[MELTING_POINT:13600]
[BOILING_POINT:15000]
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

ShadowLuigi147

  • Bay Watcher
  • Urist McPicard has entered a martial trance!
    • View Profile
Re: Some reaction addition/modification questions
« Reply #2 on: February 05, 2010, 03:41:34 am »

Awesome, thanks!
Logged
Ah, Dwarf Fortress. The only game where it's considered perfectly normal to discuss the most efficient method of farming and butchering friendly sentient beings for their valuable bones...

Truean

  • Bay Watcher
  • Ok.... [sigh] It froze over....
    • View Profile
Re: Some reaction addition/modification questions
« Reply #3 on: February 05, 2010, 11:33:38 am »

Smelter raw reaction changes typically require world gen don't they? If they don't that's awesome.

Deon's work is good (it typically is, I'm a big fan of his stonesense stuff). Here's another possible reaction you might like that helps with stone management (because most of us have that stuff lying around and this uses stone).

[REACTION:STONE_TO_BAUXITE]
[NAME:STONE_TO_BAUXITE]
[SMELTER]
[REAGENT:1:STONE:NO_SUBTYPE:STONE:NO_MATGLOSS]
[PRODUCT:100:1:STONE:NONE:STONE:BAUXITE]
 

(If you don't want it to use up a stone, then just delete the "reagent" line.

Truean

P.S. Hey Deon, is it necessary to have all the things I do in my reaction or is there a more condensed version I could be using? Would placing "[PRODUCT:100:1:STONE:NO_SUBTYPE:STONE:BAUXITE]" in my raws be sufficient? If so, how would this show up in the smelter task menu? Critique, please. 

Logged
The kinda human wreckage that you love

Current Spare Time Fiction Project: (C) 2010 http://www.bay12forums.com/smf/index.php?topic=63660.0
Disclaimer: I never take cases online for ethical reasons. If you require an attorney; you need to find one licensed to practice in your jurisdiction. Never take anything online as legal advice, because each case is different and one size does not fit all. Wants nothing at all to do with law.

Please don't quote me.

deoxy

  • Bay Watcher
  • Insert witty comment here.
    • View Profile
Re: Some reaction addition/modification questions
« Reply #4 on: February 05, 2010, 12:38:03 pm »

I would suggest giving it a human useful name like [NAME:make any stone into bauxite] instead of the all-caps-with-underscores thing, but otherwise, that's exactly what you'd use, and yes, all of those things are needed to make it work.

I've added 10 "empty" reactions to my reaction_standard.txt file before I gen worlds, just so that I can add something later if I like without regenning.  Haven't actually used any of them yet, but I have modded existing reactions before, and yes, you can change ANYTHING you want except what's in the [REACTION:PUT_THE_NAME_HERE] part.  The Rose Gold reaction is a commonly suggested reaction to use, for some reason, though really, anything will work.  I'd suggest not using the ones that make steel, though... heh.
Logged

ShadowLuigi147

  • Bay Watcher
  • Urist McPicard has entered a martial trance!
    • View Profile
Re: Some reaction addition/modification questions
« Reply #5 on: February 05, 2010, 06:16:47 pm »

Thank you, now, one more question.
How do I make ammo/weapons? Like, can I have a template or something for bolts and maybe hammers?
Logged
Ah, Dwarf Fortress. The only game where it's considered perfectly normal to discuss the most efficient method of farming and butchering friendly sentient beings for their valuable bones...

Truean

  • Bay Watcher
  • Ok.... [sigh] It froze over....
    • View Profile
Re: Some reaction addition/modification questions
« Reply #6 on: February 05, 2010, 11:35:02 pm »

Thank you, now, one more question.
How do I make ammo/weapons? Like, can I have a template or something for bolts and maybe hammers?

[REACTION:FREE_STEELHAMMER]
[NAME:make STEELHAMMER]
[SMELTER]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_HAMMER_WAR:METAL:STEEL

[REACTION:FREE_STEELCROSSBOW]
[NAME:make STEELCROSSBOW]
[SMELTER]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_CROSSBOW:METAL:STEEL]

[REACTION:FREE_STEELBOLT]
[NAME:make STEELBOLT]
[SMELTER]
[PRODUCT:100:30:AMMO:ITEM_AMMO_BOLTS:METAL:STEEL]

[REACTION:FREE_STEELSHIELD]
[NAME:make STEELSHIELD]
[SMELTER]
[PRODUCT:100:1:SHIELD:ITEM_SHIELD_SHIELD:METAL:STEEL]
Logged
The kinda human wreckage that you love

Current Spare Time Fiction Project: (C) 2010 http://www.bay12forums.com/smf/index.php?topic=63660.0
Disclaimer: I never take cases online for ethical reasons. If you require an attorney; you need to find one licensed to practice in your jurisdiction. Never take anything online as legal advice, because each case is different and one size does not fit all. Wants nothing at all to do with law.

Please don't quote me.

Zared

  • Bay Watcher
    • View Profile
Re: Some reaction addition/modification questions
« Reply #7 on: February 06, 2010, 01:45:35 pm »

Reactions always produce stuff that is base quality, however.
Logged

Giimer

  • Bay Watcher
    • View Profile
Re: Some reaction addition/modification questions
« Reply #8 on: February 06, 2010, 04:54:12 pm »

How do I add a reaction to have seeds and bones come out of my smelter?
Logged

3

  • Bay Watcher
    • View Profile
Re: Some reaction addition/modification questions
« Reply #9 on: February 06, 2010, 05:08:03 pm »

Bones aren't hard:

Code: [Select]
[PRODUCT:100:1:BONES:NO_SUBTYPE:DWARF:DWARF]
Replace DWARF with whatever creature you want, of course.

Seeds:

Code: [Select]
[PRODUCT:100:3:SEEDS:NO_SUBTYPE:MUSHROOM_HELMET_PLUMP:MUSHROOM_HELMET_PLUMP]
Logged

Giimer

  • Bay Watcher
    • View Profile
Re: Some reaction addition/modification questions
« Reply #10 on: February 06, 2010, 05:34:43 pm »

Большое спасибо
Logged

Truean

  • Bay Watcher
  • Ok.... [sigh] It froze over....
    • View Profile
Re: Some reaction addition/modification questions
« Reply #11 on: February 07, 2010, 02:03:39 pm »

We probably shouldn't even get into item corpse....
Logged
The kinda human wreckage that you love

Current Spare Time Fiction Project: (C) 2010 http://www.bay12forums.com/smf/index.php?topic=63660.0
Disclaimer: I never take cases online for ethical reasons. If you require an attorney; you need to find one licensed to practice in your jurisdiction. Never take anything online as legal advice, because each case is different and one size does not fit all. Wants nothing at all to do with law.

Please don't quote me.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Some reaction addition/modification questions
« Reply #12 on: February 07, 2010, 03:44:31 pm »

[PRODUCT:100:1:BONES:NO_SUBTYPE:DWARF:DWARF]
is'nt that second DWARF in the mat_gloss position redunant? just replace that with NO_MATGLOSS and it still will work
Logged

3

  • Bay Watcher
    • View Profile
Re: Some reaction addition/modification questions
« Reply #13 on: February 07, 2010, 05:14:33 pm »

Err, possibly. I haven't tried. Personally, I'd find it more likely that the subtype field be redundant if anything, at least as far as continuity goes.
Logged