aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_steam/init.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2017-12-06 13:23:55 +0100
committerorwell96 <orwell@bleipb.de>2017-12-06 13:23:55 +0100
commitdc67ff7226a2836863a0e709a5b81c90c977f288 (patch)
treed1743a0f59fbc2ed4b4ab8359b1a2bf93c621c6a /advtrains_train_steam/init.lua
parentbe8aca9fb8ee406d4728c470a1340be8f418e45f (diff)
downloadadvtrains-dc67ff7226a2836863a0e709a5b81c90c977f288.tar.gz
advtrains-dc67ff7226a2836863a0e709a5b81c90c977f288.tar.bz2
advtrains-dc67ff7226a2836863a0e709a5b81c90c977f288.zip
Implement sound api and some sounds
- Level crossing bell - Horns - Subway train driving and door sounds ...to be continued...
Diffstat (limited to 'advtrains_train_steam/init.lua')
-rwxr-xr-xadvtrains_train_steam/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains_train_steam/init.lua b/advtrains_train_steam/init.lua
index 37c63a0..b8d9adb 100755
--- a/advtrains_train_steam/init.lua
+++ b/advtrains_train_steam/init.lua
@@ -71,6 +71,7 @@ advtrains.register_wagon("newlocomotive", {
})
end,
drops={"default:steelblock 4"},
+ horn_sound = "advtrains_steam_whistle",
}, S("Steam Engine"), "advtrains_engine_steam_inv.png")
advtrains.register_wagon("detailed_steam_engine", {
@@ -139,6 +140,7 @@ advtrains.register_wagon("detailed_steam_engine", {
})
end,
drops={"default:steelblock 4"},
+ horn_sound = "advtrains_steam_whistle",
}, S("Detailed Steam Engine"), "advtrains_detailed_engine_steam_inv.png")
advtrains.register_wagon("wagon_default", {