mota-js/libs/floors/MT0.js
2017-12-05 01:10:20 +08:00

31 lines
887 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

function MT0() {}
MT0.prototype.init = function() {
this.data = {
'floorId': 'MT0', // 楼层唯一标识符
'title': "样板层", // 楼层中文名;转换楼层时显示
'name': 0, // 显示在状态栏中的楼层名称
"canFlyTo": true, // 该楼能否被飞行器飞到(不能的话在该楼也不允许使用)
"map": [ // 地图数据需要是13x13建议使用地图生成器来生成
],
"firstArrive": [ // 第一次到该楼层触发的事件
],
"events": [ // 该楼的所有可能事件列表
],
"afterOpenDoor": [ // 开完门后可能触发的事件列表
],
"afterBattle": [ // 战斗后可能触发的事件列表
],
"afterGetItem": [ // 获得道具后可能触发的事件列表
]
};
}
main.floors.MT0 = new MT0();