Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [0.31.12] Adventurer Reactions: random weapon product instead of ranged weapon?  (Read 650 times)

bamorrow

  • Bay Watcher
  • Urist McMason has been feeling clever lately.
    • View Profile

Here is my Adventurer Reaction file. It was intended to be a stripped down version of existing modded adventurer reactions, simplified and kept to only a few things so that the "mod" (if it can even really be called that) would be limited to adding the single reaction file and no other macaque business. 

On the test run most items worked out well, with the exception of the three ranged weapons.  These reactions always produced a random weapon instead of the chosen ranged weapon.  It kept me up a bit late into the night trying to see if I didn't make a syntax mistake, but it looks clean to me.  Anybody else willing to give these a spin and see if there's anything that can be done?

Spoiler (click to show/hide)
Logged
KAlSi3O8

AdvancedBen2E

Wistil

  • Bay Watcher
    • View Profile

Check your capitalization on ITEM_wEAPON_*

It looks like some cap locks meets shift happened.  I do that all the time.
Logged

bamorrow

  • Bay Watcher
  • Urist McMason has been feeling clever lately.
    • View Profile

Thank you sir, you have nailed it precisely.  I also decapitalized the "c" in CROSSBOW for double failure.
Logged
KAlSi3O8

AdvancedBen2E