mirror of
https://github.com/peter-tanner/factorio-shortcuts.git
synced 2024-12-02 20:20:20 +08:00
46 lines
1.3 KiB
Lua
46 lines
1.3 KiB
Lua
|
data:extend(
|
||
|
{
|
||
|
{
|
||
|
type = "shortcut",
|
||
|
name = "artillery-targeting-remote",
|
||
|
order = "a[artillery-targeting-remote]",
|
||
|
action = "create-blueprint-item",
|
||
|
localised_name = {"item-name.artillery-targeting-remote"},
|
||
|
technology_to_unlock = "artillery",
|
||
|
item_to_create = "artillery-targeting-remote",
|
||
|
style = "red",
|
||
|
icon =
|
||
|
{
|
||
|
filename = "__Shortcuts__/graphics/artillery-targeting-remote-x32-white.png",
|
||
|
priority = "extra-high-no-scale",
|
||
|
size = 32,
|
||
|
scale = 1,
|
||
|
flags = {"icon"}
|
||
|
},
|
||
|
small_icon =
|
||
|
{
|
||
|
filename = "__Shortcuts__/graphics/artillery-targeting-remote-x24.png",
|
||
|
priority = "extra-high-no-scale",
|
||
|
size = 24,
|
||
|
scale = 1,
|
||
|
flags = {"icon"}
|
||
|
},
|
||
|
disabled_small_icon =
|
||
|
{
|
||
|
filename = "__Shortcuts__/graphics/artillery-targeting-remote-x24-white.png",
|
||
|
priority = "extra-high-no-scale",
|
||
|
size = 24,
|
||
|
scale = 1,
|
||
|
flags = {"icon"}
|
||
|
},
|
||
|
},
|
||
|
-- Custom shortcut can be defined as follows:
|
||
|
-- {
|
||
|
-- type = "shortcut",
|
||
|
-- name = "shortcut-name",
|
||
|
-- action = "lua",
|
||
|
-- toggleable = true, -- whether or not the shortcut button is a toggle button or not
|
||
|
-- order, localised_name, technology_to_unlock, icon, small_icon, disabled_icon, disabled_small_icon as above
|
||
|
-- }
|
||
|
})
|