更改

添加2,536字节 、 2021年1月25日 (一) 03:09
add missing content
第241行: 第241行:  
|-
 
|-
 
|}
 
|}
 +
 +
==Tiller Profession Details==
 +
Internally, the game tracks whether fruit came from a foraging or non-foraging source, and uses this internal information to determine whether or not the fruit should get the +10% [[Tiller]] profession bonus when sold.<ref name="tiller"/>
 +
 +
Sources that are considered to be foraging are:
 +
* Wild-grown fruit that randomly spawns throughout Stardew Valley, as detailed at [[Foraging#Foraged Items|Foraged Items]] and [[Foraging#Spawning|Spawning]]
 +
* Fruit grown from any of the four varieties of [[Crafting#Seeds|Wild Seeds]]
 +
* All fruit found in the [[Cave|Farm Cave]] -- including [[Fruit Trees|Fruit Tree fruit]] that otherwise is not considered to be foraged
 +
 +
All other sources are considered to be non-foraging, including (but not limited to):
 +
* Fruit grown from standard seeds (e.g., [[Grape]]s from [[Grape Starter]])
 +
* Fruit collected from trees
 +
* Fruit sent in the mail as a gift
 +
* Fruit purchased from the [[Oasis]]
 +
* [[Blackberry|Blackberries]] and [[Salmonberry|Salmonberries]] harvested from bushes
 +
 +
If the player has both foraged and non-foraged fruit of the same quality, stacking the items together always results in non-foraged fruit: the Tiller bonus will apply to the entire stack of fruit.<ref name="stacks"/>
 +
 +
==References==
 +
<references>
 +
<ref name="tiller">The tiller bonus does not apply to fruit where the <tt>isSpawnedObject</tt> flag is set, see code in <tt>Object::getPriceAfterMultipliers</tt>. This flag is added to wild foraged items in <tt>GameLocation::dropObject</tt> and <tt>GameLocation:spawnObjects</tt>; to crops grown from wild seeds in <tt>Crop::newDay</tt>; and, to Farm Cave fruit in <tt>FarmCave::dayUpdate</tt>. Other sources do not get the flag, including notably berries from bushes in <tt>Bush::shake</tt>.</ref>
 +
<ref name="stacks">The code in <tt>Object:addToStack</tt> was changed in v1.4 to ensure <tt>isSpawnedObject</tt> is set to false whenever two mixed stacks are combined, i.e., that the Tiller bonus applies if either stack originally had it. Note that this code change will not retroactively fix data in games started pre-v1.4, where the Tiller bonus could be lost depending upon stacks were combined.</ref>
 +
</references>
 +
 +
==History==
 +
{{history|1.4|Changed [[Wild Plum]] category from Forage to Fruit in Brazilian-Portugese, Chinese, German, Japanese, Spanish, and Russian. Fixed how Tiller bonus applies when foraged and non-foraged fruit are combined in one stack.}}
 +
{{history|1.5|Iridium quality is now possible when using [[Deluxe Fertilizer]].}}
    
[[Category:农作物]]
 
[[Category:农作物]]
962

个编辑