Commit Graph

23 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
9b4a777a67
//scale, //subdivide, //spop: use new position api 2023-07-02 02:02:42 +01:00
Starbeamrainbowlabs
6102a1adf5
Upgrade meta commands 2022-09-18 22:37:26 +01:00
Starbeamrainbowlabs
8de49ac0af
register commands with worldeditadditions, not worldedit 2022-05-19 22:10:09 +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
f7cda8c817
//subdivide: Fix referencing undefined global variable 2021-07-30 18:06:44 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
8877e356f0
refactor: refactor utils/strings.lua into multiple files 2021-03-20 01:48:56 +00:00
Starbeamrainbowlabs
ee3effd458
//subdivide: fix passing arguments to the command being executed 2021-02-21 15:19:21 +00:00
Starbeamrainbowlabs
555058b4ac
//subdivide: tweak update message display 2021-02-07 03:12:09 +00:00
Starbeamrainbowlabs
1179ecb19a
//subdivide: cosmetic change to update messages 2021-02-07 02:59:41 +00:00
Starbeamrainbowlabs
2f5c1b759d
//subdivide: fix undefined variable; update reference 2021-02-07 01:35:06 +00:00
Starbeamrainbowlabs
888ee04f9d
//subdivide: fix a number of other issues 2021-02-07 01:28:07 +00:00
Starbeamrainbowlabs
15417354c6
//subdivide: fix undefined local variable 2021-02-06 19:34:46 +00:00
Starbeamrainbowlabs
ac954abaea
//subdivide: tweak outut 2021-02-06 14:34:30 +00:00
Starbeamrainbowlabs
0cfd651510
Bugfix //subdivide: fix chunk size display 2020-10-10 22:41:19 +01:00
Starbeamrainbowlabs
d2f101e9dd
It works! 2020-10-10 22:22:53 +01:00
Starbeamrainbowlabs
2ac6ea03a7
Fix some bugs, but the new //subdivide still doesn't work yet 2020-10-10 21:50:03 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
7e02714c86
//subdivide: remove debug logging 2020-10-10 17:02:29 +01:00
Starbeamrainbowlabs
ef165b9c58
Add ETA to //many, and tidy up message generation in //subdivide 2020-10-10 17:01:08 +01:00
Starbeamrainbowlabs
130524a7d0
Disable some debug prints, and update docs 2020-09-20 22:07:47 +01:00
Starbeamrainbowlabs
358fac7c7c
//subdivide: print update whent he last chunk is completed
....it's very misleading otherwise.
2020-09-20 17:38:58 +01:00
Starbeamrainbowlabs
d2b38d0ea1
Move special commands to dedicated subdirectory 2020-09-20 17:33:48 +01:00