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
1 changed files with 47 additions and 37 deletions

View File

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