diff --git a/features/gui/score.lua b/features/gui/score.lua index a0d9b776..2d41d1ef 100644 --- a/features/gui/score.lua +++ b/features/gui/score.lua @@ -80,6 +80,9 @@ local function get_score_sprite() if script.active_mods['Krastorio2'] then return 'achievement/kr-matter-production-3' end + if script.active_mods['space-exploration'] then + return 'achievement/se-there-is-no-spoon' + end return 'achievement/there-is-no-spoon' end diff --git a/features/nuke_control.lua b/features/nuke_control.lua index e95e7857..0dfcc6a3 100644 --- a/features/nuke_control.lua +++ b/features/nuke_control.lua @@ -151,7 +151,7 @@ end local function item_not_sanctioned(item) local name = item.name - if name:find('capsule') or name == 'cliff-explosives' or name == 'discharge-defense-remote' then + if name:find('capsule') or name == 'cliff-explosives' or name == 'discharge-defense-remote' or name:find('medpack') then return true end diff --git a/utils/gui.lua b/utils/gui.lua index e84f960c..aee72665 100644 --- a/utils/gui.lua +++ b/utils/gui.lua @@ -488,4 +488,11 @@ if _DEBUG then end end +-- Mod compatibility +Gui.allow_player_to_toggle_top_element_visibility('fp_button_toggle_interface') -- Factory Planner +Gui.allow_player_to_toggle_top_element_visibility('informatron_overhead') -- Informatron +Gui.allow_player_to_toggle_top_element_visibility('py_open_wiki') -- Pyanodon +Gui.allow_player_to_toggle_top_element_visibility('se-overhead_explorer') -- Space Exploration +Gui.allow_player_to_toggle_top_element_visibility('se-overhead_interstellar') -- Space Exploration + return Gui