diff options
author | MBB <mbb-mail@gmx.de> | 2018-01-28 10:28:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-28 10:28:28 +0100 |
commit | 93babf92b0d5ba999dfea92f947050496f1a2f76 (patch) | |
tree | cdcd9031758ab5cb4434789cd38af95ee8995bf9 | |
parent | c37a044de4e15be76d20e4d2a38bd9d6b206807f (diff) | |
parent | fcee9bcec00604072d364f83926bba427cd1d30e (diff) |
Merge pull request #1 from h-v-smacker/master
icon and horn for the locomotive
-rwxr-xr-x | init.lua | 13 | ||||
-rw-r--r-- | sounds/advtrains_engine_diesel_horn.ogg | bin | 0 -> 43447 bytes | |||
-rw-r--r-- | textures/advtrains_engine_diesel_inv.png | bin | 0 -> 292 bytes |
3 files changed, 7 insertions, 6 deletions
@@ -36,7 +36,7 @@ advtrains.register_wagon("diesel_lokomotive", { }, assign_to_seat_group = {"dstand"}, visual_size = {x=1, y=1}, - wagon_span=1.85, + wagon_span=1.95, collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0}, update_animation=function(self, velocity) if self.old_anim_velocity~=advtrains.abs_ceil(velocity) then @@ -71,7 +71,8 @@ advtrains.register_wagon("diesel_lokomotive", { attached = self.object, }) end, - drops={"advtrains:engine_diesel"}, + drops={"advtrains:diesel_lokomotive"}, + horn_sound = "advtrains_engine_diesel_horn" }, S("diesel Engine"), "advtrains_engine_diesel_inv.png") advtrains.register_wagon("wagon_gravel", { @@ -81,7 +82,7 @@ advtrains.register_wagon("wagon_gravel", { max_speed=10, seats = {}, visual_size = {x=1, y=1}, - wagon_span=1.6, + wagon_span=1.55, collisionbox = {-1.0,-0.5,-1.0, 1.0,1.5,1.0}, drops={"advtrains:wagon_gravel"}, has_inventory = true, @@ -103,7 +104,7 @@ advtrains.register_wagon("wagon_track", { max_speed=10, seats = {}, visual_size = {x=1, y=1}, - wagon_span=1.6, + wagon_span=1.55, collisionbox = {-1.0,-0.5,-1.0, 1.0,1.5,1.0}, drops={"advtrains:wagon_track"}, has_inventory = true, @@ -127,7 +128,7 @@ advtrains.register_wagon("wagon_lava", { max_speed=10, seats = {}, visual_size = {x=1, y=1}, - wagon_span=1.6, + wagon_span=1.55, collisionbox = {-1.0,-0.5,-1.0, 1.0,1.5,1.0}, drops={"advtrains:wagon_lava"}, has_inventory = true, @@ -150,7 +151,7 @@ advtrains.register_wagon("wagon_tree", { max_speed=10, seats = {}, visual_size = {x=1, y=1}, - wagon_span=1.6, + wagon_span=1.55, collisionbox = {-1.0,-0.5,-1.0, 1.0,1.5,1.0}, drops={"advtrains:wagon_tree"}, has_inventory = true, diff --git a/sounds/advtrains_engine_diesel_horn.ogg b/sounds/advtrains_engine_diesel_horn.ogg Binary files differnew file mode 100644 index 0000000..6f2e66c --- /dev/null +++ b/sounds/advtrains_engine_diesel_horn.ogg diff --git a/textures/advtrains_engine_diesel_inv.png b/textures/advtrains_engine_diesel_inv.png Binary files differnew file mode 100644 index 0000000..cdb5f69 --- /dev/null +++ b/textures/advtrains_engine_diesel_inv.png |