You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ycrpg/js/plugins/SF_MessageBusts.js

35 lines
1.0 KiB
JavaScript

2 years ago
//=============================================================================
// Salted Fish Plugins - Message Busts
// SF_MessageBusts.js
//=============================================================================
"use strict";
var Imported = Imported || {};
Imported.SF_MessageBusts = true;
var SF_Plugins = SF_Plugins || {};
//=============================================================================
/**
/*:
*
* @plugindesc Message Busts
* @author Salted Fish
*
* @help
* 基于 Galv_MessageBusts.js 插件编写
*
* 尝试在显示文本时自动展示大号脸图如果文件存在的话否则展示原本的图片
*
* 将对应的图片放在
* img/faces/large 文件夹下
*
* 命名方式为
* {图片名称}_编号.png
*
* 举例如果在显示文本的命令中选择脸图的文件为"Actor1"的第二个图
* 那么这个插件就会使用 img/faces/large/Actor1_2.png 这张图片作为大号的脸图
*
* @param scanFiles
* @desc 扫描本地文件夹生成对应的
*
*/