Değişiklikler

k
Metin değiştirme - "tt>" yerine "samp>"
18. satır: 18. satır:     
===Kalite Oranları===
 
===Kalite Oranları===
Botanist Uzmanlığı olan oyuncular haricindekiler için, oyun öncelikle altın kalite için şu formüle göre test gerçekleştirir:  <tt>toplayıcılık seviyesi/30</tt>.  Eğer eşya bu kontrolden başarısız olursa, daha sonra oyun gümüş kalite için şu formüle göre test gerçekleştirir, :  <tt>toplayıcılık seviyesi/15 ve altın değilse</tt> veya <tt>(1-toplayıcılık seviyesi/30)*toplayıcılık seviyesi/15</tt>.  Eğer ikisi de başarısız olursa, toplanan eşya standart kalitede olacaktır.
+
Botanist Uzmanlığı olan oyuncular haricindekiler için, oyun öncelikle altın kalite için şu formüle göre test gerçekleştirir:  <samp>toplayıcılık seviyesi/30</samp>.  Eğer eşya bu kontrolden başarısız olursa, daha sonra oyun gümüş kalite için şu formüle göre test gerçekleştirir, :  <samp>toplayıcılık seviyesi/15 ve altın değilse</samp> veya <samp>(1-toplayıcılık seviyesi/30)*toplayıcılık seviyesi/15</samp>.  Eğer ikisi de başarısız olursa, toplanan eşya standart kalitede olacaktır.
 
Aşağıdaki tablo toplanan ürünlerin her birinin sahip olduğu ihtimalleri göstermektedir.  
 
Aşağıdaki tablo toplanan ürünlerin her birinin sahip olduğu ihtimalleri göstermektedir.  
 
{|class="wikitable"
 
{|class="wikitable"
647. satır: 647. satır:  
==References==
 
==References==
 
<references>
 
<references>
<ref name="spawning">Spawning of standard forage items is done in <tt>GameLocation::spawnObjects</tt>, which is triggered by <tt>GameLocation::dayUpdate</tt>. The six item per map limit is controlled by <tt>numberOfSpawnedObjectsOnMap</tt>.  The number of attempts to add an item is a random number ranging from 1 to <tt>min(4, 6-numberOfSpawnedObjectsOnMap)</tt>. For each attempt, the code checks up to 11 locations that are randomly located anywhere on the map.  An item is only placed if one of those 11 locations is a valid spawning location, and if a randomly-selected forage item also passes its probability test.</ref>
+
<ref name="spawning">Spawning of standard forage items is done in <samp>GameLocation::spawnObjects</samp>, which is triggered by <samp>GameLocation::dayUpdate</samp>. The six item per map limit is controlled by <samp>numberOfSpawnedObjectsOnMap</samp>.  The number of attempts to add an item is a random number ranging from 1 to <samp>min(4, 6-numberOfSpawnedObjectsOnMap)</samp>. For each attempt, the code checks up to 11 locations that are randomly located anywhere on the map.  An item is only placed if one of those 11 locations is a valid spawning location, and if a randomly-selected forage item also passes its probability test.</ref>
<ref name="removal">End-of-week removal of forageables is part of <tt>GameLocation::dayUpdate</tt>.  End-of-season removal is part of <tt>gameLocation::seasonUpdate</tt>.  All items with the <tt>IsSpawnedObject</tt> flag are removed, and <tt>numberOfSpawnedObjectsOnMap</tt> is set to zero.</ref>
+
<ref name="removal">End-of-week removal of forageables is part of <samp>GameLocation::dayUpdate</samp>.  End-of-season removal is part of <samp>gameLocation::seasonUpdate</samp>.  All items with the <samp>IsSpawnedObject</samp> flag are removed, and <samp>numberOfSpawnedObjectsOnMap</samp> is set to zero.</ref>
<ref name="extra_spawn">Extra calls are made to <tt>GameLocation::spawnObjects</tt> after clearing existing items (one extra call on the first of a season; two extra on Sunday morning). However, these extra calls frequently generate no extra items, because the same random-number seed (based on game ID and days played) is used every time. So the second and third calls retest the same list of locations and items as the first call.</ref>
+
<ref name="extra_spawn">Extra calls are made to <samp>GameLocation::spawnObjects</samp> after clearing existing items (one extra call on the first of a season; two extra on Sunday morning). However, these extra calls frequently generate no extra items, because the same random-number seed (based on game ID and days played) is used every time. So the second and third calls retest the same list of locations and items as the first call.</ref>
<ref name="spawnpercent">The foraged items that can spawn in a given location each season are determined by <tt>GameLocation::spawnObjects</tt> in the game code, using input from the data file <tt>Content\Locations.xnb</tt>.  The percentages provided here have been normalized to ensure that the percentages sum to 100% for each season in each location. The data was normalized by:
+
<ref name="spawnpercent">The foraged items that can spawn in a given location each season are determined by <samp>GameLocation::spawnObjects</samp> in the game code, using input from the data file <samp>Content\Locations.xnb</samp>.  The percentages provided here have been normalized to ensure that the percentages sum to 100% for each season in each location. The data was normalized by:
# Calculating the sum of all percentages listed in <tt>Locations.xnb</tt> for a season
+
# Calculating the sum of all percentages listed in <samp>Locations.xnb</samp> for a season
 
# Dividing each percentage by the sum</ref>
 
# Dividing each percentage by the sum</ref>
 
</references>
 
</references>
105.831

değişiklik