Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Coated ammo question  (Read 585 times)

Kraos

  • Bay Watcher
    • View Profile
Coated ammo question
« on: August 30, 2011, 04:46:38 am »

Tools can be used as weapons in item_tool.txt in the raw files. They could probably be used as ammo too. If I put in a bolt with [TOOL_USE:LIQUID_CONTAINER] and then make a reaction that fills it with poison would the poison be splattered if the bolt breaks on impact?
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Coated ammo question
« Reply #1 on: August 30, 2011, 07:17:52 am »

Tools cannot be used as weapons, and cannot be used as ammo.

Tools are ITEM_TOOL while weapons are ITEM_WEAPON and ammo is ITEM_AMMO.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Kraos

  • Bay Watcher
    • View Profile
Re: Coated ammo question
« Reply #2 on: August 30, 2011, 07:21:46 am »

I put [TOOL_USE:LIQUID_CONTAINER] in the bolt item and embarked with bolts. the game didn't crash. Also made plump helmet extract to be put in ammo containers. Farmers didn't do it tho. Oh well.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Coated ammo question
« Reply #3 on: August 30, 2011, 10:16:29 am »

If you check your errorlog.txt, it will say that TOOL_USE is not a valid ammo token. Check that file often.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Coated ammo question
« Reply #4 on: August 30, 2011, 12:31:10 pm »

If you check your errorlog.txt, it will say that TOOL_USE is not a valid ammo token. Check that file often.

Then how come this has weapon tags?

Spoiler: Tool Carving Knife (click to show/hide)

But for poison stuff check out this thread the bottom of the page and page 2 at the top explains how-to poison weapons.

Useful Poison?
« Last Edit: August 30, 2011, 12:33:54 pm by Hugo_The_Dwarf »
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Coated ammo question
« Reply #5 on: August 30, 2011, 01:20:20 pm »

Quote
Then how come this has weapon tags?
I will try to explain it: if a bird has legs it doesn't mean that a dog has wings just because it has legs too.

Tools have some similar to weapons tokens, while it's not the opposite.

And none of that applies to ammo.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository