From fa5e644db173a90f9e8531d2628b4a9b9beb9a9a Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sat, 20 Dec 2025 19:54:13 +0100 Subject: [PATCH 1/2] Add menu simulation --- lignumis/data.lua | 2 ++ lignumis/logo.lua | 16 ++++++++++++++++ lignumis/menu-simulations.lua | 19 +++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 lignumis/logo.lua create mode 100644 lignumis/menu-simulations.lua diff --git a/lignumis/data.lua b/lignumis/data.lua index 6508692..eca0755 100644 --- a/lignumis/data.lua +++ b/lignumis/data.lua @@ -38,6 +38,8 @@ end require("__cf-lib__/util") +require("logo") +require("menu-simulations") require("prototypes/content/data") require("prototypes/integrations/data") require("prototypes/compatibility/data") \ No newline at end of file diff --git a/lignumis/logo.lua b/lignumis/logo.lua new file mode 100644 index 0000000..bb346ff --- /dev/null +++ b/lignumis/logo.lua @@ -0,0 +1,16 @@ +data:extend({ + { + type = "simple-entity", + name = "lignumis-logo", + picture = { + filename = "__lignumis-assets__/title.png", + width = 575, + height = 181, + scale = 1, + draw_as_glow = true + }, + collision_mask = { layers = {} }, + render_layer = "air-object", + hidden_in_factoriopedia = true + } +}) \ No newline at end of file diff --git a/lignumis/menu-simulations.lua b/lignumis/menu-simulations.lua new file mode 100644 index 0000000..7f47f20 --- /dev/null +++ b/lignumis/menu-simulations.lua @@ -0,0 +1,19 @@ +local main_menu_simulations = data.raw["utility-constants"]["default"].main_menu_simulations +main_menu_simulations.lignumis_early = { + checkboard = false, + planet = "lignumis", + save = "__lignumis-assets__/menu-simulations/lignumis1.zip", + length = 60 * 20, + mods = { "lignumis" }, + game_view_settings = { default_show_value = false }, + init = [[ + game.simulation.camera_surface_index = game.surfaces["lignumis"].index -- Surface of camera + game.simulation.camera_position = {-6, 10} -- Position of camera + game.simulation.camera_zoom = 0.75 -- Zoom of camera + game.tick_paused = false + game.surfaces["lignumis"].daytime = 0.3 + game.players[1].game_view_settings.show_controller_gui = false + game.players[1].game_view_settings.show_quickbar = false + game.players[1].game_view_settings.show_shortcut_bar = false + ]] +} \ No newline at end of file From 98279687386809cc0990141a483f121c697eb617 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sat, 20 Dec 2025 19:54:51 +0100 Subject: [PATCH 2/2] Hide noise cancelling recipe from Factoriopedia --- lignumis/prototypes/content/active-noise-cancelling-tower.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lignumis/prototypes/content/active-noise-cancelling-tower.lua b/lignumis/prototypes/content/active-noise-cancelling-tower.lua index 294e5f5..5a3f29c 100644 --- a/lignumis/prototypes/content/active-noise-cancelling-tower.lua +++ b/lignumis/prototypes/content/active-noise-cancelling-tower.lua @@ -117,9 +117,11 @@ data:extend({ ingredients = {}, results = {}, category = "active-noise-cancelling", + surface_conditions = { { property = "pollutant-type", min = 3, max = 3 } }, hide_from_stats = true, hide_from_player_crafting = true, - surface_conditions = { { property = "pollutant-type", min = 3, max = 3 } } + hide_from_signal_gui = true, + hidden_in_factoriopedia = true }, { type = "technology",