Import latest creature artwork
This commit is contained in:
parent
7050ca2f23
commit
ea4d38cb49
44 changed files with 540 additions and 35 deletions
|
|
@ -48,6 +48,15 @@ const FINAL_CREATURE_TEXTURE_PATHS: Dictionary[StringName, String] = {
|
|||
&"sturgeon_shovelnose": "res://art/exported/creatures/105.png",
|
||||
&"gar_spotted": "res://art/exported/creatures/106.png",
|
||||
&"lungfish_west_african": "res://art/exported/creatures/107.png",
|
||||
&"mudskipper_atlantic": "res://art/exported/creatures/201.png",
|
||||
&"flounder_winter": "res://art/exported/creatures/403.png",
|
||||
&"mackerel_atlantic": "res://art/exported/creatures/701.png",
|
||||
&"mackerel_chub": "res://art/exported/creatures/704.png",
|
||||
&"sand_lance_american": "res://art/exported/creatures/801.png",
|
||||
&"menhaden_atlantic": "res://art/exported/creatures/802.png",
|
||||
&"anchovy_european": "res://art/exported/creatures/805.png",
|
||||
&"sardine_european": "res://art/exported/creatures/806.png",
|
||||
&"anchovy_northern": "res://art/exported/creatures/808.png",
|
||||
&"crab_brown": "res://art/exported/creatures/3906.png",
|
||||
&"salmon_atlantic": "res://art/exported/creatures/4401.png",
|
||||
&"mahi_mahi": "res://art/exported/creatures/4701.png",
|
||||
|
|
@ -56,7 +65,9 @@ const FINAL_CREATURE_TEXTURE_PATHS: Dictionary[StringName, String] = {
|
|||
&"hogfish": "res://art/exported/creatures/6103.png",
|
||||
&"mullet_striped": "res://art/exported/creatures/6804.png",
|
||||
&"sheepshead": "res://art/exported/creatures/6905.png",
|
||||
&"milkfish": "res://art/exported/creatures/7101.png",
|
||||
&"ladyfish": "res://art/exported/creatures/7403.png",
|
||||
&"tilapia_nile": "res://art/exported/creatures/7506.png",
|
||||
&"betta_siamese": "res://art/exported/creatures/7508.png",
|
||||
}
|
||||
|
||||
|
|
@ -242,7 +253,7 @@ func _validate_catalog_and_pools() -> void:
|
|||
assert(inactive_count == INACTIVE_CATALOG_COUNT)
|
||||
assert(fishing_count == FISHING_SPECIES_COUNT)
|
||||
assert(final_art_count == FINAL_CREATURE_TEXTURE_PATHS.size())
|
||||
assert(placeholder_fishing_count == 294)
|
||||
assert(placeholder_fishing_count == 283)
|
||||
var chum: FishDataType = Catalog.get_fish_by_id(&"salmon_chum")
|
||||
assert(chum != null)
|
||||
assert(chum.get_season_text() == "fall")
|
||||
|
|
|
|||
|
|
@ -162,8 +162,11 @@ func _validate_page() -> void:
|
|||
|
||||
var shared_material: Material
|
||||
var silhouette_count: int = 0
|
||||
var smallest_silhouette_area: float = INF
|
||||
var largest_silhouette_area: float = 0.0
|
||||
var target_silhouette_area: float = (
|
||||
LogbookPage.CATALOG_PORTRAIT_SIZE.x
|
||||
* LogbookPage.CATALOG_PORTRAIT_SIZE.y
|
||||
* LogbookPortraitType.UNIFORM_FOOTPRINT_AREA_RATIO
|
||||
)
|
||||
for category: LogbookCatalog.Category in [
|
||||
LogbookCatalog.Category.FRESH_WATER,
|
||||
LogbookCatalog.Category.SALT_WATER,
|
||||
|
|
@ -223,13 +226,17 @@ func _validate_page() -> void:
|
|||
* portrait.custom_minimum_size.y
|
||||
)
|
||||
assert(silhouette_area > 0.0)
|
||||
smallest_silhouette_area = minf(
|
||||
smallest_silhouette_area,
|
||||
silhouette_area,
|
||||
)
|
||||
largest_silhouette_area = maxf(
|
||||
largest_silhouette_area,
|
||||
silhouette_area,
|
||||
assert(silhouette_area <= target_silhouette_area * 1.05)
|
||||
assert(
|
||||
silhouette_area >= target_silhouette_area * 0.9
|
||||
or is_equal_approx(
|
||||
portrait.custom_minimum_size.x,
|
||||
LogbookPage.CATALOG_PORTRAIT_SIZE.x,
|
||||
)
|
||||
or is_equal_approx(
|
||||
portrait.custom_minimum_size.y,
|
||||
LogbookPage.CATALOG_PORTRAIT_SIZE.y,
|
||||
)
|
||||
)
|
||||
silhouette_count += 1
|
||||
for candidate: FishDataType in CatalogResource.candidates:
|
||||
|
|
@ -245,9 +252,6 @@ func _validate_page() -> void:
|
|||
)
|
||||
)
|
||||
assert(silhouette_count == 310)
|
||||
assert(
|
||||
largest_silhouette_area / smallest_silhouette_area <= 1.12
|
||||
)
|
||||
|
||||
page.call("_select_category", LogbookCatalog.Category.SHELLFISH)
|
||||
await create_timer(0.25).timeout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue