sonic-radiance/sonic-radiance.love/datas/gamedata/maps/terrains.lua

87 lines
2 KiB
Lua
Raw Normal View History

2021-04-18 10:53:35 +02:00
return {
highpriority = {"ice"},
list = {
["non-solid"] = {
{
forceAction = nil,
level=0,
height=0,
canJump = true
}
2021-04-18 10:53:35 +02:00
},
ice = {
{
forceAction = "slide",
level=0,
height=0,
canJump = false,
speedFactor = 1.2,
}
2021-04-18 10:53:35 +02:00
},
water = {
{
level=-32,
height=0,
fallDamage = 10,
speedFactor = 0,
canJump = false,
},
{
forceAction = nil,
level=-10,
height=0,
mustHaveAction = "swim",
mustDoAction = nil,
speedFactor = 0.5,
canJump = true,
damage = 0,
},
{
forceAction = nil,
level=0,
height=0,
mustHaveAction = "run",
mustDoAction = "run",
speedFactor = 1,
canJump = true,
damage = 0,
}
},
hole = {
{
level=-32,
height=0,
fallDamage = 10,
speedFactor = 0,
canJump = false,
},
},
lava = {
{
level=-32,
height=0,
fallDamage = 20,
speedFactor = 0,
canJump = false,
},
},
swamp = {
{
forceAction = nil,
level=-8,
height=0,
2021-04-19 18:04:29 +02:00
speedFactor = 0.5,
canJump = false,
}
},
grass = {
{
forceAction = nil,
level=0,
height=8,
2021-04-19 18:04:29 +02:00
speedFactor = 0.5,
canJump = false,
}
2021-04-18 10:53:35 +02:00
}
}
}