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]:
144144 variable_list .append (b )
145145
146146 b = BLOCKS ["parameter_block" ].instantiate ()
147+ b .block_type = Types .BlockType .STRING
147148 b .block_format = "Get String {var: STRING} "
148149 b .statement = "VAR_DICT[{var} ]"
149150 variable_list .append (b )
150151
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+
151158 b = BLOCKS ["statement_block" ].instantiate ()
152159 b .block_format = "Set Int {var: STRING} {value: INT} "
153160 b .statement = "VAR_DICT[{var} ] = {value} "
You can’t perform that action at this time.
0 commit comments