mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
Add hero of the village achievement
This commit is contained in:
parent
dc017864fd
commit
232f57c247
@ -161,6 +161,6 @@ mcl_events.register_event("raid",{
|
||||
end,
|
||||
on_complete = function(self)
|
||||
--minetest.log("RAID complete")
|
||||
--TODO: Award hero of the village
|
||||
awards.unlock(self.player,"mcl:hero_of_the_village")
|
||||
end,
|
||||
})
|
||||
|
@ -1,3 +1,3 @@
|
||||
name = mcl_raids
|
||||
author = PrairieWind
|
||||
depends = mcl_events, mcl_mobs, mcl_potions, mcl_bells
|
||||
depends = mcl_events, mcl_mobs, mcl_potions, mcl_bells, mcl_achievements
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
@ -529,3 +529,11 @@ awards.register_achievement("mcl:obsidian", {
|
||||
type = "Advancement",
|
||||
group = "Overworld",
|
||||
})
|
||||
|
||||
awards.register_achievement("mcl:hero_of_the_village", {
|
||||
title = S("Hero of the village"),
|
||||
description = S("Successfully defend a village from a raid"),
|
||||
icon = "mcl_raids_hero_of_the_village_icon.png",
|
||||
type = "Advancement",
|
||||
group = "Overworld",
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user