File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
src/main/java/com/laytonsmith/core/functions Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1402,7 +1402,7 @@ public Integer[] numArgs() {
14021402
14031403 @ Override
14041404 public String docs () {
1405- return "resource {} Returns a copy of the underlying engine's environment object. This is only useful to embedded scripting"
1405+ return "Resource {} Returns a copy of the underlying engine's environment object. This is only useful to embedded scripting"
14061406 + " engines that are attempting to call back into " + Implementation .GetServerType ().getBranding () + ". The object returned"
14071407 + " is a CResource." ;
14081408 }
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ public Integer[] numArgs() {
170170
171171 @ Override
172172 public String docs () {
173- return "resource {type, [data]} Creates a new resource, which is stored in memory. Various"
173+ return "Resource {type, [data]} Creates a new resource, which is stored in memory. Various"
174174 + " functions require resources of certain types, which are created with this function."
175175 + " Barring resources that you intend on keeping around indefinitely, each call"
176176 + " to res_create_resource should be paired with a res_free_resource, being careful"
@@ -235,7 +235,7 @@ public Integer[] numArgs() {
235235
236236 @ Override
237237 public String docs () {
238- return "void {resource } Frees the given resource. This should ALWAYS be called at some point after creating a resource"
238+ return "void {Resource } Frees the given resource. This should ALWAYS be called at some point after creating a resource"
239239 + " with res_create_resource, once you are done with the resource." ;
240240 }
241241
Original file line number Diff line number Diff line change @@ -419,7 +419,8 @@ public Integer[] numArgs() {
419419
420420 @ Override
421421 public String docs () {
422- return "double {randomResource} Returns a new rand value. If the seed used to create the resource is the same, each resulting"
422+ return "double {Resource} Returns a new rand value using the provided a RANDOM Resource."
423+ + " If the seed used to create the resource is the same, each resulting"
423424 + " series of numbers will be the same." ;
424425 }
425426
Original file line number Diff line number Diff line change @@ -2071,7 +2071,7 @@ public Integer[] numArgs() {
20712071
20722072 @ Override
20732073 public String docs () {
2074- return "void {resource , toAppend...} Appends any number of values to the underlying"
2074+ return "void {Resource , toAppend...} Appends any number of values to the underlying"
20752075 + " string builder. This is much more efficient than doing normal concatenation"
20762076 + " with a string when building a string in a loop. The underlying resource may"
20772077 + " be converted to a string via a cast, string(@res)." ;
You can’t perform that action at this time.
0 commit comments