From 9f758d7521a46727ba75aa97257c2f2e39cd2860 Mon Sep 17 00:00:00 2001 From: dyceron Date: Sun, 5 May 2024 20:15:10 -0400 Subject: [PATCH] Add to `item_models_test.json` --- .../files/schema.json | 3 +- tests/test_files/item_models_test.json | 31 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/src/open_samus_returns_rando/files/schema.json b/src/open_samus_returns_rando/files/schema.json index 9a58e9be..577f747f 100644 --- a/src/open_samus_returns_rando/files/schema.json +++ b/src/open_samus_returns_rando/files/schema.json @@ -584,7 +584,8 @@ "ITEM_RANDO_DNA_39", "ITEM_RESERVE_TANK_LIFE", "ITEM_RESERVE_TANK_MISSILE", - "ITEM_RESERVE_TANK_SPECIAL_ENERGY" + "ITEM_RESERVE_TANK_SPECIAL_ENERGY", + "ITEM_OFFWORLD" ] }, "item": { diff --git a/tests/test_files/item_models_test.json b/tests/test_files/item_models_test.json index e8f68825..2f054d13 100644 --- a/tests/test_files/item_models_test.json +++ b/tests/test_files/item_models_test.json @@ -671,6 +671,25 @@ "model": [ "powerup_missilelauncher" ] + }, + { + "pickup_type": "actor", + "caption": "Sent [Item] to [Player].", + "resources": [ + [ + { + "item_id": "ITEM_OFFWORLD", + "quantity": 1 + } + ] + ], + "pickup_actor": { + "scenario": "s000_surface", + "actor": "another_pickup34" + }, + "model": [ + "item_offworld" + ] } ], "energy_per_tank": 100, @@ -1086,6 +1105,18 @@ "z": 0.0 }, "collision_camera_name": "collision_camera_000" + }, + { + "new_actor": { + "actor": "another_pickup34", + "scenario": "s000_surface" + }, + "location": { + "x": -7000.0, + "y": 2100.0, + "z": 0.0 + }, + "collision_camera_name": "collision_camera_000" } ], "hints": [],