Commit Graph

372 Commits

Author SHA1 Message Date
sfan5 66b1fa032d Remove formspec tester from worldedit_gui 2017-05-13 11:52:45 +02:00
sfan5 a31f955fb1 Refactor priv determination in worldedit_gui 2017-05-13 11:51:36 +02:00
sfan5 38e9b42caf Do not allow any worldedit_gui commands without privs 2017-05-13 11:51:36 +02:00
sfan5 ea465f8fe4 Remove useless privilege checks
This is covered by the privs = {...},
2017-05-13 11:51:36 +02:00
tenplus1 0ce45a5900 Fix worldedit_gui_lua privs
This fixes the worldedit_gui_lua feature so that it requires certain privs to run.
2017-05-13 11:17:45 +02:00
sfan5 56f77a2f27 Remove unused toolcaps of the wand tool 2017-03-11 12:50:27 +01:00
sfan5 610cd9981d Use sfinv if possible, fixes #124 with recent minetest versions 2017-03-11 12:47:30 +01:00
sfan5 c0f3bb6958 GUI: Use nicer picture to indicate unknown nodes (-> no search results) 2017-03-11 12:24:47 +01:00
sfan5 e49f717000 GUI: Always pass normalized node names to commands 2017-03-11 12:03:06 +01:00
MT-Modder 6e7b9a60be Update wand definition (#129)
Fixes "maxwear" deprecated warning
2017-02-11 00:04:04 +01: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 92fe95fab7 Make //fixlight work again
The dig-air-nodes method seems to have stopped working a few Minetest version ago
2017-01-02 19:03:21 +01:00
sfan5 3a7fb5bf1e Add //help command (fixes #123) 2017-01-01 22:27:22 +01:00
sfan5 aa0e46d4e2 Handle failure of minetest.add_entity()
(see minetest/minetest#4923)
2016-12-21 14:26:24 +01:00
sfan5 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
sfan5 f9311b2b15 Move wand.lua to worldedit_commands 2016-12-10 21:54:51 +01:00
sfan5 15f0cea72e Disable wand tool on entities 2016-12-10 21:39:44 +01:00
sfan5 6e2e2385e9 Merge remote-tracking branch 'tmp/hollowpyramid' 2016-10-13 17:51:01 +02:00
sfan5 152707a322 Fix 'Run Lua' button in WorldEdit GUI (fixes #121) 2016-10-12 20:10:36 +02:00
sfan5 d040d324e8 Fix //spiral requiring a selected region despite using only pos1 2016-10-12 19:45:38 +02:00
sfan5 df6b54d2f5 Fix blowing up TNT near worldedit markers 2016-10-12 19:38:41 +02:00
sfan5 5abe1cee3d Fix exiting mtschemprob entry dialog with ESC 2016-08-05 16:41:37 +02:00
sfan5 5afea424ba Move cuboidapi.lua to correct place 2016-07-04 19:57:48 +02:00
sfan5 2aed498849 Add completion chat message to //expand and //contract 2016-07-04 19:53:12 +02:00
sfan5 0b68b2aec6 Fix //shift with absolute axis (x/y/z) 2016-07-04 19:51:28 +02:00
sfan5 f72abdb766 Merge remote-tracking branch 'tmp/cuboidmanip' 2016-07-04 19:49:23 +02:00
Daniel Sosa e18525d8c9 Modify outset and inset to accept both hv and vh combinations. Update documentation accordingly. 2016-07-03 21:44:02 -05:00
Daniel Sosa 78890dde07 Clean some documentation issues 2016-07-03 21:44:02 -05:00
Daniel Sosa b922097e7a Update command documentation 2016-07-03 21:44:02 -05:00
Daniel Sosa 48f3f59fc3 Implement some safety mechanisms 2016-07-03 21:44:02 -05:00
Daniel Sosa f8f1f3b9cc Reimplement /expand and /contract to conform to WE standards 2016-07-03 21:44:02 -05:00
Daniel Sosa d5e004be67 Fix /outset and /inset to conform to WE standards 2016-07-03 21:44:02 -05:00
Daniel Sosa fad021d0ba Remove some debug code 2016-07-03 21:44:02 -05:00
Daniel Sosa f1fe0c6bba Fix /shift command to conform to worldedit command standard 2016-07-03 21:44:02 -05:00
Daniel Sosa 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
Daniel Sosa 04d20de4cd Fix several typos 2016-07-03 21:44:02 -05:00
Daniel Sosa 859c6bd12a Implement /expand and /contract 2016-07-03 21:44:02 -05:00
Daniel Sosa 240380ff16 Implement /inset and /shift 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 ae29a9f064 Reimplement inset/outset to make use of new marker functions 2016-07-03 21:44:02 -05:00
Daniel Sosa 6cf8b92434 Reimplement /shift to make use of new marker functions 2016-07-03 21:44:02 -05:00
Daniel Sosa 0b97a7c740 Finish /expand implementation. Add /contract command. 2016-07-03 21:44:02 -05:00
Daniel Sosa 900b2f25aa Fix faulty regex in expand. Add relative direction decoding. 2016-07-03 21:44:02 -05:00
Daniel Sosa f49663902c Major progress and simplification in /expand function 2016-07-03 21:44:02 -05:00
Daniel Sosa d475682d8f Add common functions to move and update the markers 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
tenplus1 b23e92921c fix gui bug with back button (#116)
Fixed the Worldedit GUI problem where BACK button wouldn't return back to inventory plus menu.
2016-06-20 18:05:47 +02:00
sfan5 61ab240cea Add //drain 2016-03-23 22:09:55 +01:00