init.lua 664 B

12345678910111213141516
  1. -- sfinv/init.lua
  2. dofile(minetest.get_modpath("sfinv") .. "/api.lua")
  3. -- Load support for MT game translation.
  4. local S = minetest.get_translator("sfinv")
  5. sfinv.register_page("sfinv:main", {
  6. title = S("Main"),
  7. get = function(self, player, context)
  8. return sfinv.make_formspec(player, context, [[
  9. textarea[1.5,.5;7,5;;Description of map;I have no idea what this will look like. LOL so I just need to make this super long and put in a whole bunch of nonesense text to see how it wraps and stuff. I suppose at some point this could be possibly used to display information about the current game, XP levels, remaining players, etc.]
  10. ]], true)
  11. end
  12. })