File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
addons/block_code/ui/picker/categories Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -144,10 +144,17 @@ static func get_general_categories() -> Array[BlockCategory]:
144
144
variable_list .append (b )
145
145
146
146
b = BLOCKS ["parameter_block" ].instantiate ()
147
+ b .block_type = Types .BlockType .STRING
147
148
b .block_format = "Get String {var: STRING} "
148
149
b .statement = "VAR_DICT[{var} ]"
149
150
variable_list .append (b )
150
151
152
+ b = BLOCKS ["parameter_block" ].instantiate ()
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} ]"
156
+ variable_list .append (b )
157
+
151
158
b = BLOCKS ["statement_block" ].instantiate ()
152
159
b .block_format = "Set Int {var: STRING} {value: INT} "
153
160
b .statement = "VAR_DICT[{var} ] = {value} "
You can’t perform that action at this time.
0 commit comments