Add new resource for testing
This commit is contained in:
@@ -493,10 +493,10 @@ func _resolve_buff_cost_currency_id(buff: GeneratorBuffData) -> StringName:
|
||||
return GameState.get_currency_id(cost_currency)
|
||||
|
||||
func _resolve_purchase_currency() -> Currency:
|
||||
if data != null and data.purchase_currency != null:
|
||||
return data.purchase_currency
|
||||
if data == null:
|
||||
return null
|
||||
|
||||
return currency
|
||||
return data.purchase_currency
|
||||
|
||||
func _resolve_buff_target_currency_id(buff: GeneratorBuffData) -> StringName:
|
||||
if buff == null:
|
||||
|
||||
@@ -24,10 +24,10 @@ shape = SubResource("RectangleShape2D_y5m1q")
|
||||
|
||||
[node name="GeneratorPanel" parent="." unique_id=1129190041 node_paths=PackedStringArray("_generator") instance=ExtResource("5_bb14m")]
|
||||
visible = false
|
||||
offset_left = 64.0
|
||||
offset_top = -64.0
|
||||
offset_right = 505.0
|
||||
offset_bottom = 201.5
|
||||
offset_left = 33.0
|
||||
offset_top = -65.0
|
||||
offset_right = 474.0
|
||||
offset_bottom = 200.5
|
||||
_generator = NodePath("..")
|
||||
|
||||
[connection signal="mouse_entered" from="Area2D" to="." method="_on_area_2d_mouse_entered"]
|
||||
|
||||
Reference in New Issue
Block a user