mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-11-22 23:33:45 +01:00
Fix style issues
This commit is contained in:
parent
0692d1cc85
commit
92c43d1c04
156
init.lua
156
init.lua
@ -669,86 +669,93 @@ if minetest.get_modpath("vessels") then
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
awards.register_achievement("award_furnace", {
|
awards.register_achievement("award_furnace", {
|
||||||
title = S("Smelter"),
|
title = S("Smelter"),
|
||||||
description = S("Craft 10 furnaces."),
|
description = S("Craft 10 furnaces."),
|
||||||
icon = "default_furnace_front.png",
|
icon = "default_furnace_front.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "craft",
|
type = "craft",
|
||||||
item= "default:furnace",
|
item= "default:furnace",
|
||||||
target = 10
|
target = 10
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("award_chest", {
|
awards.register_achievement("award_chest", {
|
||||||
title = S("Treasurer"),
|
title = S("Treasurer"),
|
||||||
description = S("Craft 15 chests."),
|
description = S("Craft 15 chests."),
|
||||||
icon = "default_chest_front.png",
|
icon = "default_chest_front.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "craft",
|
type = "craft",
|
||||||
item= "default:chest",
|
item= "default:chest",
|
||||||
target = 15
|
target = 15
|
||||||
}})
|
}
|
||||||
|
})
|
||||||
|
|
||||||
awards.register_achievement("award_chest2", {
|
awards.register_achievement("award_chest2", {
|
||||||
title = S("Bankier"),
|
title = S("Bankier"),
|
||||||
description = S("Craft 30 locked chests."),
|
description = S("Craft 30 locked chests."),
|
||||||
icon = "default_chest_lock.png",
|
icon = "default_chest_lock.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "craft",
|
type = "craft",
|
||||||
item= "default:chest_locked",
|
item= "default:chest_locked",
|
||||||
target = 30
|
target = 30
|
||||||
}})
|
}
|
||||||
|
})
|
||||||
|
|
||||||
awards.register_achievement("award_brick", {
|
awards.register_achievement("award_brick", {
|
||||||
title = S("Bricker"),
|
title = S("Bricker"),
|
||||||
description = S("Craft 200 brick blocks."),
|
description = S("Craft 200 brick blocks."),
|
||||||
icon = "default_brick.png",
|
icon = "default_brick.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "craft",
|
type = "craft",
|
||||||
item= "default:brick",
|
item= "default:brick",
|
||||||
target = 200
|
target = 200
|
||||||
}})
|
}
|
||||||
|
})
|
||||||
|
|
||||||
awards.register_achievement("award_obsidianbrick", {
|
awards.register_achievement("award_obsidianbrick", {
|
||||||
title = S("House of Obsidian"),
|
title = S("House of Obsidian"),
|
||||||
description = S("Craft 100 obsidian bricks."),
|
description = S("Craft 100 obsidian bricks."),
|
||||||
icon = "default_obsidian_brick.png",
|
icon = "default_obsidian_brick.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "craft",
|
type = "craft",
|
||||||
item= "default:obsidianbrick",
|
item= "default:obsidianbrick",
|
||||||
target = 100
|
target = 100
|
||||||
}})
|
}
|
||||||
|
})
|
||||||
|
|
||||||
awards.register_achievement("award_placestone", {
|
awards.register_achievement("award_placestone", {
|
||||||
title = S("Build a Cave"),
|
title = S("Build a Cave"),
|
||||||
description = S("Place 100 stone."),
|
description = S("Place 100 stone."),
|
||||||
icon = "default_stone.png",
|
icon = "default_stone.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "place",
|
type = "place",
|
||||||
node = "default:stone",
|
node = "default:stone",
|
||||||
target = 100
|
target = 100
|
||||||
}})
|
}
|
||||||
|
})
|
||||||
|
|
||||||
awards.register_achievement("award_woodladder", {
|
awards.register_achievement("award_woodladder", {
|
||||||
title = S("Long Ladder"),
|
title = S("Long Ladder"),
|
||||||
description = S("Place 400 wooden ladders."),
|
description = S("Place 400 wooden ladders."),
|
||||||
icon = "default_ladder_wood.png",
|
icon = "default_ladder_wood.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "place",
|
type = "place",
|
||||||
node = "default:ladder_wood",
|
node = "default:ladder_wood",
|
||||||
target = 400
|
target = 400
|
||||||
}})
|
}
|
||||||
|
})
|
||||||
|
|
||||||
awards.register_achievement("award_steelladder", {
|
awards.register_achievement("award_steelladder", {
|
||||||
title = S("Industrial Age"),
|
title = S("Industrial Age"),
|
||||||
description = S("Place 40 steel ladders."),
|
description = S("Place 40 steel ladders."),
|
||||||
icon = "default_ladder_steel.png",
|
icon = "default_ladder_steel.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "place",
|
type = "place",
|
||||||
node = "default:ladder_steel",
|
node = "default:ladder_steel",
|
||||||
target = 40
|
target = 40
|
||||||
}})
|
}
|
||||||
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("beds") then
|
if minetest.get_modpath("beds") then
|
||||||
awards.register_achievement("award_bed", {
|
awards.register_achievement("award_bed", {
|
||||||
@ -759,7 +766,8 @@ if minetest.get_modpath("beds") then
|
|||||||
type = "craft",
|
type = "craft",
|
||||||
item= "beds:fancy_bed_bottom",
|
item= "beds:fancy_bed_bottom",
|
||||||
target = 15
|
target = 15
|
||||||
}})
|
}
|
||||||
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("stairs") then
|
if minetest.get_modpath("stairs") then
|
||||||
|
Loading…
Reference in New Issue
Block a user