diff options
author | orwell96 <orwell@bleipb.de> | 2017-12-06 13:23:55 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2017-12-06 13:23:55 +0100 |
commit | ac3d4dffeb5ca5c78db92e1292e1eade0bb057a5 (patch) | |
tree | 8550c9ec93220ff5dee45612bbdf4fed8a61648a /advtrains_train_steam | |
parent | 34429b8154e45bc6acafd4d3af7a4f9b99f8b5c4 (diff) | |
download | basic_trains-ac3d4dffeb5ca5c78db92e1292e1eade0bb057a5.tar.gz basic_trains-ac3d4dffeb5ca5c78db92e1292e1eade0bb057a5.tar.bz2 basic_trains-ac3d4dffeb5ca5c78db92e1292e1eade0bb057a5.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')
-rwxr-xr-x | advtrains_train_steam/init.lua | 2 | ||||
-rw-r--r-- | advtrains_train_steam/sounds/advtrains_steam_whistle.ogg | bin | 0 -> 56532 bytes |
2 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", { diff --git a/advtrains_train_steam/sounds/advtrains_steam_whistle.ogg b/advtrains_train_steam/sounds/advtrains_steam_whistle.ogg Binary files differnew file mode 100644 index 0000000..42172a2 --- /dev/null +++ b/advtrains_train_steam/sounds/advtrains_steam_whistle.ogg |