scenes/boost: fix last crash

This commit is contained in:
Kazhnuz 2019-02-03 20:33:44 +01:00
parent cab44798b8
commit 74a29fca3b
3 changed files with 75 additions and 1 deletions

View file

@ -0,0 +1,26 @@
return {
datas = {
zone = "city",
bypass_zone = false,
bypass_data = {
name = nil,
borders = 3,
tiles = 3,
background = nil,
music = nil
},
missiondata = {
leveltype = "loop",
missiontype = "goal",
turns = 4
}
},
layout = {{"self", {00}}, {"basics", {00, 00}},},
parts = {
[0] = {{"basics", {01}}, {"basics", {00}}}
},
endless_parts = {
{"basics", 00},
{"self", 00}
}
}

View file

@ -0,0 +1,48 @@
return {
["forest"] = {
name = "Jade Forest",
borders = 0,
tiles = 0,
background = "forest",
music = nil
},
["city"] ={
name = "Diamond Highway",
borders = 1,
tiles = 1,
background = "city",
music = "city"
},
["tunnel"] ={
name = "Peridot Tunnel",
borders = 2,
tiles = 2,
background = "tunnel",
music = nil
},
["mountain"] ={
name = "Pearl Mountain",
borders = 3,
tiles = 3,
background = "mountain"
},
["hills"] ={
name = "Calcite Hills",
borders = 4,
tiles = 4,
background = "hills"
},
["bridge"] ={
name = "Carnelian Bridge",
borders = 5,
tiles = 5,
background = "bridge"
},
["castle"] ={
name = "Ametist Castle",
borders = 6,
tiles = 6,
background = "castle",
music = nil
},
}

View file

@ -12,7 +12,7 @@ local World = require(folder .. "world")
local CharacterManager = require(folder .. "characters")
local zoneDatas = require "datas.levels.zones"
local zoneDatas = require "datas.subgame.sonic-boost.levels.zones"
local LoadAssets = require(folder .. "loader")