···4747 SignalBus.play_error.connect(play_error)
484849495050-func _on_event_pin_clicked(house_name: String, target_location: Vector2):
5050+func _on_event_pin_clicked(house_name: String, target_location: Vector2, house_type: Global.HouseType):
5151 var new_dialogue_container = DIALOGUE_CONTAINER.instantiate()
5252 ui_layer.add_child(new_dialogue_container)
53535454 # Use the house_name variable to send the icon of the doctor or preist to the event point that has that house name as its parent
5555 Global.target_location = target_location
5656+ Global.target_house_type = house_type
56575758func random_house_select() -> Node2D:
5859 var random_index = randi() % possible_event_nodes.get_child_count()
···3939 # Moving state around like this isn't really good but it's fine for now
4040 unit.was_correct = was_correct
41414242+ Global.remove_unit(unit.unit_type)
4243 add_child(unit)
43444445