Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SM64] fix Whirlpool Object export for decomp/ultrasm64 #456

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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.

fast64_internal/sm64/sm64_objects.py Outdated Show resolved Hide resolved
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

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