Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions features/gui/score.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion features/nuke_control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 7 additions & 0 deletions utils/gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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