Minor code style update

This commit is contained in:
JeremyStar™ 2024-04-08 02:43:15 +02:00
parent 76a6c274a4
commit 7e75bc6638
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -46,12 +46,12 @@ var some_string: String = ""
# No value is also valid, unless the type does not accept null (for example integers)
var various_types: Variant
# Please set the containing type for arrays, unless an array can contain multiple types
var some_array: Array[String] = ["some", "string"]
# Dictionaries must be nicely formatted
var some_array: Array[String] = [ "some", "string" ]
# Dictionaries and Arrays must be nicely formatted
var dict_of_fruits: Dictionary = { "fruits": ["apple", "banana", "orange"], "good_fruits": { "apple": "Tastes good, available pretty much everywhere", "orange": "Nice." }, "bad_fruits": { "banana": "Does not taste good." } }
# For duplication example, ignore
var nodes: Array[String] = ["abc", "def", "ghi", "jkl"]
var nodes: Array[String] = [ "abc", "def", "ghi", "jkl" ]
var node_abc: Node
var node_def: Node
var node_ghi: Node