/**=====LICENSE STATEMENT START=====
Translator++
CAT (Computer-Assisted Translation) tools and framework to create quality
translations and localizations efficiently.
Copyright (C) 2018 Dreamsavior<dreamsavior@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
=====LICENSE STATEMENT END=====*/
const consts = {}
consts.rootPath = "www/";
consts.pathToPlugins = "js/autoload/";
consts.eventCode = {}
consts.eventCode.rmvxace = {
0:"Empty",
101:"Show Text Attributes",
102:"Show Choices",
103:"Input Number",
104:"Select Key Item",
105:"Show Scrolling Text Attributes",
108:"Comment",
111:"Conditional Branch",
112:"Loop",
113:"Break Loop",
115:"Exit Event Processing",
117:"Call Common Event",
118:"Label",
119:"Jump to Label",
121:"Control Switches",
122:"Control Variables",
123:"Control Self Switch",
124:"Control Timer",
125:"Change Gold",
126:"Change Items",
127:"Change Weapons",
128:"Change Armor",
129:"Change Party Member",
132:"Change Battle BGM",
133:"Change Battle End ME",
134:"Change Save Access",
135:"Change Menu Access",
136:"Change Encounter",
137:"Change Formation Access",
138:"Change Window Color",
201:"Transfer Player",
202:"Set Vehicle Location",
203:"Set Event Location",
204:"Scroll Map",
205:"Set Move Route",
206:"Get on/off Vehicle",
211:"Change Transparency",
212:"Show Animation",
213:"Shot Balloon Icon",
214:"Erase Event",
216:"Change Player Followers",
217:"Gather Followers",
221:"Fadeout Screen",
222:"Fadein Screen",
223:"Tint Screen",
224:"Flash Screen",
225:"Shake Screen",
230:"Wait",
231:"Show Picture",
232:"Move Picture",
233:"Rotate Picture",
234:"Tint Picture",
235:"Erase Picture",
236:"Set Weather Effects",
241:"Play BGM",
242:"Fadeout BGM",
243:"Save BGM",
244:"Replay BGM",
245:"Play BGS",
246:"Fadeout BGS",
249:"Play ME",
250:"Play SE",
251:"Stop SE",
261:"Play Movie",
281:"Change Map Display",
282:"Change Tileset",
283:"Change Battle Back",
284:"Change Parallax Back",
285:"Get Location Info",
301:"Battle Processing",
302:"Shop Processing",
303:"Name Input Processing",
311:"Change HP",
312:"Change MP",
313:"Change State",
314:"Recover All",
315:"Change EXP",
316:"Change Level",
317:"Change Parameters",
318:"Change Skills",
319:"Change Equipment",
320:"Change Actor Name",
321:"Change Actor Class",
322:"Change Actor Graphic",
323:"Change Vehicle Graphic",
324:"Change Actor Nickname",
331:"Change Enemy HP",
332:"Change Enemy MP",
333:"Change Enemy State",
334:"Enemy Recover All",
335:"Enemy Appear",
336:"Enemy Transform",
337:"Show Battle Animation",
339:"Force Action",
340:"Abort Battle",
351:"Open Menu Screen",
352:"Open Save Screen",
353:"Game Over",
354:"Return to Title Screen",
355:"Script Header",
401:"Show Text",
402:"When",
403:"When Cancel",
404:"Choices End",
405:"Show Scrolling Text",
408:"Comment More",
411:"Else",
412:"Branch End",
413:"Repeat Above",
601:"If Win",
602:"If Escape",
603:"If Lose",
604:"Battle Processing End",
605:"Shop Item",
655:"Script"
}
consts.defaultLanguages = {
"en" : "English",
"ja" : "Japanese"
}
consts.languages = {
"af" : "Afrikaans",
"sq" : "Albanian",
"am" : "Amharic",
"ar" : "Arabic",
"hy" : "Armenian",
"az" : "Azerbaijani",
"eu" : "Basque",
"be" : "Belarusian",
"bn" : "Bengali",
"bs" : "Bosnian",
"bg" : "Bulgarian",
"ca" : "Catalan",
"ceb" : "Cebuano",
"zh-CN" : "Chinese (Simplified)",
"zh-TW" : "Chinese (Traditional)",
"co" : "Corsican",
"hr" : "Croatian",
"cs" : "Czech",
"da" : "Danish",
"nl" : "Dutch",
"en" : "English",
"eo" : "Esperanto",
"et" : "Estonian",
"fi" : "Finnish",
"fr" : "French",
"fy" : "Frisian",
"gl" : "Galician",
"ka" : "Georgian",
"de" : "German",
"el" : "Greek",
"gu" : "Gujarati",
"ht" : "Haitian Creole",
"ha" : "Hausa",
"haw" : "Hawaiian",
"he" : "Hebrew",
"hi" : "Hindi",
"hmn" : "Hmong",
"hu" : "Hungarian",
"is" : "Icelandic",
"ig" : "Igbo",
"id" : "Indonesian",
"ga" : "Irish",
"it" : "Italian",
"ja" : "Japanese",
"jw" : "Javanese",
"kn" : "Kannada",
"kk" : "Kazakh",
"km" : "Khmer",
"ko" : "Korean",
"ku" : "Kurdish",
"ky" : "Kyrgyz",
"lo" : "Lao",
"la" : "Latin",
"lv" : "Latvian",
"lt" : "Lithuanian",
"lb" : "Luxembourgish",
"mk" : "Macedonian",
"mg" : "Malagasy",
"ms" : "Malay",
"ml" : "Malayalam",
"mt" : "Maltese",
"mi" : "Maori",
"mr" : "Marathi",
"mn" : "Mongolian",
"my" : "Myanmar (Burmese)",
"ne" : "Nepali",
"no" : "Norwegian",
"ny" : "Nyanja (Chichewa)",
"ps" : "Pashto",
"fa" : "Persian",
"pl" : "Polish",
"pt" : "Portuguese (Portugal, Brazil)",
"pa" : "Punjabi",
"ro" : "Romanian",
"ru" : "Russian",
"sm" : "Samoan",
"gd" : "Scots Gaelic",
"sr" : "Serbian",
"st" : "Sesotho",
"sn" : "Shona",
"sd" : "Sindhi",
"si" : "Sinhala (Sinhalese)",
"sk" : "Slovak",
"sl" : "Slovenian",
"so" : "Somali",
"es" : "Spanish",
"su" : "Sundanese",
"sw" : "Swahili",
"sv" : "Swedish",
"tl" : "Tagalog (Filipino)",
"tg" : "Tajik",
"ta" : "Tamil",
"te" : "Telugu",
"th" : "Thai",
"tr" : "Turkish",
"uk" : "Ukrainian",
"ur" : "Urdu",
"uz" : "Uzbek",
"vi" : "Vietnamese",
"cy" : "Welsh",
"xh" : "Xhosa",
"yi" : "Yiddish",
"yo" : "Yoruba",
"zu" : "Zulu"
}
consts.tagColor = {
'red' : 'red',
'yellow' : '#ffff00',
'green' : 'green',
'blue' : 'blue',
'gold': '#d4af37',
'purple': '#800080',
'black' : '#000',
'gray' : '#808080',
'white' : '#fff',
'silver' : '#C0C0C0',
'pink' : '#FFC0CB',
'indigo': '#4B0082',
'aqua': '#00FFFF',
'tan' : '#d2b48c',
'darkred' : '#8b0000'
}
consts.tagStripThickness = 3;