Skip to content

Commit

Permalink
Update for new main MEDS
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanatosGit committed Sep 26, 2023
1 parent 44ee845 commit b34e712
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions open_samus_returns_rando/patcher_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ def copy_actor(self, scenario: str, coords, template_actor: Container, new_name:
new_actor = copy.deepcopy(template_actor)
current_scenario = self.get_scenario(scenario)
current_scenario.raw.actors[layer_index][new_name] = new_actor
new_actor.x = coords[0] + offset[0]
new_actor.y = coords[1] + offset[1]
new_actor.z = coords[2] + offset[2]
new_actor["position"][0] = coords[0] + offset[0]
new_actor["position"][1] = coords[1] + offset[1]
new_actor["position"][2] = coords[2] + offset[2]

return new_actor

Expand Down
2 changes: 1 addition & 1 deletion open_samus_returns_rando/samus_returns_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def create_custom_init(configuration: dict) -> str:

energy_per_tank = configuration["energy_per_tank"]
max_life = inventory.pop("ITEM_MAX_LIFE")

aeion_per_tank = configuration["aeion_per_tank"]
max_aeion = inventory.pop("ITEM_MAX_SPECIAL_ENERGY")

Expand Down

0 comments on commit b34e712

Please sign in to comment.