fixed some bugs

This commit is contained in:
cale 2017-01-02 11:21:28 +01:00
parent 010ff20e37
commit a5501abe4a
4 changed files with 15 additions and 3 deletions

View File

@ -181,7 +181,7 @@ armor.register_armor("copper", {
protection = 15,
skin = "armor_skin_copper",
material = "furnace:iron_plate",
material = "furnace:copper_plate",
})
armor.register_armor("diamond", {

View File

@ -77,7 +77,9 @@ function crafting_guide.get_item_formspec(page, player)
local items = {}
for name,def in pairs(minetest.registered_items) do
if not(def.groups.not_in_creative_inventory) then
table.insert(items,name)
if name ~= "" then
table.insert(items,name)
end
end
end

View File

@ -79,3 +79,13 @@ furnace.register_recipe({
input = "fishing:fish",
output = "fishing:cooked_fish",
})
furnace.register_recipe({
input = "fishing:fish_1",
output = "fishing:cooked_fish",
})
furnace.register_recipe({
input = "fishing:fish_2",
output = "fishing:cooked_fish",
})

View File

@ -34,7 +34,7 @@ legendary_items.register_rare_weapon = function(name, level, def)
table.insert(def.materials, "default:ruby")
blueprint.register_blueprint(name, {
description = def.description .. "\n Level: ".. tostring(level).. "\n Damage: " .. tostring(def.damage+skills.get_dmg(level)) .. "\n Rare Item",
description = def.description .. "\n Level: ".. tostring(level).. "\n Damage: " .. tostring(def.damage) .. "\n Rare Item",
materials = def.materials,
out = "legendary_items:"..name,
color = "yellow"