aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2023-07-18 00:08:19 +0200
committerorwell96 <orwell@bleipb.de>2023-07-18 00:08:19 +0200
commitd6a1cbe81664aa0afa3ff4c97d01493612546bf5 (patch)
tree9b6c48bfb4e877c5257d440091f601dc21f5a8b9 /advtrains/init.lua
parent8b5903a7293491901b555f720d5f79bbac681c1b (diff)
downloadadvtrains-d6a1cbe81664aa0afa3ff4c97d01493612546bf5.tar.gz
advtrains-d6a1cbe81664aa0afa3ff4c97d01493612546bf5.tar.bz2
advtrains-d6a1cbe81664aa0afa3ff4c97d01493612546bf5.zip
Skeleton support for Techage Liquids in tank cars
TODO: - Pretty nodes for loader and unloader - Display liquid contents in formspec - Update basic_trains accordingly
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r--advtrains/init.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index a7e5764..a2c2def 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -222,10 +222,12 @@ dofile(advtrains.modpath.."/craft_items.lua")
dofile(advtrains.modpath.."/log.lua")
dofile(advtrains.modpath.."/passive.lua")
-if mesecon then
+if minetest.global_exists("mesecon") then
dofile(advtrains.modpath.."/p_mesecon_iface.lua")
end
-
+if minetest.global_exists("techage") then
+ dofile(advtrains.modpath.."/techage.lua")
+end
dofile(advtrains.modpath.."/lzb.lua")