Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Limiting weapons/ammo to certain material classes?  (Read 470 times)

Arathanar

  • Bay Watcher
  • [PREFSTRING: mind-boggling awesomeness]
    • View Profile
Limiting weapons/ammo to certain material classes?
« on: August 18, 2009, 11:18:03 pm »

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.
Logged
Urist, you can't go there! The ground is PURPLE!

ein

  • Bay Watcher
  • 勝利の女神はここよ~ 早く捕まえてぇ~
    • View Profile
Re: Limiting weapons/ammo to certain material classes?
« Reply #1 on: August 18, 2009, 11:32:25 pm »

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

  • Bay Watcher
  • [T_WORD:AWE-INSPIRING:bloonk]
    • View Profile
Re: Limiting weapons/ammo to certain material classes?
« Reply #2 on: August 19, 2009, 12:41:27 am »

At any rate vanilla dwarves can only make one kind of non-metal weapon without a fell mood, which is the obsidian shortsword.
Logged
Quote
"Land of song," said the warrior bard, "though all the world betray thee - one sword at least thy rights shall guard; one faithful harp shall praise thee."

ein

  • Bay Watcher
  • 勝利の女神はここよ~ 早く捕まえてぇ~
    • View Profile
Re: Limiting weapons/ammo to certain material classes?
« Reply #3 on: August 19, 2009, 02:10:59 am »

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

Vester

  • Bay Watcher
  • [T_WORD:AWE-INSPIRING:bloonk]
    • View Profile
Re: Limiting weapons/ammo to certain material classes?
« Reply #4 on: August 19, 2009, 04:43:11 am »

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.
Logged
Quote
"Land of song," said the warrior bard, "though all the world betray thee - one sword at least thy rights shall guard; one faithful harp shall praise thee."