Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /randovania_randovania /randovania /games /fusion /game_data.py
| from __future__ import annotations | |
| import typing | |
| import randovania.game.data | |
| import randovania.game.development_state | |
| import randovania.game.generator | |
| import randovania.game.gui | |
| import randovania.game.hints | |
| import randovania.game.layout | |
| import randovania.game.web_info | |
| from randovania.games.fusion import layout | |
| from randovania.games.fusion.db_integrity import find_fusion_db_errors | |
| from randovania.games.fusion.layout.preset_describer import FusionPresetDescriber | |
| if typing.TYPE_CHECKING: | |
| from randovania.exporter.game_exporter import GameExporter | |
| from randovania.exporter.patch_data_factory import PatchDataFactory | |
| from randovania.interface_common.options import PerGameOptions | |
| def _options() -> type[PerGameOptions]: | |
| from randovania.games.fusion.exporter.options import FusionPerGameOptions | |
| return FusionPerGameOptions | |
| def _gui() -> randovania.game.gui.GameGui: | |
| from randovania.games.fusion import gui | |
| from randovania.gui.game_details.hint_details_tab import HintDetailsTab | |
| return randovania.game.gui.GameGui( | |
| game_tab=gui.FusionGameTabWidget, | |
| tab_provider=gui.preset_tabs, | |
| cosmetic_dialog=gui.FusionCosmeticPatchesDialog, | |
| export_dialog=gui.FusionGameExportDialog, | |
| progressive_item_gui_tuples=(), | |
| spoiler_visualizer=(HintDetailsTab,), | |
| ) | |
| def _generator() -> randovania.game.generator.GameGenerator: | |
| from randovania.games.fusion import generator | |
| from randovania.generator.filler.weights import ActionWeights | |
| return randovania.game.generator.GameGenerator( | |
| pickup_pool_creator=generator.pool_creator, | |
| bootstrap=generator.FusionBootstrap(), | |
| base_patches_factory=generator.FusionBasePatchesFactory(), | |
| action_weights=ActionWeights(events_weight=0.75, hints_weight=0.25), | |
| ) | |
| def _hints() -> randovania.game.hints.GameHints: | |
| from randovania.games.fusion.generator.hint_distributor import FusionHintDistributor | |
| return randovania.game.hints.GameHints( | |
| hint_distributor=FusionHintDistributor(), | |
| specific_pickup_hints={ | |
| "artifacts": randovania.game.hints.SpecificHintDetails( | |
| long_name="Infant Metroids Hint", | |
| description="This controls how precise the Infant Metroids hint at Restricted Labs is.", | |
| ), | |
| "charge_beam": randovania.game.hints.SpecificHintDetails( | |
| long_name="Charge Beam Hint", | |
| description="This controls how precise the hint for Charge Beam in Auxiliary Navigation Room is.", | |
| ), | |
| }, | |
| ) | |
| def _patch_data_factory() -> type[PatchDataFactory]: | |
| from randovania.games.fusion.exporter.patch_data_factory import FusionPatchDataFactory | |
| return FusionPatchDataFactory | |
| def _exporter() -> GameExporter: | |
| from randovania.games.fusion.exporter.game_exporter import FusionGameExporter | |
| return FusionGameExporter() | |
| def _hash_words() -> list[str]: | |
| from randovania.games.fusion.hash_words import HASH_WORDS | |
| return HASH_WORDS | |
| def _test_data() -> randovania.game.game_test_data.GameTestData: | |
| return randovania.game.game_test_data.GameTestData( | |
| expected_seed_hash="SM3L32IN", | |
| ) | |
| game_data: randovania.game.data.GameData = randovania.game.data.GameData( | |
| short_name="Fusion", | |
| long_name="Metroid Fusion", | |
| development_state=randovania.game.development_state.DevelopmentState.STABLE, | |
| presets=[ | |
| "open_sector_hub.rdvpreset", | |
| "vanilla_start.rdvpreset", | |
| ], | |
| faq=[ | |
| ( | |
| "What patcher does Randovania use?", | |
| "Randovania supports the open source patcher MARS (Metroid Advance Randomizer System). " | |
| "This is a new patcher built from scratch and is unrelated to other Fusion Randomizers. " | |
| "Any differences from the vanilla game are covered under the differences tab.", | |
| ), | |
| ( | |
| "Which versions of Fusion are supported?", | |
| "Only the USA version of Fusion is supported with no current plans to support additional versions.", | |
| ), | |
| ( | |
| "I saved in a place I can't get out of, am I softlocked?", | |
| 'You can use the "Warp to Start" function in the pause menu by pressing L and confirming. ' | |
| "This will place you back at your start location with everything collected since your last save. " | |
| "Please note that this is never logical.", | |
| ), | |
| ( | |
| "What is required to trigger and fight the SA-X?", | |
| "To trigger the SA-X fight, you must have collected enough Infant Metroids and approach " | |
| "the Operations Room hatch. To fight the SA-X you will require Charge Beam and Missiles.\n" | |
| "Reminder that the Operations Room hatch is now a grey Level 0 hatch.", | |
| ), | |
| ( | |
| "How do the Missile Upgrades interact?", | |
| "The missile upgrades functions have been split, allowing unique combinations of effects and damage.\n" | |
| "- Missile Launcher Data - Allows Samus to fire missiles causing 10 damage with no other upgrades\n" | |
| "- Super Missile Data - Adds 20 damage\n" | |
| "- Ice Missile Data - Adds the ability to freeze enemies with direct hits and adds 10 damage\n" | |
| "- Diffusion Missile Data - Adds the ability to charge a freezing blast and adds 5 damage", | |
| ), | |
| ( | |
| "How do the Beam Upgrades interact?", | |
| "The beam upgrades have been split, allowing unique combinations of effects and damage.\n" | |
| "- Charge Beam - Adds the ability to charge Samus' beam\n" | |
| "- Wide Beam - Makes the beam fire 3 projectiles\n" | |
| "- Plasma Beam - Adds the ability to penetrate enemies\n" | |
| "- Wave Beam - Adds the ability to penetrate walls and makes the beam fire at least 2 projectiles\n" | |
| "- Ice Beam - Adds the ability to freeze enemies\n\n" | |
| "Each beam collected adds to the total damage dealt per projectile.", | |
| ), | |
| ( | |
| "How do the Suit Upgrades interact?", | |
| "The suit upgrades have been split, allowing unique combinations of effects and damage reduction.\n" | |
| "- Varia Suit - Adds protection from heated and cold rooms, and the ability to absorb Blue-X\n" | |
| "- Gravity Suit - Adds the ability to freely move in liquids\n\n" | |
| "Each suit collected provides additional damage reduction (amount depending on enemy type).\n" | |
| "Both suits are required for immunity to lava.", | |
| ), | |
| ], | |
| web_info=randovania.game.web_info.GameWebInfo( | |
| what_can_randomize=[ | |
| "All items including Security Keycards", | |
| "Starting locations", | |
| "A new goal has been added (Infant Metroid Hunt)", | |
| ], | |
| need_to_play=[ | |
| "A ROM of Metroid Fusion (USA)", | |
| "A Gameboy Advance Emulator (recommended mGBA or Bizhawk)", | |
| ], | |
| ), | |
| hash_words=_hash_words(), | |
| layout=randovania.game.layout.GameLayout( | |
| configuration=layout.FusionConfiguration, | |
| cosmetic_patches=layout.FusionCosmeticPatches, | |
| preset_describer=FusionPresetDescriber(), | |
| ), | |
| options=_options, | |
| gui=_gui, | |
| generator=_generator, | |
| hints=_hints, | |
| patch_data_factory=_patch_data_factory, | |
| exporter=_exporter, | |
| test_data=_test_data, | |
| reject_undocumented_tricks_in_database=False, | |
| multiple_start_nodes_per_area=True, | |
| racetime_url="https://racetime.gg/mfr-rdv/data", | |
| logic_db_integrity=find_fusion_db_errors, | |
| ) | |
Xet Storage Details
- Size:
- 7.56 kB
- Xet hash:
- af2609c099d9cc6f0f93941ad48a615e9de7674307782e0660b0ac6d6d337488
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.