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

Fix currency issues in latest release #188

Merged
merged 3 commits into from
Oct 19, 2021
Merged

Fix currency issues in latest release #188

merged 3 commits into from
Oct 19, 2021

Conversation

flamewave000
Copy link
Contributor

@flamewave000 flamewave000 commented Oct 19, 2021

Due to two separate conflicting PRs that came into the loot sheet repo, currency was terribly broken. This PR corrects the issues and gets currency working again.

This will likely fix issues #184, #185, and #187

The new currency data structure does not use a `.value` property anymore.
Currency has weight, 50 coins == 1 lb.
This change adds an option to the settings to include that currency weight to the Total Weight calculation.
@flamewave000
Copy link
Contributor Author

I've included my optional currency weight PR with this one as well.

@jopeek
Copy link
Owner

jopeek commented Oct 19, 2021

This fixes the issue against the current master 3.2.1?

@flamewave000
Copy link
Contributor Author

It should be. I just reforked the repo before making the changes.

@jopeek
Copy link
Owner

jopeek commented Oct 19, 2021 via email

@jopeek jopeek merged commit 7d7dae6 into jopeek:master Oct 19, 2021
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