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-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-22 19:38:09 +01:00
|
|
|
awards.register_onDig(function(player,data)
|
2013-02-23 13:02:02 +01:00
|
|
|
return nil
|
2013-02-22 21:38:01 +01:00
|
|
|
end)
|
|
|
|
|
2013-02-23 10:33:14 +01:00
|
|
|
-- First Brick Placed!
|
2013-02-23 10:30:50 +01:00
|
|
|
awards.register_achievement("award_foundations",{
|
2013-02-22 21:43:40 +01:00
|
|
|
title = "Foundations",
|
2013-02-23 10:30:50 +01:00
|
|
|
description = "Every house starts from its foundations!",
|
2013-02-23 13:02:02 +01:00
|
|
|
trigger={
|
|
|
|
type="place",
|
|
|
|
node="default:brick",
|
|
|
|
target=1,
|
|
|
|
},
|
|
|
|
})
|