Advertisement
Guest User

Untitled

a guest
May 30th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   -- Controls to flip items pages
  2.   local start_x = 9.2
  3.   formspec = formspec .. "button["..(start_x + 0.6 * 0)..",9;.8,.8;start_list;|<;]"
  4.   formspec = formspec .. "button["..(start_x + 0.6 * 1)..",9;.8,.8;rewind3;<<;]"
  5.   formspec = formspec .. "button["..(start_x + 0.6 * 2)..",9;.8,.8;rewind1;<;]"
  6.   formspec = formspec .. "button["..(start_x + 0.6 * 3)..",9;.8,.8;forward1;>;]"
  7.   formspec = formspec .. "button["..(start_x + 0.6 * 4)..",9;.8,.8;forward3;>>;]"
  8.   formspec = formspec .. "button["..(start_x + 0.6 * 5)..",9;.8,.8;end_list;>|;]"
  9.  
  10.   -- Search box
  11.   formspec = formspec .. "field[9.5,8.325;3,1;searchbox;;"..minetest.formspec_escape(unified_inventory.current_searchbox[player_name]).."]"
  12.   formspec = formspec .. "button[12.2,8.1;.8,.8;searchbutton;Go;]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement