Add menu simulation
This commit is contained in:
parent
23a52139c2
commit
fa5e644db1
3 changed files with 37 additions and 0 deletions
|
|
@ -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")
|
||||
16
lignumis/logo.lua
Normal file
16
lignumis/logo.lua
Normal 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
|
||||
}
|
||||
})
|
||||
19
lignumis/menu-simulations.lua
Normal file
19
lignumis/menu-simulations.lua
Normal 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
|
||||
]]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue