Commit Graph

1152 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
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
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
c53fb32d2b
core: fix register_command and run_command 2022-05-19 02:40:05 +01:00
Starbeamrainbowlabs
95c0e96da9
core: fix luacheck errors 2022-05-19 02:32:17 +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
c60b5c5bad
core: fix bugs, enable! 2022-05-19 01:45:36 +01:00
Starbeamrainbowlabs
4306035ef2
core: implement safe_region 2022-05-18 02:31:08 +01:00
Starbeamrainbowlabs
8f6c3e020f
fixup 2022-05-17 01:04:51 +01:00
Starbeamrainbowlabs
d21f7ca5fb
core: minor fixes 2022-05-17 01:04:38 +01:00
Starbeamrainbowlabs
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
Starbeamrainbowlabs
4ab386788d
fixup 2022-05-16 23:41:09 +01:00
Starbeamrainbowlabs
9bdd7d2a25
core: add run_command shim, but it's not finished yet 2022-05-16 23:40:17 +01:00
Starbeamrainbowlabs
fa9b511e33
core: finish initial register_command 2022-05-16 23:40:03 +01:00
Starbeamrainbowlabs
19c8d0e7b9
core: make options.nodes_needed optional 2022-05-16 23:33:22 +01:00
Starbeamrainbowlabs
f984f5d7b7
Begin rewriting worldeditadditions_core
We should be able to make things a lot cleaner and more robust.
2022-05-16 23:32:40 +01:00
Starbeamrainbowlabs
d3119ee54a
Delete more copied code 2022-05-16 22:37:10 +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
60c8f30109
Update changelog 2022-05-16 20:16:48 +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
VorTechnix
bcfe39cd21 Merge branch 'main' into VorTechnix 2022-05-15 13:09:57 -07:00
Starbeamrainbowlabs
f34617a3d3
Add backend functionality for metaballs
Implementing a frontend command sounds like a headache to me
2022-05-15 17:42:19 +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
Starbeamrainbowlabs
a99cef7bf9
Merge branch 'main' of github.com:sbrl/Minetest-WorldEditAdditions into main 2022-05-15 13:53:08 +01:00
Starbeamrainbowlabs
6d075be525
docs: fix warning 2022-05-15 13:52:59 +01:00
Starbeamrainbowlabs
dbc056139a
Merge pull request #74 from sbrl/dependabot/npm_and_yarn/dot-docs/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6 in /.docs
2022-05-01 17:10:55 +01:00
Starbeamrainbowlabs
8eb1faf1b9
Update changelog
fixes #75
2022-05-01 17:10:24 +01:00
Starbeamrainbowlabs
8b385690c0
modpack.conf: add name field, since mesecons has one 2022-05-01 17:09:00 +01:00
Starbeamrainbowlabs
a4237dcca5
depends.txt → mod.conf 2022-05-01 17:07:30 +01:00
Starbeamrainbowlabs
7622d85efa
docs: update dependencies 2022-05-01 17:01:03 +01:00
dependabot[bot]
1c80bbc031
Bump minimist from 1.2.5 to 1.2.6 in /.docs
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 02:25:54 +00:00
Starbeamrainbowlabs
d77799a871
Merge pull request #73 from sbrl/dependabot/npm_and_yarn/dot-docs/follow-redirects-1.14.8
Bump follow-redirects from 1.14.1 to 1.14.8 in /.docs
2022-02-17 23:53:09 +00:00
dependabot[bot]
2ed3042bc8
Bump follow-redirects from 1.14.1 to 1.14.8 in /.docs
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.1 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 08:13:49 +00:00
VorTechnix
9995ea2fb9 Merge branch 'main' into VorTechnix 2022-01-03 06:56:58 -08:00
Starbeamrainbowlabs
c443459282
wireframe/corner_set: fix luacheck warnings 2022-01-03 13:30:22 +00:00
Starbeamrainbowlabs
3d12345972
//smake: fix luacheck warnings 2022-01-03 13:28:43 +00:00
Starbeamrainbowlabs
4c7bb6a980
//sfactor: fix luacheck warnings; fix crash 2022-01-03 13:26:51 +00:00
Starbeamrainbowlabs
67b4495aad
README: add link to edit full reference 2022-01-03 12:54:33 +00:00
Starbeamrainbowlabs
ee465070c9
fixup 2022-01-03 12:53:41 +00:00
Starbeamrainbowlabs
58933c6435
README: Update command list 2022-01-03 12:49:59 +00:00
Starbeamrainbowlabs
6c49b9d598
fixup again v1.13 2022-01-03 02:42:12 +00:00
Starbeamrainbowlabs
364de73fd0
fixup 2022-01-03 02:40:44 +00:00
Starbeamrainbowlabs
5bc8687ff1
Prepare 1.13 release! It's happening :D 2022-01-03 02:37:42 +00:00
Starbeamrainbowlabs
bc1ded787c
wea.sculpt.apply: Comment debug logging 2022-01-02 17:19:53 +00:00
Starbeamrainbowlabs
3db39a3789
update changelog 2022-01-02 17:17:50 +00:00