-
Notifications
You must be signed in to change notification settings - Fork 671
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
Generate: Add skip progression balancing argument. #1876
Generate: Add skip progression balancing argument. #1876
Conversation
This seems oddly specific. What's the usecase for this? |
2 reasons:
https://discord.com/channels/731205301247803413/731205301818359821/1120271608116944926
meta_description: Test
null:
progression_balancing: 0 And let's say a Minecraft yaml with the following trigger: # ...
Minecraft:
# ...
progression_balancing: 0 # although it really doesn't matter.
force_prog_balancing: true
triggers:
- option_name: force_prog_balancing
option_category: Minecraft
option_result: true
options:
Minecraft:
progression_balancing: 50 Even though you "meta"ed it disabled, progression balancing will still run for this world:
The only other solution is to run triggers first, then run meta, which may be more desirable, but is outside the scope of this change. |
Full disclosure: I will continue commenting it out. I can do that faster than adding a cmd arg. |
What is this fixing or adding?
Adds a command line argument for
Generate.py
to skip progression balancing step, regardless of individual playerprogression_balancing
settings. Argument is called--skip_prog_balancing
.Run with command line:
python Generate.py
(No changes)Run with command line:
python Generate.py --skip_prog_balancing
(Note: skipped message and faster generation time)Changes to help:
python Generate.py --help
How was this tested?
Ran multiple generations to confirm progression balancing was skipped with argument and not skipped without.
If this makes graphical changes, please attach screenshots.
N/A