Skip to content

Commit 93652f8

Browse files
committed
Finish up for 1.0.0 release
Enable the tool to select literally any entity, for example cars Add graphics Add thumbnail Remove dependency on base Update mod description
1 parent edb10ff commit 93652f8

11 files changed

+47
-19
lines changed

changelog.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
---------------------------------------------------------------------------------------------------
2+
Version: 1.0.0
3+
Date: 2020-10-09
4+
Changes:
5+
- Enable the tool to select literally any entity, for example cars
6+
Graphics:
7+
- Change (Add) graphics
8+
- Add thumbnail
9+
Info:
10+
- Remove dependency on base
11+
- Update mod description
12+
---------------------------------------------------------------------------------------------------
213
Version: 0.18.2
314
Date: 2020-05-26
415
Bugfixes:

data.lua

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11

2-
local upgrade_planner = data.raw["upgrade-item"]["upgrade-planner"]
3-
local upgrade_planner_shortcut = data.raw["shortcut"]["give-upgrade-planner"]
4-
52
data:extend{
63
{
74
type = "selection-tool",
85
name = "AreaPaste-paste-planner",
9-
icons = upgrade_planner.icons,
10-
icon = upgrade_planner.icon,
11-
icon_size = upgrade_planner.icon_size,
12-
category = upgrade_planner.category,
6+
icon = "__AreaPaste__/graphics/icons/AreaPaste-paste-planner.png",
7+
icon_size = 64,
8+
icon_mipmaps = 4,
139

1410
stack_size = 1,
1511
stackable = false,
@@ -20,8 +16,8 @@ data:extend{
2016
alt_selection_color = {0, 1, 0},
2117
selection_cursor_box_type = "copy",
2218
alt_selection_cursor_box_type = "copy",
23-
selection_mode = {"blueprint", "same-force", "friend"},
24-
alt_selection_mode = {"blueprint", "same-force", "friend"},
19+
selection_mode = {"any-entity", "same-force", "friend"},
20+
alt_selection_mode = {"any-entity", "same-force", "friend"},
2521
},
2622
{
2723
type = "custom-input",
@@ -36,9 +32,32 @@ data:extend{
3632
action = "create-blueprint-item",
3733
associated_control_input = "AreaPaste-give-paste-planner",
3834
item_to_create = "AreaPaste-paste-planner",
39-
icon = upgrade_planner_shortcut.icon,
40-
disabled_icon = upgrade_planner_shortcut.disabled_icon,
41-
small_icon = upgrade_planner_shortcut.small_icon,
42-
disabled_small_icon = upgrade_planner_shortcut.disabled_small_icon,
35+
icon =
36+
{
37+
filename = "__AreaPaste__/graphics/icons/shortcut-toolbar/mip/AreaPaste-paste-planner-x32-white.png",
38+
priority = "extra-high-no-scale",
39+
size = 32,
40+
scale = 0.5,
41+
mipmap_count = 2,
42+
flags = {"gui-icon"}
43+
},
44+
small_icon =
45+
{
46+
filename = "__AreaPaste__/graphics/icons/shortcut-toolbar/mip/AreaPaste-paste-planner-x24.png",
47+
priority = "extra-high-no-scale",
48+
size = 24,
49+
scale = 0.5,
50+
mipmap_count = 2,
51+
flags = {"gui-icon"}
52+
},
53+
disabled_small_icon =
54+
{
55+
filename = "__AreaPaste__/graphics/icons/shortcut-toolbar/mip/AreaPaste-paste-planner-x24-white.png",
56+
priority = "extra-high-no-scale",
57+
size = 24,
58+
scale = 0.5,
59+
mipmap_count = 2,
60+
flags = {"gui-icon"}
61+
},
4362
},
4463
}
7.22 KB
Loading
308 Bytes
Loading
309 Bytes
Loading
5.26 KB
Loading
4.64 KB
Loading
274 Bytes
Loading
5.13 KB
Loading

info.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"name": "AreaPaste",
3-
"version": "0.18.2",
4-
"factorio_version": "0.18",
3+
"version": "1.0.0",
4+
"factorio_version": "1.0",
55
"title": "Area Paste",
66
"author": "JanSharp",
7-
"contact": "",
8-
"homepage": "",
9-
"description": "Paste settings on all entities in a selected area.\nOnly copy-pastes to entities with the exact same name as the source entity.\nCompatible with mods which change copy paste behavior.",
7+
"description": "Paste settings on all entities in a selected area.\nOnly copy-pastes to entities with the exact same name as the source entity.\nCompatible with mods which change copy paste behavior.\nSee mod portal or in game controls for, well, controls.",
108
"dependencies": [
11-
"base >= 0.18.27"
9+
"(?)base >= 0.18.27"
1210
]
1311
}

0 commit comments

Comments
 (0)