Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
my proposal for a config schema field in the mod manifest based on the layout of json schema. sorry for the c# side of things being lacking, im aware it could be better
each property in
ConfigSchema
will have the config property as the key and its data as the values.Title
andDescription
can optionally be provided for config managers to show richer information (for example,Title
can be used in place of the config key andDescription
can fill a tooltip to better explain what a property does)properties will use the following types and the additional data associated with them:
string
:MinLength
MaxLength
Pattern
: a regex pattern for use in C#. since godot's regex is based on PCRE, mod devs should define patterns separately in their gdscript code when required. hesitant with this one because of the catchint
/float
:Minimum
Maximum
MultipleOf
string
/int
/float
:Enum
: a list of acceptable valuesSuggestedEnum
: a list of suggested values for hints/autocomplete in UIs, but any value is acceptedobject
:Properties
array
:Items
MinItems
MaxItems
bool
would love discussion ty ૮ ˶′ ཅ ‵˶ ა