Commit Graph

1313 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
37821f11d5
docs/img2brush: limit height of output, update wording 2023-12-20 00:07:24 +00:00
Starbeamrainbowlabs
2722a190f4
reference: update do cs about img2brush tool 2023-12-19 23:47:20 +00:00
Starbeamrainbowlabs
8ee7470435
docs: fix incorrect header handling in markdown rendering 2023-12-19 23:41:37 +00:00
Starbeamrainbowlabs
edbb6db264
//rotate: zero out param2 of source
Actually copying over and hanlding param2 properly ref rotation will require //orient+ first
2023-12-19 23:37:15 +00:00
Starbeamrainbowlabs
c35631cef4
update changelog 2023-12-17 12:36:08 +00:00
Starbeamrainbowlabs
b56bd0d84b
//rotate: fix some minor keyword issues, update reference & changelog
At some point we need to move the parser to allow for a `player` reference for relative keywords.... or else pass them through somehow
2023-12-16 01:11:25 +00:00
Starbeamrainbowlabs
dc39dbff08
Bugfix: don't +/1 (1, 1, 1) twice in //rotate 2023-12-16 00:37:27 +00:00
Starbeamrainbowlabs
54c66e0dc9
//rotate: fix bug in which regions are accidentally cut off 2023-12-16 00:35:52 +00:00
Starbeamrainbowlabs
0ac76bc694
//rotate: update pos1/pos2 to bound target region
...unfortunately this has exposed a nasty bug!
2023-12-16 00:01:34 +00:00
Starbeamrainbowlabs
39f671c1ef
docs: fix spacing on reference space 2023-12-15 23:52:20 +00:00
Starbeamrainbowlabs
e6bf2a10ee
//nodeapply: fix crash on unknown node name
oops, we normalised the node name but then passed the un-normalised node name to NodeListMatcher >_<
2023-12-15 03:11:40 +00:00
Starbeamrainbowlabs
45f4261c04
//rotate: use temp dest table system
this should prevent segfaults.... but it didn't completely on my system
on second thought, I think it's a problem on my end rather than with the command itself
....or with MT 5.8.

Who knows? Maybe if I ignore it, it will go away.
2023-12-15 02:12:27 +00:00
Starbeamrainbowlabs
9f8cb4d5da
//rotate: add comments on what needs doing to wrangle it into shape 2023-12-14 00:31:12 +00:00
Starbeamrainbowlabs
27aa3a9c8f
It works!! ....but the output seems off when non 90° increments
...probably due to the wiping and rotation overlapping
2023-12-13 23:20:32 +00:00
Starbeamrainbowlabs
7d29453699
plug in new //rotate+ logic
...but it doesn't work yet
currently it crashes with a variety of interesting and colourful error messages
working on debugging it now, but it's gonna take a moment
2023-12-13 23:05:00 +00:00
Starbeamrainbowlabs
b92cc434db
core/run_command: be more robust in case of programming errors 2023-12-13 23:04:09 +00:00
Starbeamrainbowlabs
873ff4bef8
Bugfix: don't error out on //flora → //bonemeal alias if bonemeal mod isn't installed
Also add worldeditadditions_core.command_exists to check both WEA and WEW for whether a command exists or not
2023-12-13 22:15:27 +00:00
Starbeamrainbowlabs
74a8996afc
//rotate: start implementing a frontend
This is more complicated than I expected.
We've got a new parser and a state machine for the args, but we now need to put these values to use and pass them to worldeditadditions.rotate().
NOTE TO SELF: BE REAL CAREFUL WITH ORIGIN HANDLING.
We MUST NOT pull from sorted pos1/2 by accident! Though I doubt this would be an issue since weac.pos.get(player_name, i) is a thing
2023-12-10 03:16:28 +00:00
Starbeamrainbowlabs
bce449d2e6
Add GitHub issue templates 2023-12-05 22:54:46 +00:00
Starbeamrainbowlabs
45f69eb8f9
Vector3.rotate3d: clarity in comment 2023-11-29 00:36:50 +00:00
Starbeamrainbowlabs
6d5f2033e1
rotate: initial UNTESTED implementation
It doesn't have a chat command interface yet.

.....I REALLY need to learn Quaternions, but they don't currently make sense to me
2023-11-29 00:36:23 +00:00
Starbeamrainbowlabs
e28c428ef7
vector3: doc comment layout 2023-11-28 22:38:26 +00:00
Starbeamrainbowlabs
26fd756321
reference: fix typos 2023-11-28 22:38:11 +00:00
Starbeamrainbowlabs
709b27b519
settings.json: add spellings 2023-11-28 22:38:05 +00:00
Starbeamrainbowlabs
4eee7c66d7
revolve: TODOs 2023-11-28 22:30:04 +00:00
Starbeamrainbowlabs
e3962bc8d7
StagedVoxelRegion : ..... I really need to come back and comb through this 2023-11-28 00:40:11 +00:00
Starbeamrainbowlabs
de902fbd40
luacheck: VoxelArea is a minetest-defined global 2023-11-28 00:38:48 +00:00
Starbeamrainbowlabs
6d03a5ca2c
EventEmitter: fix luacheck error 2023-11-28 00:33:27 +00:00
Starbeamrainbowlabs
757f6de3b5
nodeapply: fix luacheck errors 2023-11-28 00:32:47 +00:00
Starbeamrainbowlabs
e886bcb8f2
README: Add //nodeapply, //ngroups 2023-11-27 23:51:27 +00:00
Starbeamrainbowlabs
3c619ed71a
reference: file //ngroups under statistics, not meta 2023-11-27 23:50:20 +00:00
Starbeamrainbowlabs
490db59843
//nodeapply: fix @groups support 2023-11-27 23:48:30 +00:00
Starbeamrainbowlabs
78844484f8
Add //ngroups, which lists the groups a given node is a member of 2023-11-27 23:44:06 +00:00
Starbeamrainbowlabs
ef86a0658a
NodeListMatcher: I think groups need to be prefixed with group: when calling minetest.get_item_group
....but we'll find out in testing!
2023-11-27 23:19:34 +00:00
Starbeamrainbowlabs
050bd80cf3
//nodeapply: Generalise matching engine into NodeListMatcher
Also add support for @groups, i.e. @crumbly matches nodes that are a member of the "crumbly" group
This groups feature is untested atm as I need to implement //ninfo....
2023-11-27 22:27:20 +00:00
Starbeamrainbowlabs
5bddeb5bb5
docs/css: minor padding changes 2023-11-26 22:41:38 +00:00
Starbeamrainbowlabs
28ed864c84
Added //nodeapply to filter cmd changes via a nodelist 2023-11-26 22:20:05 +00:00
Starbeamrainbowlabs
342357e9de
specs/weaschem: fix inconsistency 2023-09-24 02:07:39 +01:00
Starbeamrainbowlabs
9dd92dbe70
StagedVoxelRegion: initial save() implementation.
....but it's untested, as usual.
2023-09-24 02:07:08 +01:00
Starbeamrainbowlabs
f02b1d0b33
fix syntax errors 2023-09-23 21:56:56 +01:00
Starbeamrainbowlabs
621ca53d28
Merge branch 'dev' of github.com:sbrl/Minetest-WorldEditAdditions into dev 2023-09-23 21:54:03 +01:00
Starbeamrainbowlabs
985901de94
noodle around with StagedVoxelRegion 2023-09-23 21:53:47 +01:00
Starbeamrainbowlabs
546de3d6ca
Implement StagedVOxelRegion.NewFromRaw 2023-09-19 18:08:37 +01:00
Starbeamrainbowlabs
9b29dbc180
comment DBUG:parse in .test.lua 2023-09-19 17:51:43 +01:00
Starbeamrainbowlabs
f2c3ca124c
weaschem: properly document with comments 2023-08-21 22:17:36 +01:00
Starbeamrainbowlabs
bd48cc605c
Update changelog 2023-08-21 22:11:58 +01:00
Starbeamrainbowlabs
b42c8f2641
Bugfix: fix crash in pos_marker_wall/delete 2023-08-20 16:46:30 +01:00
Starbeamrainbowlabs
f590304995
post_marker: comment debug logging 2023-08-19 13:49:13 +01:00
Starbeamrainbowlabs
186b1090a0
Update changelog 2023-08-19 01:00:03 +01:00
Starbeamrainbowlabs
f4471dfa8e
Does this finally fix the zombie marker wall bug?
only time will tell.
2023-08-19 00:58:58 +01:00