Guest User

Untitled

a guest
Sep 1st, 2012
31
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. minetest.register_on_joinplayer(function(player)
  2.     minetest.debug("[MiniTest] "..player:get_inventory():get_width("craft"))
  3.     player:get_inventory():set_width("craft", 2)
  4.     player:set_inventory_formspec(
  5.         "invsize[8,7.5;]"..
  6.         "image[1,0.6;1,2;player.png]"..
  7.         "list[current_player;main;0,3.5;8,4;]"..
  8.         "list[current_player;craft;3.2,0.5;2,2;]"..
  9.         "list[current_player;craftpreview;7,1;1,1;]")
  10. end)
RAW Paste Data