@@ -151,8 +151,8 @@ static func get_general_categories() -> Array[BlockCategory]:
151
151
152
152
b = BLOCKS ["parameter_block" ].instantiate ()
153
153
b .block_type = Types .BlockType .STRING
154
- b .block_format = "Get String {var: STRING} from {object : NODE} "
155
- b .statement = "{object } .VAR_DICT[{var} ]"
154
+ b .block_format = "Get String {var: STRING} from {node : NODE} "
155
+ b .statement = "{node } .VAR_DICT[{var} ]"
156
156
variable_list .append (b )
157
157
158
158
b = BLOCKS ["statement_block" ].instantiate ()
@@ -173,18 +173,18 @@ static func get_general_categories() -> Array[BlockCategory]:
173
173
174
174
b = BLOCKS ["parameter_block" ].instantiate ()
175
175
b .block_type = Types .BlockType .INT
176
- b .block_format = "Get Int {var: INT} from {object : NODE} "
177
- b .statement = "{object } .VAR_DICT[{var} ]"
176
+ b .block_format = "Get Int {var: INT} from {node : NODE} "
177
+ b .statement = "{node } .VAR_DICT[{var} ]"
178
178
variable_list .append (b )
179
179
180
180
var variable_category : BlockCategory = BlockCategory .new ("Variables" , variable_list , Color ("4f975d" ))
181
181
182
- # Objects & Types
182
+ # Nodes & Types
183
183
var type_list : Array [Block ] = []
184
184
185
185
b = BLOCKS ["parameter_block" ].instantiate ()
186
186
b .block_type = Types .BlockType .NODE
187
- b .block_format = "This object "
187
+ b .block_format = "This node "
188
188
b .statement = "self"
189
189
type_list .append (b )
190
190
@@ -220,16 +220,16 @@ static func get_general_categories() -> Array[BlockCategory]:
220
220
221
221
b = BLOCKS ["parameter_block" ].instantiate ()
222
222
b .block_type = Types .BlockType .VARIANT
223
- b .block_format = "Get property {key: STRING} from {object : NODE} "
224
- b .statement = "{object } .get({key} )"
223
+ b .block_format = "Get property {key: STRING} from {node : NODE} "
224
+ b .statement = "{node } .get({key} )"
225
225
type_list .append (b )
226
226
227
227
b = BLOCKS ["statement_block" ].instantiate ()
228
- b .block_format = "Set property {key: STRING} in {object : NODE} to {value: VARIANT} "
229
- b .statement = "{object } .set({key} , {value} )"
228
+ b .block_format = "Set property {key: STRING} in {node : NODE} to {value: VARIANT} "
229
+ b .statement = "{node } .set({key} , {value} )"
230
230
type_list .append (b )
231
231
232
- var type_category : BlockCategory = BlockCategory .new ("Objects & Types" , type_list , Color ("c12f8e" ))
232
+ var type_category : BlockCategory = BlockCategory .new ("Nodes & Types" , type_list , Color ("c12f8e" ))
233
233
234
234
# Math
235
235
var math_list : Array [Block ] = []
0 commit comments