From 8b3f608e24a5643246bc5ed088ce4ca0bcb76014 Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Sat, 29 Apr 2023 21:55:27 -0300 Subject: [PATCH] drift adjusted --- automobiles_trans_am/crafts.lua | 4 ++-- automobiles_trans_am/entities.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/automobiles_trans_am/crafts.lua b/automobiles_trans_am/crafts.lua index ada077f..b83adab 100644 --- a/automobiles_trans_am/crafts.lua +++ b/automobiles_trans_am/crafts.lua @@ -55,12 +55,12 @@ if minetest.get_modpath("default") then {"automobiles_lib:wheel","automobiles_trans_am:trans_am_body", "automobiles_lib:wheel"}, } }) - minetest.register_craft({ + --[[minetest.register_craft({ output = "automobiles_trans_am:trans_am_body", recipe = { {"default:glass" ,"default:mese_crystal","default:steel_ingot"}, {"default:steel_ingot","default:steelblock","default:steel_ingot"}, {"default:steelblock","default:steelblock", "default:steelblock"}, } - }) + })]]-- end diff --git a/automobiles_trans_am/entities.lua b/automobiles_trans_am/entities.lua index ec25da1..6d38481 100755 --- a/automobiles_trans_am/entities.lua +++ b/automobiles_trans_am/entities.lua @@ -486,7 +486,7 @@ minetest.register_entity("automobiles_trans_am:trans_am", { local later_speed = automobiles_lib.dot(velocity,nhdir) local dynamic_later_drag = trans_am.LATER_DRAG_FACTOR - if longit_speed > 4 then dynamic_later_drag = dynamic_later_drag/(longit_speed) end + if longit_speed > 8 then dynamic_later_drag = dynamic_later_drag/(longit_speed) end local later_drag = vector.multiply(nhdir,later_speed* later_speed*dynamic_later_drag*-1*automobiles_lib.sign(later_speed))