Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Does ITEMCORPSE work on vermin?  (Read 692 times)

Firnagzen

  • Bay Watcher
  • [CURIOUSBEAST_INSANE]
    • View Profile
Does ITEMCORPSE work on vermin?
« on: October 10, 2009, 09:32:06 pm »

So, for giggles, I decided to mod in a reaction.

Spoiler (click to show/hide)

which then makes...

Spoiler (click to show/hide)

The idea being that you sacrifice one dwarf (boiling leather!) for an adamantine warhammer. Seems dwarfy.

Problem is, the warhammer part doesn't work, though watching boiling leather bubble out from the smelter and freezing dwarfs is funny. Does the [ITEMCORpSE] tag not work on vermin, or am I doing it wrong?
Logged
Christ, are you dwarves or are you elves? If you think Hell has too many demons, then you kill them till the population reaches an acceptable number.

Chariot

  • Bay Watcher
  • Turtle Trainer
    • View Profile
Re: Does ITEMCORPSE work on vermin?
« Reply #1 on: October 10, 2009, 09:37:00 pm »

I don't know if itemcorpse works for vermin, but you are missing part of the war hammer tag: ITEM_WEAPON_HAMMER_WAR is what is in the weapons file, your creature is missing ITEM_
Logged

Firnagzen

  • Bay Watcher
  • [CURIOUSBEAST_INSANE]
    • View Profile
Re: Does ITEMCORPSE work on vermin?
« Reply #2 on: October 11, 2009, 12:35:08 am »

Hrm. Changed that, still no difference.

Does anyone know if there's a way to make this work?
Logged
Christ, are you dwarves or are you elves? If you think Hell has too many demons, then you kill them till the population reaches an acceptable number.

Bricks

  • Bay Watcher
  • Because you never need one brick.
    • View Profile
Re: Does ITEMCORPSE work on vermin?
« Reply #3 on: October 11, 2009, 11:49:58 am »

I think vermin are basically items themselves, so the code doesn't like giving them an item corpse.
Logged
EMPATHY - being able to feel other peoples' stuff.

soul4hdwn

  • Bay Watcher
  • make due with what you have
    • View Profile
Re: Does ITEMCORPSE work on vermin?
« Reply #4 on: October 11, 2009, 01:36:55 pm »

I think vermin are basically items themselves, so the code doesn't like giving them an item corpse.

aww there goes my days of alchemical living food storage and bugs that drop related ammo
Logged