changing default by keyboard

master
Alexsandro Percy 2021-03-27 21:02:44 -03:00
parent 9df1cb184b
commit 7ac020b6dc
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
--global constants
helicopter.gravity = tonumber(minetest.settings:get("movement_gravity")) or 9.8
helicopter.tilting_speed = 0.7
helicopter.tilting_max = 0.15
helicopter.tilting_speed = 1
helicopter.tilting_max = 0.20
helicopter.power_max = 15
helicopter.power_min = 0.2 -- if negative, the helicopter can actively fly downwards
helicopter.wanted_vert_speed = 5

View File

@ -260,7 +260,7 @@ minetest.register_entity("helicopter:heli", {
hp = 50,
color = "#0063b0",
_passenger = nil,
_by_mouse = true,
_by_mouse = false,
get_staticdata = function(self) -- unloaded/unloads ... is now saved
return minetest.serialize({