I'm confused about where and how I need to plug in the "action" key to make an item reference itself as the formula's selected data. I want to set certain item variables automatically through formulas based on other variables, such as creating a variable code for materials that a formula can reference to determine an Item's various properties.
-The item is a knife with a steel blade, so I give the Item a variable called 'Wpn_Material_Blade' and set the value to 1.
-I want to specify the degree to which the blade's material properties have been altered by forging, so I create a variable called, 'Wpn_Blade_Forging' and give it a value of 2.
-Finally, I want to use those two variables in a formula to determine the value of another named, 'Wpn_Blade_Hardness', so I set the value of this variable to use a formula rather than giving it value.
-The formula will be a composite of separate formulas beginning with one that checks the value of the sister variable, 'Wpn_Material_Blade' and sets the formula's value then accordingly before moving on to check the value of, 'Wpn_Blade_Forging', and assigning the correct multiplier. Other formulas will then plug in to add or subtract from this value based on certain factors such as how, or whether, the item was tempered.
-Testing this is tricky since there really isn't any user the formula can reference. To start with, just to see if I could get the selection part to work, I used the 'Select Item' node and set it to the specific knife I'm trying to test. Which didn't work at all.
-I thought that a degree of separation might help, so I gave a combatant the knife as starting equipment, created another formula and selected the equipment slot with the knife to see if I could check the variables that way. The values set directly pinged fine, but obviously those variables intending to use a formula to assign their values didn't go so well, else I wouldn't be posting this.
Anyway, I hope I've explained well enough what I'm trying to accomplished. How far off the mark am I in terms of basic procedure?