Update version to 0.3.2, add reactor explosions metric, and adjust settings for third-party Lua workspace
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\\7cc4b07e291c43ff9c178f1dad6e0f26\\justarandomgeek.factoriomod-debug\\sumneko-3rd"
|
"c:\\Users\\jangr\\AppData\\Roaming\\Code\\User\\workspaceStorage\\efbcb086d2b4a3aca622c4db8c3b2aec\\justarandomgeek.factoriomod-debug\\sumneko-3rd"
|
||||||
],
|
],
|
||||||
"Lua.workspace.checkThirdParty": "ApplyInMemory",
|
"Lua.workspace.checkThirdParty": "ApplyInMemory",
|
||||||
"factorio.versions": [
|
"factorio.versions": [
|
||||||
|
|||||||
@@ -234,6 +234,7 @@ function SendGameStats()
|
|||||||
returnParts[#returnParts + 1] = GetMapSeed()
|
returnParts[#returnParts + 1] = GetMapSeed()
|
||||||
returnParts[#returnParts + 1] = GetEvolution()
|
returnParts[#returnParts + 1] = GetEvolution()
|
||||||
returnParts[#returnParts + 1] = GetRocketsLaunched()
|
returnParts[#returnParts + 1] = GetRocketsLaunched()
|
||||||
|
returnParts[#returnParts + 1] = GetReactorExplosions()
|
||||||
returnParts[#returnParts + 1] = GetTotalPlayTime()
|
returnParts[#returnParts + 1] = GetTotalPlayTime()
|
||||||
returnParts[#returnParts + 1] = GetPlayerTime()
|
returnParts[#returnParts + 1] = GetPlayerTime()
|
||||||
returnParts[#returnParts + 1] = GetPlayerDeaths()
|
returnParts[#returnParts + 1] = GetPlayerDeaths()
|
||||||
|
|||||||
3
data.lua
3
data.lua
@@ -1,4 +1,3 @@
|
|||||||
-- ENTITY
|
|
||||||
local entity = table.deepcopy(data.raw["constant-combinator"]["constant-combinator"])
|
local entity = table.deepcopy(data.raw["constant-combinator"]["constant-combinator"])
|
||||||
|
|
||||||
entity.name = "metrics-combinator"
|
entity.name = "metrics-combinator"
|
||||||
@@ -9,7 +8,6 @@ entity.minable = {
|
|||||||
entity.allow_copy_paste = true
|
entity.allow_copy_paste = true
|
||||||
entity.icon = "__base__/graphics/icons/constant-combinator.png"
|
entity.icon = "__base__/graphics/icons/constant-combinator.png"
|
||||||
entity.icon_size = 64
|
entity.icon_size = 64
|
||||||
--entity.operable = false
|
|
||||||
entity.flags = { "get-by-unit-number", "placeable-neutral", "placeable-player" }
|
entity.flags = { "get-by-unit-number", "placeable-neutral", "placeable-player" }
|
||||||
|
|
||||||
-- ITEM
|
-- ITEM
|
||||||
@@ -24,7 +22,6 @@ local item = {
|
|||||||
stack_size = 50
|
stack_size = 50
|
||||||
}
|
}
|
||||||
|
|
||||||
-- RECIPE (sichtbar von Spielstart)
|
|
||||||
local recipe = {
|
local recipe = {
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "metrics-combinator",
|
name = "metrics-combinator",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "factorio-metrics-exporter",
|
"name": "factorio-metrics-exporter",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"title": "Prometheus Metrics Exporter",
|
"title": "Prometheus Metrics Exporter",
|
||||||
"author": "Jan Grießhaber",
|
"author": "Jan Grießhaber",
|
||||||
"contact": "jan@griesshaber.systems",
|
"contact": "jan@griesshaber.systems",
|
||||||
|
|||||||
Reference in New Issue
Block a user