Private
Public Access
1
0

Update to version 0.3.5; Fixed pollution reporting

This commit is contained in:
Jan Grießhaber
2026-01-06 17:02:06 +01:00
parent 3b4e44aab9
commit dd6856016c
3 changed files with 6 additions and 6 deletions

View File

@@ -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": [

View File

@@ -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",

View File

@@ -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