Fix custom_level working
This commit is contained in:
parent
fd3c4d3cab
commit
28dbd32d1b
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user