Bay 12 Games Forum
Dwarf Fortress => DF Modding => Topic started by: Ombragon 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 ?
-
WEAPON_SUBTYPE
Which weapon subtype?
Also, pretty sure it has to be -onStrike.
-
well if i want to "link" a syndrome to a short sword it should be ITEM_WEAPON_SWORD_SHORT it thought
-
Yes.
You should post what you're actually trying to use instead of, like, some sort of weird simulacrum.
-
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
-
tested in the arena
item-trigger does not work in arena
-
okay now I understand ! Thanks