diff --git a/src/open_samus_returns_rando/files/romfs/actors/items/powerup_sonicboom/models/powerup_sonicboom.bcmdl b/src/open_samus_returns_rando/files/romfs/actors/items/powerup_sonicboom/models/powerup_sonicboom.bcmdl new file mode 100644 index 0000000..582f3f9 Binary files /dev/null and b/src/open_samus_returns_rando/files/romfs/actors/items/powerup_sonicboom/models/powerup_sonicboom.bcmdl differ diff --git a/src/open_samus_returns_rando/files/romfs/actors/items/powerup_sonicboom/models/textures/missile_d.bctex b/src/open_samus_returns_rando/files/romfs/actors/items/powerup_sonicboom/models/textures/missile_d.bctex new file mode 100644 index 0000000..cd25eaf Binary files /dev/null and b/src/open_samus_returns_rando/files/romfs/actors/items/powerup_sonicboom/models/textures/missile_d.bctex differ diff --git a/src/open_samus_returns_rando/pickups/model_data.py b/src/open_samus_returns_rando/pickups/model_data.py index ea1fead..a66a861 100644 --- a/src/open_samus_returns_rando/pickups/model_data.py +++ b/src/open_samus_returns_rando/pickups/model_data.py @@ -347,6 +347,13 @@ class ModelData: "actors/items/powerup_darkburst/models/textures/missile_d.bctex", ), ), + "powerup_sonicboom": ModelData( + bcmdl_path="actors/items/powerup_sonicboom/models/powerup_sonicboom.bcmdl", + dependencies=( + "actors/items/powerup_sonicboom/models/powerup_sonicboom.bcmdl", + "actors/items/powerup_sonicboom/models/textures/missile_d.bctex", + ), + ), } diff --git a/tests/test_files/item_models_test.json b/tests/test_files/item_models_test.json index a73357d..29880cb 100644 --- a/tests/test_files/item_models_test.json +++ b/tests/test_files/item_models_test.json @@ -823,6 +823,25 @@ "model": [ "powerup_darkburst" ] + }, + { + "pickup_type": "actor", + "caption": "Sent Sonic Boom to meep.", + "resources": [ + [ + { + "item_id": "ITEM_NONE", + "quantity": 0 + } + ] + ], + "pickup_actor": { + "scenario": "s000_surface", + "actor": "another_pickup42" + }, + "model": [ + "powerup_sonicboom" + ] } ], "energy_per_tank": 100, @@ -1334,6 +1353,18 @@ "z": 0.0 }, "collision_camera_name": "collision_camera_000" + }, + { + "new_actor": { + "actor": "another_pickup42", + "scenario": "s000_surface" + }, + "location": { + "x": -6200.0, + "y": 2100.0, + "z": 0.0 + }, + "collision_camera_name": "collision_camera_000" } ], "hints": [],