VanessaE wrote:est31 has fixed this in the engine, so I've re-enabled the crafting-grid commit.
Awesome.
VanessaE wrote:est31 has fixed this in the engine, so I've re-enabled the crafting-grid commit.
No problem )VanessaE wrote:Please post any ideas you may have to help improve it.
Wuzzy wrote:Does Unified Inventory maybe just check for the give privilege and allows all this stuff when it is present? Too bad you can't get rid of this privilege in singleplayer. Why are irrevokable privilages a thing, anyway?
2016-08-29 16:01:25: ERROR[Main]: ServerError: Runtime error from mod 'unified_inventory' in callback environment_Step(): ...4.14-b11720a-win32\bin\..\mods\unified_inventory/api.lua:85: attempt to get length of field 'items' (a nil value)
drop = {
max_items = 2,
items = {
{items = {"default:cobble"},
rarity = 1},
{items = {"custom:item_1"},
rarity = 7},
{items = {"custom:item_2"},
rarity = 6},
{items = {"custom:item_3"},
rarity = 5},
{items = {"custom:item_4"},
rarity = 4},
{items = {"custom:item_5"},
rarity = 3},
{items = {"custom:item_6"},
rarity = 2},
{items = {"custom:item_7"},
rarity = 1},
},
-- Minetest: builtin/privileges.lua
--
-- Privileges
--
core.registered_privileges = {}
function core.register_privilege(name, param)
local function fill_defaults(def)
if def.give_to_singleplayer == nil then
def.give_to_singleplayer = true
end
if def.description == nil then
def.description = "(no description)"
end
end
local def = {}
if type(param) == "table" then
def = param
else
def = {description = param}
end
fill_defaults(def)
core.registered_privileges[name] = def
end
core.register_privilege("interact", "Can interact with things and modify the world")
core.register_privilege("privs", "Can modify privileges")
core.register_privilege("basic_privs", "Can modify 'shout' and 'interact' privileges")
core.register_privilege("shout", "Can speak in chat")
core.register_privilege("teleport", {
description = "Can use /teleport command",
give_to_singleplayer = false,
})
core.register_privilege("bring", {
description = "Can teleport other players",
give_to_singleplayer = false,
})
core.register_privilege("settime", {
description = "Can use /time",
give_to_singleplayer = false,
})
core.register_privilege("server", {
descriptino = "Can do server maintenance stuff",
give_to_singleplayer = false,
})
core.register_privilege("protection_bypass", {
description = "Can bypass node protection in the world",
give_to_singleplayer = false,
})
core.register_privilege("ban", {
description = "Can ban and unban players",
give_to_singleplayer = false,
})
core.register_privilege("kick", {
description = "Can kick players",
give_to_singleplayer = false,
})
core.register_privilege("give", {
description = "Can use /give and /giveme",
give_to_singleplayer = false,
})
core.register_privilege("password", {
description = "Can use /setpassword and /clearpassword",
give_to_singleplayer = false,
})
core.register_privilege("fly", {
description = "Can fly using the free_move mode",
give_to_singleplayer = false,
})
core.register_privilege("fast", {
description = "Can walk fast using the fast_move mode",
give_to_singleplayer = false,
})
core.register_privilege("noclip", {
description = "Can fly through walls",
give_to_singleplayer = false,
})
core.register_privilege("rollback", {
description = "Can use the rollback functionality",
give_to_singleplayer = false,
})
minetest.register_privilege("home", "Can use /sethome and /home")
minetest.register_privilege("home", {
description = "Can use /sethome and /home",
give_to_singleplayer = false
})
xeranas wrote:I would prefer to pixel art based icons as they would look more "naturally" in minetest. But that's maybe just me.
Users browsing this forum: No registered users and 65 guests