Commit graph

25 commits

Author SHA1 Message Date
6ea9a5acc8
//subdivide: upgrade to use new async & notify core APIs 2024-10-17 02:26:44 +01:00
f2214150f2
Update minetest.chatcommands → minetest.registered_chatcommands 2023-07-09 19:49:38 +01:00
9b4a777a67
//scale, //subdivide, //spop: use new position api 2023-07-02 02:02:42 +01:00
6102a1adf5
Upgrade meta commands 2022-09-18 22:37:26 +01:00
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
f7cda8c817
//subdivide: Fix referencing undefined global variable 2021-07-30 18:06:44 +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
8877e356f0
refactor: refactor utils/strings.lua into multiple files 2021-03-20 01:48:56 +00:00
ee3effd458
//subdivide: fix passing arguments to the command being executed 2021-02-21 15:19:21 +00: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
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
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
Renamed from worldeditadditions_commands/commands/subdivide.lua (Browse further)