17 lines
1.4 KiB
JavaScript
17 lines
1.4 KiB
JavaScript
colorInvalidError = "Color must be in the form \"rgb(red,green,blue)\" or \"hsl(hue,saturation%,lightness%)\" (without quotes)!";
|
|
stringSynonyms = [ "string", "str", "st", "s" ];
|
|
numberSynonyms = [ "number", "num", "nm", "nu", "nb", "integer", "int", "i", "it", "float",
|
|
"flt", "ft", "fl", "f", "wholenumber", "decimalnumber", "wn", "dn", "w",
|
|
"d", "deeznuts" ]; /*The purpose of these blatant lies is, through a
|
|
reference to the Alice series of software, have an excuse to include deez
|
|
nuts.*/
|
|
objectSynonyms = [ "object", "oj", "obj", "ob", "o", "json" ];
|
|
booleanSynonyms = [ "boolean", "bool", "boole", "boo", "bo", "bl", "b" ];
|
|
arraySynonyms = [ "arr", "a", "ar", "list" ];
|
|
defaultStringTypeValues = ["element","color","clone","changeTo","void","type","spawn"];
|
|
defaultNumberTypeValues = ["x","y","charge","temp","start","vx","vy","chargeCD","start","burnStart","dir","panic","r","frequency","length","delay","volume","debounce","debounceLength","speed","fall","penetrateCounter","chargeCounter","spawnCounter","spawnTime","squadiusX","squadiusY","spawnTries","counter","attachDirection","value","range","xSpacing","ySpacing","maxPixels"];
|
|
defaultBooleanTypeValues = ["burning","dead","hissing","following","dirLocked","del","didChargeBlueTinted","shooting","del","spawnAtPixelTemp","overwrite"];
|
|
defaultArrayTypeValues = ["attachOffsets"];
|
|
synonymsOfTrue = ["true", "t", "1", "yes"];
|
|
synonymsOfFalse = ["false", "f", "0", "no"];
|