模块:Data/Level

来自滚动的天空Wiki
跳到导航 跳到搜索

本模块储存所有关卡信息。

关卡信息[编辑]

关卡的信息储存在本模块输出的值中,并按关卡出现顺序进行排序。注意,域名(键)是纯数字,而不是任何形式的关卡名称。

>print(p.data.level)
table
>print(p.data.level["山丘"])
nil
>print(p.data.level[1])
table

每一个关卡的信息又是一个表。

>print(p.data.level[1].name)
山丘

每个关卡的表都储存着以下带有域名的信息(不是全部):

order
关卡在直接的关卡列表中的顺序(不是新版关卡列表),类型为number。如果这一关未出现或者不在直接的关卡列表,该值为nil。
name
这一关的简体中文名称。
nameT
这一关的繁体中文名称。在代码段中,你可以发现如果繁体中文名称与简体一样,该值会是nil,但其后有迭代,会自动补充繁体中文名称。
en
这一关的英文名称。
diamond
这一关的钻石数量,类型为number。如果这一关未出现,这个值可能为nil。
star
这一关的难度,即关卡推荐表中关卡的星星数量,是6以内的正整数。
locked
这一关是否需要钥匙解锁。如果是则值为true(布尔值),如果否则值为nil(不是false)。
crown
这一关是否有可以直接捡到的皇冠。如果是则值为true,如果否(包括使用神秘箱形式的皇冠)则值为nil。
present
这一关是否有神秘箱。如果是则值为true,如果否则值为nil。(注意:present这里是“禮物”的意思,相当于gift;它还有“现在”的意思。)
new
这一关是第几关,一般与关卡列表没什么关系。这一关出现的版本会显示“NEW X”,这个X就是这个值。
bonus
这是第几个奖励关卡,类型为number。这一关出现的版本的图标会显示“BONUS X”,这个X就是这个值。

local d={
	{
		order=1,
		new=1,
		name="山丘",
		en="Massif",
		diamond=20,
		star=1,
		version=1.0,
	},
	{
		order=3,
		new=2,
		name="天空",
		en="Sky",
		diamond=20,
		star=2,
	},
	{
		order=6,
		new=3,
		name="森林",
		en="Forest",
		diamond=20,
		star=3,
		crown=true,
	},
	{
		order=7,
		new=4,
		name="沙漠",
		en="Desert",
		diamond=20,
		star=3,
	},
	{
		order=8,
		new=5,
		name="火山",
		en="Volcano",
		diamond=20,
		star=4,
	},
	{
		order=9,
		new=6,
		name="城市",
		en="City",
		diamond=20,
		star=4,
	},
	{
		order=10,
		new=7,
		name="科技",
		en="Sci-Tech",
		diamond=20,
		star=4,
	},
	{
		order=11,
		new=8,
		name="俄罗斯方块",
		nameT="俄羅斯方塊",
		en="Tetris",
		diamond=20,
		star=4,
	},
	{
		order=12,
		new=9,
		name="电子迷宫",
		nameT="電子迷宮",
		en="E-Labyrinth",
		diamond=20,
		star=5,
	},
	{
		order=13,
		new=10,
		name="天空之城",
		en="Castle in the Sky",
		diamond=20,
		star=5,
		locked=true,
	},
	{
		order=14,
		new=11,
		name="万圣节",
		nameT="Halloween",
		en="Halloween",
		diamond=20,
		star=5,
		locked=true,
	},
	{
		order=15,
		new=12,
		name="亡灵之舞",
		nameT="亡靈之舞",
		en="Ghost Dance",
		diamond=20,
		star=4,
		locked=true,
	},
	{
		order=2,
		bonus=1,
		name="幻想",
		en="illusion",
		diamond=20,
		star=1,
	},
	{
		order=16,
		new=13,
		name="深空",
		en="Deep space",
		diamond=20,
		star=5,
		locked=true,
	},
	{
		order=17,
		new=14,
		name="圣诞",
		nameT="耶誕",
		en="Christmas",
		diamond=20,
		star=5,
		locked=true,
	},
	{
		order=5,
		bonus=2,
		name="赞歌",
		nameT="讚歌",
		en="Monody",
		diamond=10,
		star=3,
		locked=true,
		crown=true,
	},
	{
		order=18,
		new=15,
		name="功夫",
		en="Kung Fu",
		diamond=10,
		star=3,
		locked=true,
		crown=true,
	},
	{
		order=4,
		bonus=3,
		name="糖果",
		en="Candy",
		diamond=10,
		star=3,
		locked=true,
		present=true,
	},
	{
		order=19,
		new=16,
		name="像素",
		nameT="1UP",
		en="1UP",
		diamond=10,
		star=5,
		locked=true,
		present=true,
	},
	{
		bonus=4,
		name="8比特",
		en="8Bits",
		diamond=10,
		star=1,
		present=true,
	},
	{
		order=20,
		new=17,
		name="几何迷阵",
		nameT="立方迷陣",
		en="Cube",
		diamond=10,
		star=5,
		locked=true,
		present=true,
	},
	{
		bonus=5,
		name="矩阵浪潮",
		nameT="矩陣",
		en="Matrix",
		diamond=10,
		star=3,
		locked=true,
		present=true,
	},
	{
		order=21,
		new=18,
		name="扑克",
		nameT="撲克",
		en="Poker",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=6,
		name="王牌",
		en="JOKER",
		diamond=10,
		star=2,
		locked=true,
		crown=true,
	},
	{
		order=22,
		new=19,
		name="雷鬼",
		en="Reggae",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		order=23,
		new=20,
		name="遗迹",
		nameT="遺跡",
		en="Relics",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=7,
		name="狂热派对",
		nameT="狂熱派對",
		en="Mental Rave",
		diamond=10,
		star=2,
		locked=true,
		crown=true,
	},
	{
		order=24,
		new=21,
		name="街头篮球",
		nameT="街頭籃球",
		en="Street Basketball",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=8,
		name="童话",
		nameT="童話",
		en="Fairy Tale",
		diamond=10,
		star=2,
		locked=true,
		crown=true,
	},
	{
		order=25,
		new=22,
		name="万圣嘉年华",
		nameT="午夜狂歡",
		en="Midnight Carnival",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=9,
		name="万圣节逃生",
		nameT="萬聖節逃生",
		en="Halloween Escape",
		diamond=10,
		star=2,
		locked=true,
		crown=true,
	},
        {
		order=26,
		new=23,
		name="灼热未来",
		nameT="灼熱未來",
		en="Ignite",
		diamond=10,
		star=4,
		locked=true,
		crown=true,
	},
	{
		bonus=10,
		name="梦之队",
		nameT="籃球夢",
		en="Hoop Dream",
		diamond=10,
		star=1,
	},
	{
		order=27,
		new=24,
		name="百变圣诞夜",
		nameT="百變聖誕夜",
		en="Varying Christmas",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=11,
		name="冬日",
		en="The Winter",
		diamond=10,
		star=1,
	},
	{
		order=28,
		new=0,
		name="云",
		nameT="雲",
		en="Cloud",
		diamond=10,
		star=1,
	},
	{
		order=29,
		new=25,
		name="霓虹",
		en="Neon",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=12,
		name="激光之城",
		nameT="雷射之城",
		en="Laser",
		diamond=10,
		star=2,
		locked=true,
		crown=true,
	},
	{
		bonus=13,
		name="炫光",
		en="Dazzle",
		diamond=10,
		star=2,
		locked=true,
		crown=true,
	},
	{
		order=30,
		new=26,
		name="埃及",
		en="Egypt",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=14,
		name="荷鲁斯之眼",
		nameT="荷魯斯之眼",
		en="The Eye of Horus",
		diamond=10,
		star=1,
	},
	{
		order=31,
		new=27,
		name="马戏团",
		nameT="馬戲團",
		en="Circus",
		diamond=10,
		star=4,
		locked=true,
		crown=true,
	},
	{
		bonus=15,
		name="小丑乐园",
		nameT="小丑樂園",
		en="Clown Park",
		diamond=10,
		star=1,
	},
	{
		order=32,
		new=28,
		name="世界杯",
		nameT="世界盃",
		en="World Cup",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=16,
		name="绿茵战场",
		nameT="綠茵戰場",
		en="Football Field",
		diamond=10,
		star=2,
		locked=true,
		crown=true,
	},
	{
		order=33,
		new=29,
		name="Alone",
		en="Alone",
		diamond=10,
		star=3,
		crown=true,
	},
	{
		bonus=17,
		name="Alone Remix",
		en="Alone Remix",
		diamond=10,
		star=3,
		crown=true,
	},
	{
		order=34,
		new=30,
		name="Faded",
		en="Faded",
		diamond=10,
		star=3,
		crown=true,
	},
	{
		bonus=18,
		name="Faded Remix",
		en="Faded Remix",
		diamond=10,
		star=3,
		crown=true,
	},
	{
		order=35,
		new=31,
		name="生日快乐",
		nameT="生日快樂",
		en="Happy Birthday",
		diamond=10,
		star=6,
		present=true,
	},
	{
		bonus=19,
		name="周年庆",
		nameT="周年慶",
		en="Anniversary",
		diamond=10,
		star=3,
		locked=true,
		present=true,
	},
	{
		order=36,
		new=32,
		name="万圣惊魂夜",
		nameT="萬聖驚魂夜",
		en="Halloween Night",
		diamond=10,
		star=5,
		locked=true,
		present=true,
	},
	{
		bonus=20,
		name="骷髅派对",
		nameT="骷髏派對",
		en="Skeleton Party",
		diamond=10,
		star=1,
		locked=true,
	},
	{
		order=37,
		new=33,
		name="极速挑战",
		nameT="極速挑戰",
		en="Faster",
		diamond=10,
		star=2,
		crown=true,
	},
	{
		order=38,
		new=34,
		name="金色圣诞节",
		nameT="金色耶誕節",
		en="Golden Christmas",
		diamond=10,
		star=2,
		locked=true,
		present=true,
	},
	{
		bonus=21,
		name="圣诞福音",
		nameT="耶誕福音",
		en="Christmas Gopel",
		diamond=10,
		star=4,
		locked=true,
		crown=true,
	},
	{
		order=39,
		new=35,
		name="Alone II",
		en="Alone II",
		diamond=20,
		star=4,
		crown=true,
	},
	{
		order=40,
		new=36,
		name="春节",
		nameT="春節",
		en="Spring Festival",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=22,
		name="迷城",
		en="Lost City",
		diamond=10,
		star=4,
		locked=true,
		crown=true,
	},
	{
		order=41,
		new=37,
		name="The Spectre",
		en="The Spectre",
		diamond=10,
		star=4,
		crown=true,
	},
	{
		order=0,
		name="迷你关卡1",
		nameT="迷你關卡1",
		en="Mini Level 1",
		diamond=12,
		star=1,
	},
	{
		order=0,
		name="迷你关卡2",
		nameT="迷你關卡2",
		en="Mini Level 2",
		diamond=12,
		star=2,
	},
	{
		bonus=23,
		name="The Spectre Remix",
		en="The Spectre Remix",
		diamond=10,
		star=5,
		crown=true,
	},
	{
		order=42,
		new=38,
		name="橄榄球",
		nameT="橄欖球",
		en="American Football",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=24,
		name="冠军赛",
		nameT="冠軍賽",
		en="Championship",
		diamond=10,
		star=2,
		locked=true,
		crown=true,
	},
	{
		order=0,
		name="迷你关卡3",
		nameT="迷你關卡3",
		en="Mini Level 3",
		diamond=10,
		star=3,
		crown=true,
	},
	{
		order=0,
		name="迷你关卡4",
		nameT="迷你關卡4",
		en="Mini Level 4",
		diamond=10,
		star=4,
		crown=true,
	},
	{
		order=43,
		new=39,
		name="海战",
		nameT="海戰",
		en="Naval Battle",
		diamond=10,
		star=4,
		locked=true,
		crown=true,
	},
	{
		order=44,
		new=40,
		name="微芯片",
		en="Microchip",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		bonus=25,
		name="数码方阵",
		nameT="數碼方陣",
		en="Digital Matrix",
		diamond=10,
		star=3,
		locked=true,
		crown=true,
	},
	{
		order=45,
		new=41,
		name="动感方块",
		nameT="動感方塊",
		en="Dynamic Cube",
		diamond=10,
		star=3,
		locked=true,
		crown=true,
        },
	{
		bonus=26,
		name="晴天",
		en="Sunny",
		diamond=20,
		star=1,
	},
	{
		order=46,
		new=42,
		name="VR幻境",
		en="VR Fairyland",
		diamond=10,
		star=4,
		locked=true,
		crown=true,
        },
	{
		bonus=27,
		name="解锁未来",
		nameT="解鎖未來",
		en="Unlock the Future",
		diamond=10,
		star=3,
		locked=true,
		crown=true,
	},
	{
		order=47,
		new=43,
		name="迷幻音浪",
		en="Psychedelic Music",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
        },
	{
		bonus=28,
		name="音律派对",
		nameT="音律派對",
		en="Beat party",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		order=48,
		new=44,
		name="四周年",
		en="The 4th Anniversary",
		diamond=10,
		star=6,
		present=true,
	},
	{
		bonus=29,
		name="生日派对",
		nameT="生日派對",
		en="Birthday party",
		diamond=20,
		star=4,
		locked=true,
		crown=true,
	},
	{
		order=49,
		new=45,
		name="恶灵群舞",
		nameT="惡靈群舞",
		en="Monster Chorus",
		diamond=10,
		star=4,
		locked=true,
		crown=true,
        },
	{
		bonus=30,
		name="捣蛋节",
		nameT="搗蛋節",
		en="Trick or Treat",
		diamond=10,
		star=3,
		locked=true,
		crown=true,
	},
	{
		order=50,
		new=46,
		name="落日余晖",
		nameT="落日餘暉",
		en="Sunset Glow",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
        },
	{
		bonus=31,
		name="晨光熹微",
		en="Morning Dawn",
		diamond=10,
		star=4,
		locked=true,
		crown=true,
	},
	{
		order=51,
		new=47,
		name="驯鹿之礼",
		nameT="馴鹿之禮",
		en="Reindeers' Gift",
		diamond=20,
		star=5,
		locked=true,
		crown=true,
        },
	{
		bonus=32,
		name="极光之旅",
		nameT="極光之旅",
		en="Aurora Tour",
		diamond=10,
		star=3,
		locked=true,
		crown=true,
	},
    {
		order=52,
		new=48,
		name="开普勒的梦",
		nameT="開普勒的夢",
		en="Kepler's dream",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
    },
    {
		bouns=33,
		name="星辰",
		en="Stars",
		diamond=10,
		star=2,
		locked=true,
		crown=true,
	},
    {
		order=53,
		new=49,
		name="美食诱惑",
		nameT="美食誘惑",
		en="Delicacy Temptation",
		diamond=10,
		star=4,
		locked=true,
		crown=true,
    },
    {
		bonus=34,
		name="奇妙甜品屋",
		en="Fantastic Sweet House",
		diamond=10,
		star=3,
		locked=true,
		present=true,
	},
	{
		order=54,
		new=50,
		name="海洋",
		en="The Sea",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
        },
    {
		bonus=35,
		name="海底世界",
		en="SeaWorld",
		diamond=10,
		star=3,
		locked=true,
		crown=true,
	},
	{
		order=55,
		new=51,
		name="蒸汽时代",
		nameT="蒸汽時代",
		en="Steam Era",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
    },
    {
		bonus=36,
		name="機械動力",
		en="Mechanical Power",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
	},
	{
		order=56,
		new=52,
		name="鬼侍",
		en="Ghost Warrior",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
        },
    {
		bonus=37,
		name="影武士",
		en="The Shadow Warrior",
		diamond=10,
		star=3,
		locked=true,
		crown=true,
	},
	{
		order=57,
		new=53,
		name="怪物城市",
		nameT="怪物都市",
		en="Monster City",
		diamond=10,
		star=5,
		locked=true,
		crown=true,
    },
}    
for k,v in pairs(d) do
	v.nameT = v.nameT or v.name
	v.version = '?'
end
return d