Compare commits

...

2 commits

Author SHA1 Message Date
Simon Brodtmann
9827968738 Hide noise cancelling recipe from Factoriopedia 2025-12-20 19:54:51 +01:00
Simon Brodtmann
fa5e644db1 Add menu simulation 2025-12-20 19:54:13 +01:00
4 changed files with 40 additions and 1 deletions

View file

@ -38,6 +38,8 @@ end
require("__cf-lib__/util") require("__cf-lib__/util")
require("logo")
require("menu-simulations")
require("prototypes/content/data") require("prototypes/content/data")
require("prototypes/integrations/data") require("prototypes/integrations/data")
require("prototypes/compatibility/data") require("prototypes/compatibility/data")

16
lignumis/logo.lua Normal file
View file

@ -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
}
})

View file

@ -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
]]
}

View file

@ -117,9 +117,11 @@ data:extend({
ingredients = {}, ingredients = {},
results = {}, results = {},
category = "active-noise-cancelling", category = "active-noise-cancelling",
surface_conditions = { { property = "pollutant-type", min = 3, max = 3 } },
hide_from_stats = true, hide_from_stats = true,
hide_from_player_crafting = 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", type = "technology",