Commit Graph

58 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
38a72468d9
utils: rename folder tables → table to match API 2022-09-24 13:41:44 +01:00
Starbeamrainbowlabs
bc5dc6b2b4
write tests for parse.map 2022-09-24 03:15:44 +01:00
Starbeamrainbowlabs
84226a9909
write tests for parse.chance+seed 2022-09-24 02:51:56 +01:00
Starbeamrainbowlabs
2473c1ce41
Implement Vector3.volume () 2022-09-24 02:33:10 +01:00
VorTechnix
98a74c63dc fixed colour offset bug and refactored hex values 2022-09-20 08:59:49 -07:00
Starbeamrainbowlabs
7f2be74580
position markers: colourise numbers 2022-09-20 03:21:55 +01:00
Starbeamrainbowlabs
fd1e3fb20f
fix crash on punching new position marker 2022-09-20 02:17:11 +01:00
Starbeamrainbowlabs
7423bee714
pos: add set_pos1 and set_pos2 convenience functions 2022-09-19 23:40:42 +01:00
Starbeamrainbowlabs
e2e235ce6d
pos_marker_manage: listen on clear event 2022-09-19 23:35:49 +01:00
Starbeamrainbowlabs
9910bfad44
pos_marker_manage: listen on the set() event 2022-09-19 23:33:38 +01:00
Starbeamrainbowlabs
47b1c44b38
Upgrade position system, add initial position markers 2022-09-19 23:18:49 +01:00
Starbeamrainbowlabs
d9877b8c6c
more crash fixes 2022-09-19 19:42:22 +01:00
Starbeamrainbowlabs
44e6ba8e3c
Upgrade more old vector stuff in the corners 2022-09-19 18:54:53 +01:00
Starbeamrainbowlabs
1024b19629
fix startup crashes; crashes in cloudwand 2022-09-19 17:27:59 +01:00
Starbeamrainbowlabs
7a688969b2
fix tests 2022-09-19 01:31:47 +01:00
Starbeamrainbowlabs
41e3ebc7dd
Upgrade all main commands 2022-09-19 00:18:03 +01:00
Starbeamrainbowlabs
4a56d45c4b
Upgrade all selection commands 2022-09-18 22:20:04 +01:00
Starbeamrainbowlabs
e167fb1536
start working on converting everything to the new utils location
after we've done this, we'll rename utils → lib
2022-09-18 17:59:57 +01:00
Starbeamrainbowlabs
6f3118036d
Update utils 2022-09-18 17:32:13 +01:00
Starbeamrainbowlabs
58a7629ea1
Initial move of utils wea → wea_c
Here we go...!
2022-09-18 16:45:08 +01:00
Starbeamrainbowlabs
cf0be6c1fb
EventEmitter: document 2022-09-18 16:19:52 +01:00
Starbeamrainbowlabs
17d92870b3
Add EventEmitter support to wea_c.pos 2022-09-18 16:06:23 +01:00
Starbeamrainbowlabs
817387d7f2
Port EventEmitter from Node.js 2022-09-18 15:57:23 +01:00
Starbeamrainbowlabs
fa62864e16
implement multi-point wand 2022-09-18 15:30:53 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
08d40c8780
fix warnings 2022-09-17 23:42:46 +01:00
Starbeamrainbowlabs
64ff61a4d2
Fix override aliases 2022-05-24 02:24:43 +01:00
Starbeamrainbowlabs
1750d62d3c
core: add register_alias command
it is backwards-compatible with worldedit.register_command
2022-05-19 22:50:53 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
c53fb32d2b
core: fix register_command and run_command 2022-05-19 02:40:05 +01:00
Starbeamrainbowlabs
95c0e96da9
core: fix luacheck errors 2022-05-19 02:32:17 +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
c60b5c5bad
core: fix bugs, enable! 2022-05-19 01:45:36 +01:00
Starbeamrainbowlabs
4306035ef2
core: implement safe_region 2022-05-18 02:31:08 +01:00
Starbeamrainbowlabs
8f6c3e020f
fixup 2022-05-17 01:04:51 +01:00
Starbeamrainbowlabs
d21f7ca5fb
core: minor fixes 2022-05-17 01:04:38 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
4ab386788d
fixup 2022-05-16 23:41:09 +01:00
Starbeamrainbowlabs
9bdd7d2a25
core: add run_command shim, but it's not finished yet 2022-05-16 23:40:17 +01:00
Starbeamrainbowlabs
fa9b511e33
core: finish initial register_command 2022-05-16 23:40:03 +01:00
Starbeamrainbowlabs
19c8d0e7b9
core: make options.nodes_needed optional 2022-05-16 23:33:22 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
d3119ee54a
Delete more copied code 2022-05-16 22:37:10 +01:00
Starbeamrainbowlabs
10f350c967
Delete copied code
Given licence incompatibilities, we can't really copy code from 
WorldEdit
2022-05-16 21:21:15 +01:00
Starbeamrainbowlabs
a4237dcca5
depends.txt → mod.conf 2022-05-01 17:07:30 +01:00
Starbeamrainbowlabs
3f48832fff
Merge branch 'main' into VorTechnix 2021-11-07 14:31:01 +00:00
Starbeamrainbowlabs
12371a472d
we_core: fix bugs, add more useful error messages 2021-11-07 13:35:40 +00:00
Starbeamrainbowlabs
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