diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-24 23:52:23 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-24 23:55:41 +0300 |
commit | 7c6142ba0d6ea09ce2964194e5ed373e5c01c311 (patch) | |
tree | 0f17d3f0d984a6f357a4dd5d3641388650860815 | |
parent | ec9e2280343b002bccec9fff5d624e32259feb09 (diff) |
Cheaper feldweg and change of deprecated value
-rw-r--r-- | nodes_anvil.lua | 8 | ||||
-rw-r--r-- | nodes_barrel.lua | 4 | ||||
-rw-r--r-- | nodes_furniture.lua | 2 | ||||
-rw-r--r-- | nodes_historic.lua | 2 | ||||
-rw-r--r-- | nodes_mining.lua | 2 | ||||
-rw-r--r-- | nodes_straw.lua | 10 |
6 files changed, 14 insertions, 14 deletions
diff --git a/nodes_anvil.lua b/nodes_anvil.lua index 626419a..879e80f 100644 --- a/nodes_anvil.lua +++ b/nodes_anvil.lua @@ -30,10 +30,10 @@ minetest.register_tool("cottages:hammer", { local cottages_anvil_formspec = "size[8,8]".. "image[7,3;1,1;glooptest_tool_steelhammer.png]".. --- "list[current_name;sample;0,0.5;1,1;]".. - "list[current_name;input;2.5,1.5;1,1;]".. --- "list[current_name;material;5,0;3,3;]".. - "list[current_name;hammer;5,3;1,1;]".. +-- "list[context;sample;0,0.5;1,1;]".. + "list[context;input;2.5,1.5;1,1;]".. +-- "list[context;material;5,0;3,3;]".. + "list[context;hammer;5,3;1,1;]".. -- "label[0.0,0.0;Sample:]".. -- "label[0.0,1.0;(Receipe)]".. "label[2.5,1.0;"..S("Workpiece:").."]".. diff --git a/nodes_barrel.lua b/nodes_barrel.lua index b4f076c..946fb11 100644 --- a/nodes_barrel.lua +++ b/nodes_barrel.lua @@ -55,10 +55,10 @@ barrel.prepare_formspec = function(fill, contents) "image[2.6,2;2,3;default_wood.png^[lowpart:".. percent .. ":cottages_water_indicator.png]".. "label[2.2,0;"..S("Pour:").."]".. - "list[current_name;input;3,0.5;1,1;]".. + "list[context;input;3,0.5;1,1;]".. "item_image_button[5,2;1,1;" .. item .. ";" .. label .. ";" .. hint .. "]" .. "label[5,3.3;"..S("Fill:").."]".. - "list[current_name;output;5,3.8;1,1;]".. + "list[context;output;5,3.8;1,1;]".. "list[current_player;main;0,5;8,4;]" return (formspec) diff --git a/nodes_furniture.lua b/nodes_furniture.lua index dbbf927..b7ae080 100644 --- a/nodes_furniture.lua +++ b/nodes_furniture.lua @@ -266,7 +266,7 @@ minetest.register_node("cottages:shelf", { meta:set_string("formspec", "size[8,8]".. - "list[current_name;main;0,0;8,3;]".. + "list[context;main;0,0;8,3;]".. "list[current_player;main;0,4;8,4;]") meta:set_string("infotext", S("open storage shelf")) local inv = meta:get_inventory(); diff --git a/nodes_historic.lua b/nodes_historic.lua index 993fb3e..96e6aa3 100644 --- a/nodes_historic.lua +++ b/nodes_historic.lua @@ -203,7 +203,7 @@ minetest.register_craft({ -- run a wagon wheel over dirt :-) minetest.register_craft({ - output = "cottages:feldweg 4", + output = "cottages:feldweg 6", recipe = { {"", "cottages:wagon_wheel", "" }, {cottages.craftitem_dirt,cottages.craftitem_dirt,cottages.craftitem_dirt } diff --git a/nodes_mining.lua b/nodes_mining.lua index 891c380..8607b61 100644 --- a/nodes_mining.lua +++ b/nodes_mining.lua @@ -30,7 +30,7 @@ minetest.register_node("cottages:rope", { }) minetest.register_craft({ - output = "cottages:rope", + output = "cottages:rope 4", recipe = { {"farming:cotton","farming:string","farming:cotton"}, {"farming:string","farming:cotton","farming:string"} diff --git a/nodes_straw.lua b/nodes_straw.lua index cc86cd9..6a520fc 100644 --- a/nodes_straw.lua +++ b/nodes_straw.lua @@ -91,9 +91,9 @@ local cottages_formspec_treshing_floor = "size[8,8]".. "image[3.5,2.5;1,1;"..cottages.texture_stick.."]".. "image[0,1;1,1;farming_wheat.png]".. - "list[current_name;harvest;1,1;2,1;]".. - "list[current_name;straw;6,0;2,2;]".. - "list[current_name;seeds;6,2;2,2;]".. + "list[context;harvest;1,1;2,1;]".. + "list[context;straw;6,0;2,2;]".. + "list[context;seeds;6,2;2,2;]".. "label[1,0.5;"..S("Harvested wheat:").."]".. "label[5,0.0;"..S("Straw:").."]".. "label[5,2.0;"..S("Seeds:").."]".. @@ -348,8 +348,8 @@ minetest.register_node("cottages:threshing_floor", { local cottages_handmill_formspec = "size[8,8]".. "image[0,1;1,1;"..cottages.texture_wheat_seed.."]".. - "list[current_name;seeds;1,1;1,1;]".. - "list[current_name;flour;5,1;2,2;]".. + "list[context;seeds;1,1;1,1;]".. + "list[context;flour;5,1;2,2;]".. "label[0,0.5;"..S("Wheat seeds:").."]".. "label[4,0.5;"..S("Flour:").."]".. "label[0,0;"..S("Mill").."]".. |