Update Licenses
This commit is contained in:
@@ -13,7 +13,8 @@ local waypoints = {}
|
||||
|
||||
minetest.register_chatcommand("waypoint", {
|
||||
params = "<name>",
|
||||
description = "Creates a waypoint at your position called <NAME>\nIf waypoint is already set, move the waypoint.",
|
||||
description = [[Creates a waypoint at your position called <NAME>
|
||||
If the waypoint is already set, move the waypoint.]],
|
||||
func = function (name, param)
|
||||
if waypoints[name] == nil then
|
||||
waypoints[name] = {}
|
||||
|
@@ -6,8 +6,8 @@ minetest.register_privilege("builder", {
|
||||
minetest.register_chatcommand("replacenear", {
|
||||
params = "<range> <from> <to>",
|
||||
description = [[Replace blocks around RANGE from FROM to TO.
|
||||
FROM can be comma seperated, or it can be `any` which replaces any block.
|
||||
Or it can be `anyblock` which replaces any block other than air and ignore.
|
||||
FROM can be comma seperated, or it can be `any` which replaces any node.
|
||||
Or it can be `anyblock` which replaces any node other than air and ignore.
|
||||
]],
|
||||
privs = {
|
||||
builder = true
|
||||
@@ -52,6 +52,12 @@ minetest.register_chatcommand("place", {
|
||||
},
|
||||
func = function(name, param)
|
||||
local player = minetest.get_player_by_name(name)
|
||||
minetest.place_schematic(player:get_pos(), PyuTestCore.get_schem_path(param), "random", nil, false, "place_center_x, place_center_z")
|
||||
minetest.place_schematic(player:get_pos(),
|
||||
PyuTestCore.get_schem_path(param),
|
||||
"random",
|
||||
nil,
|
||||
false,
|
||||
"place_center_x, place_center_z"
|
||||
)
|
||||
end
|
||||
})
|
||||
|
@@ -76,7 +76,7 @@ PyuTestCore.make_building_blocks = function (name, desc, tex, colortint, cgroups
|
||||
description = Translate(desc.." Block"),
|
||||
tiles = tex,
|
||||
groups = PyuTestCore.util.tableconcat(groups, {
|
||||
whole_block = 1
|
||||
solid = 1
|
||||
}),
|
||||
sounds = PyuTestCore.make_node_sounds(),
|
||||
}, econf))
|
||||
|
@@ -60,7 +60,6 @@ PyuTestCore.make_node("pyutest_core:lilypad", "Lily Pad", {
|
||||
})
|
||||
|
||||
-- Plants after the floral update
|
||||
|
||||
PyuTestCore.make_flower("pyutest_core:maybell", "Maybell", "maybell.png", "pyutest_core:white_dye", true)
|
||||
PyuTestCore.make_flower("pyutest_core:orange_tulip", "Orange Tulip", "orange-tulip.png", "pyutest_core:orange_dye", true)
|
||||
PyuTestCore.make_flower("pyutest_core:black_rose", "Black Rose", "black-rose.png", "pyutest_core:black_dye", true)
|
||||
|
@@ -63,9 +63,9 @@ unified_inventory.register_category("pyutest_inventory:fuel", {
|
||||
})
|
||||
|
||||
|
||||
unified_inventory.register_category("pyutest_inventory:whole_blocks", {
|
||||
unified_inventory.register_category("pyutest_inventory:solid_nodes", {
|
||||
symbol = "pyutest_core:stone_block",
|
||||
label = "Whole Blocks",
|
||||
label = "Solid Nodes",
|
||||
index = 10,
|
||||
items = get_items_from_group("whole_block")
|
||||
items = get_items_from_group("solid")
|
||||
})
|
||||
|
Reference in New Issue
Block a user