/*
* @command enable_picture
* @text 解锁图片
* @arg AA
* @type number
* @min 1
* @default 1
* @text 图片编号
* @desc 对应编号
*
* @command disable_picture
* @text 上锁图片
* @arg AA
* @type number
* @min 1
* @default 1
* @text 图片编号
* @desc 对应编号
*
* @command open_picture_gallery
* @text 打开画廊
*
* @help
*/
(() => {
PluginManager.registerCommand("MOG_PictureGallery", 'enable_picture', args => {
let AA = Number(args.AA);
Moghunter.global_mog_picturegallery[Number(args.AA)] = true;
DataManager.forceSaveGlobalInfo();
$gameSystem.enable_picture(Number(args.AA),true);
});
})();
(() => {
PluginManager.registerCommand("MOG_PictureGallery", 'disable_picture', args => {
let AA = Number(args.AA);
Moghunter.global_mog_picturegallery[Number(args.AA)] = true;
DataManager.forceSaveGlobalInfo();
$gameSystem.enable_picture(Number(args.AA),false);
});
})();
(() => {
PluginManager.registerCommand("MOG_PictureGallery", 'open_picture_gallery', args => {
$gameSystem.picturegallery()
});
})();