Commit Graph

1381 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
78844484f8
Add //ngroups, which lists the groups a given node is a member of 2023-11-27 23:44:06 +00:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
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
Starbeamrainbowlabs
5bddeb5bb5
docs/css: minor padding changes 2023-11-26 22:41:38 +00:00
Starbeamrainbowlabs
28ed864c84
Added //nodeapply to filter cmd changes via a nodelist 2023-11-26 22:20:05 +00:00
Starbeamrainbowlabs
342357e9de
specs/weaschem: fix inconsistency 2023-09-24 02:07:39 +01:00
Starbeamrainbowlabs
9dd92dbe70
StagedVoxelRegion: initial save() implementation.
....but it's untested, as usual.
2023-09-24 02:07:08 +01:00
Starbeamrainbowlabs
f02b1d0b33
fix syntax errors 2023-09-23 21:56:56 +01:00
Starbeamrainbowlabs
621ca53d28
Merge branch 'dev' of github.com:sbrl/Minetest-WorldEditAdditions into dev 2023-09-23 21:54:03 +01:00
Starbeamrainbowlabs
985901de94
noodle around with StagedVoxelRegion 2023-09-23 21:53:47 +01:00
Starbeamrainbowlabs
546de3d6ca
Implement StagedVOxelRegion.NewFromRaw 2023-09-19 18:08:37 +01:00
Starbeamrainbowlabs
9b29dbc180
comment DBUG:parse in .test.lua 2023-09-19 17:51:43 +01:00
Starbeamrainbowlabs
f2c3ca124c
weaschem: properly document with comments 2023-08-21 22:17:36 +01:00
Starbeamrainbowlabs
bd48cc605c
Update changelog 2023-08-21 22:11:58 +01:00
Starbeamrainbowlabs
b42c8f2641
Bugfix: fix crash in pos_marker_wall/delete 2023-08-20 16:46:30 +01:00
Starbeamrainbowlabs
f590304995
post_marker: comment debug logging 2023-08-19 13:49:13 +01:00
Starbeamrainbowlabs
186b1090a0
Update changelog 2023-08-19 01:00:03 +01:00
Starbeamrainbowlabs
f4471dfa8e
Does this finally fix the zombie marker wall bug?
only time will tell.
2023-08-19 00:58:58 +01:00
Starbeamrainbowlabs
8a5979d89a
BASIC tests for delta files.
delta_which and data tables in delta files don't yet have adequate tests.
2023-08-18 21:29:21 +01:00
Starbeamrainbowlabs
e5493dfb11
tests/weaschem: write tests for parse, except delta_which functionality 2023-08-18 21:17:17 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
25ae2fd7ee
testts/weaschem: start writing tests for parse_data_table, but they aren't finished yet 2023-08-18 15:21:27 +01:00
Starbeamrainbowlabs
bd012813b3
weaschem: validate node ids in parse_data_table 2023-08-18 15:21:02 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
6f35ff3313
tests/weaschem: correct tests for parse_id_map 2023-08-18 15:01:17 +01:00
Starbeamrainbowlabs
7384f1dbbb
specs/weaschem: clarify about node names 2023-08-16 02:02:46 +01:00
Starbeamrainbowlabs
8048310419
tests/weaschem: write tests for parse_id_map 2023-08-16 02:02:10 +01:00
Starbeamrainbowlabs
2dc1755b5c
tests/weaschem: Finish initial tests for parse_header 2023-08-15 19:25:13 +01:00
Starbeamrainbowlabs
be8e097f1f
tests: grammar 2023-08-15 17:44:19 +01:00
Starbeamrainbowlabs
8d79e6f0ab
tests/weaschem: more tests, but not done w/parse_header yet 2023-08-15 03:24:15 +01:00
Starbeamrainbowlabs
270ec92fee
start with tests for the header parser, but they aren't finished yet 2023-08-15 03:07:30 +01:00
Starbeamrainbowlabs
54ef125409
tests: really fix the script this time 2023-08-15 03:07:16 +01:00
Starbeamrainbowlabs
7f9b51c7e0
tests.sh: fix coverage html generation 2023-08-15 03:01:22 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
06f90edd46
tests/weaschem: okay, here we go: parse_vector3
Let's go slow, one function at a time, from nuts and bolts gradually up to full files
2023-08-15 00:20:41 +01:00
Starbeamrainbowlabs
3faaaa5283
weaschem: make basically testable 2023-08-15 00:19:54 +01:00
Starbeamrainbowlabs
af4562d2e3
tests.sh: fix coverage 2023-08-15 00:06:24 +01:00
Starbeamrainbowlabs
eb14334441
tests.sh: fix warning 2023-08-14 23:52:59 +01:00
Starbeamrainbowlabs
448cf0d674
//unmark: add optional all argument 2023-08-12 13:20:24 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
0f22ea26a7
specs/weaschem: param2 will also need to be deltad
also improve wording clarity earlier on
2023-08-12 03:03:56 +01:00
Starbeamrainbowlabs
c05228a37a
specs/weaschem: be specific about the first line 2023-08-12 01:43:48 +01:00
Starbeamrainbowlabs
c734a46579
typo 2023-08-11 22:49:34 +01:00
Starbeamrainbowlabs
a39b2191a5
specs/schematic: add single space before version number 2023-08-11 22:30:26 +01:00
Starbeamrainbowlabs
ec95c64315
.gitignore: don't commit PDFs 2023-08-11 22:02:15 +01:00
Starbeamrainbowlabs
27beee59f4
schematics spec: finish initial draft 2023-08-11 21:50:28 +01:00
Starbeamrainbowlabs
cb2500ca57
schematic spec: add header, TODO 2023-08-11 02:54:17 +01:00
Starbeamrainbowlabs
3bcd050189
schematic spec: describe size & positioning; id map
Next up: data tables & run-length encoding
2023-08-11 02:50:40 +01:00
Starbeamrainbowlabs
4fb6d7f91c
weaschem: finish json schema for header
next up: talking about it, and the ID map...
2023-08-11 01:49:18 +01:00
Starbeamrainbowlabs
fc6e50cef1
Start writing a spec for a schematic format
...but it's not finished.
2023-08-09 15:46:12 +01:00