From c56e2ae0b5526b5704128b67f14dcdf873cb5573 Mon Sep 17 00:00:00 2001 From: Brevven Date: Tue, 31 Dec 2024 16:52:49 -0800 Subject: [PATCH] prevent chests on space platform --- changelog.txt | 5 +++++ info.json | 2 +- other-entities.lua | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 89e108c..7bb7288 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.7 +Date: 2025-01-01 + Fixes: + - Lead chests can no longer be built on space platforms +--------------------------------------------------------------------------------------------------- Version: 2.0.6 Date: 2024-12-31 Localization: diff --git a/info.json b/info.json index 081fac7..57257ce 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzlead", - "version": "2.0.6", + "version": "2.0.7", "factorio_version": "2.0", "title": "Lead", "author": "Brevven", diff --git a/other-entities.lua b/other-entities.lua index 40c4a58..14cf2fe 100644 --- a/other-entities.lua +++ b/other-entities.lua @@ -32,6 +32,12 @@ data:extend({ corpse = "small-remnants", open_sound = { filename = "__base__/sound/metallic-chest-open.ogg", volume=0.65 }, close_sound = { filename = "__base__/sound/metallic-chest-close.ogg", volume = 0.7 }, + surface_conditions = { + { + property = "gravity", + min = 0.1 + } + }, resistances = { {