Add secret achievement

This commit is contained in:
Wuzzy 2016-11-22 06:35:03 +01:00
parent 45a6bd0c71
commit be2bc3f0fe
4 changed files with 19 additions and 1 deletions

View File

@ -3,3 +3,4 @@ farming?
treasurer?
intllib?
doc_items?
awards?

View File

@ -10,3 +10,5 @@ Can be used to create a hostile mummy. = Kann benutzt werden, um eine feindliche
Place the egg to create a mummy on this spot. Careful, it will probably attack immediately! = Platzieren Sie das Ei, um dort eine Mumie zu erzeugen. Vorsicht, sie wird wahrscheinlich sofort angreifen!
This brick is old, porous and unstable and is barely able to hold itself. One should be careful not to disturb it. = Dieser Ziegel ist alt, porös und instabil und kann sich so gerade noch selbst stützen. Man sollte vorsichtig sein, ihn nicht zu belasten.
This old and porous brick fell to the ground. It does not hold itself anymore. = Dieser alte und poröse Ziegel fiel zu Boden und wird durch nichts mehr gestützt.
No more mummies! = Keine Mumien mehr!
Destroy a mummy spawner by digging. = Zerstören Sie einen Mumien-Spawner, indem Sie ihn graben.

View File

@ -10,3 +10,5 @@ Can be used to create a hostile mummy. =
Place the egg to create a mummy on this spot. Careful, it will probably attack immediately! =
This brick is old, porous and unstable and is barely able to hold itself. One should be careful not to disturb it. =
This old and porous brick fell to the ground. It does not hold itself anymore. =
No more mummies! =
Destroy a mummy spawner by digging. =

View File

@ -391,4 +391,17 @@ if not minetest.setting_getbool("only_peaceful_mobs") then
end
})
end
if minetest.get_modpath("awards") then
awards.register_achievement("tsm_pyramids_no_mummy_spawner", {
title = S("No more mummies!"),
description = S("Destroy a mummy spawner by digging."),
secret = true,
icon = "tsm_pyramids_spawner.png",
trigger = {
type = "dig",
node = "tsm_pyramids:spawner_mummy",
target = 1
}
})
end