sfan5
415000e797
Fix a few assignments to undeclared globals
2017-11-07 14:19:57 +01:00
sfan5
59dc2d34d9
WorldEdit 1.2
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
2f4eb19a3a
Fix one-node high cylinders
...
closes #146
2017-09-03 20:12:38 +02:00
sfan5
e680d8087e
Fix small logic error in worldedit.cylinder
2017-08-31 20:10:08 +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
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
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
5afea424ba
Move cuboidapi.lua to correct place
2016-07-04 19:57:48 +02:00
ShadowNinja
f2f714c19e
Fix crash when loading version 3 schematics
2016-01-23 16:57:27 -05:00
Joseph Pickard
47712844a3
Added a WorldEdit wand item that can be used to select areas with worldedit.
2016-01-22 22:24:17 +01:00
Sebastien Ponce
2e2fcfdfa2
Fixed Issue #83 : upsidedown pyramid not working well
2016-01-05 14:11:04 +01:00
sfan5
e0a2661700
Fix //stack2 not working ( closes #94 )
2016-01-05 13:57:48 +01:00
Anthony Zhang
48f9c6c23f
Fix #93 (thanks @za267!)
2015-11-01 16:50:36 -05:00
Sebastien Ponce
5f9efb1205
Added hollow pyramids
2015-09-13 22:08:04 +02:00
ShadowNinja
5c115e282c
Fix existence check trying to open files for writing
2015-05-16 19:27:27 -04:00
sfan5
ab47385f7b
Fix crash (worldedit/manipulations.lua:526: attempt to call global 'set_node' (a nil value))
2015-05-04 18:48:27 +02:00
est31
09de34aabf
Load first node too with LuaJIT
...
Before, the first node would have had the version number prepended (e.g. "5:"), and therefore wouldn't be loaded.
2015-03-12 02:40:19 +01:00
ShadowNinja
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
ShadowNinja
1f277147ca
Fix Lua function
2014-12-30 00:11:49 -05:00
Anthony Zhang
04fdf92aca
Fix crash when loading schematic in a LuaJIT build in recent Minetest versions (thanks LazyJ & VanessaE!).
2014-12-29 18:26:37 -05:00
Anthony Zhang
7f580611f5
Fix some warnings.
2014-12-29 18:16:36 -05:00
KodexKy
5b03c83f6b
Fix stack2 param
...
Fix stack2 amount count
Fix stack2 sign recognition for y & z
2014-12-16 02:14:22 -04:30
sfan5
e4d007199f
Fix bug with loading old .we file formats, thanks to @Sokomine
2014-12-13 21:13:11 +01:00
ShadowNinja
796aa3870d
Clean up serialization
...
* Adds a header to serialized data (to make version checking sane).
* Removes the duplicate deserialization for `worldedit.deserialize` and `worldedit.allocate`.
* Optimizes `worldedit.deserialize` by only deserializing the data once.
* Makes some fields optional.
* Cleans up the comments and a little of the code style.
2014-10-24 16:45:10 -04:00
ShadowNinja
e383e8ce00
Fix runtime error checking with lua* commands
2014-07-23 18:21:21 -04:00
Uberi
82ef580fae
Add sort_pos
to make code module independent.
2014-07-22 18:42:15 -04:00
Uberi
d8aa7e72a7
Oops, fix //set.
2014-07-14 00:11:33 -04:00
Uberi
58d7a7134e
Coding style updates.
2014-07-12 16:35:59 -04:00
Cy
f5b67c5bc2
CPS-ifying stack
...
Continuation Passing Style lets me use minetest.after, so the server
gets a chance to not hang in between every stack iteration. Could even
set minetest.after(1000,nextone) if you want to see it extend once every
second.
2014-07-09 23:50:41 -07:00
Cy
6084db9335
Slight optimization to //set
...
Just noticed I box the one type version in a list, to avoid testing
whether it's the one type version, but have to test for that to decide
whether to box it or not. Should shave like a whole 3ms from each //set
command.
2014-07-09 23:34:27 -07:00
Uberi
b70fd16da4
Oops, fix //set
.
2014-07-07 14:06:33 -04:00
Uberi
9616c7d944
Update stack2
API documentation.
2014-07-06 19:59:56 -04:00
Uberi
175ac211ca
Documentation for //stack2
, code style fixes, add author section to README.
2014-07-06 19:42:02 -04:00
Cy
c22b556511
Improved stacking
...
This stack / copy uses a direction vector, so it's not limited to only
along the X/Y/Z axis, and can go diagonally. This enables things like
building staircases.
2014-06-30 16:14:14 -07:00
Cy
174416b010
Randomized set
...
Can /set node node2 node3 and it will randomly choose between those
three.
2014-06-30 16:13:44 -07:00
Uberi
2e41f0076d
Mark the region with an entity cube.
2013-12-24 14:07:42 -05:00
Uberi
674d6473e4
Improve node inspector to show player axis, replace //scale with //stretch, which supports per-axis stretching (full backwards compatibility retained), and secure schematic file loading functions.
2013-12-20 18:41:13 -05:00
Uberi
36424e3dec
Improve worldedit.spiral and the WorldEdit GUI,
2013-12-16 18:55:56 -05:00
Uberi
0797c47afb
Fix worldedit.hollow_cylinder.
2013-12-15 16:33:31 -05:00
Uberi
ac7430e02f
Version information is now available via the API.
2013-12-10 01:47:32 -05:00
Sfan5
b3ba6f2433
Revert "Change compatibility notices." because we have 0.4.8 now
...
This reverts commit d5ec1bcefc
.
2013-11-24 14:18:04 +01:00
Uberi
d5ec1bcefc
Change compatibility notices.
2013-10-01 16:57:55 -04:00
Uberi
203c3da2af
Add //about.
2013-08-28 20:28:49 -04:00
Uberi
272541c9da
Changes to support the latest schematic probability specification.
2013-08-16 16:57:35 -04:00
Anthony Zhang
03327a767d
Add version checker since so many people are confused about which version to use.
2013-08-06 16:28:05 -04:00
Anthony Zhang
8bd5db51b2
Final changes and version number bump.
2013-08-01 23:53:38 -04:00
Anthony Zhang
040282bbe6
New module loader properly halts when load-time error occurs in module.
2013-07-31 22:15:52 -04:00
Anthony Zhang
b0bf52e9b6
Rewrite spirals from scratch and fix upside-down pyramids. Use voxelmanip for markers to ensure area is emerged.
2013-07-31 22:15:08 -04:00
Anthony Zhang
3c51ec8c4a
//pyramid works along any axis and backwards. Working //clearobjects and //cylinder command, begin implementing super marker. Remove EnvRef usages and the block queue (the block queue does not work with VoxelManips). More block emergers.
2013-07-31 00:02:37 -04:00
Anthony Zhang
49b683f27f
Support negative values to make upside-down domes and pyramids (slight changes to worldedit.pyramid interface for coming changes). Add experimental //clearobjects, make node inspector work per-player.
2013-07-29 12:43:24 -04:00
Anthony Zhang
c1f3cfc1e4
Fix bugs in visualization API and make it ore robust. Fix bugs in //fixedpos, //suppress, and //highlight.
2013-07-28 18:15:46 -04:00
Anthony Zhang
b252df2166
Slight optimizations, and make //pyramid work properly again.
2013-07-28 17:08:12 -04:00
Anthony Zhang
faa4a7b065
More speedups for //hollowsphere, //sphere, //hollowdome, //dome, //cylinder, better module loader, fix message in //volume.
2013-07-27 21:34:42 -04:00
Anthony Zhang
8ebf9d3c2a
Super duper VoxelManipulator speedups to nearly every API function, and plus support for unloaded areas. Still in progress. Also, fix //allocate for very large schematics.
2013-07-21 16:54:25 -04:00
Anthony Zhang
ac5e801834
Even bigger speed gains by using LuaVoxelManipulator in a few choice places! Faster //set, //cylinder, etc., but plenty of room for improvements still.
2013-07-12 14:22:30 -04:00
Anthony Zhang
b6bc841c39
Fix volume of spheres, domes, and their hollow variants.
2013-06-24 18:22:01 -04:00
Anthony Zhang
9db6192eba
Avoid using slower and deprecated EnvRef, fix schematic data MapNodes, huge speed boost to worldedit.hollow_cylinder, fix some bugs.
2013-06-23 12:46:59 -04:00
Anthony Zhang
1e5f623cbb
Super-speed a few primitives and visualization functions, including hollowsphere, sphere, hollowdome, dome, and suppress.
2013-06-22 23:08:51 -04:00
Anthony Zhang
58970e7fab
Clarify the documentation regarding the the positioning of WorldEdit primitives relative to position 1.
2013-06-22 23:05:34 -04:00
Anthony Zhang
7070f81c59
Significant but highly experimental speed-ups for worldedit.set, replace, and scale, plus preparation for more.
2013-06-22 20:59:23 -04:00
Anthony Zhang
d4187866db
Add //scale <factor>
command (suggested by Jordach), fix transposition description in docs.
2013-06-18 15:05:49 -04:00
Anthony Zhang
0664cde287
Fix //rotate, improve queue (order now preserved), typos fixed (quene -> queue).
2013-05-30 20:38:56 -04:00
Anthony Zhang
f952ee4740
Block queue doesn't lag anymore on slow operations like digging and placing nodes, better and more efficient //fixlight.
2013-05-30 19:13:21 -04:00
Anthony Zhang
d7ae19b7b8
Fix the //move command (WorldEdit API is unaffected).
2013-05-18 19:00:12 -04:00
Anthony Zhang
18bc4e6815
Fix deserialization for real this time.
2013-04-29 19:52:00 -04:00
Anthony Zhang
98c5bc5c5f
Fix loading of schematics containing chests that had empty slots.
2013-04-28 19:01:24 -04:00
Sfan5
5e5c1dc6c3
Add Block Queue
2013-04-28 19:08:09 +02:00
Anthony Zhang
71b6004b92
New commands //hollowdome and //dome, as well as new API functions worldedit.dome and worldedit.hollow_dome. Oh, and spheres generate faster too.
2013-04-27 18:28:20 -04:00
Anthony Zhang
f5145d6ba1
Horrible, vile, disgusting hack. But it works.
2013-04-20 20:28:21 -04:00
Anthony Zhang
0317deb101
Metadata fix for serialization.
2013-03-27 18:07:52 -04:00
Anthony Zhang
65c218c3e2
Dynamic module loading - you can now delete any file in the worldedit mod except init.lua, and the relevant functionality will simply not be included.
2013-03-20 17:31:00 -04:00
Anthony Zhang
d1828affff
Oops, forgot to load the compatibility module.
2013-03-20 17:18:21 -04:00
Anthony Zhang
9209d81d20
//metasave and //metaload are now superceded by //save and //load's new functionality. worldedit.deserialize now supports every version of the WorldEdit format that has ever existed, and the new worldedit.valueversion uses file characteristics to determine which type of file format a given file uses. The new WorldEdit file format is the same as the one used by MineTest for serializing data, and is capable of storing arbitrary data, as well as leaving fields for future improvements. In other words, this is the last forward-compatibility breaking change that will be made to the file format.
2013-03-20 17:12:48 -04:00
Anthony Zhang
7eb102181b
Fixed bug where unmodified axis used pos1 coords instead of pos2 coords.
2013-02-17 14:11:55 -05:00
Anthony Zhang
7cf84045d4
Replace //homogenize with //replaceinverse (//homogenize x is equivalent to //replaceinverse air x), add documentation for it.
2013-01-12 18:29:57 -05:00
Anthony Zhang
e2f1c4ef17
Add //homogenize, //lua, and //luatransform commands, as well as their documentation.
2013-01-12 18:20:41 -05:00
Anthony Zhang
c27ab877f1
New command: //orient, that rotates oriented nodes such as furnaces around the Y-axis by a specified angle.
2013-01-12 16:46:40 -05:00
Anthony Zhang
7cb2df24b8
Change all references of //dig to //fixlight, document the changes, fix a small typo.
2013-01-12 16:02:23 -05:00
sfan5
0003770ffb
Fix my Code again (I've use Python too much)
2013-01-12 08:19:24 +01:00
sfan5
9f35891996
Fix Code again
2013-01-12 08:17:14 +01:00
sfan5
6f3127f32e
Fix Code
2013-01-12 08:14:20 +01:00
sfan5
5f1fb56b8b
Rename //dig to //fixlight
2013-01-12 08:10:19 +01:00
sfan5
89e18d6108
Only dig air Nodes
2013-01-12 07:59:41 +01:00
Anthony Zhang
e5331d39ae
Many thanks to Smitje for providing a working example of roations.
...
Changes: fixed rotation and transposition of non-sqaure regions, makers are now moved to the new region boundaries after rotation/transposition, small consistency fixes, finally fix the /hide command.
2012-12-12 17:17:56 -05:00
Anthony Zhang
f087c3ef71
Fix the missing command //suppress <node>.
2012-11-27 19:29:10 -05:00
Anthony Zhang
426dfb0bc3
Quick and dirty fix for metasave not saving ItemStack instances in node metadata inventories.
2012-10-23 23:21:02 -04:00
Anthony Zhang
fdca506505
Fix //load and //allocate for old WorldEdit files.
2012-10-22 23:17:37 -04:00
Anthony Zhang
aa4a70d237
Rename //find to //highlight and worldedit.find to worldedit.highlight, add //allocate and worldedit.allocate as well as related documentation. Improve documentation by fixing a few mistakes and adding return signatures.
2012-10-21 17:49:43 -04:00
Kyle
a76ee00391
worldedit.hollow_sphere returns non-nil count
2012-10-17 16:18:19 -07:00
Anthony Zhang
1c31bd7f0d
Separate components into separate mods, add visualization API with hide(), suppress(), find(), and restore() for nondestructive node visualization. Corresponding chat commands are //hide, //suppress, //find, and //restore. Commands and functions documented.
2012-10-13 21:45:50 -04:00
Anthony Zhang
12dfbd198d
Use modpack for easier installation (idea is taken from cornernote's mod format), fix some grammar in API reference, move chat command reference and API reference to separate files.
2012-10-01 16:20:20 -04:00