sfan5
f8d62c9464
Revert "undo some"
...
This reverts commit 8a1d788823
.
2023-06-19 18:22:26 +02:00
sfan5
8a1d788823
undo some
2023-06-19 18:15:54 +02:00
HybridDog
0632f6b41b
Remove unused variables and assignments
...
The removal of unused variables can improve the detection of mistakes with luacheck;
for example, it can detect if the wrong argument is passed to a function because of a copy-paste mistake.
Setting `src_data` and `dst_data` to `nil` in `worldedit.stack2`,
which might enable an earlier garbage collection,
looks like an unneeded micro-optimisation.
2023-06-17 12:11:44 +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
sfan5
0edcd1a59d
Fix crash on loading invalid schematic ( fixes #160 )
2019-09-06 17:56:11 +02:00
sfan5
f589c988b1
Handle invalid //rotate usage gracefully, fixes #150
2019-07-17 02:35:57 +02:00
sfan5
b8453a0e0b
Remove deprecated depends.txt, add descriptions to mod.conf
2019-07-17 02:15:04 +02:00
sfan5
0a16f11d93
Replace more deprecated functions
2019-07-17 02:06:29 +02:00
Panquesito7
3ffecdd9c4
Replace deprecated functions with newer ones
...
These commits create compatibility with MT/MTG 5.0.0+.
However, these commits may/will break with the 0.4-series.
2019-07-17 01:23:40 +02:00
sfan5
4f2c7b18cc
Fix //allocate with 0 nodes
2019-07-17 01:20:40 +02:00
sfan5
f242f2f722
Change description for //about, fix #170
2018-12-08 21:52:36 +01:00
sfan5
b2b2b9364d
Warn about invalid //stretch usage
2018-11-15 20:49:19 +01:00
Starbeamrainbowlabs
b37605943b
//mix: Add node weighting support
2018-10-29 00:36:33 +01:00
beyondlimits
f7256633c0
Wand: select node under or above depending on pressed sneak key.
2018-08-06 17:43:08 +02:00
sfan5
12270dc094
Correct spelling of Minetest
2017-11-07 14:20:50 +01:00
sfan5
415000e797
Fix a few assignments to undeclared globals
2017-11-07 14:19:57 +01:00
sfan5
7b1deb1b61
Add configurable brush item
...
texture was supposed to be a brush, i suck at this :(
2017-09-17 23:47:29 +02:00
sfan5
4605596215
Fix assignment to undeclared global "sign" @ worldedit_commands/init.lua:791
2017-09-12 14:58:26 +02:00
sfan5
283f47f10d
Fix invalid node error message of //set and //mix
2017-09-12 14:56:01 +02:00
Wuzzy
3c61759bae
Allow to bulk-set param2 of regions ( #144 )
2017-09-05 14:40:46 +02:00
sfan5
2cb3fcde66
Improve node name normalization
2017-08-31 20:38:38 +02:00
sfan5
870873ad15
Add //hollowcube and //cube
...
closes #143
2017-08-31 19:08:10 +02:00
Kyle
bf8e2a8233
Dual-based cylinder
2017-08-31 16:25:22 +02:00