Book: Difference between revisions

2,251 bytes added ,  18:51, 20 August 2023
m
Add note about commerce / experience value of illuminated books
(redirects to books category.)
 
m (Add note about commerce / experience value of illuminated books)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
#REDIRECT [[:Category:Books]]
Books are both randomly generated and prewritten bits of texts scattered throughout the world of Qud.
 
Aside from reading them for their contents, their secondary function is to donate these books to [[Sheba Hagadias, Librarian of the Stilt]] for experience.
 
== Book Experience==
How much each book is worth in experience is based on the [[commerce]] value of the item. The formula is as follows:
 
<math>\text{Exp} = \text{Floor}(\frac{Commerce^2}{25})</math>
 
A book with the "illuminated" modifier has a commerce value that is 30% higher, which amounts to a 69% higher experience gain when given to [[Sheba Hagadias, Librarian of the Stilt|Sheba Hagadias]].
 
==Title Colors==
'''{{color | W | Yellow }}''' books are not markov chain generated and have their contents in Books.xml. This does not mean they do not have some form of randomness to them, however. [[Corpus Choliys]] will always have randomized cures. The two books that do not have a Books.xml entry are [[A crumpled sheet of paper]] and [[Heirlooms of Qud]], which have their own cs file for generation.
 
'''{{color | g | Green }}''' books are [[recipe]] books which teach the player the recipes within once read.
 
'''{{color | Y | White }}''' books are markov generated. Each one has a chance of containing one clue of the location of the [[Ruin of House Isner]].
 
==List of Books==
White books, also referred to as markov books due to their content generation method, have a randomly assigned commerce value from 50-150. This means that they will grant 100 to 900 experience, and 169 to 1,521 experience when illuminated.
{{#cargo_query:tables=GeneralData|fields=_pageName=Book,FLOOR(POWER(Commerce, 2)/25)=Exp,FLOOR(POWER(Commerce*1.3, 2)/25)=Exp (Illuminated)|where=_pageNamespace ="0" AND ParentObject WITHIN "Book"|order by=Book}}
Note that merchant advertisements cannot be donated.
 
== Relic Books ==
{{main|Relic#Relic_Books}}
Sultan relics can sometimes appear as books with random markov-chain text, and a special relic effect.
 
{{#cargo_store:_table=GeneralData|DisplayName={{qud text|&yrandom book}}|PlainName=random book|Image=book.png|DisplayChar={{qud char|&amp;y|&#61;}}|ObjectID=StandaloneMarkovBook|Weight=1|JoinKey={{FULLPAGENAME}}}}{{Mechanics Navbox}}
[[Category:Mechanics]][[Category:Lore]]