更改

跳到导航 跳到搜索
删除6字节 、 2022年3月19日 (六) 02:30
无编辑摘要
第106行: 第106行:  
{{翻译}}
 
{{翻译}}
 
<references>
 
<references>
<ref name="forage_chance">对于每个草料物品,提供的百分比是所有标准草料物品的平均百分比,这些物品将成为该季节的指定物品 。The input data is <samp>[[Modding:Location_data|Locations.xnb]]</samp>, which is processed by code in <samp>GameLocation::spawnObjects</samp>.</ref>
+
<ref name="forage_chance">对于每个草料物品,提供的百分比是所有标准草料物品的平均百分比,这些物品将成为该季节的指定物品 。数据来源是 <samp>[[Modding:Location_data|Locations.xnb]]</samp>, 由下面这个代码提供 <samp>GameLocation::spawnObjects</samp>.</ref>
 
<ref name="destroy">See game code in <samp>Beach::DayUpdate</samp>. Note that all extra items are created using <samp>GameLocation::dropObject</samp>, which gives them the <samp>isSpawnedObject</samp> flag, causing them to automatically be destroyed at the end of a week/season.</ref>
 
<ref name="destroy">See game code in <samp>Beach::DayUpdate</samp>. Note that all extra items are created using <samp>GameLocation::dropObject</samp>, which gives them the <samp>isSpawnedObject</samp> flag, causing them to automatically be destroyed at the end of a week/season.</ref>
 
<ref name="foraging_xp">Experience is rewarded by <samp>GameLocation::checkAction</samp>, based in part on whether an item <samp>Object.isForage</samp>.  Although shells and fish would not normally qualify as forage items, <samp>Object.isForage</samp> explicitly allows all items found on the beach to be considered forage.</ref>
 
<ref name="foraging_xp">Experience is rewarded by <samp>GameLocation::checkAction</samp>, based in part on whether an item <samp>Object.isForage</samp>.  Although shells and fish would not normally qualify as forage items, <samp>Object.isForage</samp> explicitly allows all items found on the beach to be considered forage.</ref>
第113行: 第113行:  
<ref name="summer_bonus_std">在夏季 12-14 期间, <samp>GameLocation::spawnObjects</samp> 被调用六次而不是一次: <samp>Beach::DayUpdate</samp> 在 <samp>GameLocation::DayUpdate</samp> 的标准调用之上调用它五次。但是,对 <samp>spawnObjects</samp> 的额外调用在很大程度上是无效的,因为每次都测试相同的位置——随机数种子(基于游戏 ID 和玩过的天数)总是相同的。</ref >
 
<ref name="summer_bonus_std">在夏季 12-14 期间, <samp>GameLocation::spawnObjects</samp> 被调用六次而不是一次: <samp>Beach::DayUpdate</samp> 在 <samp>GameLocation::DayUpdate</samp> 的标准调用之上调用它五次。但是,对 <samp>spawnObjects</samp> 的额外调用在很大程度上是无效的,因为每次都测试相同的位置——随机数种子(基于游戏 ID 和玩过的天数)总是相同的。</ref >
 
<ref name="summer_bonus_tide">在夏季 12-14 期间,额外的珊瑚和海胆在 2600 个可以随机选择的有效生成图块中拥有 1239 个有效生成图块。</ref>
 
<ref name="summer_bonus_tide">在夏季 12-14 期间,额外的珊瑚和海胆在 2600 个可以随机选择的有效生成图块中拥有 1239 个有效生成图块。</ref>
<ref name="green_ocean"><samp>Beach::resetSharedState</samp> changes the water color, adding a green overlay, only on Summer 12-14.</ref>
+
<ref name="green_ocean"><samp>Beach::resetSharedState</samp> 会改变水体颜色, 添加了绿色水域, 仅在夏季12-14 .</ref>
 
<ref name="artifact_spots">Of the 5200 total tiles at the beach, 777 are valid spawn locations for artifact spots year-round. See [[Artifact Spot]] for more information.</ref>
 
<ref name="artifact_spots">Of the 5200 total tiles at the beach, 777 are valid spawn locations for artifact spots year-round. See [[Artifact Spot]] for more information.</ref>
 
<ref name="artifact_extra">The chance of finding extra items in Artifact Spots in season-dependent: the chance is 50% smaller in winter. See [[Artifact Spot]] for more information.</ref>
 
<ref name="artifact_extra">The chance of finding extra items in Artifact Spots in season-dependent: the chance is 50% smaller in winter. See [[Artifact Spot]] for more information.</ref>
268

个编辑

导航菜单