fpc_物品叠加

by fpc987

增加部分物品叠加数目为1000.

Content
4 months ago
0.17 - 1.1
4.01K
Storage

b Rail is not working/铁路不适用

3 years ago

我在data.lua文件里local item 添加 rail 不能用,mod报错。
Add the "rail" to the data file, not working.

3 years ago

你是想要添加铁轨吗?要添加相应物品的代吗?铁轨的源代码是:
{
type = "rail-planner",
name = "rail",
icon = "base/graphics/icons/rail.png",
icon_size = 64, icon_mipmaps = 4,
localised_name = {"item-name.rail"},
subgroup = "train-transport",
order = "a[train-system]-a[rail]",
place_result = "straight-rail",
stack_size = 100,
straight_rail = "straight-rail",
curved_rail = "curved-rail"
},

所以rail的type不是item,而是rail-planner.你可以在文件里添加一行:
data.raw["rail-planner"]["rail"].stack_size = 1000

3 years ago

非常感谢您!^-^
Thank you very much!

New response