aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_track/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_train_track/init.lua')
-rw-r--r--advtrains_train_track/init.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/advtrains_train_track/init.lua b/advtrains_train_track/init.lua
index 2bd5e28..b646ed7 100644
--- a/advtrains_train_track/init.lua
+++ b/advtrains_train_track/init.lua
@@ -11,6 +11,29 @@ advtrains.register_tracks("default", {
description=attrans("Track"),
formats={},
}, advtrains.ap.t_30deg_flat)
+
+-- Diamond Crossings
+-- perpendicular
+advtrains.register_tracks("default", {
+ nodename_prefix="advtrains:dtrack_xing",
+ texture_prefix="advtrains_dtrack_xing",
+ models_prefix="advtrains_dtrack_xing",
+ models_suffix=".obj",
+ shared_texture="advtrains_dtrack_shared.png",
+ description=attrans("Perpendicular Diamond Crossing Track"),
+ formats = {}
+}, advtrains.ap.t_perpcrossing)
+-- 45-90(
+advtrains.register_tracks("default", {
+ nodename_prefix="advtrains:dtrack_xing4590",
+ texture_prefix="advtrains_dtrack_xing4590",
+ models_prefix="advtrains_dtrack_xing4590",
+ models_suffix=".obj",
+ shared_texture="advtrains_dtrack_shared.png",
+ description=attrans("45/90 Degree Diamond Crossing Track"),
+ formats = {}
+}, advtrains.ap.t_9045crossing)
+
--slopes
advtrains.register_tracks("default", {
nodename_prefix="advtrains:dtrack",