sonic-radiance/sonic-radiance.love/datas/gamedata/maps/terrains.lua
2021-04-18 10:53:35 +02:00

62 lines
No EOL
1.3 KiB
Lua

return {
["non-solid"] = {
{
terrainType = "normal",
forceAction = nil,
level=0,
height=0,
canJump = true
}
},
ice = {
{
terrainType = "forceAction",
forceAction = "slide",
level=0,
height=0,
canJump = false
}
},
water = {
{
terrainType = "forceAction",
forceAction = "fall",
level=-32,
height=0,
damage = 10,
speedFactor = 0,
},
{
terrainType = "normal",
forceAction = nil,
level=-10,
height=0,
mustHaveAction = "swim",
mustDoAction = nil,
speedFactor = 0.8,
canJump = true,
damage = 0,
},
{
terrainType = "normal",
forceAction = nil,
level=0,
height=0,
mustHaveAction = "run",
mustDoAction = "run",
speedFactor = 1,
canJump = true,
damage = 0,
}
},
grass = {
{
terrainType = "normal",
forceAction = nil,
level=0,
height=16,
speedFactor = 0.75,
canJump = false,
}
}
}