Add gathering, unified inventory, and real-time world

This commit is contained in:
Alexander Sellite 2026-08-18 18:19:36 -04:00
parent 173371e6fc
commit fa57edca83
113 changed files with 6700 additions and 1307 deletions

View file

@ -0,0 +1,26 @@
[gd_resource type="Resource" script_class="GatherableData" load_steps=3 format=3]
[ext_resource type="Script" path="res://gathering/gatherable_data.gd" id="1_data"]
[ext_resource type="Resource" path="res://fish/species/beetle_stag_common/beetle_stag_common.tres" id="2_catch"]
[resource]
script = ExtResource("1_data")
type_id = &"beetle_stag_common"
catch_data = ExtResource("2_catch")
required_tool_id = &"crab_net"
spawn_anchor_set_id = &"starter_reachable_tree_trunks"
population = 3
requires_sneaking = false
movement_speed = 0.0
roam_radius = 0.1
scare_radius = 0.1
capture_radius = 0.34
interaction_range = 2.8
charge_duration = 1.0
sprite_pixel_size = 0.005
sprite_tilt_degrees = 0.0
capture_respawn_min_seconds = 90.0
capture_respawn_max_seconds = 150.0
scare_respawn_min_seconds = 0.0
scare_respawn_max_seconds = 0.0
minimum_respawn_spacing_seconds = 30.0

View file

@ -0,0 +1,27 @@
[gd_resource type="Resource" script_class="GatherableData" load_steps=3 format=3]
[ext_resource type="Script" path="res://gathering/gatherable_data.gd" id="1_data"]
[ext_resource type="Resource" path="res://fish/species/clam_manila/clam_manila.tres" id="2_catch"]
[resource]
script = ExtResource("1_data")
type_id = &"clam_manila"
catch_data = ExtResource("2_catch")
required_tool_id = &"standard_shovel"
diggable_area_id = &"starter_beach"
minimum_surface_y = -0.44
population = 3
presentation_mode = 1
requires_sneaking = false
active_lifetime_seconds = 10.0
movement_speed = 0.0
roam_radius = 0.1
scare_radius = 0.1
capture_radius = 0.38
interaction_range = 2.4
charge_duration = 0.55
capture_respawn_min_seconds = 8.0
capture_respawn_max_seconds = 14.0
scare_respawn_min_seconds = 0.0
scare_respawn_max_seconds = 0.0
minimum_respawn_spacing_seconds = 4.0

View file

@ -1,11 +1,13 @@
[gd_resource type="Resource" script_class="GatherableCatalog" load_steps=6 format=3]
[gd_resource type="Resource" script_class="GatherableCatalog" load_steps=8 format=3]
[ext_resource type="Script" path="res://gathering/gatherable_catalog.gd" id="1_catalog"]
[ext_resource type="Resource" path="res://gathering/catalog/crab_brown.tres" id="2_brown"]
[ext_resource type="Resource" path="res://gathering/catalog/crab_ghost.tres" id="3_ghost"]
[ext_resource type="Resource" path="res://gathering/catalog/crab_blue.tres" id="4_blue"]
[ext_resource type="Resource" path="res://gathering/catalog/crab_dungeness.tres" id="5_dungeness"]
[ext_resource type="Resource" path="res://gathering/catalog/clam_manila.tres" id="6_clam"]
[ext_resource type="Resource" path="res://gathering/catalog/beetle_stag_common.tres" id="7_beetle"]
[resource]
script = ExtResource("1_catalog")
entries = [ExtResource("2_brown"), ExtResource("3_ghost"), ExtResource("4_blue"), ExtResource("5_dungeness")]
entries = [ExtResource("2_brown"), ExtResource("3_ghost"), ExtResource("4_blue"), ExtResource("5_dungeness"), ExtResource("6_clam"), ExtResource("7_beetle")]