forked from brevven/lead
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlead-sim.lua
More file actions
27 lines (24 loc) · 844 Bytes
/
lead-sim.lua
File metadata and controls
27 lines (24 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---- For testing only
--local kept1 = false
--for name in pairs(data.raw["utility-constants"]["default"].main_menu_simulations) do
-- if kept1 then
-- data.raw["utility-constants"]["default"].main_menu_simulations[name] = nil
-- end
-- kept1 = true
--end
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
data.raw["utility-constants"]["default"].main_menu_simulations["lead-ammo"] = {
checkboard = false,
save = "__bzlead__/menu-simulations/lead-ammo-sim.zip", length = 15*60,
init =
[[
local logo = game.surfaces.nauvis.find_entities_filtered{
name = "factorio-logo-22tiles", limit = 1}[1]
game.camera_position = {logo.position.x, logo.position.y+14}
game.camera_zoom = 0.75
game.tick_paused = false
game.surfaces.nauvis.daytime = 0
]],
update = [[]]
}
end