Update to version 0.3.5; Fixed pollution reporting
This commit is contained in:
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"Lua.workspace.userThirdParty": [
|
"Lua.workspace.userThirdParty": [
|
||||||
"c:\\Users\\jangr\\AppData\\Roaming\\Code\\User\\workspaceStorage\\14f36f4acfd74cd0fa85ac34cb84b920\\justarandomgeek.factoriomod-debug\\sumneko-3rd"
|
"c:\\Users\\jangr\\AppData\\Roaming\\Code\\User\\workspaceStorage\\10b25691ccff2371b41fc57eb2e75361\\justarandomgeek.factoriomod-debug\\sumneko-3rd"
|
||||||
],
|
],
|
||||||
"Lua.workspace.checkThirdParty": "ApplyInMemory",
|
"Lua.workspace.checkThirdParty": "ApplyInMemory",
|
||||||
"factorio.versions": [
|
"factorio.versions": [
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "factorio-metrics-exporter",
|
"name": "factorio-metrics-exporter",
|
||||||
"version": "0.3.4",
|
"version": "0.3.5",
|
||||||
"title": "Prometheus Metrics Exporter",
|
"title": "Prometheus Metrics Exporter",
|
||||||
"author": "Jan Grießhaber",
|
"author": "Jan Grießhaber",
|
||||||
"contact": "jan@griesshaber.systems",
|
"contact": "jan@griesshaber.systems",
|
||||||
|
|||||||
@@ -57,10 +57,10 @@ function GetEvolution()
|
|||||||
for _, surface in pairs(game.surfaces) do
|
for _, surface in pairs(game.surfaces) do
|
||||||
evolutionParts[#evolutionParts + 1] = ("%s:%d:%d:%d:%d"):format(
|
evolutionParts[#evolutionParts + 1] = ("%s:%d:%d:%d:%d"):format(
|
||||||
surface.name,
|
surface.name,
|
||||||
playerForce.get_evolution_factor(surface),
|
playerForce.get_evolution_factor(surface.index),
|
||||||
playerForce.get_evolution_factor_by_pollution(surface),
|
playerForce.get_evolution_factor_by_pollution(surface.index),
|
||||||
playerForce.get_evolution_factor_by_time(surface),
|
playerForce.get_evolution_factor_by_time(surface.index),
|
||||||
playerForce.get_evolution_factor_by_killing_spawners(surface))
|
playerForce.get_evolution_factor_by_killing_spawners(surface.index))
|
||||||
end
|
end
|
||||||
return table.concat(evolutionParts, "\n")
|
return table.concat(evolutionParts, "\n")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user