1
0
mirror of https://gitlab.com/rubenwardy/awards.git synced 2024-11-14 22:50:28 +01:00

More consistent code style in init.lua

This commit is contained in:
Wuzzy 2016-08-11 09:55:56 +02:00
parent 5b416c61c4
commit 1bd96e662b

View File

@ -665,7 +665,8 @@ if minetest.get_modpath("vessels") ~= nil then
type = "craft", type = "craft",
item= "vessels:shelf", item= "vessels:shelf",
target = 14 target = 14
}}) }
})
end end
awards.register_achievement("award_furnace", { awards.register_achievement("award_furnace", {
@ -676,7 +677,8 @@ end
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"),
@ -769,7 +771,8 @@ if minetest.get_modpath("stairs") ~= nil then
type = "craft", type = "craft",
item= "stairs:stair_goldblock", item= "stairs:stair_goldblock",
target = 24 target = 24
}}) }
})
end end
if minetest.get_modpath("dye") ~= nil then if minetest.get_modpath("dye") ~= nil then
@ -781,7 +784,9 @@ if minetest.get_modpath("dye") ~= nil then
type = "craft", type = "craft",
item = "dye:red", item = "dye:red",
target = 400 target = 400
}}) }
})
awards.register_achievement("awards_dye_yellow", { awards.register_achievement("awards_dye_yellow", {
title = S("Dandelions are Yellow"), title = S("Dandelions are Yellow"),
description = S("Craft 400 yellow dyes."), description = S("Craft 400 yellow dyes."),
@ -790,7 +795,9 @@ if minetest.get_modpath("dye") ~= nil then
type = "craft", type = "craft",
item = "dye:yellow", item = "dye:yellow",
target = 400 target = 400
}}) }
})
awards.register_achievement("awards_dye_blue", { awards.register_achievement("awards_dye_blue", {
title = S("Geraniums are Blue"), title = S("Geraniums are Blue"),
description = S("Craft 400 blue dyes."), description = S("Craft 400 blue dyes."),
@ -799,7 +806,9 @@ if minetest.get_modpath("dye") ~= nil then
type = "craft", type = "craft",
item= "dye:blue", item= "dye:blue",
target = 400 target = 400
}}) }
})
awards.register_achievement("awards_dye_white", { awards.register_achievement("awards_dye_white", {
title = S("White Color Stock"), title = S("White Color Stock"),
description = S("Craft 100 white dyes."), description = S("Craft 100 white dyes."),
@ -808,5 +817,6 @@ if minetest.get_modpath("dye") ~= nil then
type = "craft", type = "craft",
item= "dye:white", item= "dye:white",
target = 100 target = 100
}}) }
})
end end