Open
Description
Currently the modify command looks at the start of the element string to identify the element that it contains, however this does not work with the custom item_grid
element, because that element string consists of multiple item_image
or item_image_button
.
Possible solutions:
- Change how elements are stored in metadata so that the
modify
command does not need to use pattern matching. - Add code specifically for
item_grid
modification. (and tables too) - Something else?
Relevant code:
Lines 20 to 33 in 71b606c
digistuff/formspec_elements.lua
Lines 351 to 383 in 71b606c