simulation, nanobot, etc
This commit is contained in:
parent
a00ea9dad4
commit
bbad394de4
6 changed files with 40 additions and 1 deletions
|
@ -1,4 +1,16 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.0.20
|
||||
Date: 2022-08-18
|
||||
Fixes:
|
||||
- Fix multiple prerequisite issue
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.0.19
|
||||
Date: 2022-08-18
|
||||
Features:
|
||||
- Menu simulation
|
||||
Changes:
|
||||
- Minor nanobot tech tree tweak
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.0.18
|
||||
Date: 2022-08-17
|
||||
Changes:
|
||||
|
|
|
@ -43,6 +43,7 @@ if not mods.bzaluminum and not mods.bzcarbon then
|
|||
util.replace_ingredients_prior_to("electronics", "electronic-circuit", "copper-cable", 2)
|
||||
end
|
||||
|
||||
util.add_prerequisite("nanobots", "electronics")
|
||||
util.remove_ingredient("small-lamp", "blank-circuit") -- mod mash
|
||||
|
||||
-- Should come as late as possible, doesn't need to be last
|
||||
|
|
1
data.lua
1
data.lua
|
@ -6,6 +6,7 @@ require("prototypes/bakelite")
|
|||
require("prototypes/basic-chemical-plant")
|
||||
require("prototypes/k2-recipe")
|
||||
require("prototypes/se-recipe")
|
||||
require("gas-sim")
|
||||
|
||||
local util = require("data-util");
|
||||
|
||||
|
|
25
gas-sim.lua
Normal file
25
gas-sim.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
-- 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
|
||||
|
||||
data.raw["utility-constants"]["default"].main_menu_simulations["gas-rig"] = {
|
||||
checkboard = false,
|
||||
save = "__bzgas__/menu-simulations/gas-rig-sim.zip", length = 15*60,
|
||||
init =
|
||||
[[
|
||||
local logo = game.surfaces.nauvis.find_entities_filtered{
|
||||
name = "factorio-logo-16tiles", 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 = [[]]
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bzgas",
|
||||
"version": "0.0.19",
|
||||
"version": "0.0.20",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Natural Gas",
|
||||
"author": "Brevven",
|
||||
|
|
BIN
menu-simulations/gas-rig-sim.zip
Normal file
BIN
menu-simulations/gas-rig-sim.zip
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue