e3962bc8d7
StagedVoxelRegion : ..... I really need to come back and comb through this
2023-11-28 00:40:11 +00:00
6d03a5ca2c
EventEmitter: fix luacheck error
2023-11-28 00:33:27 +00:00
78844484f8
Add //ngroups, which lists the groups a given node is a member of
2023-11-27 23:44:06 +00:00
ef86a0658a
NodeListMatcher: I think groups need to be prefixed with group: when calling minetest.get_item_group
...
....but we'll find out in testing!
2023-11-27 23:19:34 +00:00
050bd80cf3
//nodeapply: Generalise matching engine into NodeListMatcher
...
Also add support for @groups, i.e. @crumbly matches nodes that are a member of the "crumbly" group
This groups feature is untested atm as I need to implement //ninfo....
2023-11-27 22:27:20 +00:00
9dd92dbe70
StagedVoxelRegion: initial save() implementation.
...
....but it's untested, as usual.
2023-09-24 02:07:08 +01:00
f02b1d0b33
fix syntax errors
2023-09-23 21:56:56 +01:00
621ca53d28
Merge branch 'dev' of github.com:sbrl/Minetest-WorldEditAdditions into dev
2023-09-23 21:54:03 +01:00
985901de94
noodle around with StagedVoxelRegion
2023-09-23 21:53:47 +01:00
546de3d6ca
Implement StagedVOxelRegion.NewFromRaw
2023-09-19 18:08:37 +01:00
f2c3ca124c
weaschem: properly document with comments
2023-08-21 22:17:36 +01:00
e5493dfb11
tests/weaschem: write tests for parse, except delta_which functionality
2023-08-18 21:17:17 +01:00
78ec40b6be
weaschem: finish write tests for parse_data_table
...
glad I did, 'cause I found a bunch of subtle bugs
2023-08-18 20:27:00 +01:00
bd012813b3
weaschem: validate node ids in parse_data_table
2023-08-18 15:21:02 +01:00
3b7e91b3b7
weaschem: adjust call to make testable
...
really annoying how the test environment & MT have different import schemes.....
2023-08-18 15:02:26 +01:00
8048310419
tests/weaschem: write tests for parse_id_map
2023-08-16 02:02:10 +01:00
2dc1755b5c
tests/weaschem: Finish initial tests for parse_header
2023-08-15 19:25:13 +01:00
270ec92fee
start with tests for the header parser, but they aren't finished yet
2023-08-15 03:07:30 +01:00
7e6e61a00b
start basic tests for headers.
...
We might want to consider a separate distribution that omits all the test files......
2023-08-15 02:59:19 +01:00
3faaaa5283
weaschem: make basically testable
2023-08-15 00:19:54 +01:00
1abab143e7
.weaschem: initial, UNTESTED, parsing implementation
...
....it's not hooked up at all yet.
WEA will not even load the file yet, and we don't have tests either
....tests might be a bit of a problem given we use minetest.parse_json directly.
2023-08-12 03:05:10 +01:00
e4539edb4b
rough sketch of the outline of StagedVoxelRegion.
...
This doesn't include the deltas feature yet
2023-08-09 03:33:56 +01:00
3c7e1ef545
Create proper io namespace directory
2023-08-08 18:46:41 +01:00
76c02cd42f
update more comments
2023-08-03 14:37:05 +01:00
9d47dcbcf3
comments: update
2023-08-03 14:16:14 +01:00
daae15eb57
EventEmitter: improve debug logging
2023-07-31 22:06:44 +01:00
VorTechnix
5cf155772d
Merge branch 'main' of https://github.com/sbrl/Minetest-WorldEditAdditions
2023-07-04 14:50:17 -07:00
VorTechnix
55ddc16b2e
small fix to file:read error
2023-07-04 14:50:14 -07:00
6bc1987916
Update and correct a bunch of comments
...
note that @module is outdated and should not be used
2023-07-04 22:45:02 +01:00
5d18f6d0db
comment debug
2023-07-04 22:00:28 +01:00
7bdefc8d42
split_shell: comment out debug
2023-07-04 19:10:05 +01:00
02ad40eaae
split_shell: add automated tests, and fix an obscure bug
2023-07-04 19:04:11 +01:00
047033a6ef
comments: update @class definitions
2023-07-02 19:03:46 +01:00
464ea53465
vector3: fix comments
2023-07-02 17:03:39 +01:00
VorTechnix
8d9f51de35
handler patch
...
I should have done this in a branch lol
2023-05-28 08:45:39 -07:00
VorTechnix
67baee7465
fixed missing underscore
2023-05-28 08:37:57 -07:00
VorTechnix
16afb9eddc
Create setting_handler.lua
2023-05-24 14:44:38 -07:00
d1b9d1c1c1
vector3.round_dp(): todo
2023-01-21 03:27:02 +00:00
392708b190
initial wea.revolve() implementation
...
....but it's not tested or hooked up yet.
Next up: a chat command definition so we can test it.
2023-01-21 03:24:44 +00:00
87812679d9
table_reduce: typo
2023-01-21 02:34:47 +00:00
2ecc8cb2d7
add implementation of array.reduce() from JS
2023-01-21 02:32:09 +00:00
66227153d0
add wea_c.range(min, max, step)
2023-01-21 01:32:17 +00:00
9c66288827
Vector3: add rotate3d.
...
Thanks to GitHub Copilot for the implementation, it just needed
improving around the edges to make it work perfectly.
For the record, copilot generated it in JS, and then
I manually ported it to Lua.
If the Copilot code looks sufficiently similar to your own source,
get in touch and I will give you full credit.
2023-01-20 23:43:07 +00:00
53609ac83e
vector3: .volume() is already implemented
...
remove todo comment
2023-01-17 00:08:13 +00:00
c319be5840
fix //spline :D
2022-09-25 17:07:37 +01:00
fe30fd5c51
add comment
2022-09-25 16:16:03 +01:00
2748f4cdfa
//spline: plot chaikin curve
2022-09-25 15:30:16 +01:00
9a4b4beb76
EventEmitter: add debug printing (disabled by default)
2022-09-25 15:03:16 +01:00
258a9c1cde
implement initial //spline, but it isn't finished yet
2022-09-25 01:18:40 +01:00
38a72468d9
utils: rename folder tables → table to match API
2022-09-24 13:41:44 +01:00