Commit graph

50 commits

Author SHA1 Message Date
8de49ac0af
register commands with worldeditadditions, not worldedit 2022-05-19 22:10:09 +01:00
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
VorTechnix
bc0658b545 Update init.lua 2021-09-05 09:35:07 -07:00
VorTechnix
a5960983e7 Merge branch 'main' into VorTechnix 2021-09-05 09:34:54 -07:00
2920f7081d
Add //noiseapply 2021-08-07 23:01:15 +01:00
6cd367915d
//airapply: fix rogue args_parsed 2021-08-07 22:37:45 +01:00
fcd4de3429
//airapply: fix nodes_needed 2021-08-07 22:35:32 +01:00
10a649e597
//airapply: error handling 2021-08-07 21:16:17 +01:00
VorTechnix
b20c8f9af1 Merge branch 'main' into VorTechnix 2021-08-01 07:03:31 -07:00
655d9ebac9
//many, //multi, parse_reference: various luacheck fixes 2021-07-30 20:07:08 +01:00
c14bb40f7e
//ellipsoidapply: undefined variable fixes 2021-07-30 20:03:31 +01:00
23e08c5693
//multi: luacheck fix 2021-07-30 20:03:16 +01:00
1c8d572bb8
//airapply: fix undefined variables 2021-07-30 20:01:38 +01:00
f7cda8c817
//subdivide: Fix referencing undefined global variable 2021-07-30 18:06:44 +01:00
VorTechnix
b795f3b169 dissabled macros -- too buggy 2021-07-29 15:49:37 -07:00
VorTechnix
5757ef892d added //macro 2021-07-28 18:13:15 -07:00
VorTechnix
0ecd6233ad Update for.lua 2021-07-28 18:06:26 -07:00
VorTechnix
43a59b68ff converted //for to step function 2021-07-28 13:35:52 -07:00
VorTechnix
1436974e9b added //for 2021-07-27 19:56:45 -07:00
VorTechnix
7f9c8796d0 meta link fix 2021-07-18 17:27:21 -07:00
VorTechnix
d94ebd7e54 separate init for meta commands 2021-07-18 13:12:45 -07:00
8b4ba8ccc1
airapply, ellipsoidapply: allow //multi to be a subcommand 2021-07-16 23:00:31 +01:00
57caddece7
airapply: fix header 2021-07-15 21:39:25 +01:00
0b379c48cb
Implement //airapply
For #56, but the docs aren't written yet so we'll wait on closing it 
until I've written them.
2021-07-15 02:17:14 +01:00
0b0595a1d3
Remove a whole bunch of stray debug print statements 2021-07-04 14:35:02 +01:00
db7b20d485
Refactor table functions into subtable of wea
Also, you can return a value from dofile()!!!!

This changes everything.
2021-06-28 00:56:29 +01:00
ffdef17761
//multi: add { curly brace } syntax support for grouping blocks of commands 2021-05-29 01:17:24 +01:00
e111decd3a
//multi: reduce code duplication 2021-05-28 21:10:23 +01:00
8877e356f0
refactor: refactor utils/strings.lua into multiple files 2021-03-20 01:48:56 +00:00
48619163d5
//multi: gracefully handle empty invocations; ensure args is always set
if it isn't found via the :find() call, then set it to an empty string.
This prevents crashes where the callee expects to be passed a string
2021-03-11 02:04:22 +00:00
ee3effd458
//subdivide: fix passing arguments to the command being executed 2021-02-21 15:19:21 +00:00
bl-ue
1d3c2a0416 Fix typos 2021-02-09 19:53:30 -05:00
555058b4ac
//subdivide: tweak update message display 2021-02-07 03:12:09 +00:00
1179ecb19a
//subdivide: cosmetic change to update messages 2021-02-07 02:59:41 +00:00
151afadf6c
//many: fix running commands that take no arguments 2021-02-07 02:59:19 +00:00
a360f06138
Fix eta calculations 2021-02-07 02:45:34 +00:00
2f5c1b759d
//subdivide: fix undefined variable; update reference 2021-02-07 01:35:06 +00:00
888ee04f9d
//subdivide: fix a number of other issues 2021-02-07 01:28:07 +00:00
15417354c6
//subdivide: fix undefined local variable 2021-02-06 19:34:46 +00:00
ac954abaea
//subdivide: tweak outut 2021-02-06 14:34:30 +00:00
0cfd651510
Bugfix //subdivide: fix chunk size display 2020-10-10 22:41:19 +01:00
d2f101e9dd
It works! 2020-10-10 22:22:53 +01:00
2ac6ea03a7
Fix some bugs, but the new //subdivide still doesn't work yet 2020-10-10 21:50:03 +01:00
aa234595a8
Refactor //subdivide to call minetest.emerge_blocks
....whether it actually works or not is another question entirely 
though.....
2020-10-10 21:43:22 +01:00
7e02714c86
//subdivide: remove debug logging 2020-10-10 17:02:29 +01:00
ef165b9c58
Add ETA to //many, and tidy up message generation in //subdivide 2020-10-10 17:01:08 +01:00
130524a7d0
Disable some debug prints, and update docs 2020-09-20 22:07:47 +01:00
a6f5fe5123
Finish initial //ellipsoidapply implementation 2020-09-20 21:19:29 +01:00
358fac7c7c
//subdivide: print update whent he last chunk is completed
....it's very misleading otherwise.
2020-09-20 17:38:58 +01:00
d2b38d0ea1
Move special commands to dedicated subdirectory 2020-09-20 17:33:48 +01:00