[0.18.24] fluids in choose-elem-button don't have search box
Posted: Wed May 13, 2020 9:50 am
Just as it says.
In the add function, these values are listed:
Only otherwise tested with "item", but items have a search box and fluids don't. This comes up if a modder is "irresponsible" and has lousy orders on the prototypes. The window can become tall and a scrollbar is needed to go down in the list. Also, would be convenient for mods that add a lot of fluids, but that's a convenience, not as much of an issue compared to always needing to scroll.
In the add function, these values are listed:
Code: Select all
choose-elem-button
elem_type :: string: The type of the button - one of the following values.
item :: string (optional): If type is "item" - the default value for the button.
tile :: string (optional): If type is "tile" - the default value for the button.
entity :: string (optional): If type is "entity" - the default value for the button.
signal :: SignalID (optional): If type is "signal" - the default value for the button.
fluid :: string (optional): If type is "fluid" - the default value for the button.
recipe :: string (optional): If type is "recipe" - the default value for the button.
decorative :: string (optional): If type is "decorative" - the default value for the button.
item-group :: string (optional): If type is "item-group" - the default value for the button.
achievement :: string (optional): If type is "achievement" - the default value for the button.
equipment :: string (optional): If type is "equipment" - the default value for the button.
technology :: string (optional): If type is "technology" - the default value for the button.