achievements.lua 465 B

123456789101112131415161718
  1. local S = minetest.get_translator("aes_playerinfo")
  2. minetest.register_tool("aes_playerinfo:achievements", {
  3. description = S("Achievements"),
  4. inventory_image = "aesplayerinfo_achievements.png",
  5. groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "3"},
  6. on_place = function() end,
  7. on_drop = function() end,
  8. on_use = function(itemstack, user, pointed_thing)
  9. minetest.chat_send_player(user:get_player_name(), "Coming soon")
  10. end
  11. })