Partially implement “Sniper Duel” achievement

This commit is contained in:
Wuzzy 2017-03-06 01:02:30 +01:00
parent edf3204393
commit 1fc98d74b9
5 changed files with 22 additions and 2 deletions

View file

@ -4,5 +4,4 @@ mcl_core
mcl_cake
mcl_mobitems
mcl_flowerpots
mcl_dispensers
intllib?

View file

@ -143,10 +143,19 @@ awards.register_achievement("mcl:onARail", {
icon = "default_rail.png",
})
-- Triggered in mcl_throwing
awards.register_achievement("mcl:snipeSkeleton", {
title = S("Sniper Duel"),
-- TODO: This achievement should be for killing, not hitting
description = S("Hit a skeleton, wither skeleton or stray by bow and arrow from a distance of at least 50 meters."),
icon = "mcl_throwing_bow.png",
})
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
awards.register_achievement("mcl:n_placeDispenser", {
title = S("Dispense With This"),
description = S("Place a dispenser."),
icon = "mcl_dispensers_dispenser_front_horizontal.png",
trigger = {
type = "place",