diff --git a/project/images/npcnan.png b/project/images/npcnan.png index 5803ddb..d74aef8 100644 Binary files a/project/images/npcnan.png and b/project/images/npcnan.png differ diff --git a/project/images/npcnv.png b/project/images/npcnv.png index e69d6c7..d23007e 100644 Binary files a/project/images/npcnv.png and b/project/images/npcnv.png differ diff --git a/project/plugins.js b/project/plugins.js index a23c539..a6f865c 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -437,6 +437,65 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = } 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; + } }, "drawLight": function () {