diff --git a/init.lua b/init.lua index 08e704b..1d03e92 100644 --- a/init.lua +++ b/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 diff --git a/locale/de.txt b/locale/de.txt index 0a72672..f2d7211 100644 --- a/locale/de.txt +++ b/locale/de.txt @@ -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. diff --git a/locale/template.txt b/locale/template.txt index cb7e2d3..b596104 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -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.