-
Notifications
You must be signed in to change notification settings - Fork 41
/
PluginTemplate.js
48 lines (41 loc) · 1.43 KB
/
PluginTemplate.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*=============================================================================
* Orange - PluginName
* By Hudell - www.hudell.com
* OrangePluginName.js
* Version: 1.0
* Free for commercial and non commercial use.
*=============================================================================*/
/*:
* @plugindesc Plugin Description <OrangePluginName>
* @author Hudell
*
* @param paramName
* @desc Description
* @default 0
*
* @help
* ============================================================================
* Hudell's Plugins
* ============================================================================
*
* Check out my website:
* http://hudell.com
*
*=============================================================================*/
var Imported = Imported || {};
var Hudell = Hudell || {};
Hudell.OrangePluginName = Hudell.OrangePluginName || {};
(function($) {
"use strict";
var parameters = $plugins.filter(function(plugin) { return plugin.description.contains('<OrangePluginName>'); });
if (parameters.length === 0) {
throw new Error("Couldn't find Hudell's OrangePluginName parameters.");
}
$.Parameters = parameters[0].parameters;
$.Param = {};
// Param validation
//$.Param.paramName = Number($.Parameters.paramName || 0);
// Code goes here
})(Hudell.OrangePluginName);
OrangePluginName = Hudell.OrangePluginName;
Imported.OrangePluginName = 1.0;