mirror of
https://github.com/minetest/minetest.git
synced 2024-11-26 09:33:45 +01:00
DevTest: Remove experimental mod
This commit is contained in:
parent
a23701b5e6
commit
998e50725c
@ -34,7 +34,6 @@ Confused by a certain node or item? Check out for inline code comments. The usag
|
|||||||
|
|
||||||
## Random notes
|
## Random notes
|
||||||
|
|
||||||
* Experimental/strange/unstructured tests can be found in the `experimental` mod
|
|
||||||
* Textures of drawtype test nodes have a red dot at the top left corner. This is to see whether the textures are oriented properly
|
* Textures of drawtype test nodes have a red dot at the top left corner. This is to see whether the textures are oriented properly
|
||||||
|
|
||||||
## Design philosophy
|
## Design philosophy
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
minetest.register_chatcommand("test_bulk_set_node", {
|
|
||||||
params = "",
|
|
||||||
description = "Test: Bulk-set 9×9×9 stone nodes",
|
|
||||||
func = function(name, param)
|
|
||||||
local player = minetest.get_player_by_name(name)
|
|
||||||
if not player then
|
|
||||||
return false, "No player."
|
|
||||||
end
|
|
||||||
local pos_list = {}
|
|
||||||
local ppos = player:get_pos()
|
|
||||||
local i = 1
|
|
||||||
for x=2,10 do
|
|
||||||
for y=2,10 do
|
|
||||||
for z=2,10 do
|
|
||||||
pos_list[i] = {x=ppos.x + x,y = ppos.y + y,z = ppos.z + z}
|
|
||||||
i = i + 1
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
minetest.bulk_set_node(pos_list, {name = "mapgen_stone"})
|
|
||||||
return true, "Done."
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
--
|
|
||||||
-- Experimental things
|
|
||||||
--
|
|
||||||
|
|
||||||
dofile(minetest.get_modpath("experimental").."/commands.lua")
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
|||||||
name = experimental
|
|
||||||
description = Chaotic mod containing unstructured tests for testing out engine features. The features in this mod should be moved to other mods.
|
|
Loading…
Reference in New Issue
Block a user