Fix custom_level working

This commit is contained in:
sys4-fr 2016-05-22 19:13:30 +02:00
parent fd3c4d3cab
commit 28dbd32d1b
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ ins(quests, {
-- furnace_crafter
ins(quests, {
'furnace_crafter', "Furnace Crafter", nil, {"default:furnace"}, 1, {"default:stonebrick", "default:desert_stonebrick", "stairs:slab_stonebrick", "stairs:slab_desert_stonebrick", "stairs:stair_stonebrick", "stairs:stair_desert_stonebrick", "stairs:slab_stone", "stairs:slab_desert_stone", "stairs:stair_stone", "stairs:stair_desert_stone"}, "stone_digger_master", type = t, level = false
'furnace_crafter', "Furnace Crafter", nil, {"default:furnace"}, 1, {"default:stonebrick", "default:desert_stonebrick", "stairs:slab_stonebrick", "stairs:slab_desert_stonebrick", "stairs:stair_stonebrick", "stairs:stair_desert_stonebrick", "stairs:slab_stone", "stairs:slab_desert_stone", "stairs:stair_stone", "stairs:stair_desert_stone"}, "stone_digger_master", type = t, custom_level = true
})
-- brick_crafter

View File

@ -54,7 +54,7 @@ function sys4_quests.registerQuests()
--print("Autoaccept next quest : "..dump(auto))
local maxlevel = quest[5] * level
if quest.level and not quest.level then
if quest.custom_level then
maxlevel = quest[5]
end