5,891 bytes added,
20:28, 7 September 2019 == Description ==
All items in Wurm have a base value which depends on the item type and the effective item [[quality]]. The base value is used for:
* the ''Get price'',
* [[trader]] prices,
* [[favor]] gain when [[sacrificing]] at an [[altar]].
== Get price ==
The ''Get price'' of an item can be determined by right clicking an item in the inventory and selecting ''Prices'' > ''Get price''. The result is a message in the event log:<br>''A trader would sell this for about 23 copper and 31 iron.''
* A message giving roughly the amount of favor from sacrificing is given as well
This message is misleading because a trader has flexible prices and usually sells and buys at a much higher rate.
The ''Get price'' of an item can be calculated with the formula:
* ''Get price = c * QL²''
''c'' is a item type dependent constant which is listed in the table below. ''c'' can be calculated from a ''Get price'' with the formula
* ''c = Get price / QL²''
A rough estimate of the ''Get price'' can be calculated from the tenth of the quality level:
* ''Get price = c2 * (QL/10)²'' with ''c2 = c * 100''
== Trader prices ==
Traders have flexible prices. Depending on how many items of a type it has in stock the prices fall.
If a trader has very few items of at type in stock it will usually sell at up to 12 times and buy at up to 8 times the ''Get price''. For gems the buy price is 2 times the ''Get price''.
== Favor ==
Priests can gain favor for sacrificing items in an altar. The amount of favor awarded is 1 favor per 500 irons sacrificed.
The amount of favor can be calculated with the formula:
* ''favor = c * QL² * ( 1/500i )'' which is equivalent to ''favor = c * QL² * 0.002''
A variant of that formula is:
* ''favor = cf * (QL/10)²''
The table below lists the constant ''cf'' which is calculated as:
* ''cf = c / 5i''
'''Note:''' [[Magranon]] priests get twice the favor from sacrificing metal items, while [[Vynora]] priests get twice the favor from sacrificing wooden items, and [[Fo]] priests get twice the favor from cloth items.
== Item type constants ==
The following table lists the item type constants for some items. The constants can be used with those formulas:
* ''Get price (irons) = c * QL²''
* ''Favor = c * QL² * 0.002''
* ''Get price (irons) = c2 * (QL/10)²''
* ''Favor = cf * (QL/10)²''
{| class="wikitable sortable" style="border:1px solid black;"
|+'''Item type constants'''
|-
! Item !! c (irons) !! c2 (irons) !! cf
{{:Base Price/row template| [[Gems]] | 5.00 }}
{{:Base Price/row template| Statuette of gods, gold | 10.00 }}
{{:Base Price/row template| Statuette of gods, silver | 8.00 }}
{{:Base Price/row template| [[Statuette]], gold | 5.00 }}
{{:Base Price/row template| [[Candelabra]], gold | 5.00 }}
{{:Base Price/row template| [[Candelabra]], silver | 4.00 }}
{{:Base Price/row template| [[Necklace]], gold | 3.50 }}
{{:Base Price/row template| [[Necklace]], silver | 2.75 }}
{{:Base Price/row template| [[Ring]], gold | 2.50 }}
{{:Base Price/row template| [[Ring]], silver | 2.00 }}
{{:Base Price/row template| [[Bracelet]], gold | 1.00 }}
{{:Base Price/row template| [[Bracelet]], silver | 0.80 }}
{{:Base Price/row template| [[Pendulum]], gold | 2.00 }}
{{:Base Price/row template| [[Pendulum]], silver | 1.60 }}
{{:Base Price/row template| [[Pendulum]], iron | 0.20 }}
{{:Base Price/row template| [[Cordage rope]] | 1.00 }}
{{:Base Price/row template| [[Mooring rope]] | 0.50 }}
{{:Base Price/row template| [[Rope]] | 0.065 }}
{{:Base Price/row template| [[Thick rope]] | 0.65 }}
{{:Base Price/row template| [[Boat lock]] | 0.50 }}
{{:Base Price/row template| [[Door lock]] | 0.50 }}
{{:Base Price/row template| [[Large padlock]] | 0.25 }}
{{:Base Price/row template| [[File]] | 0.50 }}
{{:Base Price/row template| [[Spindle]] | 0.50 }}
{{:Base Price/row template| [[Yoyo]] | 0.50 }}
{{:Base Price/row template| [[Mallet]] | 0.05 }}
{{:Base Price/row template| [[Needle]], iron | 0.05 }}
{{:Base Price/row template| [[Pickaxe]] | 0.005 }}
{{:Base Price/row template| [[Shovel]] | 0.005 }}
{{:Base Price/row template| [[Square piece of cloth]] | 0.50 }}
{{:Base Price/row template| [[Satchel]] | 0.009 }}
{{:Base Price/row template| [[Water skin]] | 0.50 }}
{{:Base Price/row template| [[Spear]] | 1.50 }}
{{:Base Price/row template| [[Long spear]] | 0.50 }}
{{:Base Price/row template| [[Steel staff]] | 0.50 }}
{{:Base Price/row template| [[Halberd]] | 0.50 }}
{{:Base Price/row template| [[Longsword]], iron | 0.50 }}
{{:Base Price/row template| [[Small axe]], iron | 0.50 }}
{{:Base Price/row template| [[Plate gauntlet|Gauntlet, steel]] | 0.50 }}
{{:Base Price/row template| [[Large iron shield|Large shield, iron]] | 0.50 }}
{{:Base Price/row template| [[Iron shield|Shield, iron]] | 0.50 }}
{{:Base Price/row template| [[Small wooden shield|Small shield, wood]] | 0.50 }}
{{:Base Price/row template| [[Armour chains]] | 0.05 }}
{{:Base Price/row template| [[Compass]] | 0.50 }}
{{:Base Price/row template| [[Pottery Jar]] | 0.50 }}
|-
|}
== History for constants and formula ==
The constant ''c'' and get price formula ''c * QL²'' are used by the server.
The constant ''cf'' and favor formula cf * (QL/10)² originated from combining three parts: the get price fromula ''c * QL²'', a copper per irons conversion ''1c/100i'' and a favor per coppers conversion ''1f/5c''. Combining these reduced the number of zeros one must work with. Consequently, the formula for calculating favor can be done mentally with ease.
The constant c2 and get price formula ''c2 * (QL/10)²'' originated form trying to make the ''(QL/10)²'' work for calculating get price in irons. Essentially formula and constant convert get price formula ''c * QL²'' to coppers and then multiplies ''c'' by 100 to arrive at irons.
== See also ==
* [http://run.plnkr.co/plunks/CXAcGpEhvTDz5yNW2Ocl/ Favor calculator]
[[Category: Babel/B]]