Changes

60 bytes added ,  22:36, 24 August 2020
m
switch to range of values for extra artifact chances
Line 162: Line 162:  
|data-sort-value="25"|{{price|25}}
 
|data-sort-value="25"|{{price|25}}
 
|
 
|
*Town (4% + 11%<ref name="artifact_extra" />)
+
*Town (4% + 6-11%<ref name="artifact_extra" />)
 
*[[Fishing#Treasure Chests|Fishing Chest]] (0.8-0.9%<ref name="treasure_artifact" />)
 
*[[Fishing#Treasure Chests|Fishing Chest]] (0.8-0.9%<ref name="treasure_artifact" />)
 
*Tilling in Mines/Skull Cavern (any floor) (0.16%)
 
*Tilling in Mines/Skull Cavern (any floor) (0.16%)
Line 349: Line 349:  
|data-sort-value="100"|{{price|100}}
 
|data-sort-value="100"|{{price|100}}
 
|
 
|
*Forest (6%<ref name="artifact_extra" />)
+
*Forest (3-6%<ref name="artifact_extra" />)
 
*Town (0.7%)
 
*Town (0.7%)
 
|-
 
|-
Line 357: Line 357:  
|data-sort-value="100"|{{price|100}}
 
|data-sort-value="100"|{{price|100}}
 
|
 
|
*Railroad (8%<ref name="artifact_extra" />)
+
*Railroad (4-8%<ref name="artifact_extra" />)
 
*Forest (0.6%)
 
*Forest (0.6%)
 
*[[Pepper Rex]] drop (22.5%)
 
*[[Pepper Rex]] drop (22.5%)
Line 366: Line 366:  
|data-sort-value="100"|{{price|100}}
 
|data-sort-value="100"|{{price|100}}
 
|
 
|
*Mountain (0.6% + 6%<ref name="artifact_extra" />)
+
*Mountain (0.6% + 3-6%<ref name="artifact_extra" />)
 
|-
 
|-
 
|[[File:Skeletal Hand.png|center]]
 
|[[File:Skeletal Hand.png|center]]
Line 373: Line 373:  
|data-sort-value="100"|{{price|100}}
 
|data-sort-value="100"|{{price|100}}
 
|
 
|
*Backwoods (8%<ref name="artifact_extra" />)
+
*Backwoods (4-8%<ref name="artifact_extra" />)
 
*Beach (0.6%)
 
*Beach (0.6%)
 
|-
 
|-
Line 381: Line 381:  
|data-sort-value="100"|{{price|100}}
 
|data-sort-value="100"|{{price|100}}
 
|
 
|
*Town (4%<ref name="artifact_extra" />)
+
*Town (2.2-4%<ref name="artifact_extra" />)
 
*Farm (0.8%)
 
*Farm (0.8%)
 
*[[Pepper Rex]] drop (22.5%)
 
*[[Pepper Rex]] drop (22.5%)
Line 390: Line 390:  
|data-sort-value="100"|{{price|100}}
 
|data-sort-value="100"|{{price|100}}
 
|
 
|
*Bus Stop (0.7% + 5%<ref name="artifact_extra" />)
+
*Bus Stop (0.7% + 3-5%<ref name="artifact_extra" />)
 
*[[Pepper Rex]] drop (22.5%)
 
*[[Pepper Rex]] drop (22.5%)
 
|-
 
|-
Line 424: Line 424:  
|
 
|
 
*Desert (7%)
 
*Desert (7%)
*Forest (0.6% + 5%<ref name="artifact_extra" />)
+
*Forest (0.6% + 3-5%<ref name="artifact_extra" />)
 
*Beach (0.6%)
 
*Beach (0.6%)
 
|-
 
|-
Line 432: Line 432:  
|data-sort-value="50"|{{price|50}}
 
|data-sort-value="50"|{{price|50}}
 
|
 
|
*Beach (1.7% + 5%<ref name="artifact_extra" />)
+
*Beach (1.7% + 2.3-5%<ref name="artifact_extra" />)
 
*Forest (1.9%)
 
*Forest (1.9%)
 
*Mountain (1.8%)
 
*Mountain (1.8%)
Line 469: Line 469:  
<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 <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_extra">The additional chance for this artifact is season-dependent: the chance is 50% smaller in winter and 6.25% smaller in spring. 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, <tt>Locations.xnb</tt>, 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>