aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2019-11-22 20:31:09 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2019-11-22 20:31:09 +0100
commit3d70dc0d68207dffb7e02f82ad38651a192bb6d3 (patch)
tree7d80346dcb3a2631651ea7e4c0588ce08acb2c24
parent19d1d599e281c493f057d990cb5fabad322eaa2f (diff)
downloadlinetrack-3d70dc0d68207dffb7e02f82ad38651a192bb6d3.tar.gz
linetrack-3d70dc0d68207dffb7e02f82ad38651a192bb6d3.tar.bz2
linetrack-3d70dc0d68207dffb7e02f82ad38651a192bb6d3.zip
Add wagon_width = 5
This, together with the newest version of advtrains, makes players not fall in the water while getting off the boats.
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 21822a6..a6274a7 100644
--- a/init.lua
+++ b/init.lua
@@ -240,6 +240,7 @@ advtrains.register_wagon("boat", {
wagon_span=2,
collisionbox = {-2.0,-3.0,-2.0, 2.0,4.0,2.0},
is_locomotive=true,
+ wagon_width=5,
drops={"default:steelblock 4"},
horn_sound = "advtrains_subway_horn",
glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright