Changes

Jump to navigation Jump to search
12 bytes added ,  18:47, 4 November 2021
m
Text replacement - "tt>" to "samp>"
Line 522: Line 522:  
==References==
 
==References==
 
<references>
 
<references>
<ref name="artifact_chance">The contents of an artifact spot are calculated by <tt>GameLocation::digUpArtifactSpot</tt>; the primary data source is <tt>ObjectInformation.xnb</tt>. 20% of the time a Lost Book is found (except on the Farm). Otherwise, each artifact is checked sequentially to see whether a random number is less than the chance specified by the input file; the first artifact that succeeds is the one found. One result of this algorithm is that the actual chance of finding a given artifact is smaller than the value in the input file, because it can only be found if the Lost Book check failed and all previous artifacts failed their tests.</ref>
+
<ref name="artifact_chance">The contents of an artifact spot are calculated by <samp>GameLocation::digUpArtifactSpot</samp>; the primary data source is <samp>ObjectInformation.xnb</samp>. 20% of the time a Lost Book is found (except on the Farm). Otherwise, each artifact is checked sequentially to see whether a random number is less than the chance specified by the input file; the first artifact that succeeds is the one found. One result of this algorithm is that the actual chance of finding a given artifact is smaller than the value in the input file, because it can only be found if the Lost Book check failed and all previous artifacts failed their tests.</ref>
<ref name="artifact_extra">The additional chance for this artifact is season-dependent. The maximum chance is in summer and fall.  In winter, the chance is 50% less; in spring it is 6% less. The chance comes from a secondary input file, <tt>Locations.xnb</tt>, which is only used if all other sources fail.</ref>
+
<ref name="artifact_extra">The additional chance for this artifact is season-dependent. The maximum chance is in summer and fall.  In winter, the chance is 50% less; in spring it is 6% less. The chance comes from a secondary input file, <samp>Locations.xnb</samp>, which is only used if all other sources fail.</ref>
 
<ref name="treasure_artifact">The chance of an artifact appearing in a treasure chest is higher if [[Lost Books]] are not possible, e.g., after the Museum's collection is complete.</ref>
 
<ref name="treasure_artifact">The chance of an artifact appearing in a treasure chest is higher if [[Lost Books]] are not possible, e.g., after the Museum's collection is complete.</ref>
 
</references>
 
</references>
106,656

edits

Navigation menu