a173edfbc4
wall markers: it shouldn't work, but it does
...
....I'll take it!
2023-06-29 01:22:50 +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
f7530da608
initial pos marker wall for +x only
...
it's not hooked up yet.
2023-06-27 21:45:48 +01:00
61e04952e0
move pos marker textures. will this help #90 ?
2023-06-27 20:16:04 +01:00
141ea2f0a7
For compatibility, ensure that we also clear the legacy worldedit region too
2023-06-27 20:00:07 +01:00
53bbe14c63
update cloud wand to use new wea_c.pos interface
2023-06-27 19:39:57 +01:00
cfc1fe3639
huh, weird. evidently we need all the checks ever
...
ref #88
2023-01-11 02:32:01 +00:00
97bb896829
fixup, ref #88
2023-01-11 02:25:41 +00:00
58dd3ea875
Bugfix new marker system: properly check that the lua entity is a thing
...
Missing ()
Might fix #88 , but needs testing.
2023-01-11 02:18:06 +00:00
2748f4cdfa
//spline: plot chaikin curve
2022-09-25 15:30:16 +01:00
9806828760
core pos: fix worldedit compat
2022-09-25 15:02:48 +01:00
888e4b0f78
saferegion: fix missing return
2022-09-25 14:39:57 +01:00
5d9dee9523
pos: fix warning
2022-09-25 02:03:44 +01:00
268e123221
run_command require_pos: also check WEA pos subsystem
2022-09-25 02:02:23 +01:00
363acde496
core pos: make function names actually make sense
2022-09-25 01:59:59 +01:00
7a14e8a590
comment all the debug prints
2022-09-25 01:57:41 +01:00
f998110303
core pos: Add (complicated) compat w/worldedit
2022-09-25 01:43:30 +01:00
285572e16b
saferegion: allow nodes_needed to return string
2022-09-25 01:19:36 +01:00
a768378dfd
core: add transparent WorldEdit compatibility to the position subsystem
2022-09-25 01:07:48 +01:00
c2d19105ed
get_pos_all → get_all
2022-09-24 23:50:45 +01:00
3583de4731
wea_c.pos: add get_bounds
...
....though tbh, I think this should go elsewhere.
2022-09-24 23:48:36 +01:00
VorTechnix
98a74c63dc
fixed colour offset bug and refactored hex values
2022-09-20 08:59:49 -07:00
7f2be74580
position markers: colourise numbers
2022-09-20 03:21:55 +01:00
fd1e3fb20f
fix crash on punching new position marker
2022-09-20 02:17:11 +01:00
7423bee714
pos: add set_pos1 and set_pos2 convenience functions
2022-09-19 23:40:42 +01:00
e2e235ce6d
pos_marker_manage: listen on clear event
2022-09-19 23:35:49 +01:00
9910bfad44
pos_marker_manage: listen on the set() event
2022-09-19 23:33:38 +01:00
47b1c44b38
Upgrade position system, add initial position markers
2022-09-19 23:18:49 +01:00
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
58a7629ea1
Initial move of utils wea → wea_c
...
Here we go...!
2022-09-18 16:45:08 +01:00
cf0be6c1fb
EventEmitter: document
2022-09-18 16:19:52 +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
08d40c8780
fix warnings
2022-09-17 23:42:46 +01:00
64ff61a4d2
Fix override aliases
2022-05-24 02:24:43 +01:00
1750d62d3c
core: add register_alias command
...
it is backwards-compatible with worldedit.register_command
2022-05-19 22:50:53 +01:00
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
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