更改

删除327字节 、 2023年3月16日 (四) 18:55
无编辑摘要
第179行: 第179行:  
==再生==
 
==再生==
 
 每张地图每天生成0-4个新的觅食物品(''即'',任何区域)。在一天时间里的任何区域最多生成6个。一个例外是在[[沙滩]]。在海滩右边有一块需要300个[[木材]]来修复桥梁之后才能通过的被分离的区域,在任何一天都有超过6个物品。另一个例外是[[大葱]]生长在[[莉亚的农舍]]南边的[[煤矿森林]]里。[[大葱]]没有数量限制并每天会复原。其他全部觅食物品只有在星期六晚上玩家睡过觉后才会复原。
 
 每张地图每天生成0-4个新的觅食物品(''即'',任何区域)。在一天时间里的任何区域最多生成6个。一个例外是在[[沙滩]]。在海滩右边有一块需要300个[[木材]]来修复桥梁之后才能通过的被分离的区域,在任何一天都有超过6个物品。另一个例外是[[大葱]]生长在[[莉亚的农舍]]南边的[[煤矿森林]]里。[[大葱]]没有数量限制并每天会复原。其他全部觅食物品只有在星期六晚上玩家睡过觉后才会复原。
<!--
  −
Note:
  −
大篇幅的未翻译文本不利于阅读,请先翻译。
  −
Large untranslated texts are not conducive to reading, so please translate them first.
      
New forageable items can potentially spawn (appear) overnight in any exterior map.<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> This section describes the rules used to spawn all typical forageable items.  However, specialized items are handled differently and are described on their individual pages, namely [[Spring Onion]]s in [[Cindersap Forest]]; [[Coral]], [[Sea Urchin]]s and [[Seaweed]] at [[the Beach]]; fruit in [[The Cave|the Farm Cave]]; all forageables on the [[Farm Maps#Forest|Forest Farm Map]].  Also, [[Salmonberry]] bushes, [[Blackberry]] bushes, [[Winter Root]]s, and [[Snow Yam]]s don't spawn individual items.
 
New forageable items can potentially spawn (appear) overnight in any exterior map.<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> This section describes the rules used to spawn all typical forageable items.  However, specialized items are handled differently and are described on their individual pages, namely [[Spring Onion]]s in [[Cindersap Forest]]; [[Coral]], [[Sea Urchin]]s and [[Seaweed]] at [[the Beach]]; fruit in [[The Cave|the Farm Cave]]; all forageables on the [[Farm Maps#Forest|Forest Farm Map]].  Also, [[Salmonberry]] bushes, [[Blackberry]] bushes, [[Winter Root]]s, and [[Snow Yam]]s don't spawn individual items.
第195行: 第191行:     
Forageable items will be destroyed if they are in the path of a [[Villagers|villager]].
 
Forageable items will be destroyed if they are in the path of a [[Villagers|villager]].
-->
      
==觅食物品==
 
==觅食物品==
第722行: 第717行:  
|-
 
|-
 
|}
 
|}
  −
<!--
  −
Note:
  −
大篇幅的未翻译文本不利于阅读,请先翻译。
  −
Large untranslated texts are not conducive to reading, so please translate them first.
      
==漏洞==
 
==漏洞==
第735行: 第725行:  
==外部链接==
 
==外部链接==
 
*Users with access to their [[Saves|saved game files]] may find the "Forage Finder" utility helpful for showing the location of all forageable items for the next game day.  The utility is located at:  https://stardew.selbysaurus.me/ 
 
*Users with access to their [[Saves|saved game files]] may find the "Forage Finder" utility helpful for showing the location of all forageable items for the next game day.  The utility is located at:  https://stardew.selbysaurus.me/ 
-->
      
==参考==
 
==参考==
界面管理员、patroller、结构式讨论监督员管理员、translators
105,831

个编辑