Compare commits
No commits in common. "13e08b122fb231fce7b9f3b8ea951936ec52dc61" and "a71150046387c225e3716332437353eff43007cc" have entirely different histories.
13e08b122f
...
a711500463
@ -16,7 +16,7 @@ main.floors.MT0=
|
|||||||
[ 0,348, 4, 4, 4, 2, 0, 2, 23, 2, 4, 4, 4,352, 0],
|
[ 0,348, 4, 4, 4, 2, 0, 2, 23, 2, 4, 4, 4,352, 0],
|
||||||
[ 0,348, 4, 4, 4, 2, 0, 2, 22, 2, 4, 4, 4,352, 0],
|
[ 0,348, 4, 4, 4, 2, 0, 2, 22, 2, 4, 4, 4,352, 0],
|
||||||
[ 0,348, 4, 4, 4, 2, 0, 2, 21, 2, 2, 4, 4,352, 0],
|
[ 0,348, 4, 4, 4, 2, 0, 2, 21, 2, 2, 4, 4,352, 0],
|
||||||
[ 0,348, 4, 4, 4, 2, 0, 0, 0, 0, 2, 4, 4,352, 0],
|
[ 0,348, 4, 4, 4, 2, 0, 0,124,124, 2, 4, 4,352, 0],
|
||||||
[ 0,348, 4, 4, 4, 2, 2, 2, 0, 2, 2, 4, 4,352, 0],
|
[ 0,348, 4, 4, 4, 2, 2, 2, 0, 2, 2, 4, 4,352, 0],
|
||||||
[ 0,348, 4, 4, 4, 4, 4, 2, 0, 2, 4, 4, 4,352, 0],
|
[ 0,348, 4, 4, 4, 4, 4, 2, 0, 2, 4, 4, 4,352, 0],
|
||||||
[ 0,348, 4, 4, 4, 4, 2, 2, 0, 2, 2, 2, 2,352, 0],
|
[ 0,348, 4, 4, 4, 4, 2, 2, 0, 2, 2, 2, 2,352, 0],
|
||||||
@ -27,6 +27,12 @@ main.floors.MT0=
|
|||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"firstArrive": [
|
"firstArrive": [
|
||||||
|
{
|
||||||
|
"type": "setValue",
|
||||||
|
"name": "item:I530",
|
||||||
|
"operator": "+=",
|
||||||
|
"value": "1"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "setValue",
|
"type": "setValue",
|
||||||
"name": "flag:juqing",
|
"name": "flag:juqing",
|
||||||
@ -62,33 +68,39 @@ main.floors.MT0=
|
|||||||
10
|
10
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "if",
|
|
||||||
"condition": "switch:A",
|
|
||||||
"true": [
|
|
||||||
"\t[邵虎]..........现在还打不开它。"
|
|
||||||
],
|
|
||||||
"false": [
|
|
||||||
{
|
|
||||||
"type": "setValue",
|
|
||||||
"name": "switch:A",
|
|
||||||
"value": "true"
|
|
||||||
},
|
|
||||||
"\t[邵虎]............",
|
"\t[邵虎]............",
|
||||||
"\t[邵虎](梅花为底,淡蓝色的屏障)......",
|
"\t[邵虎](梅花为底,淡蓝色的屏障)......",
|
||||||
"\t[邵虎]............",
|
"\t[邵虎]............",
|
||||||
"\t[邵虎](这是《古代密要》中的“梅障结界”)....",
|
"\t[邵虎](这是《古代密要》中的“梅障结界”)....",
|
||||||
"\t[邵虎](看来天塔里面不是那么简单啊)....",
|
"\t[邵虎](看来天塔里面不是那么简单啊)....",
|
||||||
"\t[邵虎](以我现在的能力怕是无法破解这层障壁了......还是先不要管它为好。)"
|
"\t[邵虎](以我现在的能力怕是无法破解这层障壁了......还是先不要管它为好。)",
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "hideImage",
|
"type": "hideImage",
|
||||||
"code": 1,
|
"code": 1,
|
||||||
"time": 0
|
"time": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"9,6": [
|
"8,6": {
|
||||||
|
"trigger": null,
|
||||||
|
"enable": false,
|
||||||
|
"noPass": null,
|
||||||
|
"displayDamage": true,
|
||||||
|
"data": []
|
||||||
|
},
|
||||||
|
"9,6": {
|
||||||
|
"trigger": null,
|
||||||
|
"enable": false,
|
||||||
|
"noPass": null,
|
||||||
|
"displayDamage": true,
|
||||||
|
"opacity": 1,
|
||||||
|
"filter": {
|
||||||
|
"blur": 0,
|
||||||
|
"hue": 0,
|
||||||
|
"grayscale": 0,
|
||||||
|
"invert": false,
|
||||||
|
"shadow": 0
|
||||||
|
},
|
||||||
|
"data": [
|
||||||
{
|
{
|
||||||
"type": "comment",
|
"type": "comment",
|
||||||
"text": "JS脚本判定0fFairy的值"
|
"text": "JS脚本判定0fFairy的值"
|
||||||
@ -519,7 +531,8 @@ main.floors.MT0=
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
|
},
|
||||||
"8,8": [
|
"8,8": [
|
||||||
{
|
{
|
||||||
"type": "choices",
|
"type": "choices",
|
||||||
@ -530,12 +543,20 @@ main.floors.MT0=
|
|||||||
"action": [
|
"action": [
|
||||||
{
|
{
|
||||||
"type": "hide",
|
"type": "hide",
|
||||||
"remove": true,
|
|
||||||
"time": 500
|
"time": 500
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "setBlock",
|
"type": "hide",
|
||||||
"number": "fairy",
|
"loc": [
|
||||||
|
[
|
||||||
|
8,
|
||||||
|
6
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"time": 500
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "show",
|
||||||
"loc": [
|
"loc": [
|
||||||
[
|
[
|
||||||
9,
|
9,
|
||||||
@ -609,17 +630,7 @@ main.floors.MT0=
|
|||||||
"stop": true
|
"stop": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "animate",
|
"type": "show",
|
||||||
"name": "STzhanshen",
|
|
||||||
"loc": [
|
|
||||||
8,
|
|
||||||
6
|
|
||||||
],
|
|
||||||
"async": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "setBlock",
|
|
||||||
"number": "fairy",
|
|
||||||
"loc": [
|
"loc": [
|
||||||
[
|
[
|
||||||
8,
|
8,
|
||||||
@ -845,10 +856,23 @@ main.floors.MT0=
|
|||||||
6
|
6
|
||||||
],
|
],
|
||||||
"time": 500,
|
"time": 500,
|
||||||
"keep": true,
|
|
||||||
"steps": [
|
"steps": [
|
||||||
"right:1"
|
"right:1"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "show",
|
||||||
|
"loc": [
|
||||||
|
[
|
||||||
|
9,
|
||||||
|
6
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"time": 500
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "hide",
|
||||||
|
"time": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 106 KiB |
Binary file not shown.
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 122 KiB |
@ -437,97 +437,6 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
}
|
}
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
core.ui._drawSettings = function () {
|
|
||||||
core.status.event.id = 'settings';
|
|
||||||
this.drawChoices(null, [
|
|
||||||
"系统设置", "虚拟键盘", "浏览地图", "存档笔记", "同步存档", "游戏信息", "返回标题", "返回游戏", "数值显示: " + (core.getFlag("itemDetail") ? "[ON]" : "[OFF]")
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
core.actions._clickSettings = function (x, y) {
|
|
||||||
if (this._out(x)) return;
|
|
||||||
var choices = core.status.event.ui.choices;
|
|
||||||
var topIndex = this._getChoicesTopIndex(choices.length);
|
|
||||||
if (y >= topIndex && y < topIndex + choices.length) {
|
|
||||||
var selection = y - topIndex;
|
|
||||||
core.status.event.selection = selection;
|
|
||||||
switch (selection) {
|
|
||||||
case 0:
|
|
||||||
core.status.event.selection = 0;
|
|
||||||
core.playSound('确定');
|
|
||||||
core.ui._drawSwitchs();
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
// core.playSound('确定');
|
|
||||||
core.ui._drawKeyBoard();
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
// core.playSound('确定');
|
|
||||||
core.clearUI();
|
|
||||||
core.ui._drawViewMaps();
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
core.status.event.selection = 0;
|
|
||||||
core.playSound('确定');
|
|
||||||
core.ui._drawNotes();
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
core.status.event.selection = 0;
|
|
||||||
core.playSound('确定');
|
|
||||||
core.ui._drawSyncSave();
|
|
||||||
break;
|
|
||||||
case 5:
|
|
||||||
core.status.event.selection = 0;
|
|
||||||
core.playSound('确定');
|
|
||||||
core.ui._drawGameInfo();
|
|
||||||
break;
|
|
||||||
case 6:
|
|
||||||
return core.confirmRestart();
|
|
||||||
case 7:
|
|
||||||
core.playSound('取消');
|
|
||||||
core.ui.closePanel();
|
|
||||||
break;
|
|
||||||
case 8:
|
|
||||||
core.playSound('确定');
|
|
||||||
core.setFlag("itemDetail", !core.getFlag("itemDetail"));
|
|
||||||
core.getItemDetail();
|
|
||||||
core.ui.closePanel();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
////// 获得某个物品 //////
|
|
||||||
core.events.getItem = function (id, num, x, y, isGentleClick, callback) {
|
|
||||||
if (num == null) num = 1;
|
|
||||||
var itemCls = core.material.items[id].cls;
|
|
||||||
core.removeBlock(x, y);
|
|
||||||
core.items.getItemEffect(id, num);
|
|
||||||
var text = '获得 ' + core.material.items[id].name;
|
|
||||||
if (num > 1) text += "x" + num;
|
|
||||||
if (itemCls === 'items' && num == 1) text += core.items.getItemEffectTip(id);
|
|
||||||
core.drawTip(text, id);
|
|
||||||
|
|
||||||
// --- 首次获得道具的提示
|
|
||||||
if (!core.hasFlag("__itemHint__")) core.setFlag("__itemHint__", []);
|
|
||||||
var itemHint = core.getFlag("__itemHint__");
|
|
||||||
if (core.flags.itemFirstText && itemHint.indexOf(id) < 0 && itemCls != 'items') {
|
|
||||||
var hint = core.material.items[id].text || "该道具暂无描述";
|
|
||||||
try {
|
|
||||||
hint = core.replaceText(hint);
|
|
||||||
} catch (e) { }
|
|
||||||
if (!core.status.event.id || core.status.event.id == 'action') {
|
|
||||||
core.insertAction("\t[" + core.material.items[id].name + "," + id + "]\b[center]" + hint + "\n"
|
|
||||||
+ (id.endsWith('Key') ? "(钥匙类道具,遇到对应的门时自动打开)"
|
|
||||||
: itemCls == 'tools' ? "(消耗类道具,请按T在道具栏使用)"
|
|
||||||
: itemCls == 'constants' ? "(永久类道具,请按T在道具栏使用)"
|
|
||||||
: itemCls == 'equips' ? "(装备类道具,请按Q在装备栏进行装备)" : ""));
|
|
||||||
}
|
|
||||||
itemHint.push(id);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.afterGetItem(id, x, y, isGentleClick);
|
|
||||||
if (callback) callback();
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"drawLight": function () {
|
"drawLight": function () {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user