mirror of
http://repo.or.cz/minetest_pyramids/tsm_pyramids.git
synced 2024-12-22 15:30:19 +01:00
Add secret achievement
This commit is contained in:
parent
45a6bd0c71
commit
be2bc3f0fe
@ -3,3 +3,4 @@ farming?
|
||||
treasurer?
|
||||
intllib?
|
||||
doc_items?
|
||||
awards?
|
||||
|
@ -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.
|
||||
|
@ -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. =
|
||||
|
15
mummy.lua
15
mummy.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user