diff options
author | Tim <t4im@users.noreply.github.com> | 2015-01-29 20:08:34 +0100 |
---|---|---|
committer | Tim <t4im@users.noreply.github.com> | 2015-01-29 20:08:58 +0100 |
commit | c9d18f74e448c6953ffc7c1e0461b60c90220a2a (patch) | |
tree | 7be8f0f9d8398f2ede8554f76c514bbc66da02af | |
parent | 009b9e9276ce6e09b52df5b798e576f2d7a87c43 (diff) | |
download | pipeworks-c9d18f74e448c6953ffc7c1e0461b60c90220a2a.tar pipeworks-c9d18f74e448c6953ffc7c1e0461b60c90220a2a.tar.gz pipeworks-c9d18f74e448c6953ffc7c1e0461b60c90220a2a.tar.bz2 pipeworks-c9d18f74e448c6953ffc7c1e0461b60c90220a2a.tar.xz pipeworks-c9d18f74e448c6953ffc7c1e0461b60c90220a2a.zip |
update all formspecs "current_name" to "context" to reflect current api
-rw-r--r-- | filter-injector.lua | 2 | ||||
-rw-r--r-- | trashcan.lua | 2 | ||||
-rwxr-xr-x | tubes.lua | 12 |
3 files changed, 8 insertions, 8 deletions
diff --git a/filter-injector.lua b/filter-injector.lua index 599303f..dd0b187 100644 --- a/filter-injector.lua +++ b/filter-injector.lua @@ -16,7 +16,7 @@ local function set_filter_formspec(data, meta) "item_image[0,0;1,1;pipeworks:"..data.name.."]".. "label[1,0;"..minetest.formspec_escape(itemname).."]".. "label[0,1;Prefer item types:]".. - "list[current_name;main;0,1.5;8,2;]".. + "list[context;main;0,1.5;8,2;]".. fs_helpers.cycling_button(meta, "button[0,3.5;4,1", "slotseq_mode", {"Sequence slots by Priority", "Sequence slots Randomly", diff --git a/trashcan.lua b/trashcan.lua index fdec79f..6372dbe 100644 --- a/trashcan.lua +++ b/trashcan.lua @@ -23,7 +23,7 @@ minetest.register_node("pipeworks:trashcan", { "size[8,7]".. "item_image[0,0;1,1;pipeworks:trashcan]".. "label[1,0;Trash Can]".. - "list[current_name;trash;3.5,1;1,1;]".. + "list[context;trash;3.5,1;1,1;]".. "list[current_player;main;0,3;8,4;]") meta:set_string("infotext", "Trash Can") meta:get_inventory():set_size("trash", 1) @@ -257,12 +257,12 @@ if pipeworks.enable_mese_tube then end meta:set_string("formspec", "size[8,11]".. - "list[current_name;line1;1,0;6,1;]".. - "list[current_name;line2;1,1;6,1;]".. - "list[current_name;line3;1,2;6,1;]".. - "list[current_name;line4;1,3;6,1;]".. - "list[current_name;line5;1,4;6,1;]".. - "list[current_name;line6;1,5;6,1;]".. + "list[context;line1;1,0;6,1;]".. + "list[context;line2;1,1;6,1;]".. + "list[context;line3;1,2;6,1;]".. + "list[context;line4;1,3;6,1;]".. + "list[context;line5;1,4;6,1;]".. + "list[context;line6;1,5;6,1;]".. "image[0,0;1,1;pipeworks_white.png]".. "image[0,1;1,1;pipeworks_black.png]".. "image[0,2;1,1;pipeworks_green.png]".. |