Bay 12 Games Forum

Dwarf Fortress => DF Modding => Topic started by: Pickerel on May 06, 2008, 04:19:00 pm

Title: Trap Component Troubles
Post by: Pickerel on May 06, 2008, 04:19:00 pm
Sorry to have to ask this, but I was attempting to mod in more trap components.  I basically used an existing trap, copied, and pasted, and modified.  It is not a dual reference, and I get no errors in my error file.  The problem is they never show up as possible to make, is not carried by any caravans which carry all the other trap components, and for all intensive purposes does not seem to be in the game.  Any ideas on how to remedy this?  Would it be possible to have a makeshift weapon under the regular weapons catergory that is unwieldable?

Here is an example of one.

[ITEM_TRAPCOMP:ITEM_TRAPCOMP_GARROT]
[NAME:garrot:garrots]
[ADJECTIVE:thin]
[DAMAGE:140:GORE]
[WEIGHT:60]
[HITS:1]
[CRIT_BOOST:2]
[MATERIAL_SIZE:3]
[METAL]

Title: Re: Trap Component Troubles
Post by: PTTG?? on May 06, 2008, 04:31:00 pm
Hmmm... did you add it to the weapon options for dwarves? They won't make anything that isn't in the civ_default file for them. I don't know much more than that, though.
Title: Re: Trap Component Troubles
Post by: Pickerel on May 06, 2008, 04:48:00 pm
I believe you have just solved my problem, thank you!  Following your suggestion, I looked at the file, and indeed the default for dwarves has the normal 5 trap components listed right there!  So I need to add them, as you say.

Thank you much!

In fact, that fixes some other problems I was having with some other things...

[ May 06, 2008: Message edited by: Pickerel ]

Title: Re: Trap Component Troubles
Post by: Deon on May 07, 2008, 02:31:00 am
Yeah, any item which is not listed in entity in entity_default.txt is not avaliable for that race to make.