Skip to content

Commit

Permalink
Add to item_models_test.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed May 6, 2024
1 parent 7f20aad commit 9f758d7
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/open_samus_returns_rando/files/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
31 changes: 31 additions & 0 deletions tests/test_files/item_models_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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": [],
Expand Down

0 comments on commit 9f758d7

Please sign in to comment.