00b1aed1ff
abstract new xpcall wrapper into new API function safe_function
2024-10-14 19:25:53 +01:00
cd22c710b2
start working on implementing some kind of system to catch error messages
...
....it works, but:
- We can't capture stack traces like this
- It's messy
- We need to implement an escape/encodeURIComponent function ourselves from scratch 'cause the one I ripped from Stack Overflow sucks
2024-10-12 01:04:27 +01:00
d49f6d2131
Lift orientation functions from screwdriver2 mod
...
Ref @12Me21 https://github.com/12Me21/screwdriver2/blob/master/init.lua#L75-L79
Ref @khonkhortisan https://forum.minetest.net/viewtopic.php?p=73195&sid=1d2d2e4e76ce2ef9c84646481a4b84bc#p73195
....if either of you have an issue with this, please get in touch! The licence seems to allow this lifting and relicencing like this (given it's WTFPL as of the time of typing), but correct me if I'm wrong.
For reference, WorldEditAdditions is currently licenced under the Mozilla Public License Version 2.0.
2024-09-17 23:18:37 +01:00
8c4d503f1f
turn wea_core into an EventEmitter; emit command execution pipeline events
...
These are subject to feedback and change - please let me know if they are named sensibly or not!
2024-09-13 02:52:35 +01:00
02d95cec46
Initial //orient implementation
...
....unfortunately, it doesn't work yet.
Next up is a frankly ridiculous number of print()s to figure out what's going on here
2024-06-04 22:49:41 +01:00
54c66e0dc9
//rotate: fix bug in which regions are accidentally cut off
2023-12-16 00:35:52 +00:00
873ff4bef8
Bugfix: don't error out on //flora → //bonemeal alias if bonemeal mod isn't installed
...
Also add worldeditadditions_core.command_exists to check both WEA and WEW for whether a command exists or not
2023-12-13 22:15:27 +00:00
050bd80cf3
//nodeapply: Generalise matching engine into NodeListMatcher
...
Also add support for @groups, i.e. @crumbly matches nodes that are a member of the "crumbly" group
This groups feature is untested atm as I need to implement //ninfo....
2023-11-27 22:27:20 +00:00
9dd92dbe70
StagedVoxelRegion: initial save() implementation.
...
....but it's untested, as usual.
2023-09-24 02:07:08 +01:00
3c7e1ef545
Create proper io namespace directory
2023-08-08 18:46:41 +01:00
dd6e34bde1
Update changelog, prepare for (another) release
2023-08-01 00:34:35 +01:00
2840ba4dea
bump version, prepare for release
2023-07-31 18:24:32 +01:00
a465a50244
Bump version to 1.14.3
2023-07-18 00:35:19 +01:00
ee4b3e09bb
Bump version
2023-07-12 20:30:13 +01:00
7f4798432e
Bump version!
2023-07-11 18:16:02 +01:00
6bc1987916
Update and correct a bunch of comments
...
note that @module is outdated and should not be used
2023-07-04 22:45:02 +01:00
c622fb554f
Hook in the new marker wall system
...
it works!
now for the other walls.
2023-06-29 00:39:55 +01:00
VorTechnix
8d9f51de35
handler patch
...
I should have done this in a branch lol
2023-05-28 08:45:39 -07:00
VorTechnix
8de2892907
added setting_handler
2023-05-24 16:02:51 -07:00
258a9c1cde
implement initial //spline, but it isn't finished yet
2022-09-25 01:18:40 +01:00
38a72468d9
utils: rename folder tables → table to match API
2022-09-24 13:41:44 +01:00
47b1c44b38
Upgrade position system, add initial position markers
2022-09-19 23:18:49 +01:00
44e6ba8e3c
Upgrade more old vector stuff in the corners
2022-09-19 18:54:53 +01:00
58a7629ea1
Initial move of utils wea → wea_c
...
Here we go...!
2022-09-18 16:45:08 +01:00
17d92870b3
Add EventEmitter support to wea_c.pos
2022-09-18 16:06:23 +01:00
817387d7f2
Port EventEmitter from Node.js
2022-09-18 15:57:23 +01:00
fa62864e16
implement multi-point wand
2022-09-18 15:30:53 +01:00
9932852053
core: add position manager system
...
it doesn't save them to disk, but that would not be too difficult to add
2022-09-18 03:25:49 +01:00
1750d62d3c
core: add register_alias command
...
it is backwards-compatible with worldedit.register_command
2022-05-19 22:50:53 +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
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
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
VorTechnix
7b651d7abe
Fix typo worldeditadditions_core/init.lua
...
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-07-15 13:47:37 -07:00
VorTechnix
ba93cb7bea
added WEA Core
2021-06-29 18:53:14 -07:00