Commit graph

963 commits

Author SHA1 Message Date
VorTechnix
6ed65074b8 unexposed number parser 2022-05-23 18:04:34 -07:00
VorTechnix
a8655373a2 fixed typo 2022-05-23 17:11:26 -07:00
VorTechnix
3196a590f5 changed: functions returned
(and unexposed key_instance class)
2022-05-23 17:08:42 -07:00
VorTechnix
1cef968731 Key Instance type checking 2022-05-23 17:06:23 -07:00
VorTechnix
e17b2cce4e small correction 2022-05-23 15:02:59 -07:00
VorTechnix
23140467d2 new parser connected 2022-05-23 14:58:45 -07:00
VorTechnix
2cddccdca4 working (tested) parser implementation 2022-05-23 14:58:27 -07:00
VorTechnix
8789b39d1d Merge branch 'main' into VorTechnix 2022-05-21 07:04:09 -07:00
VorTechnix
a0982c70f0 check_dir update (unification) 2022-05-20 19:29:01 -07:00
VorTechnix
a6b4d047b8 axes_parser implemented (not added to init) 2022-05-20 19:27:47 -07:00
1750d62d3c
core: add register_alias command
it is backwards-compatible with worldedit.register_command
2022-05-19 22:50:53 +01:00
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
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
c53fb32d2b
core: fix register_command and run_command 2022-05-19 02:40:05 +01:00
95c0e96da9
core: fix luacheck errors 2022-05-19 02:32:17 +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
c60b5c5bad
core: fix bugs, enable! 2022-05-19 01:45:36 +01:00
4306035ef2
core: implement safe_region 2022-05-18 02:31:08 +01:00
8f6c3e020f
fixup 2022-05-17 01:04:51 +01:00
d21f7ca5fb
core: minor fixes 2022-05-17 01:04:38 +01:00
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
4ab386788d
fixup 2022-05-16 23:41:09 +01:00
9bdd7d2a25
core: add run_command shim, but it's not finished yet 2022-05-16 23:40:17 +01:00
fa9b511e33
core: finish initial register_command 2022-05-16 23:40:03 +01:00
19c8d0e7b9
core: make options.nodes_needed optional 2022-05-16 23:33:22 +01:00
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
d3119ee54a
Delete more copied code 2022-05-16 22:37:10 +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
60c8f30109
Update changelog 2022-05-16 20:16:48 +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
VorTechnix
bcfe39cd21 Merge branch 'main' into VorTechnix 2022-05-15 13:09:57 -07:00
f34617a3d3
Add backend functionality for metaballs
Implementing a frontend command sounds like a headache to me
2022-05-15 17:42:19 +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
a99cef7bf9
Merge branch 'main' of github.com:sbrl/Minetest-WorldEditAdditions into main 2022-05-15 13:53:08 +01:00
6d075be525
docs: fix warning 2022-05-15 13:52:59 +01:00
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
8eb1faf1b9
Update changelog
fixes #75
2022-05-01 17:10:24 +01:00
8b385690c0
modpack.conf: add name field, since mesecons has one 2022-05-01 17:09:00 +01:00
a4237dcca5
depends.txt → mod.conf 2022-05-01 17:07:30 +01:00
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
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