diff --git a/README.md b/README.md index 1e62800..6ef240f 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,10 @@ discussion page, and messages posted there will likely be ignored.** ## Changelog +### 0.6.0 (xxxx-xx-xx) + +* New feature: Include station names, trains, and train fuel in updated blueprints. + ### 0.5.0 (2020-01-31) * **Update for Factorio 0.18** diff --git a/changelog.txt b/changelog.txt index 9da35be..fdaad99 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +--------------------------------------------------------------------------------------------------- +Version: 0.6.0 +Date: xx. xx. xxxx + New features: + - Include station names, trains, and train fuel in updated blueprints. + --------------------------------------------------------------------------------------------------- Version: 0.5.0 Date: 31. 01. 2020 diff --git a/info.json b/info.json index 8c01dce..af8840f 100644 --- a/info.json +++ b/info.json @@ -1,11 +1,11 @@ { "name": "BlueprintExtensions", - "version": "0.5.0", + "version": "0.6.0", "title": "Blueprint Extensions", "author": "Dewin", "contact": "https://github.com/dewiniaid/BlueprintExtensions", "homepage": "https://github.com/dewiniaid/BlueprintExtensions", "factorio_version": "0.18", - "dependencies": ["base >= 0.18", "? GDIW"], + "dependencies": ["base >= 0.18.18", "? GDIW"], "description": "Adds tools for updating and placing blueprints." } diff --git a/modules/updater.lua b/modules/updater.lua index c9c6ae1..1fcd7ef 100644 --- a/modules/updater.lua +++ b/modules/updater.lua @@ -69,8 +69,13 @@ function Updater.on_selected_area(event) cursor.create_blueprint{ surface=player.surface, force=player.force, + area=area, always_include_tiles=true, - area=area + include_entities=true, + include_modules=true, + include_station_names=true, + include_trains=true, + include_fuel=true } if not cursor.is_blueprint_setup() then -- Empty blueprint area? cursor.set_stack(CLONED_BLUEPRINT)