Commit Graph

349 Commits

Author SHA1 Message Date
Lars Mueller
a12ce08430 Directly access global table 2021-01-17 19:29:23 +01:00
Lars Mueller
a1bf8a104f Unsilence builtin/strict.lua 2021-01-17 18:19:46 +01:00
Lars Mueller
1e10ab0270 Add modlib._RG for raw global access 2021-01-17 18:03:42 +01:00
Lars Mueller
b09ba18421 Remove testing 2021-01-16 17:22:46 +01:00
Lars Mueller
19b0d60f07 Additional tests 2021-01-16 17:20:12 +01:00
Lars Mueller
2b881acc28 Add min-heap 2021-01-16 17:17:29 +01:00
Lars Mueller
61b48e09da Improve on_wielditem_change 2021-01-14 12:22:23 +01:00
Lars Mueller
47a927005b Fix wielditem change 2021-01-14 00:11:38 +01:00
Lars Mueller
cb1192d9d8 Fix flowingliquid helper doc 2021-01-13 22:50:36 +01:00
Lars Mueller
837b067963 Implement register_on_item_change & item.on_wield / item.un_wield callbacks 2021-01-13 20:30:00 +01:00
Lars Mueller
403bb8f3d8 Colorspec class with conversion methods 2021-01-10 17:32:45 +01:00
Lars Mueller
0edb8d378f Add table.deep_to_add 2021-01-02 17:06:26 +01:00
Lars Mueller
04a33ca841 Spice up table equality checks 2021-01-02 17:02:34 +01:00
Lars Mueller
0eb59a85bf Fix table.difference (fix for cellestial) 2021-01-02 12:30:52 +01:00
Lars Mueller
d0317cc5d8 Schema: Improved MD gen: Newline after headings 2020-12-28 18:26:28 +01:00
Lars Mueller
900249f8f7 Vector extension: Unary minus, pow 2020-12-27 23:22:28 +01:00
Lars Mueller
0ddc554ac0 Add table.is_circular 2020-12-25 17:54:36 +01:00
Lars Mueller
5839734cb3 Add table.equals_content 2020-12-23 11:00:13 +01:00
Lars Mueller
ba75c156db Schema MD gen improvements 2020-12-22 13:42:25 +01:00
Lars Mueller
ff3d8c8805 Schema fixes 2020-12-22 13:36:39 +01:00
Lars Mueller
43612117c9 Schema: Fix inserted Markdown 2020-12-22 12:42:28 +01:00
Lars Mueller
5399a0f302 Schema: Generate Markdown & format Readme 2020-12-22 12:37:29 +01:00
Lars Mueller
5f748d37d8 Add & fix settingtypes.txt generation 2020-12-22 11:43:50 +01:00
Lars Mueller
f4ee51e543 Add file.ensure_content 2020-12-22 11:36:58 +01:00
Lars Mueller
2e4f03c94e Format file.lua 2020-12-22 11:32:35 +01:00
Lars Mueller
f39596efb6 Fix conf loading 2020-12-22 11:09:45 +01:00
Lars Mueller
de3f79d5b1 Vector: Param renames for consistency 2020-12-22 10:29:03 +01:00
Lars Mueller
3df17ae43f Use vector utils in MT utils, fix load order 2020-12-22 10:16:30 +01:00
Lars Mueller
8ad7c3de7c Extended liquid tests 2020-12-21 20:26:06 +01:00
Lars Mueller
3631b1c4ca Move triangle utils from "minetest" to "vector" 2020-12-21 19:59:26 +01:00
Lars Mueller
7fde587dab Move box_box_collision to vector & fix it 2020-12-21 19:55:22 +01:00
Lars Mueller
27b2de0367 Init cleanup 2020-12-21 18:23:30 +01:00
Lars Mueller
847bca6f69 Delete useless threading utils 2020-12-21 18:18:17 +01:00
Lars Mueller
7f36221d45 Remove class utils 2020-12-21 15:53:40 +01:00
Lars Mueller
8f4b73e99d Functional helpers, table.deep_add_all 2020-12-20 15:21:03 +01:00
Lars Mueller
ccff2f7673 Clean configuration system 2020-12-20 14:39:01 +01:00
Lars Mueller
b57dd2e269 Math alias bugfix 2020-12-20 11:58:35 +01:00
Lars Mueller
826c7b7aae Replace math.pow by ^ 2020-12-19 15:31:37 +01:00
Lars Mueller
2f01c5716b Improve vector utils 2020-12-19 15:28:53 +01:00
Lars Mueller
cc7a22ea76 Add trie 2020-12-19 15:13:03 +01:00
Lars Mueller
90bb055c6f Rename modlib.number to modlib.math 2020-12-19 15:01:42 +01:00
Lars Mueller
3a5b436e11 number.lua cleanup, tostring fixes 2020-12-19 14:41:20 +01:00
Lars Mueller
0579840908 Fix settingtypes for ranges without default 2020-12-19 11:46:47 +01:00
Lars Mueller
f64fa5bfb4 Fix modlib.table.process(tab, func) 2020-12-19 11:40:52 +01:00
Lars Mueller
8a6c22d107 Text utility cleanup 2020-12-18 12:27:19 +01:00
Lars Mueller
1e4f795691 Fixed decode_base64 wrapper 2020-12-18 10:42:03 +01:00
Lars Mueller
d4b33c6cee Raycast with proper flowingliquid support 2020-12-17 19:10:56 +01:00
Lars Mueller
98ac064c55 Improve liquid helper convenience 2020-12-17 19:06:24 +01:00
Lars Mueller
a55a8b07ee Make copy & tablecopy deepcopy aliases 2020-12-12 16:28:52 +01:00
Lars Mueller
43f59aa329 Table: Fix rpairs, unique and values, formatting 2020-12-12 16:15:26 +01:00