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

Details mode (all): Flexible Input Hints #20

Open
Trylobot opened this issue Jul 9, 2017 · 1 comment
Open

Details mode (all): Flexible Input Hints #20

Trylobot opened this issue Jul 9, 2017 · 1 comment

Comments

@Trylobot
Copy link
Owner

Trylobot commented Jul 9, 2017

The basic idea is for every line in Details mode, allow for defining a function of the form:

hint_fn$( ed:TEditor, data:TData, target:Object, fieldName$, inputStr$ )

Then, anytime the input string changes (throttling necessary?) for that line, its hint function (if defined) would be called. Whatever the result is would be displayed on-screen next to that line.

For instance, when a skin's baseValueMult is changed, the hint function could display what the resulting value of the ship would be in-game, based on the base hull's value from ship stats, multiplied with the given value. Helpful and simple.

@Trylobot
Copy link
Owner Author

Example: for strings while editing *.skin (mode 3), it might be useful to show the ship_data.csv values vs current values for fleetPoints, ordnancePoints, and baseValue(mult).

@Trylobot Trylobot removed their assignment Jul 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant