Initial Commit
This commit is contained in:
20
research-stats.lua
Normal file
20
research-stats.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
local researches = {}
|
||||
|
||||
|
||||
---comment
|
||||
---@param event EventData.on_research_finished
|
||||
function onResearchFinished(event)
|
||||
for id, tech in pairs(game.forces["player"].technologies) do
|
||||
researches[id] = tech
|
||||
end
|
||||
end
|
||||
|
||||
---comment
|
||||
---@param event EventData.on_research_started
|
||||
function onResearchStarted(event)
|
||||
end
|
||||
|
||||
---comment
|
||||
---@param event EventData.on_research_queued
|
||||
function onResearchQueued(event)
|
||||
end
|
||||
Reference in New Issue
Block a user