Dwarf Fortress > DF Modding

Limiting weapons/ammo to certain material classes?

(1/1)

Arathanar:
Is there any way to limit the production of a non-trap-component weapon or ammo type to a certain kind of material, like metal, stone, or wood?

Just to clarify, I do NOT want to limit production to a certain KIND of metal/stone/wood, such as, say, microcline.

ein:
I don't think you can do this for ammo, but I'm pretty sure that weapons will only be made of metal unless otherwise specified.

Vester:
At any rate vanilla dwarves can only make one kind of non-metal weapon without a fell mood, which is the obsidian shortsword.

ein:
That's because swords have [CAN_STONE] and obsidian is [SHARP].
Remove those tags and you don't have any stone weapons.

Vester:
Now I know!

(And knowing is half the battle.)

So if I added [SHARP] to flint and added [CAN_STONE] to axes and spears, they could make flint axes and swords and spears? Cool. Prehistoric.

Navigation

[0] Message Index

Go to full version