aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crafting.lua47
-rw-r--r--manual.pdfbin0 -> 1083147 bytes
-rw-r--r--misc_nodes.lua8
-rw-r--r--models/advtrains_modernwagon.b3dbin0 -> 172028 bytes
-rw-r--r--models/blender/mbb/modern_wagong.blendbin694664 -> 471140 bytes
-rw-r--r--models/blender/mbb/modern_wagong.blend1bin0 -> 518316 bytes
-rw-r--r--models/blender/mbb/modern_wagong_uv.blendbin0 -> 571364 bytes
-rw-r--r--models/blender/mbb/modern_wagong_uv.blend1bin0 -> 575708 bytes
-rw-r--r--tracks.lua1
9 files changed, 35 insertions, 21 deletions
diff --git a/crafting.lua b/crafting.lua
index 474f808..bd24534 100644
--- a/crafting.lua
+++ b/crafting.lua
@@ -12,39 +12,60 @@ minetest.register_craft({
},
})
minetest.register_craft({
- output = 'advtrains:dtrack_puffer 2',
+ type = "shapeless",
+ output = 'advtrains:dtrack_vst1 2',
recipe = {
- {'default:wood', 'dye:red', ''},
- {'default:steel_ingot', '', 'default:steel_ingot'},
- {'advtrains:dtrack_placer', 'advtrains:dtrack_placer', ''},
+ "advtrains:dtrack_placer",
+ "advtrains:dtrack_placer",
+ "default:gravel",
},
})
---temporary, as long as puffers do not rotate
minetest.register_craft({
- output = 'advtrains:dtrack_puffer_30',
+ type = "shapeless",
+ output = 'advtrains:dtrack_vst2 2',
recipe = {
- {'advtrains:dtrack_puffer'},
+ "advtrains:dtrack_placer",
+ "advtrains:dtrack_placer",
+ "default:gravel",
+ "default:gravel",
},
})
+
minetest.register_craft({
- output = 'advtrains:dtrack_puffer_45',
+ output = 'advtrains:dtrack_bumper 2',
recipe = {
- {'advtrains:dtrack_puffer_30'},
+ {'default:wood', 'dye:red'},
+ {'default:steel_ingot', 'default:steel_ingot'},
+ {'advtrains:dtrack_placer', 'advtrains:dtrack_placer'},
},
})
+--signals
minetest.register_craft({
- output = 'advtrains:dtrack_puffer_60',
+ output = 'advtrains:retrosignal_off 2',
recipe = {
- {'advtrains:dtrack_puffer_45'},
+ {'dye:red', 'default:steel_ingot', 'default:steel_ingot'},
+ {'', '', 'default:steel_ingot'},
+ {'', '', 'default:steel_ingot'},
},
})
minetest.register_craft({
- output = 'advtrains:dtrack_puffer',
+ output = 'advtrains:signal_off 2',
recipe = {
- {'advtrains:dtrack_puffer_60'},
+ {'', 'dye:red', 'default:steel_ingot'},
+ {'', 'dye:dark_green', 'default:steel_ingot'},
+ {'', '', 'default:steel_ingot'},
},
})
+--trackworker
+minetest.register_craft({
+ output = 'advtrains:trackworker',
+ recipe = {
+ {'default:diamond'},
+ {'screwdriver:screwdriver'},
+ {'default:steel_ingot'},
+ },
+})
--wagons
minetest.register_craft({
diff --git a/manual.pdf b/manual.pdf
new file mode 100644
index 0000000..71c3b3f
--- /dev/null
+++ b/manual.pdf
Binary files differ
diff --git a/misc_nodes.lua b/misc_nodes.lua
index aeb1cfc..ac1bf9b 100644
--- a/misc_nodes.lua
+++ b/misc_nodes.lua
@@ -63,13 +63,5 @@ function advtrains.register_platform(preset)
})
end
-minetest.register_abm({
- name = "advtrains:platform_high",
- -- In the following two fields, also group:groupname will work.
- nodenames = {"advtrains:platform_high"},
- interval=1,
- chance=1,
- action = function(pos, node, active_object_count, active_object_count_wider) minetest.set_node(pos, {name="advtrains:platform_high_stonebrick", param2=node.param2}) end,
- })
advtrains.register_platform("default:stonebrick")
diff --git a/models/advtrains_modernwagon.b3d b/models/advtrains_modernwagon.b3d
new file mode 100644
index 0000000..aacddca
--- /dev/null
+++ b/models/advtrains_modernwagon.b3d
Binary files differ
diff --git a/models/blender/mbb/modern_wagong.blend b/models/blender/mbb/modern_wagong.blend
index d85e841..f32710a 100644
--- a/models/blender/mbb/modern_wagong.blend
+++ b/models/blender/mbb/modern_wagong.blend
Binary files differ
diff --git a/models/blender/mbb/modern_wagong.blend1 b/models/blender/mbb/modern_wagong.blend1
new file mode 100644
index 0000000..376831c
--- /dev/null
+++ b/models/blender/mbb/modern_wagong.blend1
Binary files differ
diff --git a/models/blender/mbb/modern_wagong_uv.blend b/models/blender/mbb/modern_wagong_uv.blend
new file mode 100644
index 0000000..4c10fb3
--- /dev/null
+++ b/models/blender/mbb/modern_wagong_uv.blend
Binary files differ
diff --git a/models/blender/mbb/modern_wagong_uv.blend1 b/models/blender/mbb/modern_wagong_uv.blend1
new file mode 100644
index 0000000..ce77416
--- /dev/null
+++ b/models/blender/mbb/modern_wagong_uv.blend1
Binary files differ
diff --git a/tracks.lua b/tracks.lua
index 6153658..6c4a5cf 100644
--- a/tracks.lua
+++ b/tracks.lua
@@ -191,6 +191,7 @@ function advtrains.register_tracks(tracktype, def, preset)
not_blocking_trains=1,
},
mesecons=mesecontbl,
+ drop = increativeinv and def.nodename_prefix.."_"..suffix..rotation or def.nodename_prefix.."_placer",
}
end
local function cycle_conns(conns, rotid)