aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_track/init.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-02-19 18:46:03 +0100
committerorwell96 <orwell@bleipb.de>2021-02-19 18:46:03 +0100
commit30076f5ce33610c4c809500e1aa57efb066e6a8e (patch)
treea745be07ca3c36d3e9eefa0e8b86c7cf33c82429 /advtrains_train_track/init.lua
parent04c78373f1db0b011557b92cd6fb58268cbeefe4 (diff)
downloadadvtrains-30076f5ce33610c4c809500e1aa57efb066e6a8e.tar.gz
advtrains-30076f5ce33610c4c809500e1aa57efb066e6a8e.tar.bz2
advtrains-30076f5ce33610c4c809500e1aa57efb066e6a8e.zip
Add some missing craft recipes
- LuaATC remains non-craftable for now (elevated privs necessary anyway) - Some crafts altered from dario's proposal Co-authored-by: W3RQ01 <dario23@linux-forks.de>
Diffstat (limited to 'advtrains_train_track/init.lua')
-rw-r--r--advtrains_train_track/init.lua25
1 files changed, 24 insertions, 1 deletions
diff --git a/advtrains_train_track/init.lua b/advtrains_train_track/init.lua
index 7f1f73c..78d1392 100644
--- a/advtrains_train_track/init.lua
+++ b/advtrains_train_track/init.lua
@@ -298,6 +298,29 @@ advtrains.register_tracks("default", {
end
}, advtrains.trackpresets.t_30deg_straightonly)
+minetest.register_craft({
+ type="shapeless",
+ output = 'advtrains:dtrack_load_placer',
+ recipe = {
+ "advtrains:dtrack_placer",
+ "basic_materials:ic",
+ "default:chest"
+ },
+})
+minetest.register_craft({
+ type="shapeless",
+ output = 'advtrains:dtrack_unload_placer',
+ recipe = {
+ "advtrains:dtrack_load_placer",
+ },
+})
+minetest.register_craft({
+ type="shapeless",
+ output = 'advtrains:dtrack_load_placer',
+ recipe = {
+ "advtrains:dtrack_unload_placer",
+ },
+})
if mesecon then
@@ -361,7 +384,7 @@ if mesecon then
}
end
}, advtrains.ap.t_30deg_straightonly_noplacer)
- minetest.register_craft({
+minetest.register_craft({
type="shapeless",
output = 'advtrains:dtrack_detector_off_placer',
recipe = {