Skip to content

Commit

Permalink
Base Stone wall migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed May 6, 2017
1 parent 42d3fe6 commit 5dbae90
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

The latest stable release is available at <https://github.com/jpanther/Dectorio/releases/latest>

## v0.4.1 - 2017-05-06

### Bugfixes
* Correctly disables base stone wall recipe in existing saves
* Added migration script to convert existing base stone wall to new stone wall

## v0.4.0 - 2017-05-04

### Added
Expand Down
6 changes: 3 additions & 3 deletions data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ data.raw["technology"]["stone-walls"].icon = "__Dectorio__/graphics/technology/s
data.raw["technology"]["stone-walls"].icon_size = 128
data.raw["technology"]["gates"].prerequisites = {"concrete-walls", "military-2"}
data.raw["recipe"]["gate"].ingredients = {{"concrete-wall", 1}, {"steel-plate", 2}, {"electronic-circuit", 2}}
data.raw["recipe"]["stone-wall"].enabled = false
--data.raw["wall"]["stone-wall"] = nil
--data.raw["item"]["stone-wall"] = nil
data.raw["recipe"]["stone-wall"] = nil
data.raw["wall"]["stone-wall"] = nil
data.raw["item"]["stone-wall"] = nil
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Dectorio",
"version": "0.4.0",
"version": "0.4.1",
"title": "Dectorio",
"author": "PantherX",
"contact": "",
Expand Down
10 changes: 10 additions & 0 deletions migrations/0.4.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"entity":
[
["stone-wall", "stone-brick-wall"],
],
"item":
[
["stone-wall", "stone-brick-wall"],
]
}

0 comments on commit 5dbae90

Please sign in to comment.