diff options
21 files changed, 165 insertions, 1 deletions
diff --git a/moretrains_basic/blend/moretrains_basic_silberling_anim.blend b/moretrains_basic/blend/moretrains_basic_silberling_anim.blend Binary files differindex 8b936fa..c4c3856 100644 --- a/moretrains_basic/blend/moretrains_basic_silberling_anim.blend +++ b/moretrains_basic/blend/moretrains_basic_silberling_anim.blend diff --git a/moretrains_basic/blend/moretrains_basic_silberling_train_anim.blend b/moretrains_basic/blend/moretrains_basic_silberling_train_anim.blend Binary files differindex 0a98fd8..c188de8 100644 --- a/moretrains_basic/blend/moretrains_basic_silberling_train_anim.blend +++ b/moretrains_basic/blend/moretrains_basic_silberling_train_anim.blend diff --git a/moretrains_gondola/blend/moretrains_wagon_gondola.blend b/moretrains_gondola/blend/moretrains_wagon_gondola.blend Binary files differnew file mode 100644 index 0000000..4342003 --- /dev/null +++ b/moretrains_gondola/blend/moretrains_wagon_gondola.blend diff --git a/moretrains_gondola/blend/moretrains_wagon_gondola_mese.blend b/moretrains_gondola/blend/moretrains_wagon_gondola_mese.blend Binary files differnew file mode 100644 index 0000000..cc113b9 --- /dev/null +++ b/moretrains_gondola/blend/moretrains_wagon_gondola_mese.blend diff --git a/moretrains_gondola/blend/moretrains_wagon_gondola_rails.blend b/moretrains_gondola/blend/moretrains_wagon_gondola_rails.blend Binary files differnew file mode 100644 index 0000000..dcd1d9f --- /dev/null +++ b/moretrains_gondola/blend/moretrains_wagon_gondola_rails.blend diff --git a/moretrains_gondola/blend/moretrains_wagon_gondola_toiletpaper.blend b/moretrains_gondola/blend/moretrains_wagon_gondola_toiletpaper.blend Binary files differnew file mode 100644 index 0000000..3cea1a3 --- /dev/null +++ b/moretrains_gondola/blend/moretrains_wagon_gondola_toiletpaper.blend diff --git a/moretrains_gondola/depends.txt b/moretrains_gondola/depends.txt new file mode 100755 index 0000000..f3443eb --- /dev/null +++ b/moretrains_gondola/depends.txt @@ -0,0 +1,2 @@ +advtrains +intllib? diff --git a/moretrains_gondola/init.lua b/moretrains_gondola/init.lua new file mode 100644 index 0000000..91c9522 --- /dev/null +++ b/moretrains_gondola/init.lua @@ -0,0 +1,154 @@ +local S +if minetest.get_modpath("intllib") then + S = intllib.Getter() +else + S = function(s,a,...)a={a,...}return s:gsub("@(%d+)",function(n)return a[tonumber(n)]end)end +end + + +advtrains.register_wagon("moretrains_wagon_gondola", { + mesh="moretrains_gondola.b3d", + textures = {"moretrains_wagon_gondola.png"}, + seats = {}, + drives_on={default=true}, + max_speed=20, + visual_size = {x=1, y=1}, + wagon_span=2.784, + 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, + }, +}, S("Gondola wagon (empty)"), "moretrains_wagon_gondola_inv.png") + + +advtrains.register_wagon("moretrains_wagon_gondola_mese", { + mesh="moretrains_gondola_mese.b3d", + textures = {"moretrains_wagon_gondola.png"}, + seats = {}, + drives_on={default=true}, + max_speed=20, + visual_size = {x=1, y=1}, + wagon_span=2.784, + 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, + }, +}, S("Gondola wagon with mese"), "moretrains_wagon_gondola_mese_inv.png") + +advtrains.register_wagon("moretrains_wagon_gondola_cobble", { + mesh="moretrains_gondola_mese.b3d", + textures = {"moretrains_wagon_gondola_cobble.png"}, + seats = {}, + drives_on={default=true}, + max_speed=20, + visual_size = {x=1, y=1}, + wagon_span=2.784, + 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, + }, +}, S("Gondola wagon with cobble stone"), "moretrains_wagon_gondola_cobble_inv.png") + +advtrains.register_wagon("moretrains_wagon_gondola_toiletpaper", { + mesh="moretrains_gondola_toiletpaper.b3d", + textures = {"moretrains_wagon_gondola.png"}, + seats = {}, + drives_on={default=true}, + max_speed=20, + visual_size = {x=1, y=1}, + wagon_span=2.784, + 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, + }, +}, S("Gondola wagon with toilet paper"), "moretrains_wagon_gondola_toiletpaper_inv.png") + +advtrains.register_wagon("moretrains_wagon_gondola_rails", { + mesh="moretrains_gondola_rails.b3d", + textures = {"moretrains_wagon_gondola.png"}, + seats = {}, + drives_on={default=true}, + max_speed=20, + visual_size = {x=1, y=1}, + wagon_span=2.784, + 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, + }, +}, S("Gondola wagon with rails"), "moretrains_wagon_gondola_rails_inv.png") + + +minetest.register_craft({ + output = 'advtrains:moretrains_wagon_gondola', + recipe = { + {'group:wood', 'default:chest', 'group:wood'}, + {'advtrains:wheel', '', 'advtrains:wheel'}, + }, +}) + +minetest.register_craft({ + output = "advtrains:moretrains_wagon_gondola_mese", + type = "shapeless", + recipe = {"advtrains:moretrains_wagon_gondola", "default:mese", "default:mese"}, +}) + +minetest.register_craft({ + output = 'advtrains:moretrains_wagon_gondola_toiletpaper', + recipe = { + {'default:paper', 'default:paper', 'default:paper'}, + {'default:paper', 'advtrains:moretrains_wagon_gondola', 'default:paper'}, + {'default:paper', 'default:paper', 'default:paper'}, + }, +}) + +minetest.register_craft({ + output = "advtrains:moretrains_wagon_gondola_cobble", + type = "shapeless", + recipe = {"advtrains:moretrains_wagon_gondola", "default:cobble", "default:cobble"}, +}) + +minetest.register_craft({ + output = "advtrains:moretrains_wagon_gondola_rails", + type = "shapeless", + recipe = {"advtrains:moretrains_wagon_gondola", "advtrains:dtrack_placer", "advtrains:dtrack_placer"}, +})
\ No newline at end of file diff --git a/moretrains_gondola/models/moretrains_gondola.b3d b/moretrains_gondola/models/moretrains_gondola.b3d Binary files differnew file mode 100644 index 0000000..027fb6e --- /dev/null +++ b/moretrains_gondola/models/moretrains_gondola.b3d diff --git a/moretrains_gondola/models/moretrains_gondola_mese.b3d b/moretrains_gondola/models/moretrains_gondola_mese.b3d Binary files differnew file mode 100644 index 0000000..c549832 --- /dev/null +++ b/moretrains_gondola/models/moretrains_gondola_mese.b3d diff --git a/moretrains_gondola/models/moretrains_gondola_rails.b3d b/moretrains_gondola/models/moretrains_gondola_rails.b3d Binary files differnew file mode 100644 index 0000000..586a079 --- /dev/null +++ b/moretrains_gondola/models/moretrains_gondola_rails.b3d diff --git a/moretrains_gondola/models/moretrains_gondola_toiletpaper.b3d b/moretrains_gondola/models/moretrains_gondola_toiletpaper.b3d Binary files differnew file mode 100644 index 0000000..1844b59 --- /dev/null +++ b/moretrains_gondola/models/moretrains_gondola_toiletpaper.b3d diff --git a/moretrains_gondola/textures/dev/moretrains_wagon_gondola.xcf b/moretrains_gondola/textures/dev/moretrains_wagon_gondola.xcf Binary files differnew file mode 100644 index 0000000..5242f4d --- /dev/null +++ b/moretrains_gondola/textures/dev/moretrains_wagon_gondola.xcf diff --git a/moretrains_gondola/textures/moretrains_wagon_gondola.png b/moretrains_gondola/textures/moretrains_wagon_gondola.png Binary files differnew file mode 100644 index 0000000..c70b66c --- /dev/null +++ b/moretrains_gondola/textures/moretrains_wagon_gondola.png diff --git a/moretrains_gondola/textures/moretrains_wagon_gondola_cobble.png b/moretrains_gondola/textures/moretrains_wagon_gondola_cobble.png Binary files differnew file mode 100644 index 0000000..766a27e --- /dev/null +++ b/moretrains_gondola/textures/moretrains_wagon_gondola_cobble.png diff --git a/moretrains_gondola/textures/moretrains_wagon_gondola_cobble_inv.png b/moretrains_gondola/textures/moretrains_wagon_gondola_cobble_inv.png Binary files differnew file mode 100644 index 0000000..f0e1132 --- /dev/null +++ b/moretrains_gondola/textures/moretrains_wagon_gondola_cobble_inv.png diff --git a/moretrains_gondola/textures/moretrains_wagon_gondola_inv.png b/moretrains_gondola/textures/moretrains_wagon_gondola_inv.png Binary files differnew file mode 100644 index 0000000..6e6a98d --- /dev/null +++ b/moretrains_gondola/textures/moretrains_wagon_gondola_inv.png diff --git a/moretrains_gondola/textures/moretrains_wagon_gondola_mese_inv.png b/moretrains_gondola/textures/moretrains_wagon_gondola_mese_inv.png Binary files differnew file mode 100644 index 0000000..d64cdab --- /dev/null +++ b/moretrains_gondola/textures/moretrains_wagon_gondola_mese_inv.png diff --git a/moretrains_gondola/textures/moretrains_wagon_gondola_rails_inv.png b/moretrains_gondola/textures/moretrains_wagon_gondola_rails_inv.png Binary files differnew file mode 100644 index 0000000..07b8df6 --- /dev/null +++ b/moretrains_gondola/textures/moretrains_wagon_gondola_rails_inv.png diff --git a/moretrains_gondola/textures/moretrains_wagon_gondola_toiletpaper_inv.png b/moretrains_gondola/textures/moretrains_wagon_gondola_toiletpaper_inv.png Binary files differnew file mode 100644 index 0000000..a0093c9 --- /dev/null +++ b/moretrains_gondola/textures/moretrains_wagon_gondola_toiletpaper_inv.png @@ -39,7 +39,7 @@ mod - moretrains_vintage: texture: own, uses default_coal_block.png from minetest game (Zeg9)
icons: own
-mod -moretrains_basic:
+mod - moretrains_basic:
railroad_car, silberling
@@ -52,6 +52,14 @@ mod -moretrains_basic: texture: own
icon: based on advtrains_engine_industrial_inv from advtrains / mbb
+mod - moretrains_gondola:
+
+ models and textures: own, except
+ mese block texture (paramat, CC BY-SA 3.0)
+ cobble stone texture (Neuromancer, CC BY-SA 3.0)
+ rail model and texture (from advtrains, CC BY-SA 3.0)
+
+ icons based on box_wagon icon (moretrains_industrial)
planned wagons / trains:
|