Factorio:

add visibility option
fix tech_cost using the wrong variable name
fix yaml defaults not init'ing the Option class
LttP:
fix potential pathing confusion in maseya palette shuffler
Server:
Minimum version per team made no sense, removed
This commit is contained in:
Fabian Dill
2021-04-08 19:53:24 +02:00
parent 443fc03700
commit f0a6b5a8e4
14 changed files with 80 additions and 180 deletions

View File

@@ -1,10 +1,10 @@
require "lib"
-- for testing
-- script.on_event(defines.events.on_tick, function(event)
-- if event.tick%600 == 0 then
-- dumpTech(game.forces["player"])
-- end
-- end)
script.on_event(defines.events.on_tick, function(event)
if event.tick%600 == 0 then
dumpTech(game.forces["player"])
end
end)
-- hook into researches done
script.on_event(defines.events.on_research_finished, function(event)
@@ -54,7 +54,7 @@ function dumpGameInfo()
local data_collection = {}
local force = game.forces["player"]
for tech_name, tech in pairs(force.technologies) do
if tech.enabled then
if tech.enabled and tech.research_unit_count_formula == nil then
local tech_data = {}
local unlocks = {}
tech_data["unlocks"] = unlocks