2013-02-22 18:53:42 +01:00
|
|
|
-- AWARDS
|
|
|
|
-- by Rubenwardy, CC-BY-SA
|
|
|
|
-------------------------------------------------------
|
2013-02-22 21:43:40 +01:00
|
|
|
-- this is the init file for the award mod
|
2013-02-22 18:53:42 +01:00
|
|
|
-------------------------------------------------------
|
|
|
|
|
2013-02-22 21:43:40 +01:00
|
|
|
dofile(minetest.get_modpath("awards").."/api.lua")
|
2013-02-22 21:38:01 +01:00
|
|
|
|
2013-02-23 15:44:23 +01:00
|
|
|
-- Light it up
|
|
|
|
awards.register_achievement("award_lightitup",{
|
|
|
|
title = "Light It Up",
|
|
|
|
description = "You have placed 100 torches",
|
|
|
|
trigger={
|
|
|
|
type="dig",
|
2013-02-23 15:52:41 +01:00
|
|
|
node="default:torch",
|
2013-02-23 15:44:23 +01:00
|
|
|
target=100,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Lumber Jack
|
|
|
|
awards.register_achievement("award_lumberjack",{
|
|
|
|
title = "Lumber Jack",
|
|
|
|
description = "You have dug 100 tree blocks",
|
|
|
|
trigger={
|
|
|
|
type="dig",
|
2013-02-23 15:52:41 +01:00
|
|
|
node="default:tree",
|
2013-02-23 15:44:23 +01:00
|
|
|
target=100,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2013-02-22 21:43:40 +01:00
|
|
|
-- Found some Mese!
|
2013-02-22 18:53:42 +01:00
|
|
|
awards.register_achievement("award_mesefind",{
|
|
|
|
title = "First Mese Find",
|
|
|
|
description = "Found some Mese!",
|
2013-02-23 13:02:02 +01:00
|
|
|
trigger={
|
|
|
|
type="dig",
|
|
|
|
node="default:mese",
|
|
|
|
target=1,
|
|
|
|
},
|
2013-02-22 18:53:42 +01:00
|
|
|
})
|
|
|
|
|
2013-02-23 15:44:23 +01:00
|
|
|
-- Just entered the mine
|
|
|
|
awards.register_achievement("award_mine1",{
|
|
|
|
title = "Just Entered the mine",
|
|
|
|
description = "You have dug 10 stone blocks",
|
|
|
|
trigger={
|
|
|
|
type="dig",
|
|
|
|
node="default:stone",
|
|
|
|
target=10,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Mini Miner
|
|
|
|
awards.register_achievement("award_mine2",{
|
|
|
|
title = "Mini Miner",
|
|
|
|
description = "You have dug 100 stone blocks",
|
|
|
|
trigger={
|
|
|
|
type="dig",
|
|
|
|
node="default:stone",
|
|
|
|
target=100,
|
|
|
|
},
|
|
|
|
})
|
2013-02-22 21:38:01 +01:00
|
|
|
|
2013-02-23 15:44:23 +01:00
|
|
|
-- Hardened Miner
|
|
|
|
awards.register_achievement("award_mine3",{
|
|
|
|
title = "Hardened Miner",
|
|
|
|
description = "You have dug 1000 stone blocks",
|
2013-02-23 13:02:02 +01:00
|
|
|
trigger={
|
2013-02-23 15:44:23 +01:00
|
|
|
type="dig",
|
|
|
|
node="default:stone",
|
|
|
|
target=1000,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Master Miner
|
|
|
|
awards.register_achievement("award_mine4",{
|
|
|
|
title = "Master Miner",
|
|
|
|
description = "You have dug 10000 stone blocks",
|
|
|
|
trigger={
|
|
|
|
type="dig",
|
|
|
|
node="default:stone",
|
|
|
|
target=10000,
|
2013-02-23 13:02:02 +01:00
|
|
|
},
|
|
|
|
})
|