Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How do I make a reaction that makes a specific item?  (Read 593 times)

deepspaceprobe9

  • Bay Watcher
  • "Personal" Text
    • View Profile
How do I make a reaction that makes a specific item?
« on: August 20, 2014, 09:17:01 am »

I need a reaction to make a specific weapon, but I don't know how. Do I use the item token on the product line?
Logged
   (*) Stopped zombies from interrupting your sleep to ask if they can help you with something

scamtank

  • Bay Watcher
    • View Profile
Re: How do I make a reaction that makes a specific item?
« Reply #1 on: August 20, 2014, 09:44:50 am »

You do. Do you know how a product line works?

[PRODUCT:% chance of success:amount:item token:subtype:material token:subtype]

The basic item token for weapons is WEAPON and the subtype is whatever the title of the weapon is in the raws. ITEM_WEAPON_SWORD_SHORT is one, for example.
Logged

deepspaceprobe9

  • Bay Watcher
  • "Personal" Text
    • View Profile
Re: How do I make a reaction that makes a specific item?
« Reply #2 on: August 20, 2014, 10:06:54 am »

Thanks
Logged
   (*) Stopped zombies from interrupting your sleep to ask if they can help you with something