From 345df9429b0ffbd3de68fe0864a73c54a5b65435 Mon Sep 17 00:00:00 2001 From: O-01-67 <68935009+O-01-67@users.noreply.github.com> Date: Wed, 14 Sep 2022 12:47:36 -0400 Subject: [PATCH] velocity.js support for set added vx and vy as properties with default number types, so a type argument isn't required --- mods/prompt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/prompt.js b/mods/prompt.js index b05b071b..35df353e 100644 --- a/mods/prompt.js +++ b/mods/prompt.js @@ -8,7 +8,7 @@ booleanSynonyms = ["boolean", "bool", "boo", "bo", "bl", "b"]; trueSynonyms = ["true", "t", "1", "yes"]; falseSynonyms = ["false", "f", "0", "no"]; defaultStringTypeValues = ["element","color"]; -defaultNumberTypeValues = ["x","y","temp","start"]; +defaultNumberTypeValues = ["x","y","temp","start","vx","vy"]; commandHelpObject = { "set": "Sets properties for every pixel of a given type.\nUsage: set [property] [element] [value] \nDon't include framing characters []<>.\nThe element can be \"all\" to set the property for every pixel.\nNote: Strings can't have spaces because spaces are the separator used in the parsing split().\nArguments in [brackets] are required and ones in are optional.", "test": "Test.",