Commit Graph

325 Commits

Author SHA1 Message Date
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
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
3194a2c53e
finish updating comments
@module is now banished to the history booked!

Phew, I'm pooped.
2023-07-07 01:25:42 +01: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
9b4a777a67
//scale, //subdivide, //spop: use new position api 2023-07-02 02:02:42 +01:00
Starbeamrainbowlabs
9be7854297
//move+, //copy+: add integrated airapply
fixes #97
2023-07-02 01:52:25 +01:00
Starbeamrainbowlabs
f5e2ada5bd
//sculpt: put height at the end 2023-07-01 02:38:14 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
1c163186b6
//count: improve formatting of output 2023-05-24 22:20:52 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
e942e4fb2f
Finish initial implementation of //revolve
it's not quite done yet - got docs to go
2023-02-12 01:40:29 +00:00
Starbeamrainbowlabs
bc0276875d
//spline: update params description 2022-09-25 22:55:50 +01:00
Starbeamrainbowlabs
c319be5840
fix //spline :D 2022-09-25 17:07:37 +01:00
Starbeamrainbowlabs
2748f4cdfa
//spline: plot chaikin curve 2022-09-25 15:30:16 +01:00
Starbeamrainbowlabs
258a9c1cde
implement initial //spline, but it isn't finished yet 2022-09-25 01:18:40 +01:00
Starbeamrainbowlabs
d9877b8c6c
more crash fixes 2022-09-19 19:42:22 +01:00
Starbeamrainbowlabs
6c8ce90593
Fix crashes in wireframe commands 2022-09-19 18:59:45 +01:00
Starbeamrainbowlabs
44e6ba8e3c
Upgrade more old vector stuff in the corners 2022-09-19 18:54:53 +01:00
Starbeamrainbowlabs
073d621629
test geometry commands 2022-09-19 18:30:43 +01:00
Starbeamrainbowlabs
4be7bf33d0
//ellipsoid: fix crash 2022-09-19 18:10:06 +01:00
Starbeamrainbowlabs
9dc8165464
fixup 2022-09-19 17:34:53 +01:00
Starbeamrainbowlabs
5ec877f2b7
strip remaining worldeditadditions.vector.tostring calls 2022-09-19 17:33:02 +01:00
Starbeamrainbowlabs
2af1226b49
port everything else
phew!
2022-09-19 01:16:22 +01:00
Starbeamrainbowlabs
21c5b9d483
Upgrade the last of the commands o/ 2022-09-18 22:46:20 +01:00
Starbeamrainbowlabs
6102a1adf5
Upgrade meta commands 2022-09-18 22:37:26 +01:00
Starbeamrainbowlabs
4a56d45c4b
Upgrade all selection commands 2022-09-18 22:20:04 +01:00
Starbeamrainbowlabs
c3e8df3a9e
next batch of upgraded commands 2022-09-18 21:39:48 +01:00
Starbeamrainbowlabs
459e15b5c2
finish upgrading top-level commands 2022-09-18 21:30:28 +01:00
Starbeamrainbowlabs
927f2f90f8
//hollow: upgrade; fix nodes_needed 2022-09-18 21:05:13 +01:00
Starbeamrainbowlabs
2f4c333ca0
//layers: upgrade 2022-09-18 21:05:03 +01:00
Starbeamrainbowlabs
8d6db6d3f5
upgrade 7 more commands 2022-09-18 20:58:28 +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
2b88fa867e
fix more warnings 2022-09-18 16:33:37 +01:00
Starbeamrainbowlabs
64ff61a4d2
Fix override aliases 2022-05-24 02:24:43 +01:00
Starbeamrainbowlabs
af7d39110b
//spiral2: fix params description 2022-05-24 01:05:09 +01:00
Starbeamrainbowlabs
9bfb428c3f
add override aliases behind a setting 2022-05-24 00:11:22 +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
8de49ac0af
register commands with worldeditadditions, not worldedit 2022-05-19 22:10:09 +01:00
Starbeamrainbowlabs
3bcca82b43
//maze, //maze3d: registere with our new WEA core rather than WorldEdit 2022-05-19 02:43:19 +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
10f350c967
Delete copied code
Given licence incompatibilities, we can't really copy code from 
WorldEdit
2022-05-16 21:21:15 +01:00
Starbeamrainbowlabs
9d3a4ce263
refactor aliases into a separate file 2022-05-16 20:33:04 +01:00
Starbeamrainbowlabs
98909f0fae
//metaball: bugfix
It works!
2022-05-16 20:14:31 +01:00
Starbeamrainbowlabs
722e62bae0
Finish initial //metaballs command implementation, but it's untested 2022-05-16 01:21:09 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
0d7922d747
typo 2022-05-16 00:29:50 +01:00
Starbeamrainbowlabs
03fb033b70
//dome+: add option to make the resulting dome hollow inside 2022-05-15 15:38:50 +01:00
Starbeamrainbowlabs
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