aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_train_industrial
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/advtrains_train_industrial')
-rw-r--r--advtrains/advtrains_train_industrial/depends.txt2
-rw-r--r--advtrains/advtrains_train_industrial/init.lua84
-rw-r--r--advtrains/advtrains_train_industrial/locale/de.txt5
-rw-r--r--advtrains/advtrains_train_industrial/models/advtrains_engine_industrial.b3dbin143659 -> 0 bytes
-rw-r--r--advtrains/advtrains_train_industrial/models/advtrains_wagon_tank.b3dbin223975 -> 0 bytes
-rw-r--r--advtrains/advtrains_train_industrial/models/advtrains_wagon_wood.b3dbin193975 -> 0 bytes
-rw-r--r--advtrains/advtrains_train_industrial/textures/advtrains_engine_industrial.pngbin59019 -> 0 bytes
-rw-r--r--advtrains/advtrains_train_industrial/textures/advtrains_engine_industrial_inv.pngbin381 -> 0 bytes
-rw-r--r--advtrains/advtrains_train_industrial/textures/advtrains_wagon_tank.pngbin8975 -> 0 bytes
-rw-r--r--advtrains/advtrains_train_industrial/textures/advtrains_wagon_tank_inv.pngbin408 -> 0 bytes
-rw-r--r--advtrains/advtrains_train_industrial/textures/advtrains_wagon_wood.pngbin5974 -> 0 bytes
-rw-r--r--advtrains/advtrains_train_industrial/textures/advtrains_wagon_wood_inv.pngbin316 -> 0 bytes
12 files changed, 0 insertions, 91 deletions
diff --git a/advtrains/advtrains_train_industrial/depends.txt b/advtrains/advtrains_train_industrial/depends.txt
deleted file mode 100644
index 1fb6665..0000000
--- a/advtrains/advtrains_train_industrial/depends.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-advtrains
-intllib? \ No newline at end of file
diff --git a/advtrains/advtrains_train_industrial/init.lua b/advtrains/advtrains_train_industrial/init.lua
deleted file mode 100644
index ebf8d65..0000000
--- a/advtrains/advtrains_train_industrial/init.lua
+++ /dev/null
@@ -1,84 +0,0 @@
--- Boilerplate to support localized strings if intllib mod is installed.
-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("engine_industrial", {
- mesh="advtrains_engine_industrial.b3d",
- textures = {"advtrains_engine_industrial.png"},
- drives_on={default=true},
- max_speed=20,
- seats = {
- {
- name=S("Driver Stand (left)"),
- attach_offset={x=-5, y=10, z=-10},
- view_offset={x=0, y=10, z=0},
- driving_ctrl_access=true,
- group = "dstand",
- },
- {
- name=S("Driver Stand (right)"),
- attach_offset={x=5, y=10, z=-10},
- view_offset={x=0, y=10, z=0},
- driving_ctrl_access=true,
- group = "dstand",
- },
- },
- seat_groups = {
- dstand={
- name = "Driver Stand",
- access_to = {},
- },
- },
- assign_to_seat_group = {"dstand"},
- visual_size = {x=1, y=1},
- wagon_span=2.6,
- is_locomotive=true,
- collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
- drops={"default:steelblock 4"},
-}, S("Industrial Train Engine"), "advtrains_engine_industrial_inv.png")
-advtrains.register_wagon("wagon_tank", {
- mesh="advtrains_wagon_tank.b3d",
- textures = {"advtrains_wagon_tank.png"},
- seats = {},
- drives_on={default=true},
- max_speed=20,
- visual_size = {x=1, y=1},
- wagon_span=2.2,
- collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
- drops={"default:steelblock 4"},
- has_inventory = true,
- get_inventory_formspec = function(self)
- return "size[8,11]"..
- "list[detached:advtrains_wgn_"..self.unique_id..";box;0,0;8,3;]"..
- "list[current_player;main;0,5;8,4;]"..
- "listring[]"
- end,
- inventory_list_sizes = {
- box=8*3,
- },
-}, S("Industrial tank wagon"), "advtrains_wagon_tank_inv.png")
-advtrains.register_wagon("wagon_wood", {
- mesh="advtrains_wagon_wood.b3d",
- textures = {"advtrains_wagon_wood.png"},
- seats = {},
- drives_on={default=true},
- max_speed=20,
- visual_size = {x=1, y=1},
- wagon_span=1.8,
- collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
- drops={"default:steelblock 4"},
- has_inventory = true,
- get_inventory_formspec = function(self)
- return "size[8,11]"..
- "list[detached:advtrains_wgn_"..self.unique_id..";box;0,0;8,3;]"..
- "list[current_player;main;0,5;8,4;]"..
- "listring[]"
- end,
- inventory_list_sizes = {
- box=8*3,
- },
-}, S("Industrial wood wagon"), "advtrains_wagon_wood_inv.png")
diff --git a/advtrains/advtrains_train_industrial/locale/de.txt b/advtrains/advtrains_train_industrial/locale/de.txt
deleted file mode 100644
index a45ca27..0000000
--- a/advtrains/advtrains_train_industrial/locale/de.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-Driver Stand (left) = Führerstand Links
-Driver Stand (right) = Führerstand Rechts
-Industrial Train Engine = Industrielle Lokomotive
-Industrial tank wagon = Tankwaggon
-Industrial wood wagon = Holztransportwaggon \ No newline at end of file
diff --git a/advtrains/advtrains_train_industrial/models/advtrains_engine_industrial.b3d b/advtrains/advtrains_train_industrial/models/advtrains_engine_industrial.b3d
deleted file mode 100644
index f1ea485..0000000
--- a/advtrains/advtrains_train_industrial/models/advtrains_engine_industrial.b3d
+++ /dev/null
Binary files differ
diff --git a/advtrains/advtrains_train_industrial/models/advtrains_wagon_tank.b3d b/advtrains/advtrains_train_industrial/models/advtrains_wagon_tank.b3d
deleted file mode 100644
index af2604b..0000000
--- a/advtrains/advtrains_train_industrial/models/advtrains_wagon_tank.b3d
+++ /dev/null
Binary files differ
diff --git a/advtrains/advtrains_train_industrial/models/advtrains_wagon_wood.b3d b/advtrains/advtrains_train_industrial/models/advtrains_wagon_wood.b3d
deleted file mode 100644
index 0e7fb4b..0000000
--- a/advtrains/advtrains_train_industrial/models/advtrains_wagon_wood.b3d
+++ /dev/null
Binary files differ
diff --git a/advtrains/advtrains_train_industrial/textures/advtrains_engine_industrial.png b/advtrains/advtrains_train_industrial/textures/advtrains_engine_industrial.png
deleted file mode 100644
index 38a872f..0000000
--- a/advtrains/advtrains_train_industrial/textures/advtrains_engine_industrial.png
+++ /dev/null
Binary files differ
diff --git a/advtrains/advtrains_train_industrial/textures/advtrains_engine_industrial_inv.png b/advtrains/advtrains_train_industrial/textures/advtrains_engine_industrial_inv.png
deleted file mode 100644
index be4e80f..0000000
--- a/advtrains/advtrains_train_industrial/textures/advtrains_engine_industrial_inv.png
+++ /dev/null
Binary files differ
diff --git a/advtrains/advtrains_train_industrial/textures/advtrains_wagon_tank.png b/advtrains/advtrains_train_industrial/textures/advtrains_wagon_tank.png
deleted file mode 100644
index 79b1316..0000000
--- a/advtrains/advtrains_train_industrial/textures/advtrains_wagon_tank.png
+++ /dev/null
Binary files differ
diff --git a/advtrains/advtrains_train_industrial/textures/advtrains_wagon_tank_inv.png b/advtrains/advtrains_train_industrial/textures/advtrains_wagon_tank_inv.png
deleted file mode 100644
index 03401be..0000000
--- a/advtrains/advtrains_train_industrial/textures/advtrains_wagon_tank_inv.png
+++ /dev/null
Binary files differ
diff --git a/advtrains/advtrains_train_industrial/textures/advtrains_wagon_wood.png b/advtrains/advtrains_train_industrial/textures/advtrains_wagon_wood.png
deleted file mode 100644
index acc6f72..0000000
--- a/advtrains/advtrains_train_industrial/textures/advtrains_wagon_wood.png
+++ /dev/null
Binary files differ
diff --git a/advtrains/advtrains_train_industrial/textures/advtrains_wagon_wood_inv.png b/advtrains/advtrains_train_industrial/textures/advtrains_wagon_wood_inv.png
deleted file mode 100644
index 87109dd..0000000
--- a/advtrains/advtrains_train_industrial/textures/advtrains_wagon_wood_inv.png
+++ /dev/null
Binary files differ