Add networked crab gathering prototype
This commit is contained in:
parent
f55663c105
commit
a62cce6404
56 changed files with 2692 additions and 56 deletions
|
|
@ -90,7 +90,7 @@ static func generate_daily_jobs(
|
|||
))
|
||||
var species: Array[FishDataType] = []
|
||||
for fish: FishDataType in candidates:
|
||||
if fish != null and fish.is_selectable():
|
||||
if fish != null and fish.is_fishable():
|
||||
species.append(fish)
|
||||
if not species.is_empty():
|
||||
species.sort_custom(
|
||||
|
|
|
|||
|
|
@ -454,7 +454,7 @@ func _generate_host_board(cycle: int) -> void:
|
|||
var candidates: Array[FishDataType] = []
|
||||
if _catalog != null:
|
||||
for fish: FishDataType in _catalog.candidates:
|
||||
if fish != null and fish.is_selectable():
|
||||
if fish != null and fish.is_fishable():
|
||||
candidates.append(fish)
|
||||
var schedule_anchor_index: int = _current_weather_segment()
|
||||
var allow_weather_jobs: bool = (
|
||||
|
|
@ -688,7 +688,7 @@ func _registered_species_count() -> int:
|
|||
var count: int = 0
|
||||
if _catalog != null:
|
||||
for fish: FishDataType in _catalog.candidates:
|
||||
if fish != null and fish.is_selectable():
|
||||
if fish != null and fish.is_fishable():
|
||||
count += 1
|
||||
return count
|
||||
|
||||
|
|
@ -727,7 +727,7 @@ func _matches_canonical_board(board: Dictionary) -> bool:
|
|||
var candidates: Array[FishDataType] = []
|
||||
if _catalog != null:
|
||||
for fish: FishDataType in _catalog.candidates:
|
||||
if fish != null and fish.is_selectable():
|
||||
if fish != null and fish.is_fishable():
|
||||
candidates.append(fish)
|
||||
var anchor_index: int = int(board.get("schedule_anchor_index", -1))
|
||||
var allow_weather_jobs: bool = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue