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
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
0f5dcc790d
Implement //clearcut to delete trees, plants from generated terrain
...
closes #165
2020-04-07 03:05:30 +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
5e8bfd5166
Improve node name normalization in case of multi-line descriptions
2020-03-29 21:55:47 +02: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
91d02f6f5b
Rewrite command registration
2019-12-19 15:13:55 +01: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
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
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
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
shivajiva101
acc9188828
Add logging for //lua and //luatransform
2017-05-21 17:31:59 +02:00
sfan5
ea465f8fe4
Remove useless privilege checks
...
This is covered by the privs = {...},
2017-05-13 11:51:36 +02:00
sfan5
bcac45a476
Fix "safe region" functionality errornously rejecting pos1-only commands (e.g. //sphere)
2017-01-31 19:52:54 +01:00
sfan5
426f3b949f
Show light level a node receives with //inspect, fixes #128
2017-01-26 22:27:30 +01:00
sfan5
78e4ba828e
Show light level with //inspect
2017-01-03 17:11:38 +01:00
sfan5
3a7fb5bf1e
Add //help command ( fixes #123 )
2017-01-01 22:27:22 +01:00
sfan5
f9311b2b15
Move wand.lua to worldedit_commands
2016-12-10 21:54:51 +01:00
sfan5
6e2e2385e9
Merge remote-tracking branch 'tmp/hollowpyramid'
2016-10-13 17:51:01 +02:00
sfan5
d040d324e8
Fix //spiral requiring a selected region despite using only pos1
2016-10-12 19:45:38 +02:00
sfan5
5abe1cee3d
Fix exiting mtschemprob entry dialog with ESC
2016-08-05 16:41:37 +02:00
Daniel Sosa
04d20de4cd
Fix several typos
2016-07-03 21:44:02 -05:00
Daniel Sosa
8d213d32a0
refactor code for mantainability and reusability. Start of chat command refactor. Implement /outset.
2016-07-03 21:44:02 -05:00
Daniel Sosa
9e087ff995
Add outset, inset, shift and initial draft of expand
2016-07-03 21:44:02 -05:00
sfan5
61ab240cea
Add //drain
2016-03-23 22:09:55 +01:00