|
@@ -16,12 +16,7 @@ advtrains.register_wagon("moretrains_wagon_tank", {
|
|
|
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
|
|
|
drops={"default:steelblock 2"},
|
|
|
has_inventory = true,
|
|
|
- get_inventory_formspec = function(self, pname, invname)
|
|
|
- return "size[8,11]"..
|
|
|
- "list["..invname..";box;0,0;8,3;]"..
|
|
|
- "list[current_player;main;0,5;8,4;]"..
|
|
|
- "listring[]"
|
|
|
- end,
|
|
|
+ get_inventory_formspec = advtrains.standard_inventory_formspec,
|
|
|
inventory_list_sizes = {
|
|
|
box=8*3,
|
|
|
},
|
|
@@ -38,12 +33,7 @@ advtrains.register_wagon("moretrains_wagon_tank2", {
|
|
|
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
|
|
|
drops={"default:steelblock 2"},
|
|
|
has_inventory = true,
|
|
|
- get_inventory_formspec = function(self, pname, invname)
|
|
|
- return "size[8,11]"..
|
|
|
- "list["..invname..";box;0,0;8,3;]"..
|
|
|
- "list[current_player;main;0,5;8,4;]"..
|
|
|
- "listring[]"
|
|
|
- end,
|
|
|
+ get_inventory_formspec = advtrains.standard_inventory_formspec,
|
|
|
inventory_list_sizes = {
|
|
|
box=8*3,
|
|
|
},
|
|
@@ -61,12 +51,7 @@ advtrains.register_wagon("moretrains_wagon_wood", {
|
|
|
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
|
|
|
drops={"default:steelblock"},
|
|
|
has_inventory = true,
|
|
|
- get_inventory_formspec = function(self, pname, invname)
|
|
|
- return "size[8,11]"..
|
|
|
- "list["..invname..";box;0,0;8,3;]"..
|
|
|
- "list[current_player;main;0,5;8,4;]"..
|
|
|
- "listring[]"
|
|
|
- end,
|
|
|
+ get_inventory_formspec = advtrains.standard_inventory_formspec,
|
|
|
inventory_list_sizes = {
|
|
|
box=8*3,
|
|
|
},
|
|
@@ -83,12 +68,7 @@ advtrains.register_wagon("moretrains_wagon_wood_loaded", {
|
|
|
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
|
|
|
drops={"default:steelblock"},
|
|
|
has_inventory = true,
|
|
|
- get_inventory_formspec = function(self, pname, invname)
|
|
|
- return "size[8,11]"..
|
|
|
- "list["..invname..";box;0,0;8,3;]"..
|
|
|
- "list[current_player;main;0,5;8,4;]"..
|
|
|
- "listring[]"
|
|
|
- end,
|
|
|
+ get_inventory_formspec = advtrains.standard_inventory_formspec,
|
|
|
inventory_list_sizes = {
|
|
|
box=8*3,
|
|
|
},
|
|
@@ -105,15 +85,7 @@ advtrains.register_wagon("moretrains_wagon_wood_acacia", {
|
|
|
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
|
|
|
drops={"default:steelblock"},
|
|
|
has_inventory = true,
|
|
|
- get_inventory_formspec = function(self, pname, invname)
|
|
|
- return "size[8,11]"..
|
|
|
- "list["..invname..";box;0,0;8,3;]"..
|
|
|
- "list[current_player;main;0,5;8,4;]"..
|
|
|
- "listring[]"
|
|
|
- end,
|
|
|
- inventory_list_sizes = {
|
|
|
- box=8*3,
|
|
|
- },
|
|
|
+ get_inventory_formspec = advtrains.standard_inventory_formspec,
|
|
|
}, S("Industrial wood wagon (acacia)"), "moretrains_wagon_wood_acacia_inv.png")
|
|
|
|
|
|
advtrains.register_wagon("moretrains_wagon_wood_jungle", {
|
|
@@ -127,12 +99,7 @@ advtrains.register_wagon("moretrains_wagon_wood_jungle", {
|
|
|
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
|
|
|
drops={"default:steelblock"},
|
|
|
has_inventory = true,
|
|
|
- get_inventory_formspec = function(self, pname, invname)
|
|
|
- return "size[8,11]"..
|
|
|
- "list["..invname..";box;0,0;8,3;]"..
|
|
|
- "list[current_player;main;0,5;8,4;]"..
|
|
|
- "listring[]"
|
|
|
- end,
|
|
|
+ get_inventory_formspec = advtrains.standard_inventory_formspec,
|
|
|
inventory_list_sizes = {
|
|
|
box=8*3,
|
|
|
},
|
|
@@ -149,12 +116,7 @@ advtrains.register_wagon("moretrains_wagon_wood_pine", {
|
|
|
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
|
|
|
drops={"default:steelblock"},
|
|
|
has_inventory = true,
|
|
|
- get_inventory_formspec = function(self, pname, invname)
|
|
|
- return "size[8,11]"..
|
|
|
- "list["..invname..";box;0,0;8,3;]"..
|
|
|
- "list[current_player;main;0,5;8,4;]"..
|
|
|
- "listring[]"
|
|
|
- end,
|
|
|
+ get_inventory_formspec = advtrains.standard_inventory_formspec,
|
|
|
inventory_list_sizes = {
|
|
|
box=8*3,
|
|
|
},
|
|
@@ -171,12 +133,7 @@ advtrains.register_wagon("moretrains_wagon_wood_aspen", {
|
|
|
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
|
|
|
drops={"default:steelblock"},
|
|
|
has_inventory = true,
|
|
|
- get_inventory_formspec = function(self, pname, invname)
|
|
|
- return "size[8,11]"..
|
|
|
- "list["..invname..";box;0,0;8,3;]"..
|
|
|
- "list[current_player;main;0,5;8,4;]"..
|
|
|
- "listring[]"
|
|
|
- end,
|
|
|
+ get_inventory_formspec = advtrains.standard_inventory_formspec,
|
|
|
inventory_list_sizes = {
|
|
|
box=8*3,
|
|
|
},
|
|
@@ -195,12 +152,7 @@ advtrains.register_wagon("moretrains_wagon_box", {
|
|
|
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
|
|
|
drops={"default:steelblock"},
|
|
|
has_inventory = true,
|
|
|
- get_inventory_formspec = function(self, pname, invname)
|
|
|
- return "size[8,11]"..
|
|
|
- "list["..invname..";box;0,0;8,3;]"..
|
|
|
- "list[current_player;main;0,5;8,4;]"..
|
|
|
- "listring[]"
|
|
|
- end,
|
|
|
+ get_inventory_formspec = advtrains.standard_inventory_formspec,
|
|
|
inventory_list_sizes = {
|
|
|
box=8*3,
|
|
|
},
|