@ -101,7 +101,7 @@ Check the full list of events at https://docs.dfhack.org/en/stable/docs/Lua%20AP
Custom raw tokens
Custom raw tokens
-----------------
-----------------
In this section, we are going to use `custom raw tokens <_custom-raw-tokens>` applied to a reaction to transfer the material of a reagent to a product as a handle improvement (like on artifact buckets), and then we are going to see how you could make boots that make units go faster when worn. Both of these involve custom raw tokens.
In this section, we are going to use `custom raw tokens <custom-raw-tokens>` applied to a reaction to transfer the material of a reagent to a product as a handle improvement (like on artifact buckets), and then we are going to see how you could make boots that make units go faster when worn. Both of these involve custom raw tokens.
First, let's define a custom crossbow with its own custom reaction. The crossbow: ::
First, let's define a custom crossbow with its own custom reaction. The crossbow: ::
@ -194,7 +194,7 @@ Let's also make some code to modify the fire rate of the siege crossbow. ::
Now, let's see how we could make some "pegasus boots". First, let's define the item in the raws: ::
Now, let's see how we could make some "pegasus boots". First, let's define the item in the raws: ::