Add expanded fishing gear and presentation
This commit is contained in:
parent
551db3ccc6
commit
72d3a303f5
29 changed files with 783 additions and 86 deletions
15
items/catalog/batteries.tres
Normal file
15
items/catalog/batteries.tres
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[gd_resource type="Resource" script_class="ItemData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://items/item_data.gd" id="1_item"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_item")
|
||||
item_id = &"batteries"
|
||||
display_name = "batteries"
|
||||
description = "replacement batteries for the fish finder."
|
||||
category = 3
|
||||
stackable = true
|
||||
max_stack = 99
|
||||
usable = false
|
||||
equippable = false
|
||||
hotbar_allowed = false
|
||||
|
|
@ -7,10 +7,11 @@
|
|||
script = ExtResource("1")
|
||||
item_id = &"fish_finder"
|
||||
display_name = "fish finder"
|
||||
description = "temporarily shortens bite waits and improves rarity weights."
|
||||
category = 3
|
||||
description = "uses one battery to temporarily shorten bite waits and improve rarity weights."
|
||||
category = 1
|
||||
icon = ExtResource("2")
|
||||
stackable = true
|
||||
max_stack = 99
|
||||
stackable = false
|
||||
max_stack = 1
|
||||
usable = true
|
||||
equippable = true
|
||||
hotbar_allowed = true
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ItemCatalog" load_steps=16 format=3]
|
||||
[gd_resource type="Resource" script_class="ItemCatalog" load_steps=18 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://items/item_catalog.gd" id="1_script"]
|
||||
[ext_resource type="Resource" path="res://items/catalog/basic_fishing_rod.tres" id="2_rod"]
|
||||
|
|
@ -15,7 +15,9 @@
|
|||
[ext_resource type="Resource" path="res://items/catalog/whole_anchovy.tres" id="13_anchovy"]
|
||||
[ext_resource type="Resource" path="res://items/catalog/whole_sardine.tres" id="14_sardine"]
|
||||
[ext_resource type="Resource" path="res://items/catalog/luminous_roe.tres" id="15_roe"]
|
||||
[ext_resource type="Resource" path="res://items/catalog/the_standby.tres" id="16_standby"]
|
||||
[ext_resource type="Resource" path="res://items/catalog/batteries.tres" id="17_batteries"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_script")
|
||||
items = [ExtResource("2_rod"), ExtResource("3_coffee"), ExtResource("4_energy"), ExtResource("5_snack"), ExtResource("6_finder"), ExtResource("7_cooler"), ExtResource("8_art_kit"), ExtResource("9_worms"), ExtResource("10_snails"), ExtResource("11_shrimp"), ExtResource("12_squid"), ExtResource("13_anchovy"), ExtResource("14_sardine"), ExtResource("15_roe")]
|
||||
items = [ExtResource("2_rod"), ExtResource("3_coffee"), ExtResource("4_energy"), ExtResource("5_snack"), ExtResource("6_finder"), ExtResource("7_cooler"), ExtResource("8_art_kit"), ExtResource("9_worms"), ExtResource("10_snails"), ExtResource("11_shrimp"), ExtResource("12_squid"), ExtResource("13_anchovy"), ExtResource("14_sardine"), ExtResource("15_roe"), ExtResource("16_standby"), ExtResource("17_batteries")]
|
||||
|
|
|
|||
16
items/catalog/the_standby.tres
Normal file
16
items/catalog/the_standby.tres
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[gd_resource type="Resource" script_class="ItemData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://items/item_data.gd" id="1_item"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_item")
|
||||
item_id = &"the_standby"
|
||||
display_name = "The Standby"
|
||||
description = "holds a bite until you're ready to start the fight."
|
||||
category = 7
|
||||
lure_effects = Array[StringName]([&"deferred_fight"])
|
||||
stackable = false
|
||||
max_stack = 1
|
||||
usable = false
|
||||
equippable = true
|
||||
hotbar_allowed = false
|
||||
|
|
@ -5,8 +5,8 @@
|
|||
[resource]
|
||||
script = ExtResource("1")
|
||||
item_id = &"whole_anchovy"
|
||||
display_name = "whole anchovy"
|
||||
description = "premium whole bait with high rare catch potential."
|
||||
display_name = "sardine"
|
||||
description = "oily schooling bait with high rare catch potential."
|
||||
category = 2
|
||||
bait_tags = Array[StringName]([&"bait_rarity_4"])
|
||||
stackable = true
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
[resource]
|
||||
script = ExtResource("1")
|
||||
item_id = &"whole_sardine"
|
||||
display_name = "whole sardine"
|
||||
description = "valuable whole bait tuned for exceptional catches."
|
||||
display_name = "minnow"
|
||||
description = "valuable live bait tuned for exceptional catches."
|
||||
category = 2
|
||||
bait_tags = Array[StringName]([&"bait_rarity_5"])
|
||||
stackable = true
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ enum Category {
|
|||
@export_multiline var description: String
|
||||
@export var category: Category = Category.UTILITY
|
||||
@export var bait_tags: Array[StringName] = []
|
||||
@export var lure_effects: Array[StringName] = []
|
||||
@export var icon: Texture2D
|
||||
@export var stackable: bool = false
|
||||
@export_range(1, 999, 1) var max_stack: int = 1
|
||||
|
|
@ -40,3 +41,7 @@ func get_category_name() -> String:
|
|||
|
||||
func is_bait() -> bool:
|
||||
return category == Category.BAIT and not bait_tags.is_empty()
|
||||
|
||||
|
||||
func is_lure() -> bool:
|
||||
return category == Category.LURE and equippable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue