Beanstalk award: Make player reach the clouds
parent
7f104ae037
commit
6b5e550048
10
init.lua
10
init.lua
|
@ -62,8 +62,13 @@ minetest.register_node("magicbeans_w:cloud", {
|
|||
if(minetest.get_modpath("awards") ~= nil) then
|
||||
awards.register_achievement("magicbeans_w_beanstalk", {
|
||||
title = S("Sam and the Beanstalk"),
|
||||
description = S("Plant a magic beanstalk bean."),
|
||||
description = S("Climb up a magic beanstalk and touch the clouds."),
|
||||
icon = "magicbeans_w_stem.png",
|
||||
trigger = {
|
||||
type = "dig",
|
||||
node = "magicbeans_w:cloud",
|
||||
target = 1,
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
|
@ -123,9 +128,6 @@ for i in ipairs(magicbeans_w_list) do
|
|||
minetest.add_item(pointed_thing.above, {name="magicbeans_w:"..bean})
|
||||
else
|
||||
-- Grow Beanstalk
|
||||
if(minetest.get_modpath("awards") ~= nil) then
|
||||
awards.unlock(placer:get_player_name(), "magicbeans_w_beanstalk")
|
||||
end
|
||||
math.randomseed(os.time())
|
||||
local stalk = pointed_thing.above
|
||||
stalk.x = stalk.x - 2
|
||||
|
|
|
@ -10,4 +10,4 @@ Magic super speed = Magisches Supertempo
|
|||
Magic super jump = Magischer Supersprung
|
||||
Magic flying = Magischer Flug
|
||||
Sam and the Beanstalk = Sam und die Bohnenstange
|
||||
Plant a magic beanstalk bean. = Pflanzen Sie eine magische Bohnenstangenbohne.
|
||||
Climb up a magic beanstalk and touch the clouds. = Klettern Sie eine magische Bohnenstange hoch und greifen Sie nach den Wolken.
|
||||
|
|
|
@ -10,4 +10,4 @@ Magic super speed
|
|||
Magic super jump
|
||||
Magic flying
|
||||
Sam and the Beanstalk
|
||||
Plant a magic beanstalk bean.
|
||||
Climb up a magic beanstalk and touch the clouds.
|
||||
|
|
Loading…
Reference in New Issue