From c4b102dc50440956aa14c36639589673a1c3aeb2 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Thu, 16 Feb 2023 18:25:19 -0800 Subject: Migrate 000 shotgun hulls to 00 shotgun hulls. --- json/items/generic/casing.json | 15 --------------- json/items/generic/obsolete.json | 17 +++++++++++++++++ json/items/migration.json | 5 +++++ 3 files changed, 22 insertions(+), 15 deletions(-) create mode 100644 json/items/generic/obsolete.json diff --git a/json/items/generic/casing.json b/json/items/generic/casing.json index 62713fb..aacd061 100644 --- a/json/items/generic/casing.json +++ b/json/items/generic/casing.json @@ -9,20 +9,5 @@ "material": [ "plastic" ], "weight": "2 g", "volume": "10ml" - }, - { - "id": "000shot_hull", - "type": "GENERIC", - "looks_like": "shot_hull", - "category": "spare_parts", - "name": { "str": "000 shotgun hull" }, - "description": "An empty hull from a 000 shotgun shell.", - "weight": "8 g", - "volume": "12ml", - "stackable": true, - "material": [ "plastic" ], - "symbol": "=", - "color": "red", - "damage_states": [ 0, 0 ] } ] diff --git a/json/items/generic/obsolete.json b/json/items/generic/obsolete.json new file mode 100644 index 0000000..00e5a10 --- /dev/null +++ b/json/items/generic/obsolete.json @@ -0,0 +1,17 @@ +[ + { + "id": "000shot_hull", + "type": "GENERIC", + "looks_like": "shot_hull", + "category": "spare_parts", + "name": { "str": "000 shotgun hull" }, + "description": "An empty hull from a 000 shotgun shell.", + "weight": "8 g", + "volume": "12ml", + "stackable": true, + "material": [ "plastic" ], + "symbol": "=", + "color": "red", + "damage_states": [ 0, 0 ] + } +] diff --git a/json/items/migration.json b/json/items/migration.json index 31668a3..0421568 100644 --- a/json/items/migration.json +++ b/json/items/migration.json @@ -34,6 +34,11 @@ "type": "MIGRATION", "replace": "shot_he" }, + { + "id": "000shot_hull", + "type": "MIGRATION", + "replace": "shot_hull" + }, { "result": "reloaded_shot_000_flechette", "type": "recipe", -- cgit v1.2.1