From dabae7ece828bf91ab6461054b8dcb113a0adc0e Mon Sep 17 00:00:00 2001 From: InfRandomness Date: Wed, 19 Jan 2022 19:31:43 +0000 Subject: [PATCH] Remove bomb pile item --- CHANGELOG.md | 1 + assets/common/items/utility/bomb_pile.ron | 10 ---------- server/src/migrations/V48__remove_bomb_pile.sql | 2 ++ 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 assets/common/items/utility/bomb_pile.ron create mode 100644 server/src/migrations/V48__remove_bomb_pile.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b7eb313d0..85bd031755 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,6 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed - Removed unused PNG files +- Removed bomb_pile ### Fixed diff --git a/assets/common/items/utility/bomb_pile.ron b/assets/common/items/utility/bomb_pile.ron deleted file mode 100644 index 4c4dd1a4f3..0000000000 --- a/assets/common/items/utility/bomb_pile.ron +++ /dev/null @@ -1,10 +0,0 @@ -ItemDef( - name: "Bomb", - description: "Boom!", - kind: Throwable( - kind: Bomb, - amount: 10, - ), - quality: Common, - tags: [Utility], -) diff --git a/server/src/migrations/V48__remove_bomb_pile.sql b/server/src/migrations/V48__remove_bomb_pile.sql new file mode 100644 index 0000000000..55dc958f08 --- /dev/null +++ b/server/src/migrations/V48__remove_bomb_pile.sql @@ -0,0 +1,2 @@ +UPDATE item +SET item_definition_id = 'common.items.utility.bomb' WHERE item_definition_id = 'common.items.utility.bomb_pile'; \ No newline at end of file