Compare commits

..

No commits in common. "a83851341ac79b5993d5dd9928884230f1a77d65" and "0ae7768d9fd15573fd3780aec9379a246d69b2c1" have entirely different histories.

46 changed files with 70 additions and 414 deletions

View file

@ -6,7 +6,7 @@ Dive into the world of Lignumis, a moon of Nauvis offering only the most basic t
- Move wood and lumber to its own fuel category
- Make seeds burnable again
- Make rocket silo work (incl. transition to Nauvis)
- ~~Add ammo turret~~
- Add ammo turret
- Add recipe for moist stromatolite remnants for regular furnace
- ~~Make enemies work~~
- Make mod "Wooden logistics" optional
@ -51,7 +51,3 @@ planetfall (https://mods.factorio.com/mod/ThemTharHills)
CG-Matt (https://mods.factorio.com/mod/simple-wood-liquefaction)
- Wood liquefaction
daydev (https://mods.factorio.com/mod/EquipmentPlusPortableEngine)
- Portable engine

View file

@ -1,9 +1,4 @@
---------------------------------------------------------------------------------------------------
Version: 0.0.3
Date: 03.01.2025
Changes:
- Add Basic construction robots
---------------------------------------------------------------------------------------------------
Version: 0.0.2
Date: 02.01.2025
Changes:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

View file

@ -26,14 +26,6 @@ desiccation-furnace=Desiccation furnace
steam-assembling-machine=Steam assembling machine
provisional-rocket-silo=Provisional rocket silo
basic-gun-turret=Basic gun turret
basic-construction-robot-gold=Basic construction robot (gold)
basic-construction-robot-copper=Basic construction robot (copper)
[equipment-name]
basic-portable-generator-equipment-gold=Basic portable generator equipment (gold)
basic-portable-generator-equipment-copper=Basic portable generator equipment (copper)
basic-personal-roboport-equipment-gold=Basic personal roboport equipment (gold)
basic-personal-roboport-equipment-copper=Basic personal roboport equipment (copper)
[item-name]
wooden-gear-wheel=Wooden gear wheel
@ -72,8 +64,6 @@ steam-science-pack=Steam science pack
wood-liquefaction=Wood liquefaction
provisional-rocketry=Provisional rocketry
basic-gun-turret=Basic gun turret
basic-construction-robotics-gold=Basic construction robotics (gold)
basic-construction-robotics-copper=Basic construction robotics (copper)
[tile-name]
wood-floor=Wood floor

View file

@ -1,280 +0,0 @@
local item_sounds = require("__base__.prototypes.item_sounds")
local item_tints = require("__base__.prototypes.item-tints")
local function robot(color)
local result = util.copy(data.raw["construction-robot"]["construction-robot"])
result.name = "basic-construction-robot-" .. color
result.icon = "__lignumis__/graphics/icons/basic-construction-robot-" .. color .. ".png"
result.minable.result = "basic-construction-robot-" .. color
result.max_health = 50
result.speed = 0.04
result.max_energy = "2MJ"
result.idle.filename = "__lignumis__/graphics/entity/basic-construction-robot/basic-construction-robot-" ..
color .. ".png"
result.in_motion.filename = "__lignumis__/graphics/entity/basic-construction-robot/basic-construction-robot-" ..
color .. ".png"
result.working.filename =
"__lignumis__/graphics/entity/basic-construction-robot/basic-construction-robot-" .. color .. "-working.png"
return result
end
local function robot_item(color, order)
return {
type = "item",
name = "basic-construction-robot-" .. color,
icon = "__lignumis__/graphics/icons/basic-construction-robot-" .. color .. ".png",
subgroup = "logistic-network",
order = "a[robot]-b" .. order .. "[basic-construction-robot-" .. color .. "]",
inventory_move_sound = item_sounds.robotic_inventory_move,
pick_sound = item_sounds.robotic_inventory_pickup,
drop_sound = item_sounds.robotic_inventory_move,
place_result = "basic-construction-robot-" .. color,
stack_size = 50,
random_tint_color = item_tints.iron_rust
}
end
local function robot_recipe(color, ingredients)
return {
type = "recipe",
name = "basic-construction-robot-" .. color,
enabled = false,
energy_required = 10,
ingredients = ingredients,
results = { { type = "item", name = "basic-construction-robot-" .. color, amount = 1 } }
}
end
local function generator(color)
return {
type = "generator-equipment",
name = "basic-portable-generator-equipment-" .. color,
sprite = {
filename = "__lignumis__/graphics/equipment/basic-portable-generator-equipment-" ..
color .. ".png",
width = 128,
height = 128,
priority = "medium",
scale = 0.5
},
shape = {
width = 2,
height = 2,
type = "full"
},
burner = {
type = "burner",
fuel_categories = { "chemical" },
emissions_per_minute = { noise = 1, pollution = 1 },
fuel_inventory_size = 2,
smoke = {
{
name = "smoke",
deviation = { 0.1, 0.1 },
frequency = 5,
position = { 0, 0 },
starting_vertical_speed = 0.08,
starting_frame_deviation = 60
}
}
},
energy_source = {
type = "electric",
usage_priority = "secondary-output",
output_flow_limit = "200kW"
},
power = "200kW",
categories = { "armor" }
}
end
local function generator_item(color, order)
return {
type = "item",
name = "basic-portable-generator-equipment-" .. color,
icon = "__lignumis__/graphics/icons/basic-portable-generator-equipment-" .. color .. ".png",
subgroup = "equipment",
order = "a[energy-source]-a" .. order .. "[basic-portable-generator-equipment-" .. color .. "]",
inventory_move_sound = item_sounds.robotic_inventory_move,
pick_sound = item_sounds.robotic_inventory_pickup,
drop_sound = item_sounds.robotic_inventory_move,
place_as_equipment_result = "basic-portable-generator-equipment-" .. color,
stack_size = 10
}
end
local function generator_recipe(color, ingredients)
return {
type = "recipe",
name = "basic-portable-generator-equipment-" .. color,
enabled = false,
energy_required = 10,
ingredients = ingredients,
results = { { type = "item", name = "basic-portable-generator-equipment-" .. color, amount = 1 } }
}
end
local function roboport(color)
local result = util.copy(data.raw["roboport-equipment"]["personal-roboport-equipment"])
result.name = "basic-personal-roboport-equipment-" .. color
result.take_result = "basic-personal-roboport-equipment-" .. color
result.sprite.filename = "__lignumis__/graphics/equipment/basic-personal-roboport-equipment-" .. color .. ".png"
result.energy_source.input_flow_limit = "400kW"
result.energy_source.buffer_capacity = "10MJ"
result.charging_energy = "500kW"
return result
end
local function roboport_item(color, order)
return {
type = "item",
name = "basic-personal-roboport-equipment-" .. color,
icon = "__lignumis__/graphics/icons/basic-personal-roboport-equipment-" .. color .. ".png",
place_as_equipment_result = "basic-personal-roboport-equipment-" .. color,
subgroup = "utility-equipment",
order = "e[robotics]-a" .. order .. "[basic-personal-roboport-equipment-" .. color .. "]",
inventory_move_sound = item_sounds.roboport_inventory_move,
pick_sound = item_sounds.roboport_inventory_pickup,
drop_sound = item_sounds.roboport_inventory_move,
stack_size = 10
}
end
local function roboport_recipe(color, ingredients)
return {
type = "recipe",
name = "basic-personal-roboport-equipment-" .. color,
enabled = false,
energy_required = 10,
ingredients = ingredients,
results = { { type = "item", name = "basic-personal-roboport-equipment-" .. color, amount = 1 } }
}
end
local gold_robot_technology = {
type = "technology",
name = "basic-construction-robotics-gold",
icon = "__lignumis__/graphics/technology/basic-construction-robotics-gold.png",
icon_size = 256,
effects = {
{
type = "unlock-recipe",
recipe = "basic-construction-robot-gold"
},
{
type = "unlock-recipe",
recipe = "basic-portable-generator-equipment-gold"
},
{
type = "unlock-recipe",
recipe = "basic-personal-roboport-equipment-gold"
},
{
type = "create-ghost-on-entity-death",
modifier = true
}
},
prerequisites = { "steam-science-pack" },
unit = {
count = 200,
ingredients = {
{ "wood-science-pack", 1 },
{ "steam-science-pack", 1 }
},
time = 15
}
}
local copper_robot_technology = {
type = "technology",
name = "basic-construction-robotics-copper",
icon = "__lignumis__/graphics/technology/basic-construction-robotics-copper.png",
icon_size = 256,
effects = {
{
type = "unlock-recipe",
recipe = "basic-construction-robot-copper"
},
{
type = "unlock-recipe",
recipe = "basic-portable-generator-equipment-copper"
},
{
type = "unlock-recipe",
recipe = "basic-personal-roboport-equipment-copper"
}
},
prerequisites = { "basic-construction-robotics-gold", "automation-science-pack" },
unit = {
count = 200,
ingredients = {
{ "automation-science-pack", 1 }
},
time = 15
}
}
data:extend({
-- Gold
robot("gold"),
robot_item("gold", 0),
robot_recipe("gold", {
{ type = "item", name = "gold-plate", amount = 2 },
{ type = "item", name = "wooden-gear-wheel", amount = 5 },
{ type = "item", name = "gold-cable", amount = 10 }
}),
generator("gold"),
generator_item("gold", 0),
generator_recipe("gold", {
{ type = "item", name = "gold-plate", amount = 10 },
{ type = "item", name = "wooden-gear-wheel", amount = 10 }
}),
roboport("gold"),
roboport_item("gold", 0),
roboport_recipe("gold", {
{ type = "item", name = "gold-plate", amount = 10 },
{ type = "item", name = "wooden-gear-wheel", amount = 10 }
}),
-- Copper
robot("copper"),
robot_item("copper", 1),
robot_recipe("copper", {
{ type = "item", name = "iron-plate", amount = 2 },
{ type = "item", name = "iron-gear-wheel", amount = 5 },
{ type = "item", name = "electronic-circuit", amount = 10 }
}),
generator("copper"),
generator_item("copper", 1),
generator_recipe("copper", {
{ type = "item", name = "copper-plate", amount = 10 },
{ type = "item", name = "iron-gear-wheel", amount = 10 }
}),
roboport("copper"),
roboport_item("copper", 1),
roboport_recipe("copper", {
{ type = "item", name = "copper-plate", amount = 10 },
{ type = "item", name = "iron-gear-wheel", amount = 10 },
{ type = "item", name = "electronic-circuit", amount = 20 }
}),
-- Technology
gold_robot_technology,
copper_robot_technology,
-- Equipment grids
{
type = "equipment-grid",
name = "very-small-equipment-grid",
width = 4,
height = 4,
equipment_categories = { "armor" }
},
{
type = "equipment-grid",
name = "tiny-equipment-grid",
width = 4,
height = 2,
equipment_categories = { "armor" }
}
})

View file

@ -16,6 +16,5 @@ require("steam-science")
require("wood-liquefaction")
require("wooden-rocket-silo")
require("basic-gun-turret")
require("basic-construction-robots")
require("noise")

View file

@ -21,14 +21,8 @@ DeepMiner.RecipeBuilder:new()
:apply()
DeepMiner.TechnologyBuilder:new()
:prerequisites({ "space-science-pack" })
:prerequisites({ "automation-science-pack" })
:count(500)
:ingredients({
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "production-science-pack", 1 },
{ "space-science-pack", 1 }
})
:ingredients({ { "automation-science-pack", 1 } })
:time(60)
:apply()

View file

@ -37,24 +37,5 @@ data:extend({
secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
},
allow_productivity = true
},
{
type = "technology",
name = "steam-science-pack",
icon = "__lignumis__/graphics/technology/steam-science-pack.png",
icon_size = 256,
essential = true,
effects = {
{
type = "unlock-recipe",
recipe = "steam-science-pack"
}
},
prerequisites = { "steam-automation" },
unit = {
count = 20,
ingredients = { { "wood-science-pack", 1 } },
time = 15
}
}
})

View file

@ -36,29 +36,5 @@ data:extend({
secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
},
allow_productivity = true
},
{
type = "technology",
name = "wood-science-pack",
icon = "__lignumis__/graphics/technology/wood-science-pack.png",
icon_size = 256,
essential = true,
effects =
{
{
type = "unlock-recipe",
recipe = "wood-lab"
},
{
type = "unlock-recipe",
recipe = "wood-science-pack"
}
},
research_trigger =
{
type = "craft-item",
item = "lumber",
count = 10
}
}
})

View file

@ -1,4 +1,3 @@
require("vanilla")
require("Wood-Walls")
require("wood-logistics")
require("wood-military")

View file

@ -118,49 +118,3 @@ landfill_technology.unit = {
ingredients = { { "wood-science-pack", 1 } },
time = 15
}
local robots_speed_technology_1 = data.raw.technology["worker-robots-speed-1"]
robots_speed_technology_1.prerequisites = { "provisional-rocketry", "basic-construction-robotics-gold" }
robots_speed_technology_1.unit = {
count = 100,
ingredients = { { "wood-science-pack", 1 }, { "steam-science-pack", 1 } },
time = 15
}
local robots_speed_technology_2 = data.raw.technology["worker-robots-speed-2"]
robots_speed_technology_2.prerequisites = {
"worker-robots-speed-1",
"logistic-science-pack"
}
robots_speed_technology_2.unit = {
count = 100,
ingredients = { { "automation-science-pack", 1 }, { "logistic-science-pack", 1 } },
time = 30
}
local robots_speed_technology_3 = data.raw.technology["worker-robots-speed-3"]
robots_speed_technology_3.prerequisites = { "worker-robots-speed-2", "chemical-science-pack" }
robots_speed_technology_3.unit = {
count = 150,
ingredients = { { "automation-science-pack", 1 }, { "logistic-science-pack", 1 }, { "chemical-science-pack", 1 } },
time = 30
}
local robots_speed_technology_4 = data.raw.technology["worker-robots-speed-4"]
robots_speed_technology_4.prerequisites = { "worker-robots-speed-3", "utility-science-pack" }
robots_speed_technology_4.unit.ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "utility-science-pack", 1 }
}
-- Equipment
data.raw.armor["light-armor"].equipment_grid = "tiny-equipment-grid"
data.raw.armor["heavy-armor"].equipment_grid = "very-small-equipment-grid"
data.raw["equipment-grid"]["small-equipment-grid"].width = 6
data.raw["equipment-grid"]["small-equipment-grid"].height = 6
data.raw["equipment-grid"]["medium-equipment-grid"].width = 8
data.raw["equipment-grid"]["medium-equipment-grid"].height = 8

View file

@ -1 +0,0 @@
data.raw.armor["wood-armor"].equipment_grid = "tiny-equipment-grid"

View file

@ -1,4 +1,28 @@
data:extend({
{
type = "technology",
name = "wood-science-pack",
icon = "__lignumis__/graphics/technology/wood-science-pack.png",
icon_size = 256,
essential = true,
effects =
{
{
type = "unlock-recipe",
recipe = "wood-lab"
},
{
type = "unlock-recipe",
recipe = "wood-science-pack"
}
},
research_trigger =
{
type = "craft-item",
item = "lumber",
count = 10
}
},
{
type = "technology",
name = "planet-discovery-nauvis",
@ -49,6 +73,11 @@ data:extend({
},
time = 15
}
--research_trigger = {
-- type = "craft-item",
-- item = "iron-ore",
-- count = 10
--}
},
{
type = "technology",
@ -75,6 +104,11 @@ data:extend({
},
time = 15
}
--research_trigger = {
-- type = "craft-item",
-- item = "copper-ore",
-- count = 10
--}
},
{
type = "technology",
@ -110,6 +144,25 @@ data:extend({
time = 15
}
},
{
type = "technology",
name = "steam-science-pack",
icon = "__lignumis__/graphics/technology/steam-science-pack.png",
icon_size = 256,
essential = true,
effects = {
{
type = "unlock-recipe",
recipe = "steam-science-pack"
}
},
prerequisites = { "steam-automation" },
unit = {
count = 20,
ingredients = { { "wood-science-pack", 1 } },
time = 15
}
},
{
type = "technology",
name = "provisional-rocketry",