Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: what buildings are valid in custom reactions?  (Read 1558 times)

Lamey

  • Bay Watcher
    • View Profile
what buildings are valid in custom reactions?
« on: September 29, 2010, 04:32:45 pm »

And of course - what are the appropriate tags for them?

In a ever so slightly related note, this doesn't work:
Code: [Select]
reaction_obsidian

[OBJECT:REACTION]

[REACTION:CREATE_OBSIDIAN_MI]
[NAME:make obsidian from stone]
[BUILDING:GLASS_FURNACE:NONE]
[REAGENT:A:1:STONE:NONE:NONE:NONE][WORTHLESS_STONE_ONLY]
[PRODUCT:100:1:STONE:NO_SUBTYPE:STONE:OBSIDIAN]
[FUEL]
[SKILL:GLASSMAKER]

How many things have I screwed up here?
Logged

fivex

  • Bay Watcher
    • View Profile
Re: what buildings are valid in custom reactions?
« Reply #1 on: September 29, 2010, 04:39:20 pm »

And of course - what are the appropriate tags for them?

In a ever so slightly related note, this doesn't work:
Code: [Select]
reaction_obsidian

[OBJECT:REACTION]

[REACTION:CREATE_OBSIDIAN_MI]
[NAME:make obsidian from stone]
[BUILDING:GLASS_FURNACE:NONE]
[REAGENT:A:1:STONE:NONE:NONE:NONE][WORTHLESS_STONE_ONLY]
[PRODUCT:100:1:STONE:NO_SUBTYPE:STONE:OBSIDIAN]
[FUEL]
[SKILL:GLASSMAKER]

How many things have I screwed up here?
As far as I know, the only vanilla workshops you can add reactions to are the kiln, smelter, kitchen, tannery and soap maker's workshop.
Also use BOULDER, not STONE
Logged

GaxkangtheUnbound

  • Bay Watcher
  • To the skies!
    • View Profile
Re: what buildings are valid in custom reactions?
« Reply #2 on: September 29, 2010, 04:45:14 pm »

Can a reaction create an end product of nothing? Or does it have to be something?
(I know it's off topic, but relative to the topic)

Solved.
« Last Edit: September 29, 2010, 05:18:24 pm by GaxkangtheUnbound »
Logged
Proud of my heritage.
Prepare to lose your sanity.

fivex

  • Bay Watcher
    • View Profile
Re: what buildings are valid in custom reactions?
« Reply #3 on: September 29, 2010, 04:53:45 pm »

Can a reaction create an end product of nothing? Or does it have to be something?
(I know it's off topic, but relative to the topic)
Yes, just don't specify a product
Logged

Lamey

  • Bay Watcher
    • View Profile
Re: what buildings are valid in custom reactions?
« Reply #4 on: September 29, 2010, 06:08:30 pm »

I added the permitted reaction entries to the wrong entity.  doh.

(still working on the kinks though)
Logged

Bohandas

  • Bay Watcher
  • Discordia Vobis Com Et Cum Spiritum
    • View Profile
Re: what buildings are valid in custom reactions?
« Reply #5 on: September 29, 2010, 06:18:10 pm »

I added the permitted reaction entries to the wrong entity.  doh.

(still working on the kinks though)

So, thenyou did getit to work at the glass furnace?
Logged
NEW Petition to stop the anti-consumer, anti-worker, Trans-Pacific Partnership agreement
What is TPP
----------------------
Remember, no one can tell you who you are except an emotionally unattached outside observer making quantifiable measurements.
----------------------
Έπαινος Ερις

Lamey

  • Bay Watcher
    • View Profile
Re: what buildings are valid in custom reactions?
« Reply #6 on: September 29, 2010, 06:27:31 pm »

I added the permitted reaction entries to the wrong entity.  doh.

(still working on the kinks though)

So, thenyou did getit to work at the glass furnace?

No, GLASS_FURNACE does not work it seems.

I'm still playing with the reaction atm.
Logged

Lamey

  • Bay Watcher
    • View Profile
Re: what buildings are valid in custom reactions?
« Reply #7 on: September 29, 2010, 06:53:36 pm »

This is my current (apparently functional) reaction.

Code: [Select]
[REACTION:CREATE_OBSIDIAN_MI]
[NAME:make obsidian from STONE]
[BUILDING:SMELTER:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:NO_SUBTYPE:NO_SUBTYPE][WORTHLESS_STONE_ONLY]
[PRODUCT:100:1:STONE:NO_SUBTYPE:INORGANIC:OBSIDIAN]
[FUEL]
[SKILL:GLASSMAKER]

Of course, this is still effected by the obsidian bug.
http://df.magmawiki.com/index.php/DF2010:Obsidian#Bugs
Logged

GaxkangtheUnbound

  • Bay Watcher
  • To the skies!
    • View Profile
Re: what buildings are valid in custom reactions?
« Reply #8 on: September 29, 2010, 07:08:09 pm »

Oh,and something interesting has happened.
I cannot build my custom workshop.
It is a single-tile workshop with the custom tile ☻
Would that cause any problems?
Logged
Proud of my heritage.
Prepare to lose your sanity.