Commit Graph

172 Commits

Author SHA1 Message Date
sfan5 8c758671bc Optimize //drain a bit 2024-04-22 23:19:21 +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 dc1150fe3d Split up init.lua in worldedit_commands 2024-04-22 00:00:51 +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
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 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
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
HybridDog 689ff90a78
Remove unused variables and assignments 2023-06-19 18:24:31 +02:00
HybridDog 375fbf3c68 Remove trailing whitespaces 2023-06-09 19:51:10 +02:00
sfan5 7f7e928dd9 Switch bare vectors to vector.new() 2023-06-09 14:49:58 +02:00
sfan5 7a645eba05 Improve loading and error handling for schematics 2023-06-07 11:41:10 +02:00
sfan5 9417f2bbf1 Harden //mtschemprob against incorrect input
closes #216
2023-03-22 21:26:53 +01:00
sfan5 418a30c89e Raise safe region limit to 20000 2020-10-06 13:53:22 +02:00
sfan5 867cd6edc7 Improve node name normalization again
so that "desert stone" won't select "desert stone block"
2020-05-12 21:53:01 +02:00
sfan5 edd27636a6 Do not allow //mix with no nodes 2020-05-09 22:34:29 +02:00
sfan5 7d0811fd47 Update help texts to be consistent 2020-04-26 16:53:55 +02:00
sfan5 4d08a1cc55 Implement //cubeapply with three side lengths 2020-04-26 16:01:07 +02:00
sfan5 34844b2d38 Set static_save = false for marker entities 2020-04-16 23:50:15 +02:00
sfan5 0f5dcc790d Implement //clearcut to delete trees, plants from generated terrain
closes #165
2020-04-07 03:05:30 +02:00
sfan5 37de177f72 Fix off-by-one in //cubeapply 2020-04-07 00:46:13 +02:00
sfan5 9b26034aea Move worldedit.marker_update
Markers are part of the UI (`worldedit_chatcommands`) and do not belong in `worldedit`.
2020-04-07 00:14:31 +02:00
sfan5 963a9f6b96 Implement //cubeapply 2020-04-06 23:32:11 +02:00
sfan5 5e8bfd5166 Improve node name normalization in case of multi-line descriptions 2020-03-29 21:55:47 +02:00
sfan5 5e47af8773 Make region marker entities withstand TNT explosions
Also fixes a crash when detonating TNT near them though this is
not our fault and the proper fix is pending in minetest_game.
2020-03-06 21:20:15 +01:00
sfan5 116ae25ebd Unbreak //move (closes #188) 2019-12-20 20:29:41 +01:00
sfan5 974dcaa918 Improve nodename normalization in some cases 2019-12-19 16:58:33 +01:00
sfan5 abdecd4239 Fix some broken commands
This happens when you don't test.
2019-12-19 16:45:38 +01:00
sfan5 7833b68c85 worldedit_brush: Remove "safe region" hack 2019-12-19 15:58:26 +01:00
sfan5 91d02f6f5b Rewrite command registration 2019-12-19 15:13:55 +01:00
sfan5 5bab991e0b Make object right-click work with wand 2019-11-10 00:40:31 +01:00
ANAND 9bb0ad0442 Fix double-definition of visual_size in entity def 2019-10-14 12:46:58 +02:00
sfan5 63a7069671 Allow easily setting pos1 + 2 to the same node using the wand
Though right-click currently doesn't work due to an engine bug.
2019-09-19 00:06:30 +02:00
sfan5 79097dc6c8 Reset region by double-punching air using the wand 2019-09-18 23:56:21 +02:00
sfan5 adab528f8a Fix nodename normalization with translated descriptions 2019-09-18 18:48:31 +02:00
sfan5 68f7bcc728 Warn when "misaligned" schematics are created
The underlying issue is the size detection worldedit.allocate does
and can't be fixed or worked around in a simple way.
2019-09-09 01:07:17 +02:00
sfan5 0919f7cab3 Clean up command code for //stack, //stack2 2019-09-08 22:14:07 +02:00