Commit graph

405 commits

Author SHA1 Message Date
c712b502e9
//rotate+: typo in description 2024-06-04 22:43:09 +01:00
34e8f53de6
//set+: remove debug logging 2024-05-25 15:25:29 +01:00
4728dad02a
Add //ndef 2024-05-25 15:10:09 +01:00
170ec01bed
Alias //napply to //nodeapply 2024-05-25 14:48:38 +01:00
ffdd1b65b3
Implement //set+
This is on the road to //orient and later stair/etc support in //rotate :D
2024-05-25 14:45:56 +01:00
2f98b86c5f
movetool, //speed: add optdepend on pova
pova is a physics_override manager mod, so it's important we have support for it to ensure we play nice with other mods
Ref https://content.minetest.net/packages/TenPlus1/pova/
2023-12-30 13:12:10 +00:00
0a9c125316
Implement //speed 2023-12-26 13:37:19 +00:00
b56bd0d84b
//rotate: fix some minor keyword issues, update reference & changelog
At some point we need to move the parser to allow for a `player` reference for relative keywords.... or else pass them through somehow
2023-12-16 01:11:25 +00:00
54c66e0dc9
//rotate: fix bug in which regions are accidentally cut off 2023-12-16 00:35:52 +00:00
0ac76bc694
//rotate: update pos1/pos2 to bound target region
...unfortunately this has exposed a nasty bug!
2023-12-16 00:01:34 +00:00
e6bf2a10ee
//nodeapply: fix crash on unknown node name
oops, we normalised the node name but then passed the un-normalised node name to NodeListMatcher >_<
2023-12-15 03:11:40 +00:00
9f8cb4d5da
//rotate: add comments on what needs doing to wrangle it into shape 2023-12-14 00:31:12 +00:00
27aa3a9c8f
It works!! ....but the output seems off when non 90° increments
...probably due to the wiping and rotation overlapping
2023-12-13 23:20:32 +00:00
7d29453699
plug in new //rotate+ logic
...but it doesn't work yet
currently it crashes with a variety of interesting and colourful error messages
working on debugging it now, but it's gonna take a moment
2023-12-13 23:05:00 +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
74a8996afc
//rotate: start implementing a frontend
This is more complicated than I expected.
We've got a new parser and a state machine for the args, but we now need to put these values to use and pass them to worldeditadditions.rotate().
NOTE TO SELF: BE REAL CAREFUL WITH ORIGIN HANDLING.
We MUST NOT pull from sorted pos1/2 by accident! Though I doubt this would be an issue since weac.pos.get(player_name, i) is a thing
2023-12-10 03:16:28 +00:00
757f6de3b5
nodeapply: fix luacheck errors 2023-11-28 00:32:47 +00:00
490db59843
//nodeapply: fix @groups support 2023-11-27 23:48:30 +00:00
78844484f8
Add //ngroups, which lists the groups a given node is a member of 2023-11-27 23:44:06 +00:00
28ed864c84
Added //nodeapply to filter cmd changes via a nodelist 2023-11-26 22:20:05 +00:00
448cf0d674
//unmark: add optional all argument 2023-08-12 13:20:24 +01:00
fadf4ed06c
Merge branch 'fix-markerdupes' into dev 2023-08-01 00:35:44 +01:00
aec204de8e
add //listentities 2023-08-01 00:07:10 +01:00
1aa3071154
pos1-2: convert to unix line endings 2023-07-13 00:14:07 +01:00
VorTechnix
7766af8a8a pos1-2 better implementation (used round) 2023-07-12 09:18:15 -07:00
VorTechnix
d2fb6db3d0 emergency patch for pos1-2 not aligned to node 2023-07-12 08:43:15 -07:00
ffc90ed179
typo 2023-07-11 19:30:43 +01:00
95a82add86
//metaball: address a number of stability issues 2023-07-11 19:14:59 +01:00
177aea02a8
//metaball: fix crash 2023-07-11 18:55:34 +01:00
f7429fa40e
//move+, //copy+ override //move, //copy by default 2023-07-10 21:12:54 +01:00
5c632df658
Override basic selection commands
//mark
//unmark
//pos1 //1
//pos2 //2
//reset
Also add //pos <index>
2023-07-10 20:17:28 +01:00
f2214150f2
Update minetest.chatcommands → minetest.registered_chatcommands 2023-07-09 19:49:38 +01:00
3bfc62be24
Make //unmark WEA-aware
Backwards compatibility with WE is maintained.
2023-07-09 19:44:31 +01:00
3194a2c53e
finish updating comments
@module is now banished to the history booked!

Phew, I'm pooped.
2023-07-07 01:25:42 +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
9b4a777a67
//scale, //subdivide, //spop: use new position api 2023-07-02 02:02:42 +01:00
9be7854297
//move+, //copy+: add integrated airapply
fixes #97
2023-07-02 01:52:25 +01:00
f5e2ada5bd
//sculpt: put height at the end 2023-07-01 02:38:14 +01:00
46587164bd
//sculpt: tweak the default settings
I got the idea from an MC video about voxelsniper. Surprisingly it works rather well :P
2023-06-29 03:19:30 +01:00
1c163186b6
//count: improve formatting of output 2023-05-24 22:20:52 +01:00
7cb1160e65
//multi: fix luacheck error 2023-05-24 22:00:16 +01:00
VorTechnix
b88cec64d4 Fix bad logic in parts check 2023-05-24 13:03:41 -07:00
e942e4fb2f
Finish initial implementation of //revolve
it's not quite done yet - got docs to go
2023-02-12 01:40:29 +00:00
bc0276875d
//spline: update params description 2022-09-25 22:55:50 +01:00
c319be5840
fix //spline :D 2022-09-25 17:07:37 +01:00
2748f4cdfa
//spline: plot chaikin curve 2022-09-25 15:30:16 +01:00
258a9c1cde
implement initial //spline, but it isn't finished yet 2022-09-25 01:18:40 +01:00
d9877b8c6c
more crash fixes 2022-09-19 19:42:22 +01:00
6c8ce90593
Fix crashes in wireframe commands 2022-09-19 18:59:45 +01:00
44e6ba8e3c
Upgrade more old vector stuff in the corners 2022-09-19 18:54:53 +01:00
073d621629
test geometry commands 2022-09-19 18:30:43 +01:00
4be7bf33d0
//ellipsoid: fix crash 2022-09-19 18:10:06 +01:00
9dc8165464
fixup 2022-09-19 17:34:53 +01:00
5ec877f2b7
strip remaining worldeditadditions.vector.tostring calls 2022-09-19 17:33:02 +01:00
2af1226b49
port everything else
phew!
2022-09-19 01:16:22 +01:00
21c5b9d483
Upgrade the last of the commands o/ 2022-09-18 22:46:20 +01:00
6102a1adf5
Upgrade meta commands 2022-09-18 22:37:26 +01:00
4a56d45c4b
Upgrade all selection commands 2022-09-18 22:20:04 +01:00
c3e8df3a9e
next batch of upgraded commands 2022-09-18 21:39:48 +01:00
459e15b5c2
finish upgrading top-level commands 2022-09-18 21:30:28 +01:00
927f2f90f8
//hollow: upgrade; fix nodes_needed 2022-09-18 21:05:13 +01:00
2f4c333ca0
//layers: upgrade 2022-09-18 21:05:03 +01:00
8d6db6d3f5
upgrade 7 more commands 2022-09-18 20:58:28 +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
2b88fa867e
fix more warnings 2022-09-18 16:33:37 +01:00
64ff61a4d2
Fix override aliases 2022-05-24 02:24:43 +01:00
af7d39110b
//spiral2: fix params description 2022-05-24 01:05:09 +01:00
9bfb428c3f
add override aliases behind a setting 2022-05-24 00:11:22 +01:00
1750d62d3c
core: add register_alias command
it is backwards-compatible with worldedit.register_command
2022-05-19 22:50:53 +01:00
8de49ac0af
register commands with worldeditadditions, not worldedit 2022-05-19 22:10:09 +01:00
3bcca82b43
//maze, //maze3d: registere with our new WEA core rather than WorldEdit 2022-05-19 02:43:19 +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
10f350c967
Delete copied code
Given licence incompatibilities, we can't really copy code from 
WorldEdit
2022-05-16 21:21:15 +01:00
9d3a4ce263
refactor aliases into a separate file 2022-05-16 20:33:04 +01:00
98909f0fae
//metaball: bugfix
It works!
2022-05-16 20:14:31 +01:00
722e62bae0
Finish initial //metaballs command implementation, but it's untested 2022-05-16 01:21:09 +01:00
3311d80a2a
Rework metaballs backend
We need a way of defining metaballs per-player. Our solution to this is 
a custom in-memory per-player storage system. The reason for this is 
because just a position (e.g. that provided by pos1/pos2) is not enough 
- we need a radius as well.
2022-05-16 01:01:01 +01:00
0d7922d747
typo 2022-05-16 00:29:50 +01:00
03fb033b70
//dome+: add option to make the resulting dome hollow inside 2022-05-15 15:38:50 +01:00
04e971e12d
Add //dome+
Improvements oveer //dome:

 - Allow customising the direction it points in
 - Allow multiple pointing directions at once to give the effect of 
creating multiple domes on top of each other in a single command (it's 
actually implemented as an implicit union, and doesn't actually call 
wea.dome more than once).
2022-05-15 15:27:43 +01:00
a4237dcca5
depends.txt → mod.conf 2022-05-01 17:07:30 +01:00
3d12345972
//smake: fix luacheck warnings 2022-01-03 13:28:43 +00:00
4c7bb6a980
//sfactor: fix luacheck warnings; fix crash 2022-01-03 13:26:51 +00:00
81773c8556
//forest: use local wea alias 2022-01-02 17:17:05 +00:00
6a1fd707d4
//sculpt: fix crash when pos2 is not defined 2022-01-02 14:45:46 +00:00
98bf0ef386
//maze: Fix seed when generating multiple mazes in the same second 2021-12-31 14:02:53 +00:00
9df5ba6fe5
//sculpt, //sculptlist: fix naming of static brushes; prettify output 2021-12-31 01:43:53 +00:00
ef2dbc1806
Reorder brushes
circle_soft1 is now the default brush, as it's awesome
2021-12-28 19:07:02 +00:00
732010a8ee
//layers: comment debug logging 2021-12-28 18:37:54 +00:00
db5d25d1de
//convolve: update matrix & kernel to use Vector3
A lot of the maths remains in the old style, but at least it doesn't 
take a zero-indexed table
2021-12-28 18:31:46 +00:00
17cc91ba1c
//sculpt: implement circle brush 2021-12-28 17:45:20 +00:00
a2a9108d36
//sculpt: fix a bunch of bugs
including, but certainly not limited to, wea.make_heightmap now returns 
a Vector3 instance for heightmap_size
2021-12-28 15:22:51 +00:00
b0c3d34dd0
Implement apply function for VoxelManipulators 2021-12-28 02:17:26 +00:00
75ffa81b7e
bonemeal: tidy up split_shell call 2021-12-28 01:46:12 +00:00
462570f2eb
//bonemeal: bugfix argument parsing 2021-12-28 01:26:53 +00:00
d657ce1abe
//sculptlist: fix bugs. It works! 2021-12-27 19:36:57 +00:00
10c9d6f886
Start implementing a //sculpt command, but it's not finished or tested yet.
First up: test that our initial basic dynamic brushes work as intended 
with the //sculptlist [preview] command.

Also on the todo list: document it in the chat command reference!
2021-12-27 03:11:52 +00:00
af0e54cfdf
//maze: update to use Vector3 2021-12-26 22:48:37 +00:00
b962ace8a8
//maze, //maze3d: Fix crash if no arguments are specified 2021-12-26 22:45:37 +00:00
14ba42fa4a
//move+ add commented otu alias 2021-11-13 12:49:21 +00:00