Skip to content

Commit

Permalink
Merge pull request #260 from randovania/rename-plant-buff
Browse files Browse the repository at this point in the history
Rename plant_buff configuration
  • Loading branch information
ThanatosGit authored Jan 26, 2024
2 parents 00d0db1 + 43bf84a commit ee1617a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/open_samus_returns_rando/files/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@
"description": "Remove the Power Bomb weakness from Beam Doors to make Power Bombs less overpowered.",
"default": true
},
"plant_buff": {
"beam_burst_buff": {
"type": "boolean",
"description": "Remove the Power Bomb weakness from Blobthowers/Blockingplants to make Power Bombs less overpowered.",
"description": "Remove the Power Bomb weakness from Blobthowers/Steel Orbs to make Power Bombs less overpowered.",
"default": false
},
"remove_elevator_grapple_blocks": {
Expand Down
4 changes: 2 additions & 2 deletions src/open_samus_returns_rando/specific_patches/game_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def _remove_pb_weaknesses(editor: PatcherEditor, configuration: dict):
if func_s.params.Param1.value:
func_s.params.Param1.value = "SPAZER_BEAM"

# Blobthrowers/Blockingplants
if configuration["plant_buff"]:
# Blobthrowers/Steel Orbs
if configuration["beam_burst_buff"]:
PLANT_FILES = [
"actors/characters/blobthrower/charclasses/blobthrower.bmsad",
"actors/props/blockingplant/charclasses/blockingplant.bmsad",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_files/starter_preset_patcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -4026,7 +4026,7 @@
"game_patches": {
"charge_door_buff": true,
"beam_door_buff": true,
"plant_buff": true,
"beam_burst_buff": true,
"nerf_super_missiles": false,
"remove_elevator_grapple_blocks": true,
"remove_grapple_block_area3_interior_shortcut": true,
Expand Down

0 comments on commit ee1617a

Please sign in to comment.