Skip to content

Conversation

@s4Ys369
Copy link
Contributor

@s4Ys369 s4Ys369 commented Sep 12, 2024

This fix is meant for the vanilla whirlpool level command, which is condition based. HackerSM64's whirlpools are act based and I could add the act selector, but as the command may soon be deprecated, I opted to allow the user to enter a custom condition for the time being instead.

Comment on lines +2906 to +2908
bpy.types.Object.whirlpool_index = bpy.props.StringProperty(name="Index", default="0")
bpy.types.Object.sm64_whirlpool_enum = bpy.props.EnumProperty(name="Condition", items=enumWhirlpoolConditions)
bpy.types.Object.whirlpool_strength = bpy.props.StringProperty(name="Strength", default="20")
Copy link
Collaborator

@Lilaa3 Lilaa3 Sep 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New props should be in their respective property groups, in this case these properties would be in ̶S̶M̶6̶4̶_̶G̶a̶m̶e̶O̶b̶j̶e̶c̶t̶P̶r̶o̶p̶e̶r̶t̶i̶e̶s̶ actually maybe it should be a prop group in SM64_ObjectProperties? techinically whirlpools are objects lol

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@s4Ys369 could you please make this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't look into this in months, so out of my depth.

I should just revert the changes and fix the existing typos to restore functionality.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll pr that change to your branch once I'm done reviewing scut's geolayout opt pr if you'd like

@s4Ys369 s4Ys369 requested a review from Lilaa3 April 17, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants