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
c53fb32d2b
core: fix register_command and run_command
2022-05-19 02:40:05 +01:00
95c0e96da9
core: fix luacheck errors
2022-05-19 02:32:17 +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
c60b5c5bad
core: fix bugs, enable!
2022-05-19 01:45:36 +01:00
4306035ef2
core: implement safe_region
2022-05-18 02:31:08 +01:00
8f6c3e020f
fixup
2022-05-17 01:04:51 +01:00
d21f7ca5fb
core: minor fixes
2022-05-17 01:04:38 +01:00
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
4ab386788d
fixup
2022-05-16 23:41:09 +01:00
9bdd7d2a25
core: add run_command shim, but it's not finished yet
2022-05-16 23:40:17 +01:00
fa9b511e33
core: finish initial register_command
2022-05-16 23:40:03 +01:00
19c8d0e7b9
core: make options.nodes_needed optional
2022-05-16 23:33:22 +01:00
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
d3119ee54a
Delete more copied code
2022-05-16 22:37:10 +01:00
10f350c967
Delete copied code
...
Given licence incompatibilities, we can't really copy code from
WorldEdit
2022-05-16 21:21:15 +01:00
a4237dcca5
depends.txt → mod.conf
2022-05-01 17:07:30 +01:00
3f48832fff
Merge branch 'main' into VorTechnix
2021-11-07 14:31:01 +00:00
12371a472d
we_core: fix bugs, add more useful error messages
2021-11-07 13:35:40 +00:00
a5b32bc2d9
worldeditadditions_core: add README
2021-11-07 12:48:27 +00:00
VorTechnix
e5443bc3ce
check (maybe working?)
2021-08-02 18:54:33 -07:00
VorTechnix
f9ac0e65ec
alias override
2021-08-02 18:54:18 -07:00
VorTechnix
b795f3b169
dissabled macros -- too buggy
2021-07-29 15:49:37 -07:00
VorTechnix
c1bfb496b5
Merge branch 'VorTechnix' of https://github.com/sbrl/Minetest-WorldEditAdditions into VorTechnix
2021-07-15 14:09:16 -07:00
VorTechnix
caed5e7195
Create depends.txt
2021-07-15 14:09:14 -07:00
VorTechnix
49617b7f47
params_text in def.parse worldeditadditions_core/register/check.lua
...
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-07-15 14:04:43 -07:00
VorTechnix
7b651d7abe
Fix typo worldeditadditions_core/init.lua
...
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-07-15 13:47:37 -07:00
VorTechnix
11bf486bf2
Update init.lua
2021-06-30 11:14:31 -07:00
VorTechnix
9ad27404b0
implemented chatcommand_handler
2021-06-30 08:36:04 -07:00
VorTechnix
ba93cb7bea
added WEA Core
2021-06-29 18:53:14 -07:00