Commit graph

1514 commits

Author SHA1 Message Date
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
080a5a9377
build: limit image processing to 2 processes at a time
....resizing 10 images at once is not going to end well on a raspberry pi
2024-06-05 00:10:08 +01:00
4f3b579db3
website: add one of Horka and kliv91's WIP screenshots 2024-06-05 00:06:11 +01:00
1dd073f14b
//orient: it works without crashing.... but very strangely.. 2024-06-04 23:07:05 +01:00
02d95cec46
Initial //orient implementation
....unfortunately, it doesn't work yet.
Next up is a frankly ridiculous number of print()s to figure out what's going on here
2024-06-04 22:49:41 +01:00
c712b502e9
//rotate+: typo in description 2024-06-04 22:43:09 +01:00
34e8f53de6
//set+: remove debug logging 2024-05-25 15:25:29 +01:00
4728dad02a
Add //ndef 2024-05-25 15:10:09 +01:00
170ec01bed
Alias //napply to //nodeapply 2024-05-25 14:48:38 +01:00
ffdd1b65b3
Implement //set+
This is on the road to //orient and later stair/etc support in //rotate :D
2024-05-25 14:45:56 +01:00
00478c2ea8
weac/polyfill: add @module so it appears in the Lua API 2024-05-25 14:06:57 +01:00
971bcff180
docs: update pretty-ms & do dynamic import 'cause 11ty is dumb 2024-05-19 16:34:25 +01:00
66c939c917
fix comments 2024-05-19 16:28:05 +01:00
f35fd643a2
docs: specify dev branch 'cause CI 2024-01-02 17:05:06 +00:00
2d36186da9
docs: Update moondoc 2024-01-02 17:03:42 +00:00
d0e59b4cd7
worldeditadditions: add core @module defs, correct comment formatting errors 2024-01-02 16:59:51 +00:00
15a52deea1
docs: add Lua API to site via moondoc!
Ref https://github.com/sbrl/moondoc
2024-01-02 16:31:30 +00:00
1ca524bbc3
Update changelog 2024-01-02 14:46:02 +00:00
abe66cf1c5
//speed: fix crash when pova isn't installed
stupid bug in weac.{player_get_physics_override,player_set_physics_override}, as you might have suspected
2024-01-01 22:24:49 +00:00
c1fce81bc3
post_marker_wall: @module → @namespace 2023-12-31 17:08:36 +00:00
31c2574ad4
README: Add mod compat list 2023-12-30 13:33:06 +00:00
c6e047baef
README: Add @nosowow's project 2023-12-30 13:25:36 +00:00
2f98b86c5f
movetool, //speed: add optdepend on pova
pova is a physics_override manager mod, so it's important we have support for it to ensure we play nice with other mods
Ref https://content.minetest.net/packages/TenPlus1/pova/
2023-12-30 13:12:10 +00:00
45bed5cc71
docs: Improve //noise2d documentation
Thanks to @notsowow for pointing out that it didn't make sense!
2023-12-26 19:07:41 +00:00
faddfe1d48
reference: document movement speed adjustment tool
also update changelog
2023-12-26 15:06:29 +00:00
7d3b35a47b
wea_wands: Add move speed adjustment tool
It alters the current player's movement speed up or down in x0.5 increments. Min = x0.5.
left/primary click: increase speed
right/secondary click: decrease speed
min speed = 0.5
documentation incoming!
2023-12-26 14:59:46 +00:00
0a9c125316
Implement //speed 2023-12-26 13:37:19 +00:00
6d81d47a31
.....why?!?! 2023-12-26 13:23:48 +00:00
a855ca729e
docs/HTMLPicture: remove debug logging 2023-12-26 13:12:17 +00:00
460aed4f3b
such a stupid bug 2023-12-26 12:27:02 +00:00
259b332883
docs: ....why wasn't this a problem *years* ago? 2023-12-26 12:22:57 +00:00
78e30f78a8
website: Add gallery image from @notsowow 2023-12-26 01:43:59 +00:00
34ac48f085
Implement keen-slider since the current one seemed to be a bit broken
...and also not scalable given what we want to do
2023-12-26 01:30:19 +00:00
VorTechnix
b3de30f0cb
new HV test 2023-12-21 08:33:44 -08:00
VorTechnix
855a0fdfef
Create axes_keyword.test.lua 2023-12-21 08:32:30 -08:00
71d95b5e83
reference: add some more alerts in key places 2023-12-20 00:44:39 +00:00
d07c1709cf
....turns out there *is* a GH alert markdown-it plugin!
Thanks, markdown-it-github-alerts :D
A bit of CSS ~~hackery~~ magic and we're away!
2023-12-20 00:40:35 +00:00