Add fishing shop and persistent upgrades

This commit is contained in:
Alexander Sellite 2026-07-25 21:24:01 -04:00
parent 49e7faaf84
commit 6386c5e3e3
27 changed files with 1662 additions and 38 deletions

View file

@ -1,16 +1,7 @@
[gd_resource type="Resource" script_class="ItemData" load_steps=4 format=3]
[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3]
[ext_resource type="Script" path="res://items/item_data.gd" id="1_script"]
[sub_resource type="Gradient" id="Gradient_rod"]
colors = PackedColorArray(0.302, 0.184, 0.11, 1, 0.957, 0.827, 0.369, 1, 0.439, 0.839, 0.82, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture_rod"]
gradient = SubResource("Gradient_rod")
width = 128
height = 128
fill_from = Vector2(0.15, 0.85)
fill_to = Vector2(0.85, 0.15)
[ext_resource type="Texture2D" path="res://items/icons/placeholder/basic_fishing_rod.svg" id="2_icon"]
[resource]
script = ExtResource("1_script")
@ -18,7 +9,7 @@ item_id = &"basic_fishing_rod"
display_name = "Basic Fishing Rod"
description = "A dependable starter rod. Select it to cast."
category = 0
icon = SubResource("GradientTexture_rod")
icon = ExtResource("2_icon")
stackable = false
max_stack = 1
usable = true

View file

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<rect x="34" y="10" width="20" height="44" rx="3" fill="#f06b70" stroke="#17243a" stroke-width="5"/>
<path d="M44 12 l-4 12 8 6 -7 10 4 12" fill="none" stroke="#fff3d4" stroke-width="4" stroke-linejoin="round"/>
<path d="M9 10 C26 16 26 35 17 44 q-7 8 3 11" fill="none" stroke="#17243a" stroke-width="5" stroke-linecap="round"/>
<path d="M18 55 q9-2 8-10" fill="none" stroke="#17243a" stroke-width="5" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 503 B

View file

@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cgi121cdibqih"
path="res://.godot/imported/barrier_power_upgrade.svg-d2005297b890ea371f8e38453bbffc4c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://items/icons/placeholder/barrier_power_upgrade.svg"
dest_files=["res://.godot/imported/barrier_power_upgrade.svg-d2005297b890ea371f8e38453bbffc4c.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View file

@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<g fill="none" stroke="#17243a" stroke-width="5" stroke-linecap="round" stroke-linejoin="round">
<path d="M13 53 L48 12"/>
<path d="M48 12 C57 21 56 35 50 43"/>
<path d="M50 43 q-5 7 2 9"/>
</g>
<rect x="8" y="47" width="14" height="8" rx="2" fill="#8b5a2b" stroke="#17243a" stroke-width="4" transform="rotate(-49 15 51)"/>
<circle cx="29" cy="35" r="7" fill="#54c7c0" stroke="#17243a" stroke-width="4"/>
</svg>

After

Width:  |  Height:  |  Size: 493 B

View file

@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c6krnuo5lp861"
path="res://.godot/imported/basic_fishing_rod.svg-bc9101c1a69623deb55f1b3189ae4567.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://items/icons/placeholder/basic_fishing_rod.svg"
dest_files=["res://.godot/imported/basic_fishing_rod.svg-bc9101c1a69623deb55f1b3189ae4567.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View file

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<circle cx="32" cy="32" r="26" fill="#ffd25a" stroke="#17243a" stroke-width="5"/>
<ellipse cx="31" cy="32" rx="14" ry="9" fill="#54c7c0" stroke="#17243a" stroke-width="4"/>
<path d="M44 32 l10-9 v18 z" fill="#54c7c0" stroke="#17243a" stroke-width="4" stroke-linejoin="round"/>
<circle cx="25" cy="29" r="2.5" fill="#17243a"/>
</svg>

After

Width:  |  Height:  |  Size: 402 B

View file

@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://trqvs4dgd4rt"
path="res://.godot/imported/fish_coin.svg-9d00b5918d94a555938a84ee65e06386.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://items/icons/placeholder/fish_coin.svg"
dest_files=["res://.godot/imported/fish_coin.svg-9d00b5918d94a555938a84ee65e06386.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View file

@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<g fill="none" stroke="#17243a" stroke-width="5" stroke-linecap="round" stroke-linejoin="round">
<circle cx="25" cy="34" r="14" fill="#54c7c0"/>
<circle cx="25" cy="34" r="4"/>
<path d="M36 24 l8-8"/>
<path d="M43 16 l7 7"/>
<path d="M40 38 h16"/>
<path d="M50 31 l7 7 -7 7"/>
<path d="M9 14 h13"/>
<path d="M6 23 h11"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 430 B

View file

@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c2hal1gkmnuqa"
path="res://.godot/imported/reel_speed_upgrade.svg-6bce0cfdbf18895938d0bcb4850467c8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://items/icons/placeholder/reel_speed_upgrade.svg"
dest_files=["res://.godot/imported/reel_speed_upgrade.svg-6bce0cfdbf18895938d0bcb4850467c8.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
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false