Reset workers after prestige in momastery and alchemy tower
This commit is contained in:
@@ -159,3 +159,9 @@ func _on_assign_button_pressed() -> void:
|
||||
|
||||
func _on_craft_button_pressed(recipe: Variant) -> void:
|
||||
craft_requested.emit(recipe)
|
||||
|
||||
## Called by PrestigeManager after prestige to reset assigned alchemy workers.
|
||||
func reset_workers() -> void:
|
||||
_alchemy_worker_count = 0
|
||||
_update_worker_display()
|
||||
alchemy_workers_changed.emit(0)
|
||||
|
||||
@@ -25,6 +25,7 @@ position = Vector2(0.5, 11)
|
||||
shape = SubResource("RectangleShape2D_8pntr")
|
||||
|
||||
[node name="AlchemyCurrenciesPanel" parent="." unique_id=731368154 instance=ExtResource("2_8pntr")]
|
||||
z_index = 1
|
||||
visible = false
|
||||
offset_left = 44.0
|
||||
offset_top = -81.0
|
||||
|
||||
@@ -4,3 +4,4 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
max_workers = 0
|
||||
|
||||
Reference in New Issue
Block a user