From fbd9fb3c97a43fe9a8bf2b945d2393d65e977dd0 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 26 Jun 2026 21:49:47 +0900 Subject: [PATCH 1/3] Update warps.lua --- exp_legacy/module/modules/control/warps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exp_legacy/module/modules/control/warps.lua b/exp_legacy/module/modules/control/warps.lua index b6cad0a9c5..fdca5b6246 100644 --- a/exp_legacy/module/modules/control/warps.lua +++ b/exp_legacy/module/modules/control/warps.lua @@ -182,7 +182,7 @@ function Warps.make_warp_area(warp_id) } entity.destructible = false entity.health = 0 - entity.minable = false + entity.minable_flag = false entity.rotatable = false -- Save reference of the last power pole From f02477c4f590fbc474fc089ff181772df893b601 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 26 Jun 2026 21:53:21 +0900 Subject: [PATCH 2/3] . --- exp_scenario/module/control/mine_depletion.lua | 2 +- exp_scenario/module/control/spawn_area.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exp_scenario/module/control/mine_depletion.lua b/exp_scenario/module/control/mine_depletion.lua index 799d064924..6bd8d24eaa 100644 --- a/exp_scenario/module/control/mine_depletion.lua +++ b/exp_scenario/module/control/mine_depletion.lua @@ -43,7 +43,7 @@ local function prevent_deconstruction(entity) end -- Not minable, selectable, or deconstructive - if not entity.minable or not entity.prototype.selectable_in_game or entity.has_flag("not-deconstructable") then + if not entity.minable_flag or not entity.prototype.selectable_in_game or entity.has_flag("not-deconstructable") then return true end diff --git a/exp_scenario/module/control/spawn_area.lua b/exp_scenario/module/control/spawn_area.lua index 8c1626b771..e4c7213e90 100644 --- a/exp_scenario/module/control/spawn_area.lua +++ b/exp_scenario/module/control/spawn_area.lua @@ -56,7 +56,7 @@ end local function protect_entity(entity) if entity and entity.valid then entity.destructible = false - entity.minable = false + entity.minable_flag = false entity.rotatable = false entity.operable = false end From 112a02a51239d8dd6b4a796016a8068833ed6a21 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 26 Jun 2026 22:33:17 +0900 Subject: [PATCH 3/3] . --- exp_legacy/module/config/expcore/roles.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exp_legacy/module/config/expcore/roles.lua b/exp_legacy/module/config/expcore/roles.lua index df346afbfc..8ffbb53f67 100644 --- a/exp_legacy/module/config/expcore/roles.lua +++ b/exp_legacy/module/config/expcore/roles.lua @@ -14,7 +14,7 @@ Roles.define_flag_trigger("is_spectator", function(player, state) end) Roles.define_flag_trigger("is_jail", function(player, state) if player.character then - player.character.active = not state + player.character.disabled_by_script = not state end end)