装备界面初步优化

main
戴面具的乐子人 2 years ago
parent f41ef8c5ad
commit fb3c0d32dc

@ -1,16 +1,16 @@
[
null,
{"id":1,"battlerName":"","characterIndex":0,"characterName":"郝仁行走图改","classId":1,"equips":[6,0,0,0,0],"faceIndex":0,"faceName":"主角团","traits":[{"code":14,"dataId":34,"value":1},{"code":14,"dataId":63,"value":1},{"code":43,"dataId":500,"value":1}],"initialLevel":1,"maxLevel":12,"name":"郝仁","nickname":"","note":"","profile":"似乎是个平平无奇的普通人"},
{"id":2,"battlerName":"","characterIndex":0,"characterName":"vva","classId":2,"equips":[17,0,0,0,0],"faceIndex":1,"faceName":"主角团","traits":[{"code":14,"dataId":34,"value":1}],"initialLevel":1,"maxLevel":12,"name":"薇薇安","nickname":"","note":"","profile":"最古血族、最穷血族、估计也是厨艺最好的血族PS\n她的血魔法血量消耗和效果都会随着血量下降而下降"},
{"id":3,"battlerName":"","characterIndex":0,"characterName":"五月","classId":8,"equips":[0,0,0,0,0],"faceIndex":2,"faceName":"主角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"南宫五月","nickname":"","note":"","profile":"陆生海妖,亲爸是个猎魔人,\n原本是不会任何攻击法术的"},
{"id":4,"battlerName":"","characterIndex":2,"characterName":"People1","classId":5,"equips":[0,0,0,0,0],"faceIndex":3,"faceName":"主角团","traits":[{"code":11,"dataId":4,"value":0.9},{"code":11,"dataId":7,"value":0.95}],"initialLevel":1,"maxLevel":12,"name":"南宫三八","nickname":"","note":"","profile":"亲妈是个海妖的半吊子猎魔人,只能选择精进符卡技艺"},
{"id":5,"battlerName":"","characterIndex":0,"characterName":"YZKS","classId":6,"equips":[13,0,0,0,0],"faceIndex":4,"faceName":"主角团","traits":[{"code":14,"dataId":46,"value":1}],"initialLevel":1,"maxLevel":12,"name":"伊扎克斯","nickname":"","note":"","profile":"魔王,道德暴君,很有故事的人"},
{"id":6,"battlerName":"","characterIndex":0,"characterName":"$伊丽莎白","classId":7,"equips":[14,0,0,0,0],"faceIndex":5,"faceName":"主角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"伊丽莎白","nickname":"","note":"","profile":"魔界公主,但是机械专家"},
{"id":7,"battlerName":"","characterIndex":0,"characterName":"莉莉1","classId":3,"equips":[11,0,0,0,0],"faceIndex":6,"faceName":"主角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"刘莉莉","nickname":"","note":"","profile":"大概是狼人的哈士奇亚种吧"},
{"id":8,"battlerName":"","characterIndex":0,"characterName":"滚","classId":9,"equips":[0,0,0,0,0],"faceIndex":7,"faceName":"主角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"滚","nickname":"","note":"","profile":"金苹果能制造出什么?答案是有猫的世界观的真实系\n猫娘"},
{"id":9,"battlerName":"","characterIndex":0,"characterName":"$ 耗子","classId":10,"equips":[0,0,0,0,0],"faceIndex":2,"faceName":"配角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"郝籽","nickname":"","note":"","profile":"金苹果核制造出的老鼠娘,有着老鼠一样的接受能力和\n适应力她的很多技能都是来自薇薇安和莉莉的指点"},
{"id":10,"battlerName":"","characterIndex":0,"characterName":"","classId":11,"equips":[0,0,0,0,0],"faceIndex":0,"faceName":"","traits":[],"initialLevel":1,"maxLevel":99,"name":"诺兰","nickname":"","note":"","profile":"诺兰制造的机械人躯体"},
{"id":11,"battlerName":"","characterIndex":0,"characterName":"白火","classId":4,"equips":[0,0,0,0,0],"faceIndex":4,"faceName":"配角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"白火","nickname":"","note":"","profile":"血统纯粹而强大的新生代猎魔人,背地里是个游戏宅"},
{"id":1,"battlerName":"","characterIndex":0,"characterName":"郝仁行走图改","classId":1,"equips":[6,0,0,0,0],"faceIndex":0,"faceName":"主角团","traits":[{"code":14,"dataId":34,"value":1},{"code":14,"dataId":63,"value":1},{"code":43,"dataId":500,"value":1}],"initialLevel":1,"maxLevel":12,"name":"郝仁","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"似乎是个平平无奇的普通人"},
{"id":2,"battlerName":"","characterIndex":0,"characterName":"vva","classId":2,"equips":[17,0,0,0,0],"faceIndex":1,"faceName":"主角团","traits":[{"code":14,"dataId":34,"value":1}],"initialLevel":1,"maxLevel":12,"name":"薇薇安","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"最古血族、最穷血族、估计也是厨艺最好的血族PS\n她的血魔法血量消耗和效果都会随着血量下降而下降"},
{"id":3,"battlerName":"","characterIndex":0,"characterName":"五月","classId":8,"equips":[0,0,0,0,0],"faceIndex":2,"faceName":"主角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"南宫五月","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"陆生海妖,亲爸是个猎魔人,\n原本是不会任何攻击法术的"},
{"id":4,"battlerName":"","characterIndex":2,"characterName":"People1","classId":5,"equips":[0,0,0,0,0],"faceIndex":3,"faceName":"主角团","traits":[{"code":11,"dataId":4,"value":0.9},{"code":11,"dataId":7,"value":0.95}],"initialLevel":1,"maxLevel":12,"name":"南宫三八","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"亲妈是个海妖的半吊子猎魔人,只能选择精进符卡技艺"},
{"id":5,"battlerName":"","characterIndex":0,"characterName":"YZKS","classId":6,"equips":[13,0,0,0,0],"faceIndex":4,"faceName":"主角团","traits":[{"code":14,"dataId":46,"value":1}],"initialLevel":1,"maxLevel":12,"name":"伊扎克斯","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"魔王,道德暴君,很有故事的人"},
{"id":6,"battlerName":"","characterIndex":0,"characterName":"$伊丽莎白","classId":7,"equips":[14,0,0,0,0],"faceIndex":5,"faceName":"主角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"伊丽莎白","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"魔界公主,但是机械专家"},
{"id":7,"battlerName":"","characterIndex":0,"characterName":"莉莉1","classId":3,"equips":[11,0,0,0,0],"faceIndex":6,"faceName":"主角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"刘莉莉","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"大概是狼人的哈士奇亚种吧"},
{"id":8,"battlerName":"","characterIndex":0,"characterName":"滚","classId":9,"equips":[0,0,0,0,0],"faceIndex":7,"faceName":"主角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"滚","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"金苹果能制造出什么?答案是有猫的世界观的真实系\n猫娘"},
{"id":9,"battlerName":"","characterIndex":0,"characterName":"$ 耗子","classId":10,"equips":[0,0,0,0,0],"faceIndex":2,"faceName":"配角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"郝籽","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"金苹果核制造出的老鼠娘,有着老鼠一样的接受能力和\n适应力她的很多技能都是来自薇薇安和莉莉的指点"},
{"id":10,"battlerName":"","characterIndex":0,"characterName":"","classId":11,"equips":[0,0,0,0,0],"faceIndex":0,"faceName":"","traits":[],"initialLevel":1,"maxLevel":99,"name":"诺兰","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"诺兰制造的机械人躯体"},
{"id":11,"battlerName":"","characterIndex":0,"characterName":"白火","classId":4,"equips":[0,0,0,0,0],"faceIndex":4,"faceName":"配角团","traits":[],"initialLevel":1,"maxLevel":12,"name":"白火","nickname":"","note":"<equipSlots:1,2,3,4,5,6,7,7>","profile":"血统纯粹而强大的新生代猎魔人,背地里是个游戏宅"},
{"id":12,"battlerName":"","characterIndex":0,"characterName":"","classId":1,"equips":[0,0,0,0,0],"faceIndex":0,"faceName":"","traits":[],"initialLevel":1,"maxLevel":99,"name":"","nickname":"","note":"","profile":""},
{"id":13,"battlerName":"","characterIndex":0,"characterName":"","classId":1,"equips":[0,0,0,0,0],"faceIndex":0,"faceName":"","traits":[],"initialLevel":1,"maxLevel":99,"name":"","nickname":"","note":"","profile":""},
{"id":14,"battlerName":"","characterIndex":0,"characterName":"","classId":1,"equips":[0,0,0,0,0],"faceIndex":0,"faceName":"","traits":[],"initialLevel":1,"maxLevel":99,"name":"","nickname":"","note":"","profile":""},

@ -52,7 +52,7 @@ null,
{"id":50,"expanded":false,"name":"旅馆1F","order":42,"parentId":47,"scrollX":819,"scrollY":474.5},
{"id":51,"expanded":true,"name":"豆豆主星B","order":43,"parentId":34,"scrollX":885,"scrollY":466.5},
{"id":52,"expanded":true,"name":"熔岩洞窟1F","order":44,"parentId":51,"scrollX":904,"scrollY":1227.5},
{"id":53,"expanded":true,"name":"熔岩洞窟B1","order":45,"parentId":52,"scrollX":814,"scrollY":666.5},
{"id":53,"expanded":true,"name":"熔岩洞窟B1","order":45,"parentId":52,"scrollX":811,"scrollY":650.5},
{"id":54,"expanded":false,"name":"熔岩洞窟B2","order":46,"parentId":53,"scrollX":1013,"scrollY":1521.5},
{"id":55,"expanded":true,"name":"好人家一层(彩蛋)","order":24,"parentId":22,"scrollX":1722,"scrollY":716.5},
{"id":56,"expanded":false,"name":"护甲商店","order":34,"parentId":36,"scrollX":780,"scrollY":477},

File diff suppressed because one or more lines are too long

@ -58,5 +58,6 @@ var $plugins =
{"name":"GALV_MessageBusts","status":true,"description":"(v.2.6) Displays a bust image instead of selected face image","parameters":{"Bust Priority":"1","Bust Position":"1","Text X Offset":"390","Filename Append":""}},
{"name":"Namepop","status":true,"description":"Namepop Ver 1.03 NPC名称显示","parameters":{}},
{"name":"YEP_EventEncounterAid","status":true,"description":"v1.00 事件遭遇助手","parameters":{}},
{"name":"YEP_ItemSynthesis","status":true,"description":"v1.08 物品合成系统","parameters":{"---General---":"","Synthesis Command":"合成","Show Command":"true","Enable Command":"true","Auto Place Command":"true","---Command Window---":"","Item Command":"物品","Weapon Command":"武器","Armor Command":"防具","Finish Command":"退出","Text Alignment":"center","---Status Window---":"","Collected Recipes":"材料收集总数","Crafted Items":"物品配方","Crafted Weapons":"武器配方","Crafted Armors":"防具配方","---List Window---":"","Equipped Recipes":"true","Mask Unknown":"true","Mask Text":"?","Mask Italic":"false","Mask Help Text":"未知物品!","Ingredients Text":"所需材料","Amount Text":"数量","Quantity Text Size":"20","---Sound---":"","Default SE":"Twine","Default Volume":"100","Default Pitch":"100","Default Pan":"0"}}
{"name":"YEP_ItemSynthesis","status":true,"description":"v1.08 物品合成系统","parameters":{"---General---":"","Synthesis Command":"合成","Show Command":"true","Enable Command":"true","Auto Place Command":"true","---Command Window---":"","Item Command":"物品","Weapon Command":"武器","Armor Command":"防具","Finish Command":"退出","Text Alignment":"center","---Status Window---":"","Collected Recipes":"材料收集总数","Crafted Items":"物品配方","Crafted Weapons":"武器配方","Crafted Armors":"防具配方","---List Window---":"","Equipped Recipes":"true","Mask Unknown":"true","Mask Text":"?","Mask Italic":"false","Mask Help Text":"未知物品!","Ingredients Text":"所需材料","Amount Text":"数量","Quantity Text Size":"20","---Sound---":"","Default SE":"Twine","Default Volume":"100","Default Pitch":"100","Default Pan":"0"}},
{"name":"ActorEquipSlots","status":true,"description":"Actor Equip Slots","parameters":{}}
];

@ -0,0 +1,37 @@
//=============================================================================
// ActorEquipSlots.js
//=============================================================================
/*:
* @plugindesc Actor Equip Slots
* @author Morpho(dongdongDJH)
*
* @help
* 在角色备注栏添加相应备注可自定义装备栏装备类型序号参考系统设置
* 用途自由定义装备栏
* 格式<equipSlots:装备类型序号,装备类型序号,装备类型序号,装备类型序号,装备类型序号>
* <equipSlots:1,1,1,2,3>
* 备注不要填入不存在的装备类型序号
* windows.js 2295行Window_EquipStatus.prototype.numVisibleRows
*/
(function() {
Game_Actor.prototype.equipSlots = function() {
var slots = [];
for (var i = 1; i < $dataSystem.equipTypes.length; i++) {
slots.push(i);
}
if (slots.length >= 2 && this.isDualWield()) {
slots[1] = 1;
}
if (this.actor().meta.equipSlots) {
var n = 0
do {
slots[n] = Number(this.actor().meta.equipSlots.split(",")[n]);
n += 1;
} while (this.actor().meta.equipSlots.split(",")[n] != null);
slots.length = n;
};
return slots;
};
}());

@ -2267,7 +2267,7 @@ Window_EquipStatus.prototype.windowHeight = function () {
};
Window_EquipStatus.prototype.numVisibleRows = function () {
return 7;
return 10;
};
Window_EquipStatus.prototype.setActor = function (actor) {

Loading…
Cancel
Save