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 @@ -153,10 +153,17 @@ static func get_general_categories() -> Array[BlockCategory]:
153153 variable_list .append (b )
154154
155155 b = BLOCKS ["parameter_block" ].instantiate ()
156+ b .block_type = Types .BlockType .STRING
156157 b .block_format = "Get String {var: STRING} "
157158 b .statement = "VAR_DICT[{var} ]"
158159 variable_list .append (b )
159160
161+ b = BLOCKS ["parameter_block" ].instantiate ()
162+ b .block_type = Types .BlockType .STRING
163+ b .block_format = "Get String {var: STRING} from {object: NODE} "
164+ b .statement = "{object} .VAR_DICT[{var} ]"
165+ variable_list .append (b )
166+
160167 b = BLOCKS ["statement_block" ].instantiate ()
161168 b .block_format = "Set Int {var: STRING} {value: INT} "
162169 b .statement = "VAR_DICT[{var} ] = {value} "
You can’t perform that action at this time.
0 commit comments