Commit Graph

15 Commits

Author SHA1 Message Date
luk3yx
ec24aed60a Lazy load safety.lua and fix some issues 2022-07-18 17:45:27 +12:00
luk3yx
f9b29ba6e3 Use plurals for item, listelem, and caption 2022-02-13 16:34:01 +13:00
luk3yx
0ba38e041e Make new raw_parse more robust 2022-02-08 21:22:26 +13:00
luk3yx
8fca50e407 Drastically improve parsing and unparsing speed and fix bug
The parsing code still isn't easy to read but at least it's faster and 
not horribly bugged (I hope).
2022-02-08 20:36:14 +13:00
luk3yx
b540045734 Update list[] based on new documentation
Now that "list[inventory_location;list_name;x,y;w,h]" is documented it 
can be used instead of "list[inventory_location;list_name;x,y;w,h;]".
2022-02-05 20:41:52 +13:00
luk3yx
ccba5eca04 Convert invsize[] to size[] and fix tablecolumns 2021-11-24 15:41:26 +13:00
luk3yx
b56162912d Remove unrequired table.insert 2021-03-31 17:44:59 +13:00
luk3yx
17503d543b Update elements and fix background9 unparsing 2021-03-21 17:42:52 +13:00
luk3yx
d1ba059652 Improve performance and fix index_event parsing 2021-03-11 22:30:27 +13:00
luk3yx
e9302239fb Fix bgcolor fullscreen value 2021-03-09 10:18:14 +13:00
luk3yx
649acafff3 Fix containers in custom elements not ending
Parsing the formspec `formspec_ast:centered_label[1,1;0,0;]image[0,0;]` 
would previously offset the image.
2021-01-10 20:18:32 +13:00
luk3yx
a3c1a490e0 Add luacheck and fix reported warnings 2020-11-26 16:20:50 +13:00
luk3yx
9a958355ca Add scroll_container[] (minor compatibility break) 2020-09-07 17:48:51 +12:00
luk3yx
70683baae5 Fix size[]. 2020-01-29 12:53:21 +13:00
luk3yx
b2399d6825 Initial commit 2019-10-20 15:12:35 +13:00