feat: let trusted villagers ask the player directly as standing grows
This commit is contained in:
@@ -34,6 +34,8 @@ func _ready() -> void:
|
||||
simulation_manager.player_quest_expired.connect(_on_quest_expired)
|
||||
if simulation_manager.has_signal("player_standing_changed"):
|
||||
simulation_manager.player_standing_changed.connect(_on_standing_changed)
|
||||
if simulation_manager.has_signal("player_tier_advanced"):
|
||||
simulation_manager.player_tier_advanced.connect(_on_tier_advanced)
|
||||
if simulation_manager.has_signal("opportunity_resolved"):
|
||||
simulation_manager.opportunity_resolved.connect(_on_opportunity_resolved)
|
||||
if simulation_manager.has_signal("state_restored"):
|
||||
@@ -53,6 +55,11 @@ func _on_standing_changed(_standing: PlayerStandingRecord) -> void:
|
||||
_refresh()
|
||||
|
||||
|
||||
func _on_tier_advanced(_tier: int, tier_name: String) -> void:
|
||||
_refresh()
|
||||
_show_thanks("Standing grows", "The village now calls you a %s." % tier_name)
|
||||
|
||||
|
||||
func _on_opportunity_resolved(
|
||||
_opportunity: OpportunityStateRecord, _cause_event: EconomicEventRecord
|
||||
) -> void:
|
||||
|
||||
Reference in New Issue
Block a user