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

Added Currency check to Button #313

Closed
wants to merge 3 commits into from
Closed

Conversation

niefia
Copy link
Collaborator

@niefia niefia commented Oct 15, 2024

Button currency check added to function as a vending machine

Button currency check added to function as a vending machine
Now checks for specified currency, and includes a symbol for currency
Need to make the icon accessed automatically, but may be best to setup a global store of currencies to avoid doing this through the player.

Interaction UI Component label will need reworking as TextLabel replaced with RichTextLabel to support the currency image being included
Refactored currency check to be its own component rather than part of button
@Phazorknight
Copy link
Owner

Nice, will dive into it a bit more soon, but looks promising!
Could you upate it to fit in the changed /addon/ directory strucutre?

niefia added a commit to niefia/Cogito that referenced this pull request Oct 15, 2024
Rework of Phazorknight#313 to comply with new structure
@niefia niefia mentioned this pull request Oct 15, 2024
@niefia
Copy link
Collaborator Author

niefia commented Oct 15, 2024

Closing as reworked PR into #314 to comply with new structure

@niefia niefia closed this Oct 15, 2024
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