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