Skip to content

Commit

Permalink
Finish up for 1.0.0 release
Browse files Browse the repository at this point in the history
Enable the tool to select literally any entity, for example cars
Add graphics
Add thumbnail
Remove dependency on base
Update mod description
  • Loading branch information
JanSharp committed Oct 9, 2020
1 parent edb10ff commit 93652f8
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 19 deletions.
11 changes: 11 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
---------------------------------------------------------------------------------------------------
Version: 1.0.0
Date: 2020-10-09
Changes:
- Enable the tool to select literally any entity, for example cars
Graphics:
- Change (Add) graphics
- Add thumbnail
Info:
- Remove dependency on base
- Update mod description
---------------------------------------------------------------------------------------------------
Version: 0.18.2
Date: 2020-05-26
Bugfixes:
Expand Down
45 changes: 32 additions & 13 deletions data.lua
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@

local upgrade_planner = data.raw["upgrade-item"]["upgrade-planner"]
local upgrade_planner_shortcut = data.raw["shortcut"]["give-upgrade-planner"]

data:extend{
{
type = "selection-tool",
name = "AreaPaste-paste-planner",
icons = upgrade_planner.icons,
icon = upgrade_planner.icon,
icon_size = upgrade_planner.icon_size,
category = upgrade_planner.category,
icon = "__AreaPaste__/graphics/icons/AreaPaste-paste-planner.png",
icon_size = 64,
icon_mipmaps = 4,

stack_size = 1,
stackable = false,
Expand All @@ -20,8 +16,8 @@ data:extend{
alt_selection_color = {0, 1, 0},
selection_cursor_box_type = "copy",
alt_selection_cursor_box_type = "copy",
selection_mode = {"blueprint", "same-force", "friend"},
alt_selection_mode = {"blueprint", "same-force", "friend"},
selection_mode = {"any-entity", "same-force", "friend"},
alt_selection_mode = {"any-entity", "same-force", "friend"},
},
{
type = "custom-input",
Expand All @@ -36,9 +32,32 @@ data:extend{
action = "create-blueprint-item",
associated_control_input = "AreaPaste-give-paste-planner",
item_to_create = "AreaPaste-paste-planner",
icon = upgrade_planner_shortcut.icon,
disabled_icon = upgrade_planner_shortcut.disabled_icon,
small_icon = upgrade_planner_shortcut.small_icon,
disabled_small_icon = upgrade_planner_shortcut.disabled_small_icon,
icon =
{
filename = "__AreaPaste__/graphics/icons/shortcut-toolbar/mip/AreaPaste-paste-planner-x32-white.png",
priority = "extra-high-no-scale",
size = 32,
scale = 0.5,
mipmap_count = 2,
flags = {"gui-icon"}
},
small_icon =
{
filename = "__AreaPaste__/graphics/icons/shortcut-toolbar/mip/AreaPaste-paste-planner-x24.png",
priority = "extra-high-no-scale",
size = 24,
scale = 0.5,
mipmap_count = 2,
flags = {"gui-icon"}
},
disabled_small_icon =
{
filename = "__AreaPaste__/graphics/icons/shortcut-toolbar/mip/AreaPaste-paste-planner-x24-white.png",
priority = "extra-high-no-scale",
size = 24,
scale = 0.5,
mipmap_count = 2,
flags = {"gui-icon"}
},
},
}
Binary file added graphics/icons/AreaPaste-paste-planner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 4 additions & 6 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"name": "AreaPaste",
"version": "0.18.2",
"factorio_version": "0.18",
"version": "1.0.0",
"factorio_version": "1.0",
"title": "Area Paste",
"author": "JanSharp",
"contact": "",
"homepage": "",
"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.",
"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.",
"dependencies": [
"base >= 0.18.27"
"(?)base >= 0.18.27"
]
}
Binary file added thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 93652f8

Please sign in to comment.