Template:PurchaseStat

From Melvor Idle
Revision as of 22:31, 17 March 2022 by Auron956 (talk | contribs) (Document new special stat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Given a Shop purchase and a stat name, returns the value of that stat. Lua powered by Module:Shop.

Some special stat names include:

  • buyLimit - Returns the maximum amount of times the purchase may be purchased
  • contents - Returns the contents of the purchase as a list
  • cost - Returns the cost of acquiring the purchase
  • requirements - Returns the requirements in order to be able to acquire the purchase
  • type - Contains the type of the purchase (Upgrade, Item Bundle, and so on)

For example: