Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Custom Reaction questions  (Read 536 times)

GLaDOSauR

  • Bay Watcher
    • View Profile
Custom Reaction questions
« on: August 25, 2017, 11:47:31 am »

So, I've been messing around with adding fire-arms to dwarf mode, but the issue I'm running into is that I'm not sure how to limit the construction of firearms to a specific workshop.  Also, I want ammunition to have to be made out of gunpowder and metal at my firearms workshop, but I'm not sure how to make a custom reaction for something like that while removing the original ammunition creating reactions.  currently you can just make wooden bullets and it's kind of silly.
Logged
Everything I say is sigged.  There's no reason to ask if it's ok anymore!

Bearskie

  • Bay Watcher
  • Nyam nyam
    • View Profile
Re: Custom Reaction questions
« Reply #1 on: August 26, 2017, 11:32:55 am »

Your entity just needs the permitted reactions (ie. make bullets at firearms workshop) to make it. You can leave out the [WEAPON:...] and [AMMO:...] tags in the entity file; they aren't strictly necessary.