diff --git a/src/open_samus_returns_rando/files/schema.json b/src/open_samus_returns_rando/files/schema.json index 3043c24..95f7976 100644 --- a/src/open_samus_returns_rando/files/schema.json +++ b/src/open_samus_returns_rando/files/schema.json @@ -596,7 +596,7 @@ "properties": { "babyhatchling": { "properties": { - "size": { + "model_scale": { "description": "Size of the Baby Metroid.", "type": "number", "minimum": 0.1, diff --git a/src/open_samus_returns_rando/misc_patches/actor_attributes.py b/src/open_samus_returns_rando/misc_patches/actor_attributes.py index 14870eb..485cbb7 100644 --- a/src/open_samus_returns_rando/misc_patches/actor_attributes.py +++ b/src/open_samus_returns_rando/misc_patches/actor_attributes.py @@ -8,4 +8,4 @@ def patch_actor_attributes(editor: PatcherEditor, configuration: dict) -> None: def _custom_baby_size(editor: PatcherEditor, configuration: dict) -> None: baby = editor.get_file("actors/characters/babyhatchling/charclasses/babyhatchling.bmsad", Bmsad) - baby.raw["header"]["model_scale"] = configuration["babyhatchling"]["size"] + baby.raw["header"]["model_scale"] = configuration["babyhatchling"]["model_scale"]