Commit Graph

1030 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
fc4f64d25a
Merge branch 'main' of github.com:sbrl/Minetest-WorldEditAdditions into main 2022-06-05 17:13:49 +01:00
Starbeamrainbowlabs
e294d96efe
//dome+: ensure domes include pos1 2022-06-05 17:10:41 +01:00
VorTechnix
dc73e0e1e9 sum param clarification 2022-05-30 08:38:33 -07:00
Starbeamrainbowlabs
be0612e6be
Merge pull request #80 from sbrl/VorTechnix
Implement new axis keyword parser system
2022-05-30 16:00:01 +01:00
VorTechnix
74ca84fcee Create axes_parser.test.lua 2022-05-29 17:49:01 -07:00
VorTechnix
53600789d8 added compass directions, fixed tmp.sign bug 2022-05-29 16:23:59 -07:00
VorTechnix
6e3252b471 Merge branch 'main' into VorTechnix 2022-05-24 18:47:41 -07:00
Starbeamrainbowlabs
5ac98cfa22
tests.sh: use $OSTYPE to decide how to call luarocks
this is ridiculous
2022-05-25 02:14:17 +01:00
Starbeamrainbowlabs
b94c38bb99
tests.sh: add logging to test github actions 2022-05-25 02:07:16 +01:00
VorTechnix
98e9888897 Merge branch 'main' into VorTechnix 2022-05-24 17:35:33 -07:00
Starbeamrainbowlabs
50b1df57c4
tests.sh: more windows weirdness 2022-05-25 01:33:07 +01:00
VorTechnix
d79c187a9d Merge branch 'main' into VorTechnix 2022-05-24 16:47:38 -07:00
Starbeamrainbowlabs
cb75776164
tests.sh: fix eval luarocks path on Windows
Annoyingly luarocks generates batch commands on Windows, even when being 
called from Git Bash :-/
2022-05-25 00:45:37 +01:00
VorTechnix
021fdac284 variable refactor 2022-05-23 18:49:24 -07:00
Starbeamrainbowlabs
64ff61a4d2
Fix override aliases 2022-05-24 02:24:43 +01:00
VorTechnix
6ed65074b8 unexposed number parser 2022-05-23 18:04:34 -07:00
VorTechnix
a8655373a2 fixed typo 2022-05-23 17:11:26 -07:00
VorTechnix
3196a590f5 changed: functions returned
(and unexposed key_instance class)
2022-05-23 17:08:42 -07:00
VorTechnix
1cef968731 Key Instance type checking 2022-05-23 17:06:23 -07:00
Starbeamrainbowlabs
af7d39110b
//spiral2: fix params description 2022-05-24 01:05:09 +01:00
Starbeamrainbowlabs
9bfb428c3f
add override aliases behind a setting 2022-05-24 00:11:22 +01:00
VorTechnix
e17b2cce4e small correction 2022-05-23 15:02:59 -07:00
VorTechnix
23140467d2 new parser connected 2022-05-23 14:58:45 -07:00
VorTechnix
2cddccdca4 working (tested) parser implementation 2022-05-23 14:58:27 -07:00
VorTechnix
8789b39d1d Merge branch 'main' into VorTechnix 2022-05-21 07:04:09 -07:00
VorTechnix
a0982c70f0 check_dir update (unification) 2022-05-20 19:29:01 -07:00
VorTechnix
a6b4d047b8 axes_parser implemented (not added to init) 2022-05-20 19:27:47 -07:00
Starbeamrainbowlabs
1750d62d3c
core: add register_alias command
it is backwards-compatible with worldedit.register_command
2022-05-19 22:50:53 +01:00
Starbeamrainbowlabs
c2c0fa5d8d
core: if worldedit is installed also register commands there
This ensures that e.g. //cubeapply continues to work as expected
2022-05-19 22:13:09 +01:00
Starbeamrainbowlabs
8de49ac0af
register commands with worldeditadditions, not worldedit 2022-05-19 22:10:09 +01:00
Starbeamrainbowlabs
3bcca82b43
//maze, //maze3d: registere with our new WEA core rather than WorldEdit 2022-05-19 02:43:19 +01:00
Starbeamrainbowlabs
c53fb32d2b
core: fix register_command and run_command 2022-05-19 02:40:05 +01:00
Starbeamrainbowlabs
95c0e96da9
core: fix luacheck errors 2022-05-19 02:32:17 +01:00
Starbeamrainbowlabs
b816133716
core: implement fetch_command_def
This rovides an abstraction to fetch a worldedit command's definition, 
regardless of where it was registered.

We would normally expect all commands to be registered in 
wea_c.registered_commands, but before we only do a one-off pass to 
import commands from worldedit should a new mod we aren't aware of 
register a command with worldedit and get loaded after us, we won't 
detect it - hencee  the need for this function.
2022-05-19 02:31:01 +01:00
Starbeamrainbowlabs
c60b5c5bad
core: fix bugs, enable! 2022-05-19 01:45:36 +01:00
Starbeamrainbowlabs
4306035ef2
core: implement safe_region 2022-05-18 02:31:08 +01:00
Starbeamrainbowlabs
8f6c3e020f
fixup 2022-05-17 01:04:51 +01:00
Starbeamrainbowlabs
d21f7ca5fb
core: minor fixes 2022-05-17 01:04:38 +01:00
Starbeamrainbowlabs
1fda9725c7
Implement run_command, but it's not quite finished yet
We still have yet to implement safe_region. Doing so will be 
non-trivial, as we'll need to override //y and //n, but then  also keep 
track of commands defined in worldedit and call the right version of //y 
and //n.
2022-05-17 01:03:58 +01:00
Starbeamrainbowlabs
4ab386788d
fixup 2022-05-16 23:41:09 +01:00
Starbeamrainbowlabs
9bdd7d2a25
core: add run_command shim, but it's not finished yet 2022-05-16 23:40:17 +01:00
Starbeamrainbowlabs
fa9b511e33
core: finish initial register_command 2022-05-16 23:40:03 +01:00
Starbeamrainbowlabs
19c8d0e7b9
core: make options.nodes_needed optional 2022-05-16 23:33:22 +01:00
Starbeamrainbowlabs
f984f5d7b7
Begin rewriting worldeditadditions_core
We should be able to make things a lot cleaner and more robust.
2022-05-16 23:32:40 +01:00
Starbeamrainbowlabs
d3119ee54a
Delete more copied code 2022-05-16 22:37:10 +01:00
Starbeamrainbowlabs
10f350c967
Delete copied code
Given licence incompatibilities, we can't really copy code from 
WorldEdit
2022-05-16 21:21:15 +01:00
Starbeamrainbowlabs
9d3a4ce263
refactor aliases into a separate file 2022-05-16 20:33:04 +01:00
Starbeamrainbowlabs
60c8f30109
Update changelog 2022-05-16 20:16:48 +01:00
Starbeamrainbowlabs
98909f0fae
//metaball: bugfix
It works!
2022-05-16 20:14:31 +01:00
Starbeamrainbowlabs
722e62bae0
Finish initial //metaballs command implementation, but it's untested 2022-05-16 01:21:09 +01:00