Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Issues with the corpse tag [solved]  (Read 731 times)

4maskwolf

  • Bay Watcher
  • 4mask always angle, do figure theirs!
    • View Profile
Issues with the corpse tag [solved]
« on: December 18, 2013, 09:10:45 pm »

Sorry for bothering everyone, but I have another modding related question.

On a custom reaction, I have the reagent listed as a corpse.  However, dwarves just bring any old item to perform the reaction, using it up in the process.

The spelling of corpse is correct, I checked.
« Last Edit: December 19, 2013, 04:11:58 pm by 4maskwolf »
Logged

MDFification

  • Bay Watcher
  • Hammerer at Law
    • View Profile
Re: Issues with the corpse tag
« Reply #1 on: December 18, 2013, 09:55:33 pm »

Can you post the reaction?
Logged

4maskwolf

  • Bay Watcher
  • 4mask always angle, do figure theirs!
    • View Profile
Re: Issues with the corpse tag
« Reply #2 on: December 18, 2013, 10:01:25 pm »

[REACTION:OFFER_CORPSE_FW]
[NAME:offer a corpse to the inferno]
[BUILDING:FIRE_ALTAR:NONE]
[REAGENT:A:1:CORPSE:NONE:NONE:NONE]
[PRODUCT:50:1:BOULDER:NO_SUBTYPE:INORGANIC:FIRESTONE]
[SKILL:ALCHEMY]

It isn't causing any errors in the errorlog, and all the other reactions I've tested work as expected.

MDFification

  • Bay Watcher
  • Hammerer at Law
    • View Profile
Re: Issues with the corpse tag
« Reply #3 on: December 18, 2013, 10:24:53 pm »

[REACTION:OFFER_CORPSE_FW]
[NAME:offer a corpse to the inferno]
[BUILDING:FIRE_ALTAR:NONE]
[REAGENT:A:1:CORPSE:NONE:NONE:NONE]
[PRODUCT:50:1:BOULDER:NO_SUBTYPE:INORGANIC:FIRESTONE]
[SKILL:ALCHEMY]

It isn't causing any errors in the errorlog, and all the other reactions I've tested work as expected.

Nothing looks wrong that I can see - although I have virtually no experience with reactions. I've made about 5 in my life. They're... dubious.
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Issues with the corpse tag
« Reply #4 on: December 18, 2013, 11:36:28 pm »

You should probably include [USE_BODY_COMPONENT] with that reagent.

[edit] USE_BODY_COMPONENT, not ANY_BODY_COMPONENT.
« Last Edit: December 19, 2013, 04:04:01 pm by Quietust »
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

4maskwolf

  • Bay Watcher
  • 4mask always angle, do figure theirs!
    • View Profile
Re: Issues with the corpse tag
« Reply #5 on: December 18, 2013, 11:37:30 pm »

attatched to the end?  Or in the reagent list?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Issues with the corpse tag
« Reply #6 on: December 19, 2013, 12:46:51 am »

Any token like that is going to be a modifier, so right after the reagent.