Commit Graph

1028 Commits

Author SHA1 Message Date
Starbeamrainbowlabs eaabf40301
Add commented out alias overrides
Eventually, worldedit *will* become an optional dependency. The
rationale for this is that WorldEditAdditions is outgrowing the core
WorldEdit API, and we want to add new features such as toggling
safe_region on and off with a chat command and other such goodies.

Merging the 2 mods is not something that has been discussed (due
mainly because I'm far too nervous to even ask the question in the
first place), but the 2 codebases are fundamentally different (and
for good reason, as WorldEditAdditions splits code over many different
files to improve maintainability and scalability) so this would
be a significant undertaking.

At no point however will WorldEditAdditions become incompatible
with WorldEdit itself. The 2 mods should happily co-exist with
one another (so long as you keep them both updated of course).
2021-11-11 02:54:44 +00:00
Starbeamrainbowlabs acb1ef1a0a
//copy+: write docs 2021-11-11 02:36:37 +00:00
Starbeamrainbowlabs d560583121
Make //copy+ a thing using the new wea.parse.axes 2021-11-11 02:20:37 +00:00
Starbeamrainbowlabs 9729e82e35
parse_axes: support "true" as alias to activate mirrorring submode 2021-11-11 01:50:12 +00:00
Starbeamrainbowlabs 94f675ddce
parse_axes: add mirroring function 2021-11-11 01:47:22 +00:00
Starbeamrainbowlabs 41604d19ac
player.lua: tidy up comments 2021-11-11 01:33:08 +00:00
Starbeamrainbowlabs 43ea6e34c1
fixup 2021-11-10 02:07:34 +00:00
Starbeamrainbowlabs e82440a096
Add deep copy table function 2021-11-10 02:07:13 +00:00
Starbeamrainbowlabs 35970b31b3
Implement tests for parse_axes 2021-11-08 00:47:35 +00:00
Starbeamrainbowlabs 4fb59a160f
parse_relative_axis_name: write tests 2021-11-08 00:16:51 +00:00
Starbeamrainbowlabs be81e6dfaa
parse_abs_axis_name: add tests for multiple axes at a time 2021-11-07 18:06:05 +00:00
Starbeamrainbowlabs 96c3ede365
parse_axes: bugfix, start writing tests 2021-11-07 18:04:18 +00:00
Starbeamrainbowlabs 3f5fc45e1a
docs: add new image to site 2021-11-07 17:45:03 +00:00
Starbeamrainbowlabs 2babba9c55
first pass on writing an advanced axes parser, but it's untested 2021-11-07 17:14:11 +00:00
Starbeamrainbowlabs f569358229
Merge pull request #71 from sbrl/VorTechnix
Merge Vortechnix's branch
2021-11-07 16:10:15 +00:00
VorTechnix 46bd5d4fce Merge branch 'VorTechnix' of https://github.com/sbrl/Minetest-WorldEditAdditions into VorTechnix 2021-11-07 07:36:45 -08:00
VorTechnix 54268431b5 added missing quotation marks 2021-11-07 07:36:43 -08:00
VorTechnix f7d4c5c6ac
Fix shadowing error 2021-11-07 07:04:07 -08:00
Starbeamrainbowlabs 43a720bec4
GitHub Actions: shorten build output a bit 2021-11-07 14:52:35 +00:00
Starbeamrainbowlabs 579e040bb1
GitHub Actions: Make LuaCheck build fail if LuaCheck errors are encountered
We have fixed our backlog of LuaCheck errors, so we should make LuaCheck 
errors fail the build from now on to ensure new issues don't sneak in.
2021-11-07 14:49:39 +00: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 3f1f3b5628
reference: mark a thing in bold 2021-11-07 12:49:13 +00:00
Starbeamrainbowlabs a5b32bc2d9
worldeditadditions_core: add README 2021-11-07 12:48:27 +00:00
Starbeamrainbowlabs 3eb59633b7
README: fixup 2021-11-07 01:02:36 +00:00
Starbeamrainbowlabs ea8a91568e
//spiral2: fix crash in parser 2021-10-31 19:48:51 +00:00
Starbeamrainbowlabs 33a2ff1ed4
//spiral2 circle: round down 2021-10-31 19:48:40 +00:00
Starbeamrainbowlabs f5133d287b
Default to square spirals 2021-10-31 17:11:24 +00:00
Starbeamrainbowlabs 21902b8512
//spiral2: update docs 2021-10-31 17:10:22 +00:00
Starbeamrainbowlabs 9d7000baed
Add circular spirals :D 2021-10-31 16:59:52 +00:00
Starbeamrainbowlabs e610eb7a92
//spiral2: fix bugs 2021-10-31 16:42:12 +00:00
Starbeamrainbowlabs dae59b63db
//walls: Prevent crash if not parameters are specified by defaulting to dirt as the replace_node 2021-10-31 16:41:52 +00:00
Starbeamrainbowlabs d3a8efb9b8
Add //spiral2, write glue for square spirals
Next up: circular spirals!
2021-10-31 15:11:01 +00:00
Starbeamrainbowlabs a3f26200a0
init: call spiral_square 2021-10-30 02:47:19 +01:00
Starbeamrainbowlabs 0bcd82a11c
Merge branch 'main' of github.com:sbrl/Minetest-WorldEditAdditions into main 2021-10-30 02:46:33 +01:00
Starbeamrainbowlabs ad789d500a
Implement spiral square, but it's untested.
It would also be awesome to customise the directional plane upon which 
the spiral is generated. It might actually be possible without melting 
my brain I think....


Looking at http://www.mathematische-basteleien.de/spiral.htm it should 
be possible to go this for circles too. But there's 1 particular 
function in Vector2.js that we need to port to Vector3.lua that we 
haven't yet which we'd need for that.....
2021-10-30 02:46:25 +01:00
Starbeamrainbowlabs 5fca3e4322
Fix bonemeal mod detection to look for the global bonemeal, not whether the bonemeal mod name has been loaded 2021-10-25 15:18:03 +01:00
Starbeamrainbowlabs 84741f5cb9
ellipsoid2: remove todo 2021-10-23 14:32:44 +01:00
Starbeamrainbowlabs 2aa15116e2
docs: Apparently some web servers don't like % characters in filepaths. Wierd! 2021-10-17 03:04:50 +01:00
Starbeamrainbowlabs 6eaa3799d3
docs: massively improve image conversion system
more formats, memoizing, custom <picture> element generation, async 
image conversion to optimise CPU usage, and more!

Too bad that the imagemagick apt package doesn't natively support JPEG 
XL just yet (Imagemagick 7 does though), but that's an easy fix on our 
end once they add support :D

It looks like we need to implement our own alternative to the serve 
command though :-/
2021-10-17 03:00:24 +01:00
Starbeamrainbowlabs 2ae241aee5
Add //ellipsoid2 2021-10-14 01:50:27 +01:00
Starbeamrainbowlabs 91d5b9abc2
ellipsoid: add comment 2021-10-13 22:50:37 +01:00
Starbeamrainbowlabs 5bdd8ddb5e
ellipsoid: remove redundant minetest.get_content_id("air") call
wea.is_airlike() is the new function that should be used instead,  but 
in this case the call wasn't even necessary
2021-10-13 22:46:14 +01:00
Starbeamrainbowlabs 32fb8be8fe
docs: remember searchall setting with localStorage; better categorical command list filtering 2021-10-12 02:23:33 +01:00
Starbeamrainbowlabs 4955aa7579
docs: update dependencies 2021-10-11 02:45:21 +01:00
Starbeamrainbowlabs 653864be99
Start working on //copy, but it's not finished yet.
We need to merge @VorTechnix's branch in first to gain access to 
advanced axis parsing functions before we can complete it.

For this reason, the command registration for //copy is currently 
commented out.
2021-10-11 02:41:45 +01:00
VorTechnix 0352595e41 Merge branch 'main' into VorTechnix 2021-10-10 18:37:58 -07:00
VorTechnix 191e99f0b5 refactored table_tosting 2021-10-10 14:39:50 -07:00
VorTechnix b72d36816e added to_boolean 2021-10-10 14:39:30 -07:00
Starbeamrainbowlabs 8044a9059c
docs: fix title of reference 2021-10-10 20:34:36 +01:00