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

Only allow correct value types in properties fields #33

Open
meh2481 opened this issue Dec 15, 2023 · 2 comments
Open

Only allow correct value types in properties fields #33

meh2481 opened this issue Dec 15, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@meh2481
Copy link
Member

meh2481 commented Dec 15, 2023

E.g. timebugprobability should only be allowed to be a numeric value between 0 and 1.0

This should be done at the UI step, not at a separate error-checking step, so rather than throwing a warning dialog up when you try to play the level, it'll just prevent you from making the mistake in the first place.

@meh2481 meh2481 added the enhancement New feature or request label Dec 15, 2023
@meh2481
Copy link
Member Author

meh2481 commented Dec 15, 2023

Apparently timebugprobability also allows "false" as a valid value

@meh2481
Copy link
Member Author

meh2481 commented Dec 15, 2023

Addin tab, ocd field, type property only allows 3 possible values, entering it manually is strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant