Add logbook catalog index filters
This commit is contained in:
parent
4575830857
commit
81decf2b71
9 changed files with 1540 additions and 10 deletions
|
|
@ -105,6 +105,7 @@ signal controller_hotbar_management_requested(initial_slot: int)
|
|||
signal controller_hotbar_management_ended
|
||||
signal menu_exit_started
|
||||
signal shop_cooler_modal_changed(is_open: bool)
|
||||
signal controller_text_entry_requested(control: Control)
|
||||
|
||||
enum Section {
|
||||
COOLER,
|
||||
|
|
@ -409,6 +410,9 @@ func _ready() -> void:
|
|||
_logbook_tab.pressed.connect(
|
||||
_show_section.bind(Section.LOGBOOK)
|
||||
)
|
||||
_catalog_logbook.controller_text_entry_requested.connect(
|
||||
controller_text_entry_requested.emit
|
||||
)
|
||||
_the_net_tab.pressed.connect(_show_section.bind(Section.NET))
|
||||
_mail_tab.pressed.connect(_show_section.bind(Section.MAIL))
|
||||
_profile_tab.pressed.connect(_show_section.bind(Section.PROFILE))
|
||||
|
|
@ -556,6 +560,7 @@ func setup(
|
|||
discovery: DiscoveryClient,
|
||||
player_jobs: PlayerJobService,
|
||||
world_time: WorldTimeService,
|
||||
world_weather: WorldWeatherService,
|
||||
world_environment: WorldEnvironment,
|
||||
world_sun: DirectionalLight3D,
|
||||
) -> void:
|
||||
|
|
@ -589,7 +594,14 @@ func setup(
|
|||
world_sun,
|
||||
)
|
||||
_players_page.setup(network_player_list, discovery)
|
||||
_catalog_logbook.setup(collection_log, inventory, catalog)
|
||||
_catalog_logbook.setup(
|
||||
collection_log,
|
||||
inventory,
|
||||
catalog,
|
||||
fishing_spot,
|
||||
world_time,
|
||||
world_weather,
|
||||
)
|
||||
_the_net_page.setup(player_jobs, world_time)
|
||||
_network_mail_service.unread_count_changed.connect(
|
||||
_on_mail_unread_count_changed
|
||||
|
|
@ -2779,6 +2791,7 @@ func _toggle_active_tackle() -> void:
|
|||
|
||||
func _on_active_bait_changed(_item_id: StringName) -> void:
|
||||
_update_tackle_detail()
|
||||
_catalog_logbook.notify_availability_context_changed()
|
||||
|
||||
|
||||
func _on_active_lure_changed(_item_id: StringName) -> void:
|
||||
|
|
@ -3733,6 +3746,7 @@ func _refresh_all() -> void:
|
|||
func _on_bag_changed() -> void:
|
||||
_refresh_bag()
|
||||
_refresh_tackle_box()
|
||||
_catalog_logbook.notify_availability_context_changed()
|
||||
|
||||
|
||||
func _on_hotbar_changed() -> void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue