Commit graph

1400 commits

Author SHA1 Message Date
VorTechnix
7a0d24f872
CRLF to LF 2024-10-01 08:40:58 -07:00
VorTechnix
e811090527
Position statements for command returns 2024-10-01 08:03:21 -07:00
VorTechnix
f4b3b09b26
Update init.lua Removed TODO 2024-10-01 07:58:08 -07:00
VorTechnix
df2af2df7d
Description Tweak for removed commands
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 07:48:32 -07:00
VorTechnix
a48576a7ab
Better errors?
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 06:53:32 -07:00
VorTechnix
f399d475cc
UASPARSE touchups
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 06:51:38 -07:00
VorTechnix
a794429961
Show default values in param
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 06:50:48 -07:00
VorTechnix
b884eb0e58
Apply suggested removals
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 06:49:04 -07:00
VorTechnix
5415e21384
Apply suggested title changes
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2024-10-01 06:48:08 -07:00
VorTechnix
462332d5ad
Update Chat-Command-Reference.md 2024-09-20 09:47:58 -07:00
VorTechnix
41443f058e
Doc update 2024-09-19 20:22:11 -07:00
VorTechnix
61bfab240a
axes parser re-refactor tests passed 2024-09-18 21:25:42 -07:00
VorTechnix
d6c452a221
hooked up UAS Parse 2024-09-18 21:01:46 -07:00
VorTechnix
d635bec9f3
params fix 2024-09-18 21:01:30 -07:00
VorTechnix
90f2fcb2ab
added UAS Parse 2024-09-18 21:00:51 -07:00
VorTechnix
ea25e36f3c
doc updates 2024-09-17 16:19:05 -07:00
VorTechnix
753ead2102
UAK to UAS 2024-09-17 14:10:02 -07:00
VorTechnix
aaa976c286
aliasing 2024-09-17 12:31:13 -07:00
VorTechnix
1a18d4c8d0
params modification for UAK 2024-09-17 12:31:02 -07:00
VorTechnix
a31e34f420
sfactor deprecation 2024-09-17 12:30:21 -07:00
VorTechnix
d43c8212d2
Documentation Update 2024-09-17 12:29:34 -07:00
VorTechnix
4c4fab189e
Update smake.lua 2024-09-15 17:04:57 -07:00
VorTechnix
38b55712cc
scentre, sshift stable + housekeeping 2024-09-15 09:15:22 -07:00
VorTechnix
d1c4f9bd19
finish deprecation 2024-09-13 10:47:42 -07:00
12747f6524
pos_marker_manage: fix crash 2024-09-12 19:00:29 -07:00
VorTechnix
f51ed36f9e
some optimization 2024-09-12 18:30:21 -07:00
VorTechnix
981bdc2b76
tested: stable enough 2024-09-12 17:45:19 -07:00
VorTechnix
23aae6959f
stabilizing fixes 2024-09-12 17:30:42 -07:00
VorTechnix
4ff01bba4e
new commands registered 2024-09-12 15:09:04 -07:00
VorTechnix
4dacd10597
sgrow, srel, sshrink UNSTABLE 2024-09-12 15:05:57 -07:00
VorTechnix
78c418cb24
pos_marker quick patch 2024-09-12 09:55:02 -07:00
VorTechnix
e24997dd80
Update split.lua 2024-09-12 09:54:40 -07:00
VorTechnix
005615df02
spaces in aliases don't work 2024-09-12 09:09:07 -07:00
VorTechnix
8247a595b1
re-aliasing 2024-09-12 08:04:21 -07:00
VorTechnix
4ab8e7ca2c
Deprecate scol, scube & srect 2024-09-12 06:54:46 -07:00
VorTechnix
a772f7ed55
Merge pull request #111 from sbrl/axis-parser-hv-rework
Axis parser hv rework
2024-09-12 06:32:53 -07:00
VorTechnix
738940a431
stable at last 2024-09-11 19:41:57 -07:00
VorTechnix
bcaceac28b
parseNumber unstable (0 bug) 2024-09-11 18:04:25 -07:00
VorTechnix
f9652c9621
Update to parser tests 2024-09-11 16:52:37 -07:00
VorTechnix
7e9e0f6a48
Finally committing this 2024-09-09 12:19:54 -07:00
1fd8512ecd
orient.lua: add comment
....gotta redo everything :-/
2024-08-18 20:59:16 +01:00
26a8658cfb
promise.lua: layout 2024-08-18 20:58:57 +01:00
977dcc6a93
pos_marker_manage: add some checks to update_entity event listener
For #105 because I can't reproduce the issue.
2024-08-18 20:33:57 +01:00
d3ddb5575e
docs/index.html: fiddle with buttons at bottom of the page 2024-06-08 21:26:34 +01:00
f654bde966
promise/sbrl: bugfix
it should work in most situations now.
2024-06-07 00:08:12 +01:00
VorTechnix
3ccea536c8
Safety but with less freak-outs 2024-06-06 13:12:21 -07:00
VorTechnix
2c36ad600a
Somewhat working version of promise_tech
Now with tests in a block comment at the bottom!
2024-06-06 08:33:17 -07:00
VorTechnix
6bc27972b0
Create promise_tech.lua
My own version of a promise system... WIP and untested :P
2024-06-05 21:05:04 -07:00
1300e9cc1d
promise.lua: initial UNTESTED implementation of JS promises in Lua o/
Got some caveats and subtle behavioural differences because Lua is dumb, but overall pretty happy with it!

This commit contains the most complicated recursive function I have ever written to date. It's late and I have absolutely *no* intention of testing this tonight :P
2024-06-06 00:24:02 +01:00
e2167c4ba3
core.param2: add todo reimplement notice
Ref https://discord.com/channels/1135598362821935254/1247681375935533119

---------------------------------------

Hi, a wild //orient+ appeared! While it (probably) doesn't crash, it also unfortunately doesn't work yet.

This is because facedir e.g. points towards the direction the node is pointing, and minetest.facedir_to_dir doesn't capture all the nuance of how the node is pointing, and e.g. if a node is pointing +y and you want to rotate by (0, 90, 0) [degrees], then the current implementation won't do anything.

Then I decided that this is silly and there has to be a solution. After all, screwdriver2 has a great implementation! https://content.minetest.net/packages/12Me21/screwdriver2/

....then I found this lookup table in their codebase: https://github.com/12Me21/screwdriver2/blob/master/init.lua#L75-L79

....aaaaarrrggggghhhhh //orient+ is such a pain to implement!

and my existing implementation is so neat 😢 1dd073f14b/worldeditadditions_core/utils/param2.lua

so, in other words, although I've implemented //orient+ I'm going to have to reimplement the nuts-and-bolts function that does the rotation, which may make it slightly more complicated and annoying to implement support for nodes with param2 types other than facedir.

/rant about Minetest's param2 value and rotations 😛
2024-06-05 00:14:17 +01:00