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

Allow turning on/off all experimentalGameplay at once #4

Open
solvedDev opened this issue Nov 5, 2022 · 0 comments
Open

Allow turning on/off all experimentalGameplay at once #4

solvedDev opened this issue Nov 5, 2022 · 0 comments
Labels
suggestion Discussion needed

Comments

@solvedDev
Copy link
Collaborator

solvedDev commented Nov 5, 2022

Motivation

Most users don't want granular control over the specific experimental gameplay toggles and rather just want to always use all experiments or none at all.

Summary

Allow setting the "experimentalGameplay" property to true or false directly. If necessary, the project config parser can trivially transform the below syntax into the more verbose object syntax for backwards compatibility.

/**
 * Experimental gameplay the project intends to use.
 * Exact mapping of strings to experimental gameplay toggles needs to be specified separately.
 *
 * Set "experimentalGameplay" to a boolean value to turn on/off experimental gameplay completely.
 *
 * @example {"upcomingCreatorFeatures": true, "cavesAndCliffs": false}
 * @example true
 */
experimentalGameplay?: boolean | Record<string, boolean>
@solvedDev solvedDev added the suggestion Discussion needed label Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Discussion needed
Projects
None yet
Development

No branches or pull requests

1 participant