Minor refactoring, fixed localization for EN on GUI, added incompatibility with LtnManager due to potential issues with collisions, renamed some LtnManager references in code.

This commit is contained in:
Will Berry
2023-03-07 11:34:09 -05:00
parent 732d63d65b
commit d5fb6417fa
16 changed files with 111 additions and 98 deletions

View File

@@ -364,7 +364,7 @@ data:extend({
-- custom inputs
--{
-- type = "custom-input",
-- name = "ltnm-toggle-gui",
-- name = "cybersyn-toggle-gui",
-- key_sequence = "CONTROL + T",
--},
--{
@@ -376,14 +376,14 @@ data:extend({
-- shortcuts
{
type = "shortcut",
name = "ltnm-toggle-gui",
name = "cybersyn-toggle-gui",
icon = data_util.build_sprite(nil, { 0, 0 }, util.paths.shortcut_icons, 32, 2),
disabled_icon = data_util.build_sprite(nil, { 48, 0 }, util.paths.shortcut_icons, 32, 2),
small_icon = data_util.build_sprite(nil, { 0, 32 }, util.paths.shortcut_icons, 24, 2),
disabled_small_icon = data_util.build_sprite(nil, { 36, 32 }, util.paths.shortcut_icons, 24, 2),
toggleable = true,
action = "lua",
--associated_control_input = "ltnm-toggle-gui",
--associated_control_input = "cybersyn-toggle-gui",
technology_to_unlock = "cybersyn-train-network",
},
})