moonbus: configurable gravity

This commit is contained in:
Dejvino 2024-08-10 07:59:17 +02:00
parent a82e34aeb2
commit 3f5c1387c1

View File

@ -17,22 +17,24 @@ function reset()
plr_transed=0
plr_money=0
plr_target={x=8,y=2}
plr_level=3
plr_level=4
levels={
{map_start=0,map_height=8},
{map_start=8,map_height=8},
{map_start=16,map_height=16}
{map_start=16,map_height=16},
{map_start=16,map_height=15,gravity=0}
}
telem_spd={}
gravity=0.02
engine_power=0.1
fuel_cons=0.005
land_speed_limit=1
mapy=levels[plr_level].map_start
maph=levels[plr_level].map_height
local maplevel=levels[plr_level]
mapy=maplevel.map_start
maph=maplevel.map_height
gravity=maplevel.gravity or 0.01
bonus_docked=1
cam={}