Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions info.json
Original file line number Diff line number Diff line change
@@ -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."
}
7 changes: 6 additions & 1 deletion modules/updater.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down