User:Cardinal/sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Cardinal (talk | contribs)
No edit summary
Cardinal (talk | contribs)
Project complete.
Tags: Replaced Manual revert
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Languages}}
<!-- No project now. -->
{{Boilerplate
|icon=No-building-material-icon.png
|line-1=本条目缺乏最近更新内容的细节。
|line-2=你可以通过[{{fullurl:{{FULLPAGENAME}}|action=edit}} 添加内容]来完善本条目。}}
{{About/Space age}}
'''{{L|Quality}}'''是在{{L|Space Age}}扩展包中新引入的游戏机制。它为所有物品、建筑和装备增加了4种新的品质等级。品质系统的作用在于,允许通过提升生产线内各实体的品质达成总生产能力的提升,而非像以前一样必须扩大生产线的规模,这类似于工业生产中的"垂直升级"概念——通过提升单个生产单位的性能以提升生产系统的整体生产力。在生产设施中使用品质插件时,能以一定几率随机制造出较高品质的物品,但解锁两个最高等级的品质需要新地星上无法研究的科技。对不同的实体而言,品质系统所提升的属性是各自不同的,当鼠标悬停在某个实体上时,可获得品质提升的属性将以蓝色的菱形图标标识。
 
虽然玩家必须安装太空时代DLC才能使用品质功能,但它实际上是一个单独的模组,可以独立于大多数太空时代的内容发挥作用。
 
== 品质等级 ==
基础游戏中的品质系统有5个等级,括号中的数字表示对应等级带来的增益强度:
* [[File:quality_normal.png|15px]] 基础级 - Normal (0)
* [[File:quality_uncommon.png|15px]] 精良级 - Uncommon (1)
* [[File:quality_rare.png|15px]] 稀有级 - Rare (2)
* [[File:quality_epic.png|15px]] 史诗级 - Epic (3)
* [[File:quality_legendary.png|15px]] 传说级 - Legendary ('''5''')
 
注意:与其它等级间的差距不同,传说级品质的增益强度比史诗级品质高2级。
 
== 科技 ==
必须先研究相关科技,才能制造对应品质等级的物品。
{|class="wikitable"
|-
! 科技 !! 原料(基础游戏)!! 原料(太空时代{{SA}})!! 解锁品质
|-
| {{icontech|Quality module (research)|}} {{L|Quality module (research)}}
| {{icon|Time|60}}{{icon|Automation science pack}}{{icon|Logistic science pack}}{{icon|Chemical science pack}}{{icon|Production science pack}} x 300
| {{icon|Time|30}}{{icon|Automation science pack}}{{icon|Logistic science pack}} x 500
| [[File:quality_uncommon.png|32px]] [[File:quality_rare.png|32px]]
|-
| {{icontech|Epic quality (research)|}} {{L|Epic quality (research)}}
| {{icon|Time|60}}{{icon|Automation science pack}}{{icon|Logistic science pack}}{{icon|Chemical science pack}}{{icon|Production science pack}}{{icon|Utility science pack}} x 5000
| {{icon|Time|60}}{{icon|Automation science pack}}{{icon|Logistic science pack}}{{icon|Chemical science pack}}{{icon|Utility science pack}}{{icon|Space science pack}}{{icon|Agricultural science pack}} x 5000
| [[File:quality_epic.png|32px]]
|-
| {{icontech|Legendary quality (research)|}} {{L|Legendary quality (research)}}
| {{icon|Time|60}}{{icon|Automation science pack}}{{icon|Logistic science pack}}{{icon|Chemical science pack}}{{icon|Production science pack}}{{icon|Utility science pack}}{{icon|Space science pack}} x 5000
| {{icon|Time|60}}{{icon|Automation science pack}}{{icon|Logistic science pack}}{{icon|Chemical science pack}}{{icon|Production science pack}}{{icon|Utility science pack}}{{icon|Space science pack}}{{icon|Metallurgic science pack}}{{icon|Electromagnetic science pack}}{{icon|Agricultural science pack}}{{icon|Cryogenic science pack}} x 5000
| [[File:quality_legendary.png|32px]]
|-
|}
 
== 品质提升效果 ==
目前已知可由品质提升的属性包括以下内容:
* +30% 生命值
* +30% 制造速度
* +30% 可控机器人上限 (四舍五入)
* +30% 机器人充电效率 (同时提升数量和速度,四舍五入)
* +30% 插件效果 (只增加正面效果,至少对品质插件而言四舍五入)
* +10% 炮塔射程
* +10% 武器射程
* +1 格 电线杆供电范围并 +2 格接线半径
* +1 格 装备插槽大小 (横向纵向均增加)
* +30% 箱子容积 (四舍五入)
* +30% 弹药伤害
* +30% 机械臂旋转速度
* -16.67% (1/6) 采矿资源消耗
** 与产能增益叠加时为乘数叠加
* +100% (+5 MJ) 蓄电器蓄电量
* +30% {{L|Boiler}}、{{L|Steam engine}}、{{L|Steam turbine}}、{{L|Accumulator}} (同时增加充电功率)和{{L|Nuclear reactor}}的输出功率
** 注意:设备的能耗和污染将等比例增加
* −16% {{L|Beacon}}能量消耗
* +1 {{L|Radar}}有效距离 (同时增加开图距离和扫描距离)
* +100% 消耗品(例如{{L|Repair pack}}和{{L|Science pack}})耐久
* +5% {{L|Tesla turret}}和{{L|Tesla gun}}电弧弹射几率
 
以上加成效果同时也受物品本身附加等级的影响,例如:一个传奇级(5级)的{{L|Productivity module 3}} (初始+10%产能) 能提供的产能加成为25%。
 
对部分实体而言,提升品质只增加生命值,没有其它加成,例如:
*与{{L|Circuit network}}和{{L|Rail signal}}相关的设备
*{{L|Transport belt}}
*{{L|Pipe}}
*{{L|Wall}}
*{{L|Locomotive}}
*{{L|Cargo wagon}}
 
{| class="wikitable"
|+ 品质提升效果
|-
! 实体 !! 效果 !! [[File:quality_normal.png|15px]] 基础级 !! [[File:quality_uncommon.png|15px]] 精良级 !! [[File:quality_rare.png|15px]] 稀有级 !! [[File:quality_epic.png|15px]] 史诗级 !! [[File:quality_legendary.png|15px]] 传说级
|-
 
| rowspan="2" | [[File:assembling_machine_1.png|15px]] {{L|Assembling machine 1}} || 生命值 || 300 || 390 || 480 || 570 || 750
|-
| 制造速度 || 0.5 || 0.65 || 0.8 || 0.95 || 1.25
|-
 
| rowspan="2" | [[File:assembling_machine_2.png|15px]] {{L|Assembling machine 2}} || 生命值 || 350 || 455 || 560 || 665 || 875
|-
| 制造速度 || 0.75 || 0.975 || 1.2 || 1.425 || 1.875
|-
 
| rowspan="2" | [[File:assembling_machine_3.png|15px]] {{L|Assembling machine 3}} || 生命值 || 400 || 520 || 640 || 760 || 1000
|-
| 制造速度 || 1.25 || 1.625 || 2 || 2.375 || 3.125
|-
 
| rowspan="3" | [[File:construction_robot.png|15px]] {{L|Construction robot}} || 生命值 || 100 || 130 || 160 || 190 || 250
|-
| 最大飞行距离 || 571m || 1152m || 1728m || 2305m || 3457m
|-
| 蓄电量 || 3MJ || 6MJ || 9MJ || 12MJ || 18MJ
|-
 
| rowspan="3" | [[File:inserter.png|15px]] {{L|Inserter}} || 生命值 || 150 || 195 || 240 || 285 || 375
|-
| 能耗 || 15.1kW || 19.51kW || 23.92kW || 28.33kW || 37.15kW
|-
| 旋转速度 || 302°/s || 393°/s || 484°/s || 575°/s || 756°/s
|-
 
| rowspan="3" | [[File:fast_inserter.png|15px]] {{L|Fast inserter}} || 生命值 || 150 || 195 || 240 || 285 || 375
|-
| 能耗 || 59.3kW  || 76.94kW || 94.58kW || 112kW || 148kW
|-
| 旋转速度 || 864°/s || 1123°/s || 1382°/s || 1642°/s || 2160°/s
|-
 
| rowspan="2" | [[File:iron_chest.png|15px]] {{L|Iron chest}} || 生命值 || 200 || 260 || 320 || 380 || 500
|-
| 容量 || 32 || 41 || 51 || 60 || 80
|-
 
| rowspan="2" | [[File:laser_turret.png|15px]] {{L|Laser turret}} || 生命值 || 1000  || 1300 || 1600 || 1900 || 2500
|-
| 射程 || 24 tiles || 26.4 tiles || 28.8 tiles || 31.2 tiles || 36 tiles
|-
 
| rowspan="1" | [[File:pipe.png|15px]] {{L|Pipe}} || 生命值 || 100 || 130 || 160 || 190 || 250
|-
 
| rowspan="3" | [[File:roboport.png|15px]] {{L|Roboport}} || 生命值 || 500 || 650 || 800 || 950 || 1250
|-
| 能耗 || 2.1MW || 2.7MW || 3.3MW || 3.9MW || 5.1MW
|-
| 机器人充电功率 || 4 x 500kW || 4 x 650kW || 4 x 800kW || 4 x 950kW || 4 x 1.25MW
|-
 
| rowspan="3" | [[File:small_electric_pole.png|15px]] {{L|Small electric pole}} || 生命值 || 100 || 130 || 160 || 190 || 250
|-
| 供应区域 || 5x5 || 7x7 || 9x9 || 11x11 || 15x15
|-
| 接线半径 || 7.5 格 || 9.5格 || 11.5 格 || 13.5 格 || 17.5 格
|-
 
| rowspan="2" | [[File:steel_chest.png|15px]] {{L|Steel chest}} || 生命值 || 350 || 455 || 560 || 665 || 875
|-
| 容量 || 48 || 62 || 76 || 91 || 120
|-
 
| rowspan="2" | [[File:wooden_chest.png|15px]] {{L|Wooden chest}} || 生命值 || 100  || 130 || 160 || 190 || 250
|-
| 容量 || 16 || 20 || 25 || 30 || 40
 
|}
 
== 制造高品质物品 ==
 
有两种方法可制造高品质物品:使用高品质原料制造高品质产品;使用质量插件提升高品质产品的产出几率。
=== 使用高品质原料 ===
Recipes that create items have variations for each quality that the item might take. When setting such a recipe in a production unit, an ingredient quality must be selected. For these variations, the set of ingredients required is the same, except that all item ingredients must have the specified quality.
 
Item ingredient quality requirements are exact, not minimum. For example, one can not combine uncommon [[iron plate]]s with rare [[battery|batteries]] to make an [[accumulator]] of any quality. One must therefore ensure that high-quality items do not clog up belts and starve production units of lower-quality items.
 
As fluids do not possess any quality, they are exempt from ingredient quality requirements; the same [[lubricant]] can be used to create [[electric engine unit]]s of any quality.
 
=== 使用品质插件 ===
{{Main|Quality module}}
[[File:quality_module_animated.png|64px|right]]'''Quality modules''' allow crafting machines to produce items of a higher quality than their ingredients. Each module adds a quality chance to a machine, depending on its tier and quality. See the following table for all quality chances:
 
{|class="wikitable" style="text-align: center;"
! {{Diagonal split header|Module|Quality}} !! [[File:quality_normal.png|Normal|32px]] !! [[File:quality_uncommon.png|Uncommon|32px]] !! [[File:quality_rare.png|Rare|32px]] !! [[File:quality_epic.png|Epic|32px]] !! [[File:quality_legendary.png|Legendary|32px]]
|-
! {{Icon|quality_module}}
| +1% || +1.3% || +1.6% || +1.9% || +2.5%
|-
! {{Icon|quality_module_2}}
| +2% || +2.6% || +3.2% || +3.8% || +5%
|-
! {{Icon|quality_module_3}}
| +2.5% || +3.2% || +4% || +4.7% || +6.2%
|}
 
When working out the odds of improving quality, a machine starts with the sum of the quality chance of all its modules. When the machine produces an item, it performs a random roll with that chance to succeed. If it succeeds, the product is upgraded 1 level from its ingredients. If the product was upgraded, the machine repeats this process, now with a constant 10% chance of passing, rolling and upgrading until a roll fails.
 
When using quality ingredients as an input, the base quality is the quality of the recipe. You can only use items with the same quality as input.
 
Quality modules are only required to ''improve'' quality, crafting will always give the base quality of the used items. Additionally, the odds of improving from a given base quality is the same as improving the same number of tiers from Normal quality.
 
 
Where Q is quality chance, the following tables present expected outputs for each level of research.
<div style="display:inline-block; vertical-align:top; margin-right:20px;">
{| class="wikitable" style="text-align:center; vertical-align:middle;"
|+ {{icontech|Quality module (research)|}} [[Quality module (research)]]
!{{Diagonal split header|Input|Output}} !! [[File:quality_normal.png|Normal|20px]] !! [[File:quality_uncommon.png|Uncommon|20px]] !! [[File:quality_rare.png|Rare|20px]]
|-
! [[File:quality_normal.png|Normal|16px]]
| 1 - Q || Q * 9/10|| Q * 1/10
|-
! [[File:quality_uncommon.png|Uncommon|16px]]
| - || 1 - Q || Q
|-
! [[File:quality_rare.png|Rare|16px]]
| - || - || 1
|}
</div>
<div style="display:inline-block; vertical-align:top; margin-right:20px;">
{| class="wikitable" style="text-align:center; vertical-align:middle;"
|+ {{icontech|Epic quality (research)|}} [[Epic quality (research)]]
!{{Diagonal split header|Input|Output}} !! [[File:quality_normal.png|Normal|20px]] !! [[File:quality_uncommon.png|Uncommon|20px]] !! [[File:quality_rare.png|Rare|20px]] !! [[File:quality_epic.png|Epic|20px]]
|-
! [[File:quality_normal.png|Normal|16px]]
| 1 - Q || Q * 9/10|| Q * 9/100 ||Q * 1/100
|-
! [[File:quality_uncommon.png|Uncommon|16px]]
| - || 1 - Q || Q * 9/10|| Q * 1/10
|-
! [[File:quality_rare.png|Rare|16px]]
| - || - || 1 - Q || Q
|-
! [[File:quality_epic.png|Epic|16px]]
| - || - || - || 1
|}
</div>
<div style="display:inline-block; vertical-align:top; margin-right:20px;">
{| class="wikitable" style="text-align:center; vertical-align:middle;"
|+ {{icontech|Legendary quality (research)|}} [[Legendary quality (research)]]
!{{Diagonal split header|Input|Output}} !! [[File:quality_normal.png|Normal|20px]] !! [[File:quality_uncommon.png|Uncommon|20px]] !! [[File:quality_rare.png|Rare|20px]] !! [[File:quality_epic.png|Epic|20px]] !! [[File:quality_legendary.png|Legendary|20px]]
|-
! [[File:quality_normal.png|Normal|16px]]
| 1 - Q || Q * 9/10|| Q * 9/100 ||Q * 9/1000 || Q * 1/1000
|-
! [[File:quality_uncommon.png|Uncommon|16px]]
| - || 1 - Q || Q * 9/10|| Q * 9/100 || Q * 1/100
|-
! [[File:quality_rare.png|Rare|16px]]
| - || - || 1 - Q || Q * 9/10|| Q * 1/10
|-
! [[File:quality_epic.png|Epic|16px]]
| - || - || - || 1 - Q || Q
|-
! [[File:quality_legendary.png|Legendary|16px]]
| - || - || - || - || 1
|}
</div>
 
==== 实例 ====
<div style="display:inline-block; margin-right:20px; vertical-align:top;">
{|class="wikitable" style="text-align: center;"
|+ 2× {{Icon|quality_module_2|[[File:quality_normal.png|Normal|16px]]}} → Q = 4%
! {{Diagonal split header|Input|Output}} !! [[File:quality_normal.png|Normal|32px]] !! [[File:quality_uncommon.png|Uncommon|32px]] !! [[File:quality_rare.png|Rare|32px]]
|-
! [[File:quality_normal.png|Normal|32px]]
| 96% || 3.6% || 0.4%
|-
! [[File:quality_uncommon.png|Uncommon|32px]]
| - || 96% || 4%
|-
! [[File:quality_rare.png|Rare|32px]]
| - || - || 100%
|}
</div><div style="display:inline-block; margin-right:20px;">
{|class="wikitable" style="text-align: center;"
|+ 4× {{Icon|quality_module_3|[[File:quality_normal.png|Normal|16px]]}} → Q = 10%
! {{Diagonal split header|Input|Output}} !! [[File:quality_normal.png|Normal|32px]] !! [[File:quality_uncommon.png|Uncommon|32px]] !! [[File:quality_rare.png|Rare|32px]] !! [[File:quality_epic.png|Epic|32px]] !! [[File:quality_legendary.png|Legendary|32px]]
|-
! [[File:quality_normal.png|Normal|32px]]
| 90% || 9% || 0.9% || 0.09% || 0.01%
|-
! [[File:quality_uncommon.png|Uncommon|32px]]
| - || 90% || 9% || 0.9% || 0.1%
|-
! [[File:quality_rare.png|Rare|32px]]
| - || - || 90% || 9% || 1%
|-
! [[File:quality_epic.png|Epic|32px]]
| - || - || - || 90% || 10%
|-
! [[File:quality_legendary.png|Legendary|32px]]
| - || - || - || - || 100%
|}
</div><div style="display:inline-block; margin-right:20px;">
{|class="wikitable" style="text-align: center;"
! {{Diagonal split header|Input|Output}} !! [[File:quality_normal.png|Normal|32px]] !! [[File:quality_uncommon.png|Uncommon|32px]] !! [[File:quality_rare.png|Rare|32px]] !! [[File:quality_epic.png|Epic|32px]] !! [[File:quality_legendary.png|Legendary|32px]]
|+ 4× {{Icon|quality_module_3|[[File:quality_legendary.png|Legendary|16px]]}} → Q = 24.8%
|-
! [[File:quality_normal.png|Normal|32px]]
| 75.2% || 22.32% || 2.232% || 0.2232% || 0.0248%
|-
! [[File:quality_uncommon.png|Uncommon|32px]]
| - || 75.2% || 22.32% || 2.232% || 0.248%
|-
! [[File:quality_rare.png|Rare|32px]]
| - || - || 75.2% || 22.32% || 2.48%
|-
! [[File:quality_epic.png|Epic|32px]]
| - || - || - || 75.2% || 24.8%
|-
! [[File:quality_legendary.png|Legendary|32px]]
| - || - || - || - || 100%
|}
</div>
 
==== 最优插件运用 ====
It is optimal to improve quality on the lead-up to the target output item due to the recycler only giving back 25% of the input items, except for cases where the chosen item has a productivity research available, in which case looping through a recycler is optimal and has no added material cost (ignoring fluids).
 
The following tables summarize the number of normal crafts (rounded up) needed to produce 1 legendary output using ideal ratios of quality module 3s to productivity module 3s, with 4 matching quality module 3 in the recycler.
 
It is important to emphasize that these ratios maximize return per input material. If input capacity isn't a concern and the goal is speed rather than material efficiency, then switch out productivity modules for quality modules as needed. Beware, however, that in many cases material inefficiency nearly keeps pace with the legendary output rate.
 
<div style="display:inline-block; vertical-align:top; margin-right:20px;">
{| class="wikitable" style="border: 2px solid; text-align:center;"
! Max Modules !! Base Prod. !! No. of {{Icon|productivity_module_3|[[File:quality_rare.png|Rare|16px]]}} !! No. of {{Icon|quality_module_3|[[File:quality_rare.png|Rare|16px]]}} !! Crafts
|-
| 2 || 0% || 0 || 2 || 891
|-
| 3 || 0% || 0 || 3 || 533
|-
| 4 || 0% || 1 || 3 || 342
|-
| 4 || 50% || 0 || 4 || 97
|-
| 5 || 50% || 1 || 4 || 67
|-
| 8 || 0% || 4 || 4 || 70
|}</div>
<div style="display:inline-block; vertical-align:top; margin-right:20px;">
{| class="wikitable" style="border: 2px solid; text-align:center;"
! Max Modules !! Base Prod. !! No. of {{Icon|productivity_module_3|[[File:quality_epic.png|Epic|16px]]}} !! No. of {{Icon|quality_module_3|[[File:quality_epic.png|Epic|16px]]}} !! Crafts
|-
| 2 || 0% || 0 || 2 || 608
|-
| 3 || 0% || 1 || 2 || 356
|-
| 4 || 0% || 1 || 3 || 212
|-
| 4 || 50% || 1 || 3 || 62
|-
| 5 || 50% || 2 || 3 || 40
|-
| 8 || 0% || 5 || 3 || 34
|}</div>
<div style="display:inline-block; vertical-align:top; margin-right:20px;">
{| class="wikitable" style="border: 2px solid; text-align:center;"
! Max Modules !! Base Prod. !! No. of {{Icon|productivity_module_3|[[File:quality_legendary.png|Legendary|16px]]}} !! No. of {{Icon|quality_module_3|[[File:quality_legendary.png|Legendary|16px]]}} !! Crafts
|-
| 2 || 0% || 0 || 2 || 309
|-
| 3 || 0% || 1 || 2 || 153
|-
| 4 || 0% || 2 || 2 || 80
|-
| 4 || 50% || 3 || 1 || 25
|-
| 5 || 50% || 4 || 1 || 14
|-
| 8 || 0% || 8 || 0 || 7
|}</div>
For example, suppose legendary T3 modules are available and the goal is to produce legendary [[File:Processing_unit.png|link=Processing unit|20px]]. If each electromagnetic plant producing epic quality or below has 4 legendary [[File:productivity_module_3.png|link=Productivity module 3|20px]] and 1 legendary [[File:quality_module_3.png|link=Quality module 3|20px]], and the electromagnetic plant with the legendary recipe has 5 legendary [[File:productivity_module_3.png|link=Productivity module 3|20px]], then on average an input of 280 normal [[File:Electronic_circuit.png|link=Electronic circuit|20px]] and 28 normal [[File:Advanced_circuit.png|link=Advanced circuit|20px]] is expected to produce 1 legendary [[File:Processing_unit.png|link=Processing unit|20px]].
 
===== 扩展运用 =====
Derivation of the tables above was as follows: Starting with 1 set of common ingredients, with an assembly quality chance of Q and total productivity bonus of P, the statistical expected number of product is as follows:
{| class="wikitable" style="text-align:center; vertical-align:middle;"
|+
! [[File:quality_normal.png|Normal|20px]] !! [[File:quality_uncommon.png|Uncommon|20px]] !! [[File:quality_rare.png|Rare|20px]] !! [[File:quality_epic.png|Epic|20px]] !! [[File:quality_legendary.png|Legendary|20px]]
|-
| (1 + P) * (1 - Q) || (1 + P) * (Q * (10<sup>0</sup> - 10<sup>-1</sup>))|| (1 + P) * (Q * (10<sup>-1</sup> - 10<sup>-2</sup>)) || (1 + P) * (Q * (10<sup>-2</sup> - 10<sup>-3</sup>)) || (1 + P) * (Q * 10<sup>-3</sup>)
|-
| (1 + P) * (1 - Q) || (1 + P) * Q * 9/10 || (1 + P) * Q * 9/100 || (1 + P) * Q * 9/1000 || (1 + P) * Q * 1/1000
|}
 
In a similar vein, the same calculations can be done for recycling products, except that there is, in effect, -75% productivity bonus, where only a quarter of the items are returned.
 
{| class="wikitable" style="text-align:center; vertical-align:middle;"
! [[File:quality_normal.png|Normal|20px]] !! [[File:quality_uncommon.png|Uncommon|20px]] !! [[File:quality_rare.png|Rare|20px]] !! [[File:quality_epic.png|Epic|20px]] !! [[File:quality_legendary.png|Legendary|20px]]
|-
| (1 + -0.75) * (1-Q) || (1 + -0.75) * (Q * (10<sup>0</sup> - 10<sup>-1</sup>)) || (1 + -0.75) * (Q * (10<sup>-1</sup> - 10<sup>-2</sup>)) || (1 + -0.75) * (Q * (10<sup>-2</sup> - 10<sup>-3</sup>)) || (1 + -0.75) * (Q * 10<sup>-3</sup>)
|-
| 0.25 * (1-Q) || 0.25 * Q * 9/10|| 0.25 * Q * 9/100 || 0.25 * Q * 9/1000 || 0.25 * Q * 1/1000
|}
 
For example, recycling an uncommon ingredient with a Q of 25%:
{| class="wikitable" style="text-align:center; vertical-align:middle;"
! {{Diagonal split header|Input|Output}} !! [[File:quality_normal.png|Normal|20px]] !! [[File:quality_uncommon.png|Uncommon|20px]] !! [[File:quality_rare.png|Rare|20px]] !! [[File:quality_epic.png|Epic|20px]] !! [[File:quality_legendary.png|Legendary|20px]]
|-
| style="background:#424242" | [[File:quality_uncommon.png|Uncommon|16px]] || - || 0.1875 || 0.05625 || 0.005625 || 0.000625
|}
 
Combining these results allows a 'Transition Matrix' to be developed (see Stochastic Matrix on wikipedia) which after iteration can generate the expected number of legendary products from 1 set of common ingredients via matrix multiplication. An example matrix for P of 50% and Q of 25% for both recycling and assembly is copied below. Note that since legendary products are the goal, they are not recycled.
 
{| class="wikitable" style="border:2px solid; text-align:center;"
! !! style="border-left:2px solid" | I<sub>[[File:quality_normal.png|Normal|10px]]</sub> !! I<sub>[[File:quality_uncommon.png|Uncommon|10px]]</sub> !! I<sub>[[File:quality_rare.png|Rare|10px]]</sub> !! I<sub>[[File:quality_epic.png|Epic|10px]]</sub> !! I<sub>[[File:quality_legendary.png|Legendary|10px]]</sub>
! style="border-left:2px solid" | P<sub>[[File:quality_normal.png|Normal|10px]]</sub> !! P<sub>[[File:quality_uncommon.png|Uncommon|10px]]</sub> !! P<sub>[[File:quality_rare.png|Rare|10px]]</sub> !! P<sub>[[File:quality_epic.png|Epic|10px]]</sub> !! P<sub>[[File:quality_legendary.png|Legendary|10px]]</sub>
|- style="border-top:2px solid"
! I<sub>[[File:quality_normal.png|Normal|10px]]</sub>
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 0
| style="border-left:2px solid" | 1.125 || 0.3375 || 0.03375 || 0.003375 || 0.000375
|-
! I<sub>[[File:quality_uncommon.png|Uncommon|10px]]</sub>
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 0
| style="border-left:2px solid" | 0 || 1.125 || 0.3375 || 0.03375 || 0.00375
|-
! I<sub>[[File:quality_rare.png|Rare|10px]]</sub>
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 0
| style="border-left:2px solid" | 0 || 0 || 1.125 || 0.3375 || 0.0375
|-
! I<sub>[[File:quality_epic.png|Epic|10px]]</sub>
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 0
| style="border-left:2px solid" | 0 || 0 || 0 || 1.125 || 0.375
|-
! I<sub>[[File:quality_legendary.png|Legendary|10px]]</sub>
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 0
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 1.5
|- style="border-top:2px solid"
! P<sub>[[File:quality_normal.png|Normal|10px]]</sub>
| style="border-left:2px solid" | 0.1875 || 0.05625 || 0.005625 || 0.0005625 || 0.0000625
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 0
|-
! P<sub>[[File:quality_uncommon.png|Uncommon|10px]]</sub>
| style="border-left:2px solid" | 0 || 0.1875 || 0.05625 || 0.005625 || 0.000625
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 0
|-
! P<sub>[[File:quality_rare.png|Rare|10px]]</sub>
| style="border-left:2px solid" | 0 || 0 || 0.1875 || 0.05625 || 0.00625
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 0
|-
! P<sub>[[File:quality_epic.png|Epic|10px]]</sub>
| style="border-left:2px solid" | 0 || 0 || 0 || 0.1875 || 0.0625
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 0
|-
! P<sub>[[File:quality_legendary.png|Legendary|10px]]</sub>
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 0
| style="border-left:2px solid" | 0 || 0 || 0 || 0 || 1
|}
 
To iterate this matrix (M) apply the matrix to itself. For example, M<sup>6</sup> would indicate 6 iterations, corresponding to 3 crafting steps and 3 recycling steps. To see how much 1 ingredient set produces after a given iteration, x, multiply an input vector by M<sup>x</sup>. The vector format follows that of the matrix labels, so with the table arranged as above, left multiply a row vector of ingredient(s) by the matrix. In order to see the expected product of 1 set of normal ingredients, the vector will have '1' in the first column and '0's everywhere else. Likewise, a set of uncommon ingredients will correspond to '1' in the second column of the vector.
 
It is important to note that since the recycling step has a material loss of 75% most recycling loops will be well behaved and converge quickly.
 
Extreme productivity from research breaks this pattern and will prevent convergence, but this simply means that there is a positive material cycle, so 1 set of ingredients will produce infinite legendary crafts, on average. The closer the total productivity is to 400%, the slower the convergence of the matrix iteration and the higher you need to calculate x in M<sup>x</sup>.
<!--[[File:Quality_Transition_Matrix.png]]-->
 
== 实用技巧 ==
=== 利用品质机制增加产能 ===
There are four ways in which quality can increase the output of a single production machine:
* Increasing the quality of the machine itself will improve its base crafting speed.
* Increasing the quality of [[speed module]]s will increase the effect of their speed improvements.
* Increasing the quality of [[productivity module]]s will increase their productivity bonus without reducing crafting speed. Since extra items obtained from the productivity bonus do not take extra time to produce, this will also increase the number of items produced over time.
* Increasing the quality of [[beacon]]s will increase their transmission efficiency. If they contain speed modules, then the effect of these modules is increased.
 
These four options share a powerful synergy, as they react multiplicatively with one another. This makes it possible to achieve very high production rates with very few machines when compared to only using normal quality items. For example, imagine a setup where [[electronic circuit]]s are made using one [[electromagnetic plant]] with five [[productivity module 3]]s, which is surrounded by 12 [[beacon]]s with two [[speed module 3]]s, each. With normal quality, this will achieve an output rate of almost 45 items per second (almost enough to saturate one non-layered [[express transport belt]]). However, if the electromagnetic plant and all beacons and modules have legendary quality, the output rate becomes slightly more than 600 items per second (enough to saturate two and a half [[turbo transport belt]]s with four layers of items). This is more than 13 times as many items as without quality.
 
It should be noted that quality beacons are the only one of these factors that may increase energy consumption over time, as the transmission effect is also applied to the energy cost of speed modules. However, this is offset or even negated by the reduced energy consumption of the beacons themselves (which is also affected by quality), especially with high beacon counts wherein the transmission effect is subject to diminishing returns. For speed modules, productivity modules, and the machine itself, only the speed increase, productivity bonus, and base crafting speed are affected, respectively.
 
The increased transmission effect of high-quality beacons is also notable because unlike when increasing the number of beacons, there are no diminishing returns for increasing their quality (aside from the exponentially increasing cost of producing those higher-quality beacons in the first place). This means that, despite a legendary beacon only being 1.66 times as powerful as a normal-quality beacon, one would need 0.36 times as many legendary beacons as normal ones to achieve the same effect. Aside from making more powerful beacon setups, this can also be used to save space by achieving the same effect with fewer beacons, thereby leaving more room for machines and belts.
 
Higher-quality machines are also particularly useful for producing quality items as, unlike speed modules, machine quality does not reduce the chance of increasing a product's quality.
 
=== 利用品质机制节约空间 ===
Another use for quality is decreasing the amount of buildings needed to perform the same production. This is particularly useful in a [[space platform]], where small, compact designs are rewarded with increased speed, as well as needing fewer rockets to build the platform.
 
== 相关开发者日志 ==
* [https://www.factorio.com/blog/post/fff-375 FFF 375 - Quality]
* [https://www.factorio.com/blog/post/fff-376 FFF 376 - Research and Technology]
 
== 你知道吗 ==
* Quality is not technically exclusive to player-made entities; Though this does not occur naturally, quality is also allowed on enemies, asteroids, and even the [[player]] character.
** Some enemies with qualities above normal can even be created in regular sandbox gameplay: Big biters, behemoth biters, and big premature wriggler pentapods born from spoiled [[biter egg]]s, [[captive biter spawner]]s, and [[pentapod egg]]s inherit the quality of the spoiled items, with the latter two being possible to craft with quality modules. Furthermore, a starved captured biter spawner will retain its quality upon converting into a hostile biter spawner, with said quality even being inherited by the biters that it will spawn. Should these biters chose to expand, they may also create quality spitters and worms.
 
== 更新历史 ==
{{history|2.0.7|
* 加入{{L|Space Age}}{{SA}}扩展包。
}}

Latest revision as of 16:42, 25 March 2025