forked from mtcontrib/mob_horse
shrink driver when riding horse to fit model
This commit is contained in:
parent
23ab8bddbd
commit
aa399a6ef9
1
init.lua
1
init.lua
@ -77,6 +77,7 @@ mobs:register_mob("mob_horse:horse", {
|
|||||||
self.terrain_type = 3
|
self.terrain_type = 3
|
||||||
self.driver_attach_at = {x = 0, y = y_off, z = -2}
|
self.driver_attach_at = {x = 0, y = y_off, z = -2}
|
||||||
self.driver_eye_offset = {x = 0, y = 3, z = 0}
|
self.driver_eye_offset = {x = 0, y = 3, z = 0}
|
||||||
|
self.driver_scale = {x = 0.8, y = 0.8} -- shrink driver to fit model
|
||||||
end
|
end
|
||||||
|
|
||||||
-- if driver present allow control of horse
|
-- if driver present allow control of horse
|
||||||
|
Loading…
Reference in New Issue
Block a user