SHOW:
|
|
- or go back to the newest paste.
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;]" |
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;]" |
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;]" |
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;]" |
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;]" |
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;]" |
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;Go;searchbutton;]" |
12 | + | formspec = formspec .. "button[12.2,8.1;.8,.8;searchbutton;Go]" |