diff options
author | Traxie21 <sunrisecraft2@gmail.com> | 2013-02-25 13:15:40 -0600 |
---|---|---|
committer | Traxie21 <sunrisecraft2@gmail.com> | 2013-02-25 13:15:40 -0600 |
commit | dd3de62572c61c803f051d40b5ab9853ade81370 (patch) | |
tree | 05971bb90262ef4d00144aec2af54d750768eae1 /init.lua | |
parent | 5cd8bfb491736c7e2140484bb6aff766dda1acbc (diff) |
-Added formspec system
-Added 3 new api values for formspec (background, icon, and custom_announce)
-Added configuration file
-Fixed one glitch that happens when you mine stone and rejoin
-Addded textures
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -10,6 +10,7 @@ dofile(minetest.get_modpath("awards").."/api.lua") awards.register_achievement("award_lightitup",{ title = "Light It Up", description = "You have placed 100 torches", + icon = "novicebuilder.png", trigger={ type="place", node="default:torch", @@ -32,10 +33,12 @@ awards.register_achievement("award_lumberjack",{ awards.register_achievement("award_mesefind",{ title = "First Mese Find", description = "Found some Mese!", + icon = "mese.png", + background = "bg_mining.png", trigger={ type="dig", - node="default:mese", - target=1, + node="default:stone_with_mese", + target=100, }, }) @@ -52,8 +55,10 @@ awards.register_achievement("award_nyanfind",{ -- Just entered the mine awards.register_achievement("award_mine1",{ - title = "Just Entered the mine", + title = "Entering the mine", description = "You have dug 10 stone blocks", + icon = "miniminer.png", + background = "bg_mining.png", trigger={ type="dig", node="default:stone", @@ -65,6 +70,8 @@ awards.register_achievement("award_mine1",{ awards.register_achievement("award_mine2",{ title = "Mini Miner", description = "You have dug 100 stone blocks", + icon = "miniminer.png", + background = "bg_mining.png", trigger={ type="dig", node="default:stone", @@ -76,6 +83,8 @@ awards.register_achievement("award_mine2",{ awards.register_achievement("award_mine3",{ title = "Hardened Miner", description = "You have dug 1000 stone blocks", + icon = "miniminer.png", + background = "bg_mining.png", trigger={ type="dig", node="default:stone", @@ -87,6 +96,8 @@ awards.register_achievement("award_mine3",{ awards.register_achievement("award_mine4",{ title = "Master Miner", description = "You have dug 10000 stone blocks", + icon = "miniminer.png", + background = "bg_mining.png", trigger={ type="dig", node="default:stone", |