mirror of
https://repo.or.cz/minetest_orienteering.git
synced 2024-09-11 23:36:46 +02: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.
|
There is an optional dependency on default from Minetest Game.
|
||||||
It enables the use of crafting recipes.
|
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
|
## Tools
|
||||||
The orienteering tools are used automatically. To use them, you only need to
|
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
|
have them somewhere in your main player inventory. Most tools add information
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
default?
|
default?
|
||||||
intllib?
|
intllib?
|
||||||
|
awards?
|
||||||
|
13
init.lua
13
init.lua
@ -310,3 +310,16 @@ minetest.register_globalstep(function(dtime)
|
|||||||
updatetimer = updatetimer - dtime
|
updatetimer = updatetimer - dtime
|
||||||
end
|
end
|
||||||
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
|
Coordinates: X\=%d, Y\=%d, Z\=%d = Koordinaten: X\=%d, Y\=%d, Z\=%d
|
||||||
Height: Y\=%d = Höhe: Y\=%d
|
Height: Y\=%d = Höhe: Y\=%d
|
||||||
Coordinates: X\=%d, Z\=%d = Koordinaten: X\=%d, Z\=%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
|
# %.1f will be replaced by number, %s will be replaced by speed unit
|
||||||
Speed: %.1f %s
|
Speed: %.1f %s
|
||||||
|
|
||||||
|
# awards
|
||||||
|
Master of Orienteering
|
||||||
|
Craft a quadcorder.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user