PART1物品
1.1 盔甲
X:\Factorio\data\base\prototypes\item\demo-armor.lua
name = "basic-armor",(基础装甲)
X:\Factorio\data\base\prototypes\item\armor.lua
name = "heavy-armor",(重甲)
name = "basic-modular-armor",(基础模块化装甲)
name = "power-armor",(能源装甲)
name = "power-armor-mk2",(能源装甲2型)
实用条目
type = "armor",(类型)
name = "power-armor-mk2",(名称)
icon = "__base__/graphics/icons/power-armor-mk2.png",(对应图标位置)
flags = {"goes-to-main-inventory"},
resistances = (抗性)
{
{
type = "physical",(物理)
decrease = 12.5,(减少数值)
percent = 50(减少百分比)
},
{
type = "acid",(酸蚀)
decrease = 12.5,
percent = 50
},
{
type = "explosion",(爆炸)
decrease = 25,
percent = 62.5
}
},
durability = 20000,(耐久度)
subgroup = "armor",(制造面板分组)
order = "e[power-armor-mk2]",(排序,E为第五位)
stack_size = 1,(堆叠大小,该物品最大叠放数量)
equipment_grid = {width = 10, height = 10}(包裹大小,能源装甲系列独有,能源装甲内含的空间大小,width为宽,height为高)
以上数值部分可以自行调节
相关内容请关注:异星工厂专区