increase riding speed of strider on lava

This commit is contained in:
nixnoxus 2023-12-23 10:53:21 +01:00
parent da5f91b0f6
commit 0e73f77148
1 changed files with 7 additions and 2 deletions

View File

@ -70,8 +70,13 @@ local strider = {
do_custom = function(self, dtime)
if minetest.find_node_near(self.object:get_pos(), 2, {"mcl_core:lava_source","mcl_core:lava_flowing","mcl_nether:nether_lava_source","mcl_nether:nether_lava_flowing"}) then
self.walk_velocity = 2
self.run_velocity = 4
if self.driver then
self.walk_velocity = 4
self.run_velocity = 8
else
self.walk_velocity = 2
self.run_velocity = 4
end
self.base_texture[1] = "extra_mobs_strider.png"
self.shaking = false
else