diff --git a/YarnSpinner.LanguageServer/src/Server/Documentation/BuiltInFunctionsAndCommands.ysls.json b/YarnSpinner.LanguageServer/src/Server/Documentation/BuiltInFunctionsAndCommands.ysls.json index e41e6c07b..e4c10aaf7 100644 --- a/YarnSpinner.LanguageServer/src/Server/Documentation/BuiltInFunctionsAndCommands.ysls.json +++ b/YarnSpinner.LanguageServer/src/Server/Documentation/BuiltInFunctionsAndCommands.ysls.json @@ -142,6 +142,27 @@ ], "ReturnType": "number" }, + { + "YarnName": "random_range_float", + "DefinitionName": "random_range", + "Documentation": "Returns a random floating point value between a and b, inclusive.", + "Signature": "random_range_float(a, b)", + "Parameters": [ + { + "Name": "a", + "Type": "number", + "Documentation": "Lower bound (inclusive)", + "IsParamsArray": false + }, + { + "Name": "b", + "Type": "number", + "Documentation": "Upper bound (inclusive)", + "IsParamsArray": false + } + ], + "ReturnType": "number" + }, { "YarnName": "dice", "DefinitionName": "dice", @@ -305,4 +326,4 @@ "ReturnType": "string" } ] -} +} \ No newline at end of file