Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Df hack item-trigger and add-syndrome questions  (Read 2636 times)

Ombragon

  • Bay Watcher
  • [FLEEQUICK][CRAZED]
    • View Profile
Df hack item-trigger and add-syndrome questions
« on: April 30, 2016, 02:54:02 am »

I was trying to make a naturally toxic weapon and it seem that I don't have any idea on how to uses both item-trigger and add-syndrome. Want I wanted to do is to link a syndrome to a specific item, or a specific material (and to make it use the syndrome on each stikes). I tried to add this : "" to the Onload.init but it didn't seem to have any effects

modtools/item-trigger -itemType WEAPON_SUBTYPE onStrike [ modtools/add-syndrome -syndrome bleeding -target //DEFENDER_ID ]

What did I do wrong ? And how can I repair it ?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Df hack item-trigger and add-syndrome questions
« Reply #1 on: April 30, 2016, 03:00:08 am »

Quote
WEAPON_SUBTYPE

Which weapon subtype?

Also, pretty sure it has to be -onStrike.

Ombragon

  • Bay Watcher
  • [FLEEQUICK][CRAZED]
    • View Profile
Re: Df hack item-trigger and add-syndrome questions
« Reply #2 on: April 30, 2016, 03:08:25 am »

well if i want to "link" a syndrome to a short sword it should be ITEM_WEAPON_SWORD_SHORT it thought
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Df hack item-trigger and add-syndrome questions
« Reply #3 on: April 30, 2016, 03:08:54 am »

Yes.

You should post what you're actually trying to use instead of, like, some sort of weird simulacrum.

Ombragon

  • Bay Watcher
  • [FLEEQUICK][CRAZED]
    • View Profile
Re: Df hack item-trigger and add-syndrome questions
« Reply #4 on: April 30, 2016, 03:34:34 am »

well I wrote this : modtools/item-trigger -itemType ITEM_WEAPON_GHRU_SPEAR -onStrike [ modtools/add-syndrome -syndrome ghru blight-resin -target //DEFENDER_ID ]

but it still didn't seem to apply the ghru's poison on hit, tested in the arena
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Df hack item-trigger and add-syndrome questions
« Reply #5 on: April 30, 2016, 03:52:33 am »

tested in the arena

item-trigger does not work in arena

Ombragon

  • Bay Watcher
  • [FLEEQUICK][CRAZED]
    • View Profile
Re: Df hack item-trigger and add-syndrome questions
« Reply #6 on: April 30, 2016, 03:56:58 am »

okay now I understand ! Thanks
Logged