Commit Graph

120 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
2840ba4dea
bump version, prepare for release 2023-07-31 18:24:32 +01:00
Starbeamrainbowlabs
564785ddf6
When any segment of the marker wall is punched, unmark the entire wall
Fixes #102
2023-07-31 18:22:00 +01:00
Starbeamrainbowlabs
a465a50244
Bump version to 1.14.3 2023-07-18 00:35:19 +01:00
Starbeamrainbowlabs
5505575cf9
Fix regions not remembering their state and being unresettable
This fix means that wwe require minetest 5.2 as a minimum rather than 5.1
ref https://rubenwardy.com/minetest_modding_book/en/quality/common_mistakes.html#be-careful-when-storing-objectrefs-ie-players-or-entities
2023-07-18 00:35:07 +01:00
Starbeamrainbowlabs
ee4b3e09bb
Bump version 2023-07-12 20:30:13 +01:00
Starbeamrainbowlabs
5baa72cf6f
core/run_command: guard against invalid potential_changes 2023-07-11 19:12:04 +01:00
Starbeamrainbowlabs
7f4798432e
Bump version! 2023-07-11 18:16:02 +01:00
Starbeamrainbowlabs
5c632df658
Override basic selection commands
//mark
//unmark
//pos1 //1
//pos2 //2
//reset
Also add //pos <index>
2023-07-10 20:17:28 +01:00
Starbeamrainbowlabs
693fc145d5
pos: avoid calling worldedit.marker_update unless necessary 2023-07-10 19:25:48 +01:00
Starbeamrainbowlabs
f2214150f2
Update minetest.chatcommands → minetest.registered_chatcommands 2023-07-09 19:49:38 +01:00
Starbeamrainbowlabs
3bfc62be24
Make //unmark WEA-aware
Backwards compatibility with WE is maintained.
2023-07-09 19:44:31 +01:00
Starbeamrainbowlabs
e916057133
safe_region: update comment
We need @value
2023-07-07 01:31:06 +01:00
VorTechnix
5cf155772d Merge branch 'main' of https://github.com/sbrl/Minetest-WorldEditAdditions 2023-07-04 14:50:17 -07:00
VorTechnix
55ddc16b2e small fix to file:read error 2023-07-04 14:50:14 -07:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
5d18f6d0db
comment debug 2023-07-04 22:00:28 +01:00
Starbeamrainbowlabs
7bdefc8d42
split_shell: comment out debug 2023-07-04 19:10:05 +01:00
Starbeamrainbowlabs
02ad40eaae
split_shell: add automated tests, and fix an obscure bug 2023-07-04 19:04:11 +01:00
Starbeamrainbowlabs
047033a6ef
comments: update @class definitions 2023-07-02 19:03:46 +01:00
Starbeamrainbowlabs
8981bc4baa
weac.pos: update comments 2023-07-02 17:48:43 +01:00
Starbeamrainbowlabs
464ea53465
vector3: fix comments 2023-07-02 17:03:39 +01:00
Starbeamrainbowlabs
61403108d6
disable a bunch of debug logging 2023-07-01 02:46:08 +01:00
Starbeamrainbowlabs
92fd201b42
pos_marker_lua: add last_reset to properly clear huge regions 2023-07-01 01:11:56 +01:00
Starbeamrainbowlabs
b3f7ae9d7c
pos_marker_wall: add support for customising sides displayed
...it's not exposed in the UI yet tho.
2023-06-30 02:08:46 +01:00
Starbeamrainbowlabs
277da67dda
marker wall: got it! 2023-06-29 01:49:15 +01:00
Starbeamrainbowlabs
a173edfbc4
wall markers: it shouldn't work, but it does
....I'll take it!
2023-06-29 01:22:50 +01:00
Starbeamrainbowlabs
c622fb554f
Hook in the new marker wall system
it works!
now for the other walls.
2023-06-29 00:39:55 +01:00
Starbeamrainbowlabs
f7530da608
initial pos marker wall for +x only
it's not hooked up yet.
2023-06-27 21:45:48 +01:00
Starbeamrainbowlabs
61e04952e0
move pos marker textures. will this help #90? 2023-06-27 20:16:04 +01:00
Starbeamrainbowlabs
141ea2f0a7
For compatibility, ensure that we also clear the legacy worldedit region too 2023-06-27 20:00:07 +01:00
Starbeamrainbowlabs
bfecc2da80
Merge branch 'main' of github.com:sbrl/Minetest-WorldEditAdditions 2023-06-27 19:40:12 +01:00
Starbeamrainbowlabs
53bbe14c63
update cloud wand to use new wea_c.pos interface 2023-06-27 19:39:57 +01:00
VorTechnix
8d9f51de35 handler patch
I should have done this in a branch lol
2023-05-28 08:45:39 -07:00
VorTechnix
67baee7465 fixed missing underscore 2023-05-28 08:37:57 -07:00
VorTechnix
8de2892907 added setting_handler 2023-05-24 16:02:51 -07:00
VorTechnix
16afb9eddc Create setting_handler.lua 2023-05-24 14:44:38 -07:00
Starbeamrainbowlabs
d1b9d1c1c1
vector3.round_dp(): todo 2023-01-21 03:27:02 +00:00
Starbeamrainbowlabs
392708b190
initial wea.revolve() implementation
....but it's not tested or hooked up yet.
Next up: a chat command definition so we can test it.
2023-01-21 03:24:44 +00:00
Starbeamrainbowlabs
87812679d9
table_reduce: typo 2023-01-21 02:34:47 +00:00
Starbeamrainbowlabs
2ecc8cb2d7
add implementation of array.reduce() from JS 2023-01-21 02:32:09 +00:00
Starbeamrainbowlabs
66227153d0
add wea_c.range(min, max, step) 2023-01-21 01:32:17 +00:00
Starbeamrainbowlabs
9c66288827
Vector3: add rotate3d.
Thanks to GitHub Copilot for the implementation, it just needed
improving around the edges to make it work perfectly.
For the record, copilot generated it in JS, and then
I manually ported it to Lua.
If the Copilot code looks sufficiently similar to your own source,
get in touch and I will give you full credit.
2023-01-20 23:43:07 +00:00
Starbeamrainbowlabs
53609ac83e
vector3: .volume() is already implemented
remove todo comment
2023-01-17 00:08:13 +00:00
Starbeamrainbowlabs
cfc1fe3639
huh, weird. evidently we need all the checks ever
ref #88
2023-01-11 02:32:01 +00:00
Starbeamrainbowlabs
97bb896829
fixup, ref #88 2023-01-11 02:25:41 +00:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
c319be5840
fix //spline :D 2022-09-25 17:07:37 +01:00
Starbeamrainbowlabs
fe30fd5c51
add comment 2022-09-25 16:16:03 +01:00
Starbeamrainbowlabs
2748f4cdfa
//spline: plot chaikin curve 2022-09-25 15:30:16 +01:00
Starbeamrainbowlabs
9a4b4beb76
EventEmitter: add debug printing (disabled by default) 2022-09-25 15:03:16 +01:00