Compare commits
No commits in common. "2ab98350bcd33c65abd9e4896e2712a339d1d379" and "14badb6b6fc8209f2eee7c99694ba92dafb6e6ca" have entirely different histories.
2ab98350bc
...
14badb6b6f
18 changed files with 46 additions and 47 deletions
|
|
@ -46,7 +46,7 @@ AAILoaders.make_tier({
|
||||||
order = "d[loader]-a00[aai-wood-loader]"
|
order = "d[loader]-a00[aai-wood-loader]"
|
||||||
})
|
})
|
||||||
|
|
||||||
data.raw.recipe["aai-wood-loader"].additional_categories = { "wood-processing" }
|
data.raw.recipe["aai-wood-loader"].category = "wood-processing-or-assembling"
|
||||||
|
|
||||||
if not basic_circuit_board then
|
if not basic_circuit_board then
|
||||||
local nauvis_recipe = Recipe:new("aai-wood-loader"):clone("wood-loader-electronic-circuit")
|
local nauvis_recipe = Recipe:new("aai-wood-loader"):clone("wood-loader-electronic-circuit")
|
||||||
|
|
|
||||||
|
|
@ -90,9 +90,10 @@ end
|
||||||
local gold_recipe = Recipe:new("burner-crusher")
|
local gold_recipe = Recipe:new("burner-crusher")
|
||||||
:replaceIngredient("iron-gear-wheel", "wooden-gear-wheel")
|
:replaceIngredient("iron-gear-wheel", "wooden-gear-wheel")
|
||||||
:replaceIngredient("iron-plate", "gold-plate")
|
:replaceIngredient("iron-plate", "gold-plate")
|
||||||
if settings.startup["lignumis-lumber-mill-more-recipes"].value then
|
:assign({
|
||||||
gold_recipe.prototype.additional_categories = { "wood-processing" }
|
category = settings.startup["lignumis-lumber-mill-more-recipes"].value and "wood-processing-or-assembling" or
|
||||||
end
|
"crafting"
|
||||||
|
})
|
||||||
|
|
||||||
gold_recipe:clone("burner-crusher-copper")
|
gold_recipe:clone("burner-crusher-copper")
|
||||||
:replaceIngredient("gold-plate", "copper-plate")
|
:replaceIngredient("gold-plate", "copper-plate")
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ lane_splitter.prototype.structure_patch.west.filename = data.raw.splitter["wood-
|
||||||
lane_splitter.prototype.structure_patch.north.filename = data.raw.splitter["wood-splitter"].structure_patch.north.filename
|
lane_splitter.prototype.structure_patch.north.filename = data.raw.splitter["wood-splitter"].structure_patch.north.filename
|
||||||
lane_splitter.item.icon = Lignumis.graphics .. "icons/wood-lane-splitter.png"
|
lane_splitter.item.icon = Lignumis.graphics .. "icons/wood-lane-splitter.png"
|
||||||
lane_splitter.item.order = "d[lane-splitter]-0[wood-lane-splitter]"
|
lane_splitter.item.order = "d[lane-splitter]-0[wood-lane-splitter]"
|
||||||
lane_splitter.recipe.additional_categories = { "wood-processing" }
|
lane_splitter.recipe.category = "wood-processing-or-assembling"
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
lane_splitter.prototype,
|
lane_splitter.prototype,
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "basic-circuit-board",
|
name = "basic-circuit-board",
|
||||||
category = "crafting",
|
category = "wood-processing-or-assembling",
|
||||||
additional_categories = { "wood-processing" },
|
|
||||||
icons = {
|
icons = {
|
||||||
{ icon = Lignumis.graphics .. "icons/basic-circuit-board.png" },
|
{ icon = Lignumis.graphics .. "icons/basic-circuit-board.png" },
|
||||||
{ icon = Lignumis.graphics .. "icons/gold-cable.png", scale = 0.25, shift = { 8, 8 } }
|
{ icon = Lignumis.graphics .. "icons/gold-cable.png", scale = 0.25, shift = { 8, 8 } }
|
||||||
|
|
@ -37,8 +36,7 @@ data:extend({
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "basic-circuit-board-copper",
|
name = "basic-circuit-board-copper",
|
||||||
localised_name = { "item-name.basic-circuit-board" },
|
localised_name = { "item-name.basic-circuit-board" },
|
||||||
category = "crafting",
|
category = "wood-processing-or-assembling",
|
||||||
additional_categories = { "wood-processing" },
|
|
||||||
icons = {
|
icons = {
|
||||||
{ icon = Lignumis.graphics .. "icons/basic-circuit-board.png" },
|
{ icon = Lignumis.graphics .. "icons/basic-circuit-board.png" },
|
||||||
{ icon = "__base__/graphics/icons/copper-cable.png", scale = 0.25, shift = { 8, 8 } }
|
{ icon = "__base__/graphics/icons/copper-cable.png", scale = 0.25, shift = { 8, 8 } }
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ local turret_recipe = {
|
||||||
results = { { type = "item", name = "basic-gun-turret", amount = 1 } }
|
results = { { type = "item", name = "basic-gun-turret", amount = 1 } }
|
||||||
}
|
}
|
||||||
if settings.startup["lignumis-lumber-mill-more-recipes"].value then
|
if settings.startup["lignumis-lumber-mill-more-recipes"].value then
|
||||||
turret_recipe.additional_categories = { "wood-processing" }
|
turret_recipe.category = "wood-processing-or-assembling"
|
||||||
end
|
end
|
||||||
|
|
||||||
local turret_technology = {
|
local turret_technology = {
|
||||||
|
|
|
||||||
|
|
@ -84,8 +84,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "burner-agricultural-tower",
|
name = "burner-agricultural-tower",
|
||||||
category = "crafting",
|
category = "wood-processing-or-assembling",
|
||||||
additional_categories = { "wood-processing" },
|
|
||||||
energy_required = 10,
|
energy_required = 10,
|
||||||
ingredients = {
|
ingredients = {
|
||||||
{ type = "item", name = "stone-brick", amount = 5 },
|
{ type = "item", name = "stone-brick", amount = 5 },
|
||||||
|
|
@ -117,8 +116,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "burner-agricultural-tower-copper",
|
name = "burner-agricultural-tower-copper",
|
||||||
category = "crafting",
|
category = "wood-processing-or-assembling",
|
||||||
additional_categories = { "wood-processing" },
|
|
||||||
localised_name = { "entity-name.burner-agricultural-tower" },
|
localised_name = { "entity-name.burner-agricultural-tower" },
|
||||||
icons = {
|
icons = {
|
||||||
{ icon = Lignumis.graphics .. "icons/burner-agricultural-tower.png" },
|
{ icon = Lignumis.graphics .. "icons/burner-agricultural-tower.png" },
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ assembling_machine.crafting_categories = {
|
||||||
"crafting",
|
"crafting",
|
||||||
"electronics",
|
"electronics",
|
||||||
"pressing",
|
"pressing",
|
||||||
|
"wood-processing-or-assembling",
|
||||||
"organic-or-assembling",
|
"organic-or-assembling",
|
||||||
"electronics-or-assembling",
|
"electronics-or-assembling",
|
||||||
"metallurgy-or-assembling"
|
"metallurgy-or-assembling"
|
||||||
|
|
@ -49,6 +50,8 @@ remnants.animation[2].filename = gfx .. "burner-assembling-machine-remnants.png"
|
||||||
remnants.animation[3].filename = gfx .. "burner-assembling-machine-remnants.png"
|
remnants.animation[3].filename = gfx .. "burner-assembling-machine-remnants.png"
|
||||||
remnants.order = "0[burner-assembling-machine]"
|
remnants.order = "0[burner-assembling-machine]"
|
||||||
|
|
||||||
|
local crafting_category = settings.startup["lignumis-lumber-mill-more-recipes"].value and "wood-processing-or-assembling" or "crafting"
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
assembling_machine,
|
assembling_machine,
|
||||||
remnants,
|
remnants,
|
||||||
|
|
@ -67,8 +70,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "burner-assembling-machine",
|
name = "burner-assembling-machine",
|
||||||
category = "crafting",
|
category = crafting_category,
|
||||||
additional_categories = settings.startup["lignumis-lumber-mill-more-recipes"].value and { "wood-processing" } or nil,
|
|
||||||
enabled = false,
|
enabled = false,
|
||||||
ingredients = {
|
ingredients = {
|
||||||
{ type = "item", name = "wooden-gear-wheel", amount = 5 },
|
{ type = "item", name = "wooden-gear-wheel", amount = 5 },
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,8 @@ remnants.animation[3].filename = gfx .. "burner-long-handed-inserter-remnants.pn
|
||||||
remnants.animation[4].filename = gfx .. "burner-long-handed-inserter-remnants.png"
|
remnants.animation[4].filename = gfx .. "burner-long-handed-inserter-remnants.png"
|
||||||
remnants.order = "a-c-0"
|
remnants.order = "a-c-0"
|
||||||
|
|
||||||
|
local crafting_category = settings.startup["lignumis-lumber-mill-more-recipes"].value and "wood-processing-or-assembling" or "crafting"
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
long_handed_inserter,
|
long_handed_inserter,
|
||||||
remnants,
|
remnants,
|
||||||
|
|
@ -63,8 +65,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "burner-long-handed-inserter",
|
name = "burner-long-handed-inserter",
|
||||||
category = "crafting",
|
category = crafting_category,
|
||||||
additional_categories = settings.startup["lignumis-lumber-mill-more-recipes"].value and { "wood-processing" } or nil,
|
|
||||||
enabled = false,
|
enabled = false,
|
||||||
ingredients = {
|
ingredients = {
|
||||||
{ type = "item", name = "wooden-gear-wheel", amount = 1 },
|
{ type = "item", name = "wooden-gear-wheel", amount = 1 },
|
||||||
|
|
|
||||||
|
|
@ -7,17 +7,19 @@ local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].val
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe-category",
|
type = "recipe-category",
|
||||||
name = "wood-processing"
|
name = "wood-processing-or-assembling"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
table.insert(data.raw["character"]["character"].crafting_categories, "wood-processing-or-assembling")
|
||||||
|
|
||||||
local has_oxygen = data.raw["surface-property"]["oxygen"] ~= nil
|
local has_oxygen = data.raw["surface-property"]["oxygen"] ~= nil
|
||||||
|
|
||||||
LumberMill.EntityBuilder:new()
|
LumberMill.EntityBuilder:new()
|
||||||
:burnerEnergySource({ emissions_per_minute = { noise = 100 } })
|
:burnerEnergySource({ emissions_per_minute = { noise = 100 } })
|
||||||
:baseProductivity(0.5)
|
:baseProductivity(0.5)
|
||||||
:apply({
|
:apply({
|
||||||
crafting_categories = { "wood-processing" },
|
crafting_categories = { "wood-processing-or-assembling" },
|
||||||
crafting_speed = 2,
|
crafting_speed = 2,
|
||||||
energy_usage = "1000kW",
|
energy_usage = "1000kW",
|
||||||
surface_conditions = {
|
surface_conditions = {
|
||||||
|
|
@ -48,7 +50,7 @@ LumberMill.RecipeBuilder:new()
|
||||||
{ type = "item", name = "burner-assembling-machine", amount = 2 }
|
{ type = "item", name = "burner-assembling-machine", amount = 2 }
|
||||||
}))
|
}))
|
||||||
:apply({
|
:apply({
|
||||||
additional_categories = { "wood-processing" }
|
category = "wood-processing-or-assembling"
|
||||||
})
|
})
|
||||||
|
|
||||||
LumberMill.TechnologyBuilder:new()
|
LumberMill.TechnologyBuilder:new()
|
||||||
|
|
@ -70,7 +72,7 @@ LumberMill.RecipeBuilder:new()
|
||||||
:apply({
|
:apply({
|
||||||
name = "lumber-mill-copper",
|
name = "lumber-mill-copper",
|
||||||
localised_name = { "entity-name.lumber-mill" },
|
localised_name = { "entity-name.lumber-mill" },
|
||||||
additional_categories = { "wood-processing" },
|
category = "wood-processing-or-assembling",
|
||||||
icons = {
|
icons = {
|
||||||
{ icon = lumber_mill_item.icon },
|
{ icon = lumber_mill_item.icon },
|
||||||
{ icon = basic_circuit_board and "__base__/graphics/icons/copper-plate.png" or "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
|
{ icon = basic_circuit_board and "__base__/graphics/icons/copper-plate.png" or "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "lumber",
|
name = "lumber",
|
||||||
category = "crafting",
|
category = "wood-processing-or-assembling",
|
||||||
additional_categories = { "wood-processing" },
|
|
||||||
allow_productivity = true,
|
allow_productivity = true,
|
||||||
allow_as_intermediate = true,
|
allow_as_intermediate = true,
|
||||||
ingredients = { { type = "item", name = "wood", amount = 2 } },
|
ingredients = { { type = "item", name = "wood", amount = 2 } },
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ assembling_machine.crafting_categories = {
|
||||||
"crafting",
|
"crafting",
|
||||||
"electronics",
|
"electronics",
|
||||||
"pressing",
|
"pressing",
|
||||||
|
"wood-processing-or-assembling",
|
||||||
"organic-or-assembling",
|
"organic-or-assembling",
|
||||||
"electronics-or-assembling",
|
"electronics-or-assembling",
|
||||||
"metallurgy-or-assembling",
|
"metallurgy-or-assembling",
|
||||||
|
|
|
||||||
|
|
@ -144,8 +144,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "wood-lab",
|
name = "wood-lab",
|
||||||
category = "crafting",
|
category = "wood-processing-or-assembling",
|
||||||
additional_categories = { "wood-processing" },
|
|
||||||
energy_required = 2,
|
energy_required = 2,
|
||||||
ingredients = {
|
ingredients = {
|
||||||
{ type = "item", name = "lumber", amount = 6 },
|
{ type = "item", name = "lumber", amount = 6 },
|
||||||
|
|
|
||||||
|
|
@ -58,13 +58,13 @@ Belt.RecipeBuilder:new()
|
||||||
})
|
})
|
||||||
:apply({
|
:apply({
|
||||||
transportBelt = {
|
transportBelt = {
|
||||||
additional_categories = { "wood-processing" }
|
category = "wood-processing-or-assembling"
|
||||||
},
|
},
|
||||||
undergroundBelt = {
|
undergroundBelt = {
|
||||||
additional_categories = { "wood-processing" }
|
category = "wood-processing-or-assembling"
|
||||||
},
|
},
|
||||||
splitter = {
|
splitter = {
|
||||||
additional_categories = { "wood-processing" }
|
category = "wood-processing-or-assembling"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
@ -91,7 +91,7 @@ if not basic_circuit_board then
|
||||||
{ icon = splitter_item.icon },
|
{ icon = splitter_item.icon },
|
||||||
{ icon = "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
|
{ icon = "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
|
||||||
},
|
},
|
||||||
additional_categories = { "wood-processing" }
|
category = "wood-processing-or-assembling"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.splitter
|
.splitter
|
||||||
|
|
|
||||||
|
|
@ -82,8 +82,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "wood-darts-magazine",
|
name = "wood-darts-magazine",
|
||||||
category = "crafting",
|
category = "wood-processing-or-assembling",
|
||||||
additional_categories = { "wood-processing" },
|
|
||||||
energy_required = 1,
|
energy_required = 1,
|
||||||
ingredients = { { type = "item", name = "wood", amount = 2 } },
|
ingredients = { { type = "item", name = "wood", amount = 2 } },
|
||||||
results = { { type = "item", name = "wood-darts-magazine", amount = 1 } }
|
results = { { type = "item", name = "wood-darts-magazine", amount = 1 } }
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "wooden-gear-wheel",
|
name = "wooden-gear-wheel",
|
||||||
category = "crafting",
|
category = "wood-processing-or-assembling",
|
||||||
additional_categories = { "wood-processing" },
|
|
||||||
ingredients = { { type = "item", name = "lumber", amount = 1 } },
|
ingredients = { { type = "item", name = "lumber", amount = 1 } },
|
||||||
results = { { type = "item", name = "wooden-gear-wheel", amount = 2 } },
|
results = { { type = "item", name = "wooden-gear-wheel", amount = 2 } },
|
||||||
allow_productivity = true
|
allow_productivity = true
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local recipe = data.raw.recipe["wooden-wall"]
|
local recipe = data.raw.recipe["wooden-wall"]
|
||||||
recipe.ingredients = { { type = "item", name = "lumber", amount = 4 } }
|
recipe.ingredients = { { type = "item", name = "lumber", amount = 4 } }
|
||||||
recipe.results = { { type = "item", name = "wooden-wall", amount = 1 } }
|
recipe.results = { { type = "item", name = "wooden-wall", amount = 1 } }
|
||||||
recipe.additional_categories = { "wood-processing" }
|
recipe.category = "wood-processing-or-assembling"
|
||||||
|
|
@ -21,8 +21,7 @@ local drill_item = data.raw["item"]["burner-mining-drill"]
|
||||||
drill_item.icon = Lignumis.graphics .. "icons/burner-mining-drill.png"
|
drill_item.icon = Lignumis.graphics .. "icons/burner-mining-drill.png"
|
||||||
|
|
||||||
local drill_recipe = data.raw["recipe"]["burner-mining-drill"]
|
local drill_recipe = data.raw["recipe"]["burner-mining-drill"]
|
||||||
drill_recipe.category = "crafting"
|
drill_recipe.category = "wood-processing-or-assembling"
|
||||||
drill_recipe.additional_categories = { "wood-processing" }
|
|
||||||
drill_recipe.ingredients = {
|
drill_recipe.ingredients = {
|
||||||
{ type = "item", name = "stone-furnace", amount = 1 },
|
{ type = "item", name = "stone-furnace", amount = 1 },
|
||||||
{ type = "item", name = "wooden-gear-wheel", amount = basic_circuit_board and 2 or 3 },
|
{ type = "item", name = "wooden-gear-wheel", amount = basic_circuit_board and 2 or 3 },
|
||||||
|
|
@ -49,7 +48,7 @@ burner_inserter_recipe.ingredients = {
|
||||||
{ type = "item", name = "lumber", amount = 1 }
|
{ type = "item", name = "lumber", amount = 1 }
|
||||||
}
|
}
|
||||||
if settings.startup["lignumis-lumber-mill-more-recipes"].value then
|
if settings.startup["lignumis-lumber-mill-more-recipes"].value then
|
||||||
burner_inserter_recipe.additional_categories = { "wood-processing" }
|
burner_inserter_recipe.category = "wood-processing-or-assembling"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -132,7 +131,10 @@ if mods["Diversitree"] then
|
||||||
data.raw.plant["s6xdvt-fake-tree"].surface_conditions[1].min = 900
|
data.raw.plant["s6xdvt-fake-tree"].surface_conditions[1].min = 900
|
||||||
end
|
end
|
||||||
|
|
||||||
|
table.insert(data.raw["assembling-machine"]["assembling-machine-1"].crafting_categories, "wood-processing-or-assembling")
|
||||||
table.insert(data.raw["assembling-machine"]["assembling-machine-1"].crafting_categories, "organic-or-assembling")
|
table.insert(data.raw["assembling-machine"]["assembling-machine-1"].crafting_categories, "organic-or-assembling")
|
||||||
|
table.insert(data.raw["assembling-machine"]["assembling-machine-2"].crafting_categories, "wood-processing-or-assembling")
|
||||||
|
table.insert(data.raw["assembling-machine"]["assembling-machine-3"].crafting_categories, "wood-processing-or-assembling")
|
||||||
|
|
||||||
|
|
||||||
-- Disable vanilla early game recipes
|
-- Disable vanilla early game recipes
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,10 @@ if not mods["wood-military"] then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local Settings = require("__cf-lib__/settings/Settings")
|
data.raw["bool-setting"]["wood-military-rockets"].default_value = false
|
||||||
local force = Settings.force
|
data.raw["bool-setting"]["wood-military-artillery"].default_value = false
|
||||||
local default = Settings.default
|
data.raw["bool-setting"]["wood-military-damage-buff"].default_value = false
|
||||||
|
data.raw["bool-setting"]["wood-military-armor"].hidden = true
|
||||||
default("wood-military-rockets", false)
|
data.raw["bool-setting"]["wood-military-armor"].forced_value = true
|
||||||
default("wood-military-artillery", false)
|
data.raw["bool-setting"]["wood-military-nerf-start"].hidden = true
|
||||||
default("wood-military-damage-buff", false)
|
data.raw["bool-setting"]["wood-military-nerf-start"].forced_value = true
|
||||||
force("wood-military-armor", true)
|
|
||||||
force("wood-military-nerf-start", true)
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue