Add data-driven fish selection and catch showcase
This commit is contained in:
parent
ae2f724fe2
commit
bd2768b676
39 changed files with 1226 additions and 58 deletions
28
fish/species/carp/carp.tres
Normal file
28
fish/species/carp/carp.tres
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[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/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"]
|
||||
|
||||
[sub_resource type="Resource" id="CarpAvailability"]
|
||||
script = ExtResource("3_availability_script")
|
||||
allow_day = true
|
||||
allow_night = true
|
||||
preferred_bait_tags = Array[StringName]([&"corn", &"bread"])
|
||||
preferred_bait_weight_multiplier = 1.5
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_fish_data")
|
||||
id = &"carp"
|
||||
display_name = "Carp"
|
||||
rarity = 2
|
||||
base_catch_weight = 1.5
|
||||
catch_profile = ExtResource("2_profile")
|
||||
availability = SubResource("CarpAvailability")
|
||||
weight_min_lb = 3.0
|
||||
weight_max_lb = 18.0
|
||||
display_scale_min = 1.0
|
||||
display_scale_max = 1.8
|
||||
display_scale_curve = 0.85
|
||||
display_texture = ExtResource("4_texture")
|
||||
Loading…
Add table
Add a link
Reference in a new issue