diff options
Diffstat (limited to 'advtrains_train_japan')
-rw-r--r-- | advtrains_train_japan/init.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/advtrains_train_japan/init.lua b/advtrains_train_japan/init.lua index 7cef69c..47f50cf 100644 --- a/advtrains_train_japan/init.lua +++ b/advtrains_train_japan/init.lua @@ -1,6 +1,8 @@ -advtrains.register_wagon("engine_japan", "electric",{ +advtrains.register_wagon("engine_japan", { mesh="advtrains_engine_japan.b3d", textures = {"advtrains_engine_japan.png"}, + drives_on={default=true}, + max_speed=20, seats = { { name="Default Seat (driver stand)", @@ -16,9 +18,11 @@ advtrains.register_wagon("engine_japan", "electric",{ drops={"default:steelblock 4"}, }, "Japanese Train Engine", "advtrains_engine_japan_inv.png") -advtrains.register_wagon("wagon_japan", "electric",{ +advtrains.register_wagon("wagon_japan", { mesh="advtrains_wagon_japan.b3d", textures = {"advtrains_wagon_japan.png"}, + drives_on={default=true}, + max_speed=20, seats = { { name="Default Seat", |