Deadlock's Crating Machine 모드 쓰는데 주석이랑 금이 없어서 당황해서 추가함
prototypes 폴더에 shared.lua 열어서 편집
-- which vanilla items are automatically crated, in which tier
DCM.VANILLA_ITEM_TIERS = {
[1] = { "wood", "iron-ore", "copper-ore", "stone", "coal", "iron-plate", "copper-plate", "steel-plate", "stone-brick", "tin-ore", "tin-plate", "gold-ore", "gold-plate" },
[2] = { "copper-cable", "iron-gear-wheel", "iron-stick", "sulfur", "plastic-bar", "solid-fuel", "electronic-circuit", "advanced-circuit" },
[3] = { "processing-unit", "battery", "uranium-ore", "uranium-235", "uranium-238" },
}
이렇게 ㅇㅇ
제작자가 코드 다 짜놔서 추가하고싶은거 적어넣기만 하면 알아서 처리해줌 개꿀
추가)
다른종류 ingot 이랑 plate 다 추가한 버전
-- which vanilla items are automatically crated, in which tier
DCM.VANILLA_ITEM_TIERS = {
[1] = { "wood", "iron-ore", "copper-ore", "tin-ore", "gold-ore", "coal", "stone", "stone-brick", "tin-ingot", "copper-ingot", "bronze-ingot", "iron-ingot", "steel-ingot", "gold-ingot", "glass-ingot", "lead-ingot", "titanium-ingot", "duranium-ingot", "copper-plate", "tin-plate", "bronze-plate", "iron-plate", "steel-plate", "gold-plate", "glass-plate", "lead-plate", "titanium-plate", "duranium-plate", "chromium-plate" },
[2] = { "copper-cable", "iron-gear-wheel", "iron-stick", "sulfur", "plastic-bar", "solid-fuel", "electronic-circuit", "advanced-circuit" },
[3] = { "processing-unit", "battery", "uranium-ore", "uranium-235", "uranium-238" },
}
댓글 0