Formspec cleanup and improvements#209
Conversation
|
we really should make these dynamic instead of hardcoded meta |
This comment was marked as spam.
This comment was marked as spam.
explain? |
core.show_formspec instead of encoding it in meta |
well that's with the compromise of not having the forms autoupdate |
|
I still don't like the idea of any node formspec being dynamic unless it needs to be. Good examples are For pipeworks nodes, which only need to update if you change a setting, should not be dynamic in my opinion. |
This is mostly a code cleanup PR, but with a few formspec changes and improvements.
fs_helpersto a separate file, cleaned-up existing code, and added several new helper functionsi3andmcl_formspeccompatibility with correct styling.The stack-wise injector is the best example of the visual changes, since it includes one of every element. Top row is before, bottom row is after:
Fixes #205, closes #208