ItemIDs can be found by looking up the item on wowhead, and it will be the number in the web address. To do this you just add a parenthesis after the name of the value source and then write “i:” followed by the itemID of the item you want to refer to. I showed this one a bit earlier in my last post in this guide. For instance 120% crafting as minimum, 200% crafting as normal and 500% crafting as maximum. You will also usually want to use this to get different multiples of the same price string for your minimum, normal and maximum prices. The most frequent way you want to use this is of course to simply add the cost of two different pricing sources together. You can use arithmetic to combine various price sources or to modify a value source with another value source. Obviously you will be familiar with percentages as most of my operations use various percentages such as 120% crafting which evaluates to 1.2*crafting. Basic mathematicsĪll of your pricing operations can use simple arithmetic like addition, subtraction, multiplication and division. We will go through all of this in a bit of detail and then show some cool examples of useful and well known strings and go through why they are the way they are. Pricing strings support refering to the value source for a specific item, simple mathematical functions and logic functions like ifgte() and round(). Pricing string functionality rundownįirsst we will take a quick rundown of the functionality you can use. We will look at how you can combine value sources and the logic functions to make very powerful pricing sources. If you're just getting started, or if you know the exact value you want to use, you can also simply use a fixed gold amount in your Custom String.Following on my introduction to custom prices last week we will now take a deeper look at how powerful the pricing string functionality in TSM is. Advanced Logic Functions allow you to input multiple Price or Value Sources and evaluate a single output through various logic gates and operations.Ĭheck the Which Functions can I use and what do they mean? page for a complete list, and details on each specific Function. Some Standard Functions allow you to calculate averages, take the highest, lowest, or first valid Price Source from a set or perform basic value checks. You can use simple Arithmetic Operators such as addition, subtraction, multiplication, and any number of parentheses. There three kinds of Functions you can utilise in TradeSkillMaster: They cannot be used in isolation, and don't inherently provide any numerical quantities without being applied to a Price Source, Value Source or a combination thereof. Functionsįunctions are expressions or terms that can be used as building blocks to combine Price Sources and Value Sources to answer questions or create decision points. This is a reference document and does not give any recommendations on how you should configure TSM.Ĭheck the Which Value Sources can I use and what do they mean? page for a complete list, and details on each specific Value Source. This page contains an overview of what you can reference from each category when configuring TSM, with links to an itemised breakdown of each category. Additionally, you can create Custom Sources which are variables that you define for easier reference and repeated use of a particular Custom String.These are expressions, formulas or terms that can be used as building blocks to combine Price Sources and Value Sources to answer questions or create decision points. These are value-based sources for an item, and will return a positive integer, or a decimal number such as 100, or 0.3 These are price-based sources for an item, and will return a positive numerical quantity in gold/silver/copper such as 10g 52s 12c Custom Strings can be categorised in three main ways: Update Table of Contents Price Sources Value Sources Functions Fixed GoldĬustom Strings allow you to highly customize and tightly control your TradeSkillMaster settings.