mirror of
https://repo.or.cz/minetest_orienteering.git
synced 2025-01-23 21:01:30 +01:00
Add achievement: Master of Orienteering
This commit is contained in:
parent
47cbdf056c
commit
66a4e0f411
@ -9,6 +9,10 @@ Current version: 0.2
|
||||
There is an optional dependency on default from Minetest Game.
|
||||
It enables the use of crafting recipes.
|
||||
|
||||
There is an optional dependency on Achievements [awards] by rubenwardy. If
|
||||
both this mod and the default mod are enabled, the achievement “Master of
|
||||
Orienteering” will be added.
|
||||
|
||||
## Tools
|
||||
The orienteering tools are used automatically. To use them, you only need to
|
||||
have them somewhere in your main player inventory. Most tools add information
|
||||
|
@ -1,2 +1,3 @@
|
||||
default?
|
||||
intllib?
|
||||
awards?
|
||||
|
13
init.lua
13
init.lua
@ -310,3 +310,16 @@ minetest.register_globalstep(function(dtime)
|
||||
updatetimer = updatetimer - dtime
|
||||
end
|
||||
end)
|
||||
|
||||
if minetest.get_modpath("awards") ~= nil and minetest.get_modpath("default") then
|
||||
awards.register_achievement("orienteering_quadcorder", {
|
||||
title = S("Master of Orienteering"),
|
||||
description = S("Craft a quadcorder."),
|
||||
icon = "orienteering_quadcorder.png",
|
||||
trigger = {
|
||||
type = "craft",
|
||||
item = "orienteering:quadcorder",
|
||||
target = 1
|
||||
}
|
||||
})
|
||||
end
|
||||
|
@ -27,3 +27,6 @@ m/s = m/s
|
||||
Coordinates: X\=%d, Y\=%d, Z\=%d = Koordinaten: X\=%d, Y\=%d, Z\=%d
|
||||
Height: Y\=%d = Höhe: Y\=%d
|
||||
Coordinates: X\=%d, Z\=%d = Koordinaten: X\=%d, Z\=%d
|
||||
|
||||
Master of Orienteering = Meister der Orientierung
|
||||
Craft a quadcorder. = Fertige einen Vierkorder.
|
||||
|
@ -37,3 +37,8 @@ m/s
|
||||
|
||||
# %.1f will be replaced by number, %s will be replaced by speed unit
|
||||
Speed: %.1f %s
|
||||
|
||||
# awards
|
||||
Master of Orienteering
|
||||
Craft a quadcorder.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user