@@ -118,7 +118,7 @@ static func _add_property_definitions(_class_name: String, property_list: Array[
118
118
block_settings .category ,
119
119
Types .BlockType .STATEMENT ,
120
120
TYPE_NIL ,
121
- "set %s to {value: %s} " % [property .name .to_lower (), type_string ],
121
+ "set %s to {value: %s} " % [property .name .capitalize (). to_lower (), type_string ],
122
122
"%s = {value} " % property .name ,
123
123
{"value" : block_settings .get ("default_set" , _FALLBACK_SET_FOR_TYPE [property .type ])},
124
124
)
@@ -136,7 +136,7 @@ static func _add_property_definitions(_class_name: String, property_list: Array[
136
136
block_settings .category ,
137
137
Types .BlockType .STATEMENT ,
138
138
TYPE_NIL ,
139
- "change %s by {value: %s} " % [property .name .to_lower (), type_string ],
139
+ "change %s by {value: %s} " % [property .name .capitalize (). to_lower (), type_string ],
140
140
"%s += {value} " % property .name ,
141
141
{"value" : block_settings .get ("default_change" , _FALLBACK_CHANGE_FOR_TYPE [property .type ])},
142
142
)
@@ -153,7 +153,7 @@ static func _add_property_definitions(_class_name: String, property_list: Array[
153
153
block_settings .category ,
154
154
Types .BlockType .VALUE ,
155
155
property .type ,
156
- "%s " % property .name .to_lower (),
156
+ "%s " % property .name .capitalize (). to_lower (),
157
157
"%s " % property .name ,
158
158
)
159
159
)
0 commit comments