Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Craftsdwarf's shop reaction raws  (Read 1222 times)

tailpipe7

  • Bay Watcher
    • View Profile
Craftsdwarf's shop reaction raws
« on: June 26, 2011, 04:38:27 pm »

So i have been looking and looking and trying to find the raws to the craftsdwarf's shop reactions so i could make it so that wooden bolts consume no ammo but I cannot find the raws to tweak.

Am i doing something wrong? Should i be looking somewhere else?
Logged

_DivideByZero_

  • Bay Watcher
  • Not to be confused with infinity
    • View Profile
Re: Craftsdwarf's shop reaction raws
« Reply #1 on: June 26, 2011, 05:29:07 pm »

The craftsdwarf's shop's reactions are hardcoded. There is no way to change those reactions, I'm afraid.

You can, however, make a new reaction to give wooden bolts for free. The craftsdwarf's shop is called CRAFTSMAN, but it's not part of the raws.
Logged
Have I now become your enemy by telling you the truth? (Gal 4:16)

Mechanixm

  • Bay Watcher
    • View Profile
Re: Craftsdwarf's shop reaction raws
« Reply #2 on: June 26, 2011, 06:13:55 pm »

The reaction would look something like this:


Add this to reaction_other.txt:
[REACTION:FREE_WOODEN_BOLTS]
   [NAME:Free Wooden Bolts (25)]
   [BUILDING:CRAFTSMAN:NONE]
   [REAGENT:A:1:WOOD:NONE:NONE:NONE] [PRESERVE_REAGENT]
   [PRODUCT:100:25:AMMO:ITEM_AMMO_BOLTS:GET_MATERIAL_FROM_REAGENT:A:NONE]
   [SKILL:BOWYER]

Add this to entity_default under [ENTITY:MOUNTAIN]

[PERMITTED_REACTION:FREE_WOODEN_BOLTS]
« Last Edit: June 26, 2011, 06:17:21 pm by Mechanixm »
Logged