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

A bunch of new features #26

Merged
merged 61 commits into from
Apr 7, 2024
Merged

A bunch of new features #26

merged 61 commits into from
Apr 7, 2024

Conversation

adya
Copy link
Collaborator

@adya adya commented Mar 25, 2024

  • Exclusive Groups
  • Linked Forms
  • Random Count
  • Fractional Chances #29
  • General refactoring that comes along with it 🙂

adya and others added 27 commits March 13, 2024 00:40
- Fixed compilation errors
- Fixed support for Keywords.
- Extracted form lookup logic to avoid almost identical code blocks.
- Refactored LookupForms to fit in a new type of lookup for Exclusion Groups.
Odd bug where first Keyword was always sorted alphabetically by EditorID 😅
Count can now be specified in form of range, e.g. 5/20 to produce anywhere between 5 and 20 items.
Key change is abstracted out distribution of a given set of entries and to not rely on global Distributables.
Probably 😁 needs testing, and updating parsing and lookup to work with full entry format.
@adya adya self-assigned this Mar 25, 2024
SPID/include/ExclusiveGroups.h Outdated Show resolved Hide resolved
SPID/src/Distribute.cpp Outdated Show resolved Hide resolved
@adya adya marked this pull request as ready for review March 31, 2024 20:40
adya added 3 commits April 4, 2024 00:56
FormType is automatically overloaded for std::format.
Skin wouldn't work because it would always fall into Item category.
@adya adya merged commit 4881754 into master Apr 7, 2024
1 check passed
@adya adya deleted the stable branch April 7, 2024 17:29
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.

1 participant