sfan5
fb7a37e87c
Some minor clean ups
2024-05-26 16:02:25 +02:00
sfan5
57e7d4c488
Add polyfill for vector.copy()
...
closes #246
You could say I am doing this against better judgement, but this is
really a simple and easy fix for my problem.
2024-05-26 15:42:15 +02:00
sfan5
e20a5a4e09
Teach LuaCheck about vector.* fields
2024-05-26 15:37:06 +02:00
sfan5
f8442ef9fd
Highlight big numbers in safe region warning
2024-05-26 15:18:13 +02:00
sfan5
86de970552
Make safe region limit configurable
2024-05-26 15:01:12 +02:00
sfan5
4c8d42bf7b
Refuse too large areas in worldedit.keep_loaded()
...
fixes #234
2024-05-26 14:50:11 +02:00
sfan5
5a00c07c68
Add forgotten file include
...
fixes: acb3ecefe4
2024-04-29 09:56:01 +02:00
HybridDog
cda772b18d
Add a hollowcuboid iteration helper ( #190 )
2024-04-23 20:35:26 +02:00
sfan5
8c758671bc
Optimize //drain a bit
2024-04-22 23:19:21 +02:00
sfan5
456ce8c800
Add tests for (hollow)cube
2024-04-22 19:16:04 +02:00
sfan5
8065e3d804
Allow rotation with //mtschemplace
...
fixes #153
2024-04-22 18:37:14 +02:00
sfan5
60b6b205ad
Add nil checks around get_player_by_name()
...
in case someone uses the commands from ncurses
2024-04-22 18:10:30 +02:00
sfan5
1d8d9a704f
Introduce type parameter for worldedit.player_notify
2024-04-22 17:42:26 +02:00
sfan5
d13ba673fe
Remove stray gitignore
2024-04-22 00:06:13 +02:00
sfan5
acb3ecefe4
Split up some files in worldedit mod
2024-04-22 00:01:31 +02:00
sfan5
dc1150fe3d
Split up init.lua in worldedit_commands
2024-04-22 00:00:51 +02:00
sfan5
74663869f7
Translate worldedit_brush
2024-04-21 23:00:57 +02:00
sfan5
4b470bdae6
Put commands into categories for //help
2024-04-21 23:00:48 +02:00
sfan5
75d101116d
Display aliases in //help output nicer
2024-04-20 20:39:34 +02:00
sfan5
860d4a267d
Some fixes to tests
2024-04-20 20:39:34 +02:00
sfan5
372847e774
Add tests for worldedit.lua/luatransform
2024-04-20 20:39:34 +02:00
imre84
883caff58d
Make //lua work with expressions as well ( #243 )
2024-04-20 20:00:41 +02:00
sfan5
41d53180b1
Colorize command references in chat output
2024-04-20 14:22:46 +02:00
sfan5
602f175cc0
Make use of minetest.load_area
2024-04-20 14:03:37 +02:00
sfan5
e6fac23c53
Use worldedit.keep_loaded consistently
2024-04-20 13:59:04 +02:00
sfan5
5914eab20b
Abort a delayed operation if positions change
...
fixes #236
2024-04-20 13:45:00 +02:00
sfan5
002dc462d6
Make wand tool not point the region marker cube
2024-04-20 13:02:27 +02:00
sfan5
a713efe051
Fix wand tool causing pos1/pos2 aliasing
...
fixes #245
2024-04-20 13:02:23 +02:00
luk3yx
469c3bf70b
Ignore unknown nodes when loading in saves
2024-04-16 11:35:19 +02:00
fluxionary
f75700ed76
Make //clearobjects remove unknown objects ( #244 )
2024-03-30 00:17:51 +01:00
sfan5
575bfca67a
Run tests on older MT too
2024-03-25 18:01:14 +01:00
David Leal
eac05e3133
Add tooltip to WorldEdit GUI button ( #240 )
2024-03-25 17:58:35 +01:00
sfan5
41efbaf210
Migrate tests to new Docker image
2024-03-25 16:48:09 +01:00
YuGiOhJCJ
045c7510bf
Fix the link to the minetest forums
2024-03-01 11:45:54 +01:00
Andrey Andreyevich Bienkowski
b90eeb1e68
Fix incorrect translation syntax
...
Worldedit was causing a crash when I used the "inspector" feature.
2023-12-13 17:34:09 +01:00
sfan5
341014f94a
More complete German translation
2023-11-24 14:24:18 +01:00
sfan5
b84aa8508a
Add German in-game translation (incomplete)
2023-10-30 17:24:37 +01:00
sfan5
17df0bbf71
Fix an issue with translations and update template
2023-10-30 16:53:12 +01:00
sfan5
36b14413e0
Optimize textures
...
done with: oxipng -Z --strip all
2023-10-28 11:37:05 +02:00
sfan5
1fc6d93112
Move worldedit_wand.png to correct place
2023-10-28 11:34:42 +02:00
Alexander Chibrikin
ccfb6b4d61
Translate worldedit_commands
( #229 )
2023-10-23 20:52:04 +02:00
sfan5
8f60e6f729
Fix clear_objects not working
2023-10-08 18:21:15 +02:00
sfan5
8f86a2120c
Include minimum MT version in modpack.conf
2023-08-06 16:31:36 +02:00
nauta-turbidus
b4202ea779
Trim trailing content when obtaining dedicated_server_step
...
This change trims anything starting with the first space from dedicated_server_step, including single-line comments following the configured value specifically, before using it for calculations. It fixes compatibility-breaking crashes with some mods/games, which change the mentioned value by adding a comment after it. Such a comment is, as far as I know, syntactically valid, and is accepted by the engine it seems.
2023-08-06 14:05:34 +02:00
HybridDog
689ff90a78
Remove unused variables and assignments
2023-06-19 18:24:31 +02:00
sfan5
bf55f52197
Give CI workflows consistent names
2023-06-11 16:09:06 +02:00
HybridDog
79e5e64c44
luacheck: Reduce the number of ignored codes
...
After the recent changes, luacheck can be configured to be more strict now, for example to check for inconsistent indentation and undefined variables.
2023-06-10 11:38:23 +02:00
HybridDog
375fbf3c68
Remove trailing whitespaces
2023-06-09 19:51:10 +02:00
HybridDog
cc3aab00bc
Fix tab after space indentations
2023-06-09 19:51:10 +02:00
HybridDog
eff01bc8e7
Add code linting with luacheck ( #221 )
...
With luacheck mistakes in Lua code can be found, e.g. the use of undefined variables, and the code style can be checked.
workflow by @Panquesito7
2023-06-09 19:48:46 +02:00