From f5a74b4f330b0f8f166c00ba2eeda9998651b9b7 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 20 Feb 2021 14:19:56 -0500 Subject: [PATCH] Removed duplicate possess stick --- assets/common/items/debug/possess.ron | 18 ------------------ .../down.sql | 1 + .../up.sql | 2 ++ 3 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 assets/common/items/debug/possess.ron create mode 100644 server/src/migrations/2021-02-20-191847_remove-duplicate-possess-stick/down.sql create mode 100644 server/src/migrations/2021-02-20-191847_remove-duplicate-possess-stick/up.sql diff --git a/assets/common/items/debug/possess.ron b/assets/common/items/debug/possess.ron deleted file mode 100644 index 2b0427e60c..0000000000 --- a/assets/common/items/debug/possess.ron +++ /dev/null @@ -1,18 +0,0 @@ -ItemDef( - name: "Belzeshrub the Broom-God", - description: "You can hear him giggle whenever\nyou hit the ground a bit too hard...", - kind: Tool( - ( - kind: Debug, - stats: Direct(( - equip_time_millis: 0, - power: 1.00, - poise_strength: 1.00, - speed: 1.0 - )), - ) - ), - quality: Debug, - tags: [], -) -// And the ground is pretty hard at maximum velocity... diff --git a/server/src/migrations/2021-02-20-191847_remove-duplicate-possess-stick/down.sql b/server/src/migrations/2021-02-20-191847_remove-duplicate-possess-stick/down.sql new file mode 100644 index 0000000000..291a97c5ce --- /dev/null +++ b/server/src/migrations/2021-02-20-191847_remove-duplicate-possess-stick/down.sql @@ -0,0 +1 @@ +-- This file should undo anything in `up.sql` \ No newline at end of file diff --git a/server/src/migrations/2021-02-20-191847_remove-duplicate-possess-stick/up.sql b/server/src/migrations/2021-02-20-191847_remove-duplicate-possess-stick/up.sql new file mode 100644 index 0000000000..1757ec1723 --- /dev/null +++ b/server/src/migrations/2021-02-20-191847_remove-duplicate-possess-stick/up.sql @@ -0,0 +1,2 @@ +UPDATE item +SET item_definition_id = 'common.items.debug.admin_stick' WHERE item_definition_id = 'common.items.debug.possess'; \ No newline at end of file