Resolved: The game doesn't accept lubricant as an item. I am certain I copied the original recipie exactly originally, and only changed the number.
Resolved: or the duration (assuming that is what energy is)
The game won't accept my attempt to change the result count
Can anyone point me to a location where all of this stuff is explained more clearly? I used an existing mod (Nova's Powered armor recipie changer) as a base, and while that works fine, as does anything closely related, the other, new stuff doesn't work as my expectations dictate.
Code: Select all
-- Armor
data.raw["recipe"]["basic-modular-armor"].ingredients =
{
{ "advanced-circuit", 40},
{"heavy-armor", 1}
}
data.raw["recipe"]["power-armor"].ingredients =
{
{"basic-modular-armor", 2},
{"processing-unit", 100},
{"electric-engine-unit", 30},
{"alien-artifact", 10}
}
data.raw["recipe"]["power-armor-mk2"].ingredients =
{
{"power-armor", 1}, {"effectivity-module-3", 5},
{"speed-module-3", 5}, {"processing-unit", 100},
{"alien-artifact", 40}
}
-- Belts
data.raw["recipe"]["fast-transport-belt-to-ground"].ingredients =
{
{"fast-transport-belt", 4},
{"basic-transport-belt-to-ground", 2}
}
--[[data.raw["recipe"]["express-transport-belt-to-ground"].ingredients =
{
{"express-transport-belt", 4},
{"fast-transport-belt-to-ground", 2},
{"iron-gear-wheel", 2},
{type="fluid", name="lubricant", amount=4}
}
data.raw["recipe"]["fast-splitter"].ingredients =
{
{"basic-splitter", 1},
{"express-transport-belt", 2},
{"iron-gear-wheel", 4},
{"advanced-circuit", 10}
}
data.raw["recipe"]["express-splitter"].ingredients =
{
{"fast-splitter", 1},
{"fast-transport-belt", 2},
{"iron-gear-wheel", 2},
{"electronic-circuit", 10},
{type="fluid", name="lubricant", amount=8}
}]]--
data.raw["recipe"]["iron-chest"].ingredients =
{
{"wooden-chest", 1},
{"iron-plate", 6}
}
data.raw["recipe"]["steel-chest"].ingredients =
{
{"iron-chest", 1},
{"steel-plate", 6}
}
-- Circuits
--[[data.raw["recipe"]["advanced-circuit"].ingredients =
{
{"electronic-circuit", 3},
{"plastic-bar", 3},
{"copper-cable", 6}
},]]--
--data.raw["recipe"]["advanced-circuit"].result_count = 2
--data.raw["recipe"]["advanced-circuit"].energy_required = 15
--[[data.raw["recipe"]["processing-unit"].ingredients =
{
{"electronic-circuit", 20},
{"advanced-circuit", 4},
{type="fluid", name = "sulfuric-acid", amount = 2}
},]]--
--data.raw["recipe"]["processing-unit"].result_count = 4
--data.raw["recipe"]["processing-unit"].energy_required = 120
-- Furnaces
--[[data.raw["recipe"]["steel-furnace"].ingredients =
{
{"stone-furnace",1},
{"steel-plate", 8},
{"stone-brick", 8}
},
data.raw["recipe"]["electric-furnace"].ingredients =
{
{"steel-furnace",1},
{"steel-plate", 8},
{"electronic-circuit", 2},
{"advanced-circuit", 2}
},]]--
-- Chests
--[[
Previous recipes:
{
type = "recipe",
name = "heavy-armor",
enabled = "false",
energy_required = 8,
ingredients = {{ "copper-plate", 100}, {"steel-plate", 50}},
result = "heavy-armor"
},
{
type = "recipe",
name = "basic-modular-armor",
enabled = "false",
energy_required = 15,
ingredients = {{ "advanced-circuit", 30}, {"processing-unit", 5}, {"steel-plate", 50}},
result = "basic-modular-armor"
},
{
type = "recipe",
name = "power-armor",
enabled = "false",
energy_required = 20,
ingredients = {{ "processing-unit", 100}, {"electric-engine-unit", 30}, {"steel-plate", 100}, {"alien-artifact", 10}},
result = "power-armor"
},
{
type = "recipe",
name = "power-armor-mk2",
enabled = "false",
energy_required = 25,
ingredients = {{ "effectivity-module-3", 5}, {"speed-module-3", 5}, {"processing-unit", 200}, {"steel-plate", 50}, {"alien-artifact", 50}},
result = "power-armor-mk2"
},
]]--
--[[
{
type = "recipe",
name = "fast-transport-belt",
enabled = "false",
ingredients =
{
{"iron-gear-wheel", 5},
{"basic-transport-belt", 1}
},
result = "fast-transport-belt"
},
{
type = "recipe",
name = "express-transport-belt",
category = "crafting-with-fluid",
enabled = "false",
ingredients =
{
{"iron-gear-wheel", 5},
{"fast-transport-belt", 1},
{type="fluid", name="lubricant", amount=2},
},
result = "express-transport-belt"
},
]]--
--[[
{
type = "recipe",
name = "iron-chest",
enabled = "true",
ingredients = {{"iron-plate", 8}},
result = "iron-chest"
},
{
type = "recipe",
name = "steel-chest",
enabled = "false",
ingredients = {{"steel-plate", 8}},
result = "steel-chest"
},
]]--
--[[
{
type = "recipe",
name = "fast-transport-belt-to-ground",
enabled = "false",
ingredients =
{
{"iron-gear-wheel", 20},
{"basic-transport-belt-to-ground", 2}
},
result_count = 2,
result = "fast-transport-belt-to-ground"
},
{
type = "recipe",
name = "express-transport-belt-to-ground",
enabled = "false",
ingredients =
{
{"iron-gear-wheel", 40},
{"fast-transport-belt-to-ground", 2}
},
result_count = 2,
result = "express-transport-belt-to-ground"
},
{
type = "recipe",
name = "fast-splitter",
enabled = "false",
energy_required = 2,
ingredients =
{
{"basic-splitter", 1},
{"iron-gear-wheel", 10},
{"electronic-circuit", 10}
},
result = "fast-splitter"
},
{
type = "recipe",
name = "express-splitter",
category = "crafting-with-fluid",
enabled = "false",
energy_required = 2,
ingredients =
{
{"fast-splitter", 1},
{"iron-gear-wheel", 10},
{"advanced-circuit", 10},
{type="fluid", name="lubricant", amount=8}
},
result = "express-splitter"
},
]]--
--[[
{
type = "recipe",
name = "advanced-circuit",
enabled = "false",
energy_required = 8,
ingredients =
{
{"electronic-circuit", 2},
{"plastic-bar", 2},
{"copper-cable", 4}
},
result = "advanced-circuit"
},
{
type = "recipe",
name = "processing-unit",
category = "crafting-with-fluid",
enabled = "false",
energy_required = 15,
ingredients =
{
{"electronic-circuit", 20},
{"advanced-circuit", 2},
{type="fluid", name = "sulfuric-acid", amount = 0.5}
},
result = "processing-unit"
},
]]--
--[[
{
type = "recipe",
name = "steel-furnace",
ingredients = {{"steel-plate", 8}, {"stone-brick", 10}},
result = "steel-furnace",
energy_required = 3,
enabled = "false"
},
{
type = "recipe",
name = "electric-furnace",
ingredients = {{"steel-plate", 15}, {"advanced-circuit", 5}, {"stone-brick", 10}},
result = "electric-furnace",
energy_required = 5,
enabled = "false"
},
]]--
--[[
{
type = "recipe",
name = "iron-gear-wheel",
ingredients = {{"iron-plate", 2}},
result = "iron-gear-wheel"
},
]]--
--[[
{
type = "recipe",
name = "basic-bullet-magazine",
energy_required = 2,
ingredients = {{"iron-plate", 2}},
result = "basic-bullet-magazine",
result_count = 1
},
{
type = "recipe",
name = "piercing-bullet-magazine",
enabled = "false",
energy_required = 3,
ingredients =
{
{"copper-plate", 5},
{"steel-plate", 1}
},
result = "piercing-bullet-magazine"
},
]]--
--[[
{
type = "recipe",
name = "rocket",
enabled = "false",
energy_required = 8,
ingredients =
{
{"electronic-circuit", 1},
{"explosives", 2},
{"iron-plate", 2}
},
result = "rocket"
},
{
type = "recipe",
name = "explosive-rocket",
enabled = "false",
energy_required = 8,
ingredients =
{
{"rocket", 1},
{"explosives", 5}
},
result = "explosive-rocket"
},
]]--
--[[
{
type = "recipe",
name = "shotgun-shell",
enabled = "false",
energy_required = 3,
ingredients =
{
{"copper-plate", 2},
{"iron-plate", 2}
},
result = "shotgun-shell"
},
{
type = "recipe",
name = "piercing-shotgun-shell",
enabled = "false",
energy_required = 8,
ingredients =
{
{"copper-plate", 2},
{"steel-plate", 2}
},
result = "piercing-shotgun-shell"
},
]]--
--[[
{
type = "recipe",
name = "cannon-shell",
enabled = "false",
energy_required = 8,
ingredients =
{
{"steel-plate", 4},
{"plastic-bar", 2},
{"explosives", 1},
},
result = "cannon-shell"
}
--]]