Completely remove wooden tools (#331)
The default items given on respawn will consist of wooden tools instead.
This commit is contained in:
parent
b9d8d7b2a4
commit
86ce4d7328
12 changed files with 29 additions and 163 deletions
|
@ -1,8 +1,4 @@
|
|||
local blacklist_drop = {
|
||||
"default:pick_wood",
|
||||
"default:sword_wood",
|
||||
"default:ax_wood"
|
||||
}
|
||||
local blacklist_drop = {}
|
||||
|
||||
local function drop(pos, itemstack)
|
||||
local it = itemstack:take_item(itemstack:get_count())
|
||||
|
@ -10,7 +6,7 @@ local function drop(pos, itemstack)
|
|||
|
||||
for _, item in pairs(blacklist_drop) do
|
||||
if sname == item then
|
||||
minetest.log("error", "Not dropping " .. item)
|
||||
minetest.log("info", "Not dropping " .. item)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue