00478c2ea8
weac/polyfill: add @module so it appears in the Lua API
2024-05-25 14:06:57 +01:00
66c939c917
fix comments
2024-05-19 16:28:05 +01:00
abe66cf1c5
//speed: fix crash when pova isn't installed
...
stupid bug in weac.{player_get_physics_override,player_set_physics_override}, as you might have suspected
2024-01-01 22:24:49 +00:00
2f98b86c5f
movetool, //speed: add optdepend on pova
...
pova is a physics_override manager mod, so it's important we have support for it to ensure we play nice with other mods
Ref https://content.minetest.net/packages/TenPlus1/pova/
2023-12-30 13:12:10 +00:00
b56bd0d84b
//rotate: fix some minor keyword issues, update reference & changelog
...
At some point we need to move the parser to allow for a `player` reference for relative keywords.... or else pass them through somehow
2023-12-16 01:11:25 +00:00
dc39dbff08
Bugfix: don't +/1 (1, 1, 1) twice in //rotate
2023-12-16 00:37:27 +00:00
54c66e0dc9
//rotate: fix bug in which regions are accidentally cut off
2023-12-16 00:35:52 +00:00
7d29453699
plug in new //rotate+ logic
...
...but it doesn't work yet
currently it crashes with a variety of interesting and colourful error messages
working on debugging it now, but it's gonna take a moment
2023-12-13 23:05:00 +00:00
74a8996afc
//rotate: start implementing a frontend
...
This is more complicated than I expected.
We've got a new parser and a state machine for the args, but we now need to put these values to use and pass them to worldeditadditions.rotate().
NOTE TO SELF: BE REAL CAREFUL WITH ORIGIN HANDLING.
We MUST NOT pull from sorted pos1/2 by accident! Though I doubt this would be an issue since weac.pos.get(player_name, i) is a thing
2023-12-10 03:16:28 +00:00
45f69eb8f9
Vector3.rotate3d: clarity in comment
2023-11-29 00:36:50 +00:00
e28c428ef7
vector3: doc comment layout
2023-11-28 22:38:26 +00:00
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