Add fish artwork and Sunfish species
This commit is contained in:
parent
a91f2b9825
commit
9277326164
15 changed files with 200 additions and 10 deletions
|
|
@ -98,4 +98,4 @@ func get_sale_value_for_weight(weight_lb: float) -> int:
|
|||
|
||||
|
||||
func get_rarity_name() -> String:
|
||||
return Rarity.keys()[rarity].capitalize()
|
||||
return Rarity.keys()[rarity].to_lower()
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
[gd_resource type="Resource" load_steps=5 format=3]
|
||||
[gd_resource type="Resource" load_steps=6 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://fish/fish_pool.gd" id="1_pool"]
|
||||
[ext_resource type="Resource" path="res://fish/species/bluegill/bluegill.tres" id="2_bluegill"]
|
||||
[ext_resource type="Resource" path="res://fish/species/bass/bass.tres" id="3_bass"]
|
||||
[ext_resource type="Resource" path="res://fish/species/carp/carp.tres" id="4_carp"]
|
||||
[ext_resource type="Resource" path="res://fish/species/sunfish/sunfish.tres" id="5_sunfish"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_pool")
|
||||
candidates = [ExtResource("2_bluegill"), ExtResource("3_bass"), ExtResource("4_carp")]
|
||||
candidates = [ExtResource("2_bluegill"), ExtResource("3_bass"), ExtResource("4_carp"), ExtResource("5_sunfish")]
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
[ext_resource type="Script" path="res://fish/fish_data.gd" id="1_fish_data"]
|
||||
[ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"]
|
||||
[ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability_script"]
|
||||
[ext_resource type="Texture2D" path="res://fish/species/bass/bass.svg" id="4_texture"]
|
||||
[ext_resource type="Texture2D" path="res://fish/species/bass/fish_bass_striped.png" id="4_texture"]
|
||||
|
||||
[sub_resource type="Resource" id="BassAvailability"]
|
||||
script = ExtResource("3_availability_script")
|
||||
|
|
@ -15,7 +15,7 @@ preferred_bait_weight_multiplier = 1.4
|
|||
[resource]
|
||||
script = ExtResource("1_fish_data")
|
||||
id = &"bass"
|
||||
display_name = "Bass"
|
||||
display_name = "striped bass"
|
||||
rarity = 1
|
||||
base_catch_weight = 4.0
|
||||
catch_profile = ExtResource("2_profile")
|
||||
|
|
|
|||
BIN
fish/species/bass/fish_bass_striped.png
Normal file
BIN
fish/species/bass/fish_bass_striped.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
40
fish/species/bass/fish_bass_striped.png.import
Normal file
40
fish/species/bass/fish_bass_striped.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dvh6s86asl4ix"
|
||||
path="res://.godot/imported/fish_bass_striped.png-b8c0def688ff4dd2d32a6dd21fa2339c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fish/species/bass/fish_bass_striped.png"
|
||||
dest_files=["res://.godot/imported/fish_bass_striped.png-b8c0def688ff4dd2d32a6dd21fa2339c.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
|
@ -3,12 +3,12 @@
|
|||
[ext_resource type="Script" path="res://fish/fish_data.gd" id="1_fish_data"]
|
||||
[ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"]
|
||||
[ext_resource type="Resource" path="res://fish/default_availability.tres" id="3_availability"]
|
||||
[ext_resource type="Texture2D" path="res://fish/species/bluegill/bluegill.svg" id="4_texture"]
|
||||
[ext_resource type="Texture2D" path="res://fish/species/bluegill/fish_bluegill.png" id="4_texture"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_fish_data")
|
||||
id = &"bluegill"
|
||||
display_name = "Bluegill"
|
||||
display_name = "bluegill"
|
||||
rarity = 0
|
||||
base_catch_weight = 10.0
|
||||
catch_profile = ExtResource("2_profile")
|
||||
|
|
|
|||
BIN
fish/species/bluegill/fish_bluegill.png
Normal file
BIN
fish/species/bluegill/fish_bluegill.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
40
fish/species/bluegill/fish_bluegill.png.import
Normal file
40
fish/species/bluegill/fish_bluegill.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bwsl8862rf2vs"
|
||||
path="res://.godot/imported/fish_bluegill.png-2307d25b88382e057d2259e28f2f89aa.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fish/species/bluegill/fish_bluegill.png"
|
||||
dest_files=["res://.godot/imported/fish_bluegill.png-2307d25b88382e057d2259e28f2f89aa.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
[ext_resource type="Script" path="res://fish/fish_data.gd" id="1_fish_data"]
|
||||
[ext_resource type="Resource" path="res://fishing/carp_catch_profile.tres" id="2_profile"]
|
||||
[ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability_script"]
|
||||
[ext_resource type="Texture2D" path="res://fish/species/carp/carp.svg" id="4_texture"]
|
||||
[ext_resource type="Texture2D" path="res://fish/species/carp/fish_carp_common.png" id="4_texture"]
|
||||
|
||||
[sub_resource type="Resource" id="CarpAvailability"]
|
||||
script = ExtResource("3_availability_script")
|
||||
|
|
@ -15,7 +15,7 @@ preferred_bait_weight_multiplier = 1.5
|
|||
[resource]
|
||||
script = ExtResource("1_fish_data")
|
||||
id = &"carp"
|
||||
display_name = "Carp"
|
||||
display_name = "common carp"
|
||||
rarity = 2
|
||||
base_catch_weight = 1.5
|
||||
catch_profile = ExtResource("2_profile")
|
||||
|
|
|
|||
BIN
fish/species/carp/fish_carp_common.png
Normal file
BIN
fish/species/carp/fish_carp_common.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
40
fish/species/carp/fish_carp_common.png.import
Normal file
40
fish/species/carp/fish_carp_common.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c6pa1gqwv1a5s"
|
||||
path="res://.godot/imported/fish_carp_common.png-4111bce53aeff44874d8e561aa1600a2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fish/species/carp/fish_carp_common.png"
|
||||
dest_files=["res://.godot/imported/fish_carp_common.png-4111bce53aeff44874d8e561aa1600a2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
fish/species/sunfish/fish_sunfish.png
Normal file
BIN
fish/species/sunfish/fish_sunfish.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
40
fish/species/sunfish/fish_sunfish.png.import
Normal file
40
fish/species/sunfish/fish_sunfish.png.import
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://x0exmgq6g7yy"
|
||||
path="res://.godot/imported/fish_sunfish.png-a59a80b2543272e8c6e8ab17d8d3670e.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fish/species/sunfish/fish_sunfish.png"
|
||||
dest_files=["res://.godot/imported/fish_sunfish.png-a59a80b2543272e8c6e8ab17d8d3670e.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
24
fish/species/sunfish/sunfish.tres
Normal file
24
fish/species/sunfish/sunfish.tres
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_resource type="Resource" load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://fish/fish_data.gd" id="1_fish_data"]
|
||||
[ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"]
|
||||
[ext_resource type="Resource" path="res://fish/default_availability.tres" id="3_availability"]
|
||||
[ext_resource type="Texture2D" path="res://fish/species/sunfish/fish_sunfish.png" id="4_texture"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_fish_data")
|
||||
id = &"sunfish"
|
||||
display_name = "sunfish"
|
||||
rarity = 0
|
||||
base_catch_weight = 7.0
|
||||
catch_profile = ExtResource("2_profile")
|
||||
availability = ExtResource("3_availability")
|
||||
weight_min_lb = 0.4
|
||||
weight_max_lb = 2.5
|
||||
display_scale_min = 0.7
|
||||
display_scale_max = 1.1
|
||||
display_scale_curve = 1.0
|
||||
sell_value_min = 3
|
||||
sell_value_max = 3
|
||||
sell_value_curve = 1.0
|
||||
display_texture = ExtResource("4_texture")
|
||||
Loading…
Add table
Add a link
Reference in a new issue