Jump to content
Toggle menu
  • 3.1K articles
  • 4.4K files
  • 18 users
  • 91.5K edits
Ashenzari's Archive
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Table of spellbooks/doc: Difference between revisions

From Ashenzari's Archive
imported>Ge0ff
m Move the note about the value field here. Otherwise it's just gonna drown in History
imported>Predelnik
No edit summary
 
Line 3: Line 3:
To generate this script, see https://github.com/jkornelsen/crawl-wiki-modules. Or, update it by hand.
To generate this script, see https://github.com/jkornelsen/crawl-wiki-modules. Or, update it by hand.


Note: the value of a book is simply <code>20 * (sum of spell levels of spells in book + number of spells in book)</code>. See item_value() in shopping.cc for more info.
Note: the value of a book formula was changed in 0.34<ref>{{source ref|0.34.0|shopping.cc|788}}</ref>.

Latest revision as of 20:02, 18 May 2026

Module:Table of spellbooks is a Lua module which contains information used by Module:Spellbook. If you want to add new Lua functions to process this page, write them in Module:Spellbook.

To generate this script, see https://github.com/jkornelsen/crawl-wiki-modules. Or, update it by hand.

Note: the value of a book formula was changed in 0.34[1].

  1. ↑ shopping.cc:788 (0.34.0)