Add barrier-based catch and chase mechanic
This commit is contained in:
parent
ad848f9431
commit
ae2f724fe2
12 changed files with 631 additions and 68 deletions
|
|
@ -1,8 +1,10 @@
|
|||
[gd_resource type="Resource" load_steps=2 format=3]
|
||||
[gd_resource type="Resource" load_steps=3 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"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_fish_data")
|
||||
id = &"bluegill"
|
||||
display_name = "Bluegill"
|
||||
catch_profile = ExtResource("2_profile")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,11 @@
|
|||
class_name FishData
|
||||
extends Resource
|
||||
|
||||
const CatchDifficultyProfileType = preload(
|
||||
"res://fishing/catch_difficulty_profile.gd"
|
||||
)
|
||||
|
||||
@export var id: StringName
|
||||
@export var display_name: String
|
||||
@export var icon: Texture2D
|
||||
@export var catch_profile: CatchDifficultyProfileType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue