1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-07-04 17:10:36 +02:00
Commit Graph

105 Commits

Author SHA1 Message Date
0bf1ac4559 Merge 384825ac8f into acc9188828 2017-05-21 20:33:18 +00:00
acc9188828 Add logging for //lua and //luatransform 2017-05-21 17:31:59 +02:00
ea465f8fe4 Remove useless privilege checks
This is covered by the privs = {...},
2017-05-13 11:51:36 +02:00
56f77a2f27 Remove unused toolcaps of the wand tool 2017-03-11 12:50:27 +01:00
6e7b9a60be Update wand definition (#129)
Fixes "maxwear" deprecated warning
2017-02-11 00:04:04 +01:00
bcac45a476 Fix "safe region" functionality errornously rejecting pos1-only commands (e.g. //sphere) 2017-01-31 19:52:54 +01:00
426f3b949f Show light level a node receives with //inspect, fixes #128 2017-01-26 22:27:30 +01:00
78e4ba828e Show light level with //inspect 2017-01-03 17:11:38 +01:00
384825ac8f Prevent OOM when setting region cube
When setting region cube, make sure player has not set two positions very far apart.

This can happen when player has been editing one part of the map, then travels to a distant part of the map and tries to start setting a new region.

This does not affect the ability to operate on large areas, nor the setting of the markers, just the region cube marking.
2017-01-02 21:00:26 +00:00
3a7fb5bf1e Add //help command (fixes #123) 2017-01-01 22:27:22 +01:00
aa0e46d4e2 Handle failure of minetest.add_entity()
(see minetest/minetest#4923)
2016-12-21 14:26:24 +01:00
83288c969e Don't mark or load areas into memory when they are over a certain size, fixes #97 2016-12-10 22:02:40 +01:00
f9311b2b15 Move wand.lua to worldedit_commands 2016-12-10 21:54:51 +01:00
6e2e2385e9 Merge remote-tracking branch 'tmp/hollowpyramid' 2016-10-13 17:51:01 +02:00
d040d324e8 Fix //spiral requiring a selected region despite using only pos1 2016-10-12 19:45:38 +02:00
df6b54d2f5 Fix blowing up TNT near worldedit markers 2016-10-12 19:38:41 +02:00
5abe1cee3d Fix exiting mtschemprob entry dialog with ESC 2016-08-05 16:41:37 +02:00
5afea424ba Move cuboidapi.lua to correct place 2016-07-04 19:57:48 +02:00
2aed498849 Add completion chat message to //expand and //contract 2016-07-04 19:53:12 +02:00
0b68b2aec6 Fix //shift with absolute axis (x/y/z) 2016-07-04 19:51:28 +02:00
e18525d8c9 Modify outset and inset to accept both hv and vh combinations. Update documentation accordingly. 2016-07-03 21:44:02 -05:00
48f3f59fc3 Implement some safety mechanisms 2016-07-03 21:44:02 -05:00
f8f1f3b9cc Reimplement /expand and /contract to conform to WE standards 2016-07-03 21:44:02 -05:00
d5e004be67 Fix /outset and /inset to conform to WE standards 2016-07-03 21:44:02 -05:00
fad021d0ba Remove some debug code 2016-07-03 21:44:02 -05:00
f1fe0c6bba Fix /shift command to conform to worldedit command standard 2016-07-03 21:44:02 -05:00
40cee99700 Fix a crash that happened when trying to shift the cuboid using relative direction while looking straight up or down 2016-07-03 21:44:02 -05:00
04d20de4cd Fix several typos 2016-07-03 21:44:02 -05:00
859c6bd12a Implement /expand and /contract 2016-07-03 21:44:02 -05:00
240380ff16 Implement /inset and /shift 2016-07-03 21:44:02 -05:00
8d213d32a0 refactor code for mantainability and reusability. Start of chat command refactor. Implement /outset. 2016-07-03 21:44:02 -05:00
ae29a9f064 Reimplement inset/outset to make use of new marker functions 2016-07-03 21:44:02 -05:00
6cf8b92434 Reimplement /shift to make use of new marker functions 2016-07-03 21:44:02 -05:00
0b97a7c740 Finish /expand implementation. Add /contract command. 2016-07-03 21:44:02 -05:00
900b2f25aa Fix faulty regex in expand. Add relative direction decoding. 2016-07-03 21:44:02 -05:00
f49663902c Major progress and simplification in /expand function 2016-07-03 21:44:02 -05:00
d475682d8f Add common functions to move and update the markers 2016-07-03 21:44:02 -05:00
9e087ff995 Add outset, inset, shift and initial draft of expand 2016-07-03 21:44:02 -05:00
61ab240cea Add //drain 2016-03-23 22:09:55 +01:00
5f9efb1205 Added hollow pyramids 2015-09-13 22:08:04 +02:00
90d6b3d237 Allow more characters in file names 2015-06-01 17:08:43 -04:00
4bd5d56909 Localize mkdir helper 2015-06-01 16:53:03 -04:00
163dffccb3 Fix leaking {safe,check}_region 2015-05-16 19:52:48 -04:00
6b2fe397e6 Use minetest.mkdir when available 2015-05-16 19:46:33 -04:00
bea38a116a Add //deleteblocks command 2015-02-20 22:30:34 +01:00
bb8456b711 Cleanup and fixup
Non-stylistic changes:
  * Add LuaDoc/LDoc support.
  * Fix `clear_objects` area size calculation.
  * Fix `clear_objects` removing player objects.
  * Fix shadowing of marker entity name with player name.
  * Make visualization functions use `swap_node`.
  * Make hidden nodes unwalkable.
  * Prevent `hide` from hiding air.
  * Make deprecated functions log to deprecated stream when called.
  * Fixed `replaceinverse` not using normalized node names.
  * Added .gitignore.
  * Bump version to 1.1.

Stylistic changes:
  * Change `x = function` to `function x`.
  * Change comment format.
  * Make  missing VoxelManip error less obnoxious.
  * Move `sort_pos` into `common.lua`, which is a required module.
  * Remove local copies of `minetest`.
  * Remove `worldedit = worldedit or {}` from modules.
  * Replace replaceinverse with an inverse argument to `replace`.
  * Added `error()`s on on invalid axes.
  * Change `wip` to `TODO`.
  * Rename `clearobjects` to `clear_objects`.
  * Remove `hollow_{sphere,dome,cylinder}` and replace them with a hollow parameter to each function.
  * Add helpers to reduce code duplication.
  * Renamed `Chat Commands.md` to `ChatCommands.md`.
2015-02-01 15:56:16 -05:00
7f580611f5 Fix some warnings. 2014-12-29 18:16:36 -05:00
5b03c83f6b Fix stack2 param
Fix stack2 amount count
Fix stack2 sign recognition for y & z
2014-12-16 02:14:22 -04:30
fb49cc4bcc Revert "Use "we-" prefix for commands"
This is currently being discussed, see #62.
This reverts commit 1024eace6f.
2014-10-25 07:53:20 +02:00
eb88bf6ade Merge pull request #61 from ShadowNinja/cleanup-serialization
Clean up serialization
2014-10-24 22:03:31 -04:00