diff --git a/ASSET-LICENSE.md b/ASSET-LICENSE.md index 9519836..c438995 100644 --- a/ASSET-LICENSE.md +++ b/ASSET-LICENSE.md @@ -1,15 +1,15 @@ -# straywild Asset License 1.1 +# NETfishing Asset License 1.1 Copyright © 2026 Woofmeow. All rights reserved except for the permissions expressly granted below. ## 1. Scope -This license applies to original straywild artwork, graphics, textures, +This license applies to original NETfishing artwork, graphics, textures, models, animations, music, sound recordings, narrative content, visual -designs, characters, and other creative assets owned by the straywild owners +designs, characters, and other creative assets owned by the NETfishing owners or licensed to them with authority to sublicense, publishing as Woofmeow (the -**“straywild Assets”**). +**“NETfishing Assets”**). It does not apply to: @@ -17,77 +17,77 @@ It does not apply to: - third-party material identified in the source repository's `docs/ATTRIBUTION.md` or the packaged `ATTRIBUTION.md` notice; - material accompanied by a different license; or -- the straywild and Woofmeow names and logos, which are addressed in +- the NETfishing and Woofmeow names and logos, which are addressed in `TRADEMARKS.md`. Repository location alone does not change third-party ownership or licensing. ## 2. Definitions -**Official straywild Software** means: +**Official NETfishing Software** means: -- an unmodified binary release published by the straywild owners through an - official straywild distribution channel; or -- a build made from an unmodified official straywild source release or tagged +- an unmodified binary release published by the NETfishing owners through an + official NETfishing distribution channel; or +- a build made from an unmodified official NETfishing source release or tagged revision. **Mod** means a non-standalone add-on created to operate with Official -straywild Software. A Mod may add, replace, or alter content loaded by the -Official straywild Software, but it may not redistribute a replacement copy +NETfishing Software. A Mod may add, replace, or alter content loaded by the +Official NETfishing Software, but it may not redistribute a replacement copy of the game or represent a fork, clone, sequel, or separate game. **Contribution Fork** means a source-control fork or clone of an official -straywild source repository that is created and maintained in good faith +NETfishing source repository that is created and maintained in good faith primarily to prepare, test, review, or submit changes for possible inclusion -in Official straywild Software. It does not include a fork presented or +in Official NETfishing Software. It does not include a fork presented or developed as an independent game, community edition, replacement distribution, -or ongoing product separate from the official straywild project. +or ongoing product separate from the official NETfishing project. ## 3. Permission to use the official game -You may reproduce straywild Assets as technically necessary to install, run, -back up, and privately modify a lawfully obtained copy of Official straywild +You may reproduce NETfishing Assets as technically necessary to install, run, +back up, and privately modify a lawfully obtained copy of Official NETfishing Software. You may capture, publish, and monetize screenshots, gameplay videos, livestreams, reviews, tutorials, and similar commentary showing a lawfully -obtained copy of straywild. This permission does not authorize redistribution +obtained copy of NETfishing. This permission does not authorize redistribution of the source asset files or imply endorsement. ## 4. Community Mod license -Subject to this license, you may create, modify, and distribute straywild -Assets solely as part of a Mod for Official straywild Software. +Subject to this license, you may create, modify, and distribute NETfishing +Assets solely as part of a Mod for Official NETfishing Software. This permission is worldwide, nonexclusive, royalty-free, and available for as long as you comply with this license. It permits only the copies of -straywild Assets reasonably necessary for the Mod to function. It does not +NETfishing Assets reasonably necessary for the Mod to function. It does not permit distributing the original game, a substantially complete collection of its assets, or a general-purpose asset pack. A distributed Mod must: -1. require a separately obtained copy of Official straywild Software; +1. require a separately obtained copy of Official NETfishing Software; 2. be presented as unofficial community content; 3. include the following notice in its documentation or distribution page: - > Contains or adapts straywild assets © 2026 Woofmeow, used under the - > straywild Asset License 1.1. This Mod is unofficial and is not endorsed + > Contains or adapts NETfishing assets © 2026 Woofmeow, used under the + > NETfishing Asset License 1.1. This Mod is unofficial and is not endorsed > by Woofmeow. -4. identify material created by the Mod author separately from straywild +4. identify material created by the Mod author separately from NETfishing Assets; and 5. comply with `TRADEMARKS.md`. Mods may be shared without charge and may accept voluntary donations that do not purchase access, features, or preferential treatment. Selling a Mod, -charging for access to it, licensing it commercially, or using straywild +charging for access to it, licensing it commercially, or using NETfishing Assets in paid products requires separate written permission from both -straywild owners. +NETfishing owners. ## 5. Contribution Fork license -Subject to this license, you may reproduce, modify, and distribute straywild +Subject to this license, you may reproduce, modify, and distribute NETfishing Assets within a Contribution Fork. You may also make the nonpublic builds reasonably necessary to develop, test, and review its proposed contribution. @@ -99,8 +99,8 @@ fork are permitted distributions. A Contribution Fork must: 1. remain primarily directed toward preparing changes for possible inclusion - in the official straywild project; -2. preserve this license and the official straywild project's applicable + in the official NETfishing project; +2. preserve this license and the official NETfishing project's applicable attribution, third-party license, and copyright notices; 3. remain visibly linked to or identified as a fork of the official source repository and not be presented as official or endorsed; @@ -109,63 +109,63 @@ A Contribution Fork must: contribution; 5. not publish general-audience binaries, releases, packages, or downloads, operate a persistent public alternative service, or monetize access; -6. not distribute the straywild Assets as a standalone extraction, archive, +6. not distribute the NETfishing Assets as a standalone extraction, archive, or general-purpose asset pack; and 7. comply with `TRADEMARKS.md`. Temporary access-controlled servers may be operated when reasonably necessary to test a proposed contribution. They may not be promoted or maintained as a -public alternative to Official straywild Software or its services. +public alternative to Official NETfishing Software or its services. Submitting work from a Contribution Fork is governed separately by -`CONTRIBUTOR-TERMS.md` and does not require the straywild owners to accept the +`CONTRIBUTOR-TERMS.md` and does not require the NETfishing owners to accept the work. Declining or closing a proposed contribution does not retroactively invalidate good-faith use under this section. A compliant Contribution Fork may remain publicly accessible as an archival development record, but it may not be repurposed for continued development or distribution of a separate -product containing straywild Assets. +product containing NETfishing Assets. ## 6. Uses not permitted Except as expressly permitted by Sections 3, 4, and 5 or by separate written -permission from both straywild owners, you may not use or distribute -straywild Assets: +permission from both NETfishing owners, you may not use or distribute +NETfishing Assets: - in a fork, clone, remake, sequel, or standalone game that is not a qualifying Contribution Fork; -- with a modified distribution of the GPL-covered straywild code that is not - Official straywild Software, except for nonpublic contribution-testing +- with a modified distribution of the GPL-covered NETfishing code that is not + Official NETfishing Software, except for nonpublic contribution-testing builds permitted by Section 5; - in another game, application, asset library, template, or merchandise; - as a substantially complete asset extraction or archive; - in a way that implies sponsorship, endorsement, or official status; - to register a confusingly similar trademark, domain, account, or product identity; or -- under terms that claim ownership of the straywild Assets themselves. +- under terms that claim ownership of the NETfishing Assets themselves. The GPL permits forks and redistribution of the GPL-covered code. Except for a qualifying Contribution Fork under Section 5, this asset license does not -permit those forks to carry straywild Assets. A code fork that is not a -Contribution Fork must remove or replace the straywild Assets and reserved +permit those forks to carry NETfishing Assets. A code fork that is not a +Contribution Fork must remove or replace the NETfishing Assets and reserved branding unless both owners grant separate written permission. ## 7. Ownership of Mods and contribution work You retain ownership of your original Mod material and original material -created in a Contribution Fork. The straywild owners retain ownership of the -straywild Assets and adaptations of those assets to the extent provided by +created in a Contribution Fork. The NETfishing owners retain ownership of the +NETfishing Assets and adaptations of those assets to the extent provided by applicable law. This license does not require you to assign or submit your original material. -It also does not grant you ownership of the underlying straywild Assets. If -you intentionally submit material for inclusion in straywild, +It also does not grant you ownership of the underlying NETfishing Assets. If +you intentionally submit material for inclusion in NETfishing, `CONTRIBUTOR-TERMS.md` applies separately. ## 8. Termination and cure Your permissions under this license terminate automatically if you violate its terms. They are reinstated provisionally when you stop the violation and -permanently if both straywild owners do not notify you of the violation +permanently if both NETfishing owners do not notify you of the violation within sixty days after it has been cured. Termination does not limit remedies available for activity outside this @@ -173,15 +173,15 @@ license. ## 9. No warranty -THE straywild ASSETS ARE PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND, +THE NETFISHING ASSETS ARE PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, OR NON-INFRINGEMENT. TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE OWNERS WILL NOT BE LIABLE FOR ANY CLAIM, DAMAGES, OR -OTHER LIABILITY ARISING FROM THIS LICENSE OR USE OF THE straywild ASSETS. +OTHER LIABILITY ARISING FROM THIS LICENSE OR USE OF THE NETFISHING ASSETS. ## 10. Additional permission -Uses not granted here require written permission from both straywild owners. +Uses not granted here require written permission from both NETfishing owners. A permission granted to one person or project does not amend this license for others. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2dc5724..7017110 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contribution policy -straywild is an owner-directed Woofmeow project and is not accepting +NETfishing is an owner-directed Woofmeow project and is not accepting unsolicited contributions. Please do not submit pull requests, patches, code, artwork, models, audio, writing, documentation, translations, designs, or other implementation work. Pull requests are disabled for the official @@ -17,7 +17,7 @@ work; it is not a standing invitation to contribute. ## Contribution forks -The [straywild Asset License](ASSET-LICENSE.md) contains limited permissions +The [NETfishing Asset License](ASSET-LICENSE.md) contains limited permissions for qualifying Contribution Forks. Those permissions do not promise review or acceptance and do not override the policy above. Keep the hosting platform's fork relationship visible, preserve all license and attribution notices, and @@ -79,4 +79,4 @@ using display strings as persistent identifiers. New standalone source files should use `SPDX-License-Identifier: GPL-3.0-or-later` where the file format permits comments. Do not add that -identifier to asset files governed by the straywild Asset License. +identifier to asset files governed by the NETfishing Asset License. diff --git a/CONTRIBUTOR-TERMS.md b/CONTRIBUTOR-TERMS.md index 261de60..e0d801a 100644 --- a/CONTRIBUTOR-TERMS.md +++ b/CONTRIBUTOR-TERMS.md @@ -1,6 +1,6 @@ -# straywild contributor terms +# NETfishing contributor terms -straywild does not accept unsolicited contributions. These terms are retained +NETfishing does not accept unsolicited contributions. These terms are retained as the governing record for contributions previously accepted after their publication and for specific future work that both Owners expressly invite in writing before submission. They are not a request or standing invitation for @@ -9,9 +9,9 @@ patches, pull requests, assets, or other material. These terms do not retroactively change ownership of earlier work or replace a separately signed agreement. -“Owners” means the two straywild co-owners who publish the Project as +“Owners” means the two NETfishing co-owners who publish the Project as Woofmeow and are publicly credited as Voyager and Endeavour. “Project” means -the official straywild game, its servers, tools, documentation, websites, +the official NETfishing game, its servers, tools, documentation, websites, ports, updates, and promotional materials. ## 1. Your ownership and authority @@ -56,8 +56,8 @@ royalty-free, transferable, and sublicensable license to: - license it to Project users under `ASSET-LICENSE.md` or a later Project asset license jointly approved by the Owners. -This grant is limited to straywild, its promotion, and official successor or -derived straywild products. It does not transfer your copyright or authorize +This grant is limited to NETfishing, its promotion, and official successor or +derived NETfishing products. It does not transfer your copyright or authorize the Owners to sell your contribution as an unrelated standalone asset. ## 4. Documentation accompanying code @@ -78,7 +78,7 @@ or release. ## 6. No automatic ownership, employment, or payment -Submitting a contribution does not provide ownership of straywild, create an +Submitting a contribution does not provide ownership of NETfishing, create an employment, agency, partnership, or fiduciary relationship, or create a right to compensation. Any payment, ownership, or employment arrangement requires a separate written agreement signed by the appropriate parties. diff --git a/README.md b/README.md index e228e7b..132b3f8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# straywild +# NETfishing -straywild is a multiplayer-first fishing game built with Godot 4.7. The +NETfishing is a multiplayer-first fishing game built with Godot 4.7. The current pre-alpha includes host-authoritative fishing and economy flows, freshwater and saltwater habitats, persistent player data, social features, customization, jobs, and a controller-aware interface. @@ -8,39 +8,39 @@ customization, jobs, and a controller-aware interface. The project is under active development. Interfaces, balance, content, and save migrations may continue to change before a stable release. -straywild is developed and published by **Woofmeow**, the independent team of +NETfishing is developed and published by **Woofmeow**, the independent team of co-owners publicly credited as Voyager and Endeavour. ## Links Patreon: https://www.patreon.com/cw/woofmeowgames -Steam: https://store.steampowered.com/app/5068950/straywild/ +Steam: https://store.steampowered.com/app/5068950/NETfishing/ -Itch.io: https://sol6-vi.itch.io/straywild +Itch.io: https://sol6-vi.itch.io/netfishing Discord: https://discord.gg/5gP22447kc -Matrix: https://matrix.to/#/#straywild:matrix.makearmy.io +Matrix: https://matrix.to/#/#netfishing:matrix.makearmy.io -Repo: https://forge.makearmy.io/woofmeow/straywild +Repo: https://forge.makearmy.io/woofmeow/netfishing -Releases: https://forge.makearmy.io/woofmeow/straywild/releases +Releases: https://forge.makearmy.io/woofmeow/netfishing/releases ## Installing release builds Download and extract the archive for your platform from the official release -page, then run straywild from the extracted platform folder. +page, then run NETfishing from the extracted platform folder. ### macOS Current macOS builds are not signed or notarized. macOS may block the first -launch because it cannot verify the developer. Control-click the straywild +launch because it cannot verify the developer. Control-click the NETfishing application, choose **Open**, then confirm **Open**. If that option is not available, attempt to open the application once, then use **System Settings → Privacy & Security → Open Anyway**. -Only bypass this warning for a straywild build downloaded from an official +Only bypass this warning for a NETfishing build downloaded from an official project release. ## Requirements @@ -110,10 +110,10 @@ world and UI authoring, and testing are consolidated in - Project-owned software code is licensed under [GPL-3.0-or-later](LICENSE). - Project-owned artwork, models, music, and other creative assets are covered - by the [straywild Asset License](ASSET-LICENSE.md). It permits community - Mods for official straywild software and narrowly scoped contribution forks, + by the [NETfishing Asset License](ASSET-LICENSE.md). It permits community + Mods for official NETfishing software and narrowly scoped contribution forks, but not independent forks, clones, or unrelated products. -- The straywild and Woofmeow names and branding are reserved as described in +- The NETfishing and Woofmeow names and branding are reserved as described in [TRADEMARKS.md](TRADEMARKS.md). - Third-party materials retain their own terms; see the consolidated [credits, notices, and provenance record](docs/ATTRIBUTION.md). diff --git a/TRADEMARKS.md b/TRADEMARKS.md index fbf49d5..363248b 100644 --- a/TRADEMARKS.md +++ b/TRADEMARKS.md @@ -1,7 +1,7 @@ -# straywild and Woofmeow branding +# NETfishing and Woofmeow branding -The straywild and Woofmeow names, logos, icons, trade dress, and other source -identifiers are reserved by the straywild owners, publishing as Woofmeow. +The NETfishing and Woofmeow names, logos, icons, trade dress, and other source +identifiers are reserved by the NETfishing owners, publishing as Woofmeow. Their presence in a GPL-licensed repository does not grant trademark rights or imply permission to represent another product as official. @@ -10,30 +10,30 @@ exist through use and other law. ## Permitted references -You may use the names straywild and Woofmeow truthfully to: +You may use the names NETfishing and Woofmeow truthfully to: - refer to the official game or development team; -- state that software interoperates with or is a Mod for straywild; +- state that software interoperates with or is a Mod for NETfishing; - link to an official repository or distribution page; and - discuss, review, criticize, or report on the Project. Use only the amount of branding reasonably necessary to identify the Project. Do not imply sponsorship, certification, endorsement, or official status. -An unofficial Mod may use wording such as “Example Mod for straywild” if its +An unofficial Mod may use wording such as “Example Mod for NETfishing” if its name and presentation remain clearly distinct and it displays an unofficial notice. ## Contribution forks A qualifying Contribution Fork under `ASSET-LICENSE.md` may retain the -straywild and Woofmeow names, logos, icons, and trade dress already present in +NETfishing and Woofmeow names, logos, icons, and trade dress already present in the official source repository solely as necessary to reproduce, modify, and test the Project while preparing a proposed contribution. The source-control host's visible fork relationship or an equivalent repository notice must make its unofficial contribution purpose clear. -This permission does not allow a Contribution Fork to use straywild or +This permission does not allow a Contribution Fork to use NETfishing or Woofmeow branding to advertise a public build, release, service, community edition, or independent product. It does not imply acceptance, sponsorship, endorsement, or official status. @@ -44,7 +44,7 @@ The GNU GPL permits forks and redistribution of covered code. A fork or modified distribution that is not a qualifying Contribution Fork must: - use a distinct product name; -- remove straywild and Woofmeow logos, icons, and official trade dress; +- remove NETfishing and Woofmeow logos, icons, and official trade dress; - avoid confusingly similar names, domains, package identifiers, and account names; and - clearly identify itself as independent and unofficial. @@ -53,4 +53,4 @@ These branding terms do not limit rights granted by the GPL to the software code or lawful nominative, descriptive, comparative, or fair use. Permission for broader branding use must be obtained in writing from both -straywild owners. +NETfishing owners. diff --git a/addons/straywild_shoreline_baker/plugin.cfg b/addons/netfishing_shoreline_baker/plugin.cfg similarity index 81% rename from addons/straywild_shoreline_baker/plugin.cfg rename to addons/netfishing_shoreline_baker/plugin.cfg index c3f4e47..c8c4d06 100644 --- a/addons/straywild_shoreline_baker/plugin.cfg +++ b/addons/netfishing_shoreline_baker/plugin.cfg @@ -1,6 +1,6 @@ [plugin] -name="straywild Shoreline Auto-Baker" +name="NETfishing Shoreline Auto-Baker" description="Rebuilds configured static shoreline ribbons after authored terrain reimports." author="woofmeow" version="1.0.0" diff --git a/addons/straywild_shoreline_baker/shoreline_auto_baker.gd b/addons/netfishing_shoreline_baker/shoreline_auto_baker.gd similarity index 100% rename from addons/straywild_shoreline_baker/shoreline_auto_baker.gd rename to addons/netfishing_shoreline_baker/shoreline_auto_baker.gd diff --git a/addons/straywild_shoreline_baker/shoreline_auto_baker.gd.uid b/addons/netfishing_shoreline_baker/shoreline_auto_baker.gd.uid similarity index 100% rename from addons/straywild_shoreline_baker/shoreline_auto_baker.gd.uid rename to addons/netfishing_shoreline_baker/shoreline_auto_baker.gd.uid diff --git a/art/exported/characters/base/straywild_base_character.glb b/art/exported/characters/base/netfishing_base_character.glb similarity index 100% rename from art/exported/characters/base/straywild_base_character.glb rename to art/exported/characters/base/netfishing_base_character.glb diff --git a/art/exported/characters/base/straywild_base_character.glb.import b/art/exported/characters/base/netfishing_base_character.glb.import similarity index 77% rename from art/exported/characters/base/straywild_base_character.glb.import rename to art/exported/characters/base/netfishing_base_character.glb.import index 96925de..b1409e1 100644 --- a/art/exported/characters/base/straywild_base_character.glb.import +++ b/art/exported/characters/base/netfishing_base_character.glb.import @@ -4,12 +4,12 @@ importer="scene" importer_version=1 type="PackedScene" uid="uid://w7n4gjqq1juc" -path="res://.godot/imported/straywild_base_character.glb-65021653e51a906d3b4a3494f170317f.scn" +path="res://.godot/imported/netfishing_base_character.glb-0167c087f16181d405afb962dc877d2c.scn" [deps] -source_file="res://art/exported/characters/base/straywild_base_character.glb" -dest_files=["res://.godot/imported/straywild_base_character.glb-65021653e51a906d3b4a3494f170317f.scn"] +source_file="res://art/exported/characters/base/netfishing_base_character.glb" +dest_files=["res://.godot/imported/netfishing_base_character.glb-0167c087f16181d405afb962dc877d2c.scn"] [params] diff --git a/art/exported/characters/base/straywild_base_character_eyes_simple_shine.png b/art/exported/characters/base/netfishing_base_character_eyes_simple_shine.png similarity index 100% rename from art/exported/characters/base/straywild_base_character_eyes_simple_shine.png rename to art/exported/characters/base/netfishing_base_character_eyes_simple_shine.png diff --git a/art/exported/characters/base/straywild_base_character_eyes_simple_shine.png.import b/art/exported/characters/base/netfishing_base_character_eyes_simple_shine.png.import similarity index 58% rename from art/exported/characters/base/straywild_base_character_eyes_simple_shine.png.import rename to art/exported/characters/base/netfishing_base_character_eyes_simple_shine.png.import index ddf8bb7..4141bca 100644 --- a/art/exported/characters/base/straywild_base_character_eyes_simple_shine.png.import +++ b/art/exported/characters/base/netfishing_base_character_eyes_simple_shine.png.import @@ -3,8 +3,8 @@ importer="texture" type="CompressedTexture2D" uid="uid://dyjwgkgw0syo8" -path.s3tc="res://.godot/imported/straywild_base_character_eyes_simple_shine.png-200a946ddace2078bbe44addb4e4524c.s3tc.ctex" -path.etc2="res://.godot/imported/straywild_base_character_eyes_simple_shine.png-200a946ddace2078bbe44addb4e4524c.etc2.ctex" +path.s3tc="res://.godot/imported/netfishing_base_character_eyes_simple_shine.png-140bfa3aa0b6f662e8ff9e5721213a61.s3tc.ctex" +path.etc2="res://.godot/imported/netfishing_base_character_eyes_simple_shine.png-140bfa3aa0b6f662e8ff9e5721213a61.etc2.ctex" metadata={ "imported_formats": ["s3tc_bptc", "etc2_astc"], "vram_texture": true @@ -15,8 +15,8 @@ generator_parameters={ [deps] -source_file="res://art/exported/characters/base/straywild_base_character_eyes_simple_shine.png" -dest_files=["res://.godot/imported/straywild_base_character_eyes_simple_shine.png-200a946ddace2078bbe44addb4e4524c.s3tc.ctex", "res://.godot/imported/straywild_base_character_eyes_simple_shine.png-200a946ddace2078bbe44addb4e4524c.etc2.ctex"] +source_file="res://art/exported/characters/base/netfishing_base_character_eyes_simple_shine.png" +dest_files=["res://.godot/imported/netfishing_base_character_eyes_simple_shine.png-140bfa3aa0b6f662e8ff9e5721213a61.s3tc.ctex", "res://.godot/imported/netfishing_base_character_eyes_simple_shine.png-140bfa3aa0b6f662e8ff9e5721213a61.etc2.ctex"] [params] diff --git a/art/exported/characters/base/straywild_base_character_mouth_three.png b/art/exported/characters/base/netfishing_base_character_mouth_three.png similarity index 100% rename from art/exported/characters/base/straywild_base_character_mouth_three.png rename to art/exported/characters/base/netfishing_base_character_mouth_three.png diff --git a/art/exported/characters/base/straywild_base_character_mouth_three.png.import b/art/exported/characters/base/netfishing_base_character_mouth_three.png.import similarity index 59% rename from art/exported/characters/base/straywild_base_character_mouth_three.png.import rename to art/exported/characters/base/netfishing_base_character_mouth_three.png.import index ba0ec2c..10d0721 100644 --- a/art/exported/characters/base/straywild_base_character_mouth_three.png.import +++ b/art/exported/characters/base/netfishing_base_character_mouth_three.png.import @@ -3,8 +3,8 @@ importer="texture" type="CompressedTexture2D" uid="uid://dt5gitdtjdvcd" -path.s3tc="res://.godot/imported/straywild_base_character_mouth_three.png-5bcf329b31a11eff496760a63e62d0e2.s3tc.ctex" -path.etc2="res://.godot/imported/straywild_base_character_mouth_three.png-5bcf329b31a11eff496760a63e62d0e2.etc2.ctex" +path.s3tc="res://.godot/imported/netfishing_base_character_mouth_three.png-90b4a98403d2a291a56a8ed42aaa8473.s3tc.ctex" +path.etc2="res://.godot/imported/netfishing_base_character_mouth_three.png-90b4a98403d2a291a56a8ed42aaa8473.etc2.ctex" metadata={ "imported_formats": ["s3tc_bptc", "etc2_astc"], "vram_texture": true @@ -15,8 +15,8 @@ generator_parameters={ [deps] -source_file="res://art/exported/characters/base/straywild_base_character_mouth_three.png" -dest_files=["res://.godot/imported/straywild_base_character_mouth_three.png-5bcf329b31a11eff496760a63e62d0e2.s3tc.ctex", "res://.godot/imported/straywild_base_character_mouth_three.png-5bcf329b31a11eff496760a63e62d0e2.etc2.ctex"] +source_file="res://art/exported/characters/base/netfishing_base_character_mouth_three.png" +dest_files=["res://.godot/imported/netfishing_base_character_mouth_three.png-90b4a98403d2a291a56a8ed42aaa8473.s3tc.ctex", "res://.godot/imported/netfishing_base_character_mouth_three.png-90b4a98403d2a291a56a8ed42aaa8473.etc2.ctex"] [params] diff --git a/art/exported/characters/base/straywild_base_character_nose_dog_round.png b/art/exported/characters/base/netfishing_base_character_nose_dog_round.png similarity index 100% rename from art/exported/characters/base/straywild_base_character_nose_dog_round.png rename to art/exported/characters/base/netfishing_base_character_nose_dog_round.png diff --git a/art/exported/characters/base/straywild_base_character_nose_dog_round.png.import b/art/exported/characters/base/netfishing_base_character_nose_dog_round.png.import similarity index 59% rename from art/exported/characters/base/straywild_base_character_nose_dog_round.png.import rename to art/exported/characters/base/netfishing_base_character_nose_dog_round.png.import index cb2c573..71d25b6 100644 --- a/art/exported/characters/base/straywild_base_character_nose_dog_round.png.import +++ b/art/exported/characters/base/netfishing_base_character_nose_dog_round.png.import @@ -3,8 +3,8 @@ importer="texture" type="CompressedTexture2D" uid="uid://bmho1ryst3smt" -path.s3tc="res://.godot/imported/straywild_base_character_nose_dog_round.png-e6909a2c139cf4a2748c2b79d1e12d92.s3tc.ctex" -path.etc2="res://.godot/imported/straywild_base_character_nose_dog_round.png-e6909a2c139cf4a2748c2b79d1e12d92.etc2.ctex" +path.s3tc="res://.godot/imported/netfishing_base_character_nose_dog_round.png-0008adff5271dd0403e610ef13dd52cf.s3tc.ctex" +path.etc2="res://.godot/imported/netfishing_base_character_nose_dog_round.png-0008adff5271dd0403e610ef13dd52cf.etc2.ctex" metadata={ "imported_formats": ["s3tc_bptc", "etc2_astc"], "vram_texture": true @@ -15,8 +15,8 @@ generator_parameters={ [deps] -source_file="res://art/exported/characters/base/straywild_base_character_nose_dog_round.png" -dest_files=["res://.godot/imported/straywild_base_character_nose_dog_round.png-e6909a2c139cf4a2748c2b79d1e12d92.s3tc.ctex", "res://.godot/imported/straywild_base_character_nose_dog_round.png-e6909a2c139cf4a2748c2b79d1e12d92.etc2.ctex"] +source_file="res://art/exported/characters/base/netfishing_base_character_nose_dog_round.png" +dest_files=["res://.godot/imported/netfishing_base_character_nose_dog_round.png-0008adff5271dd0403e610ef13dd52cf.s3tc.ctex", "res://.godot/imported/netfishing_base_character_nose_dog_round.png-0008adff5271dd0403e610ef13dd52cf.etc2.ctex"] [params] diff --git a/art/exported/creatures/101.png b/art/exported/creatures/101.png deleted file mode 100644 index e6e431c..0000000 Binary files a/art/exported/creatures/101.png and /dev/null differ diff --git a/art/exported/creatures/101.png.import b/art/exported/creatures/101.png.import deleted file mode 100644 index 3dc8865..0000000 --- a/art/exported/creatures/101.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://x5e744k11k70" -path.s3tc="res://.godot/imported/101.png-81f7f90e29292575c1a9727aa6060fa0.s3tc.ctex" -path.etc2="res://.godot/imported/101.png-81f7f90e29292575c1a9727aa6060fa0.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/101.png" -dest_files=["res://.godot/imported/101.png-81f7f90e29292575c1a9727aa6060fa0.s3tc.ctex", "res://.godot/imported/101.png-81f7f90e29292575c1a9727aa6060fa0.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/102.png b/art/exported/creatures/102.png deleted file mode 100644 index b1b66a6..0000000 Binary files a/art/exported/creatures/102.png and /dev/null differ diff --git a/art/exported/creatures/102.png.import b/art/exported/creatures/102.png.import deleted file mode 100644 index c958e5f..0000000 --- a/art/exported/creatures/102.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://1kla4jewitot" -path.s3tc="res://.godot/imported/102.png-2ab8ac9408a482b1042b6ba3cd3bd718.s3tc.ctex" -path.etc2="res://.godot/imported/102.png-2ab8ac9408a482b1042b6ba3cd3bd718.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/102.png" -dest_files=["res://.godot/imported/102.png-2ab8ac9408a482b1042b6ba3cd3bd718.s3tc.ctex", "res://.godot/imported/102.png-2ab8ac9408a482b1042b6ba3cd3bd718.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/103.png b/art/exported/creatures/103.png deleted file mode 100644 index 98dd618..0000000 Binary files a/art/exported/creatures/103.png and /dev/null differ diff --git a/art/exported/creatures/103.png.import b/art/exported/creatures/103.png.import deleted file mode 100644 index 2972cde..0000000 --- a/art/exported/creatures/103.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cfdsg4tevv0jm" -path.s3tc="res://.godot/imported/103.png-f8985f10e04b19499cd6f5ffbadc83c9.s3tc.ctex" -path.etc2="res://.godot/imported/103.png-f8985f10e04b19499cd6f5ffbadc83c9.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/103.png" -dest_files=["res://.godot/imported/103.png-f8985f10e04b19499cd6f5ffbadc83c9.s3tc.ctex", "res://.godot/imported/103.png-f8985f10e04b19499cd6f5ffbadc83c9.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/104.png b/art/exported/creatures/104.png deleted file mode 100644 index 09eec3c..0000000 Binary files a/art/exported/creatures/104.png and /dev/null differ diff --git a/art/exported/creatures/105.png b/art/exported/creatures/105.png deleted file mode 100644 index 3ba1000..0000000 Binary files a/art/exported/creatures/105.png and /dev/null differ diff --git a/art/exported/creatures/105.png.import b/art/exported/creatures/105.png.import deleted file mode 100644 index de797a7..0000000 --- a/art/exported/creatures/105.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dwanip2j561n7" -path.s3tc="res://.godot/imported/105.png-a2b440912e59b3375c6e61e17d08287b.s3tc.ctex" -path.etc2="res://.godot/imported/105.png-a2b440912e59b3375c6e61e17d08287b.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/105.png" -dest_files=["res://.godot/imported/105.png-a2b440912e59b3375c6e61e17d08287b.s3tc.ctex", "res://.godot/imported/105.png-a2b440912e59b3375c6e61e17d08287b.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/106.png b/art/exported/creatures/106.png deleted file mode 100644 index 4227b44..0000000 Binary files a/art/exported/creatures/106.png and /dev/null differ diff --git a/art/exported/creatures/106.png.import b/art/exported/creatures/106.png.import deleted file mode 100644 index 3032c38..0000000 --- a/art/exported/creatures/106.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cr7tc11ievso5" -path.s3tc="res://.godot/imported/106.png-306ce449448588714e5a0e883ae441ac.s3tc.ctex" -path.etc2="res://.godot/imported/106.png-306ce449448588714e5a0e883ae441ac.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/106.png" -dest_files=["res://.godot/imported/106.png-306ce449448588714e5a0e883ae441ac.s3tc.ctex", "res://.godot/imported/106.png-306ce449448588714e5a0e883ae441ac.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/107.png b/art/exported/creatures/107.png deleted file mode 100644 index c843bbe..0000000 Binary files a/art/exported/creatures/107.png and /dev/null differ diff --git a/art/exported/creatures/107.png.import b/art/exported/creatures/107.png.import deleted file mode 100644 index c4d28e8..0000000 --- a/art/exported/creatures/107.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c8rf4tnxx8mov" -path.s3tc="res://.godot/imported/107.png-062740d0bdad6e3ac4ecc1cf92ee6b9d.s3tc.ctex" -path.etc2="res://.godot/imported/107.png-062740d0bdad6e3ac4ecc1cf92ee6b9d.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/107.png" -dest_files=["res://.godot/imported/107.png-062740d0bdad6e3ac4ecc1cf92ee6b9d.s3tc.ctex", "res://.godot/imported/107.png-062740d0bdad6e3ac4ecc1cf92ee6b9d.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/201.png b/art/exported/creatures/201.png deleted file mode 100644 index 3994912..0000000 Binary files a/art/exported/creatures/201.png and /dev/null differ diff --git a/art/exported/creatures/201.png.import b/art/exported/creatures/201.png.import deleted file mode 100644 index 9d5decf..0000000 --- a/art/exported/creatures/201.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c0q8o1sc8hlv0" -path.s3tc="res://.godot/imported/201.png-1b2063c63e42271e8f3910da8e3f1277.s3tc.ctex" -path.etc2="res://.godot/imported/201.png-1b2063c63e42271e8f3910da8e3f1277.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/201.png" -dest_files=["res://.godot/imported/201.png-1b2063c63e42271e8f3910da8e3f1277.s3tc.ctex", "res://.godot/imported/201.png-1b2063c63e42271e8f3910da8e3f1277.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2502.png b/art/exported/creatures/2502.png deleted file mode 100644 index 467431b..0000000 Binary files a/art/exported/creatures/2502.png and /dev/null differ diff --git a/art/exported/creatures/2502.png.import b/art/exported/creatures/2502.png.import deleted file mode 100644 index 17bcad9..0000000 --- a/art/exported/creatures/2502.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://busj0feq2dncu" -path.s3tc="res://.godot/imported/2502.png-3922e306611b91541a86520cf32cbdbd.s3tc.ctex" -path.etc2="res://.godot/imported/2502.png-3922e306611b91541a86520cf32cbdbd.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2502.png" -dest_files=["res://.godot/imported/2502.png-3922e306611b91541a86520cf32cbdbd.s3tc.ctex", "res://.godot/imported/2502.png-3922e306611b91541a86520cf32cbdbd.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2504.png b/art/exported/creatures/2504.png deleted file mode 100644 index d0279d8..0000000 Binary files a/art/exported/creatures/2504.png and /dev/null differ diff --git a/art/exported/creatures/2504.png.import b/art/exported/creatures/2504.png.import deleted file mode 100644 index 73fa801..0000000 --- a/art/exported/creatures/2504.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://4a7c1aat4777" -path.s3tc="res://.godot/imported/2504.png-c9f47ab152b933d8158b8c058ec5fcc2.s3tc.ctex" -path.etc2="res://.godot/imported/2504.png-c9f47ab152b933d8158b8c058ec5fcc2.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2504.png" -dest_files=["res://.godot/imported/2504.png-c9f47ab152b933d8158b8c058ec5fcc2.s3tc.ctex", "res://.godot/imported/2504.png-c9f47ab152b933d8158b8c058ec5fcc2.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2505.png b/art/exported/creatures/2505.png deleted file mode 100644 index 7463c25..0000000 Binary files a/art/exported/creatures/2505.png and /dev/null differ diff --git a/art/exported/creatures/2505.png.import b/art/exported/creatures/2505.png.import deleted file mode 100644 index 130cedb..0000000 --- a/art/exported/creatures/2505.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://b8u3lw242yr3c" -path.s3tc="res://.godot/imported/2505.png-fe14d70a6372dbe0cc4a8275d0816cad.s3tc.ctex" -path.etc2="res://.godot/imported/2505.png-fe14d70a6372dbe0cc4a8275d0816cad.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2505.png" -dest_files=["res://.godot/imported/2505.png-fe14d70a6372dbe0cc4a8275d0816cad.s3tc.ctex", "res://.godot/imported/2505.png-fe14d70a6372dbe0cc4a8275d0816cad.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2508.png b/art/exported/creatures/2508.png deleted file mode 100644 index 4cefefd..0000000 Binary files a/art/exported/creatures/2508.png and /dev/null differ diff --git a/art/exported/creatures/2508.png.import b/art/exported/creatures/2508.png.import deleted file mode 100644 index 0fdbbe4..0000000 --- a/art/exported/creatures/2508.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c2k6ghkng6081" -path.s3tc="res://.godot/imported/2508.png-0478df4a4cb2af8e08ada8086efda0c3.s3tc.ctex" -path.etc2="res://.godot/imported/2508.png-0478df4a4cb2af8e08ada8086efda0c3.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2508.png" -dest_files=["res://.godot/imported/2508.png-0478df4a4cb2af8e08ada8086efda0c3.s3tc.ctex", "res://.godot/imported/2508.png-0478df4a4cb2af8e08ada8086efda0c3.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2601.png b/art/exported/creatures/2601.png deleted file mode 100644 index f7565d8..0000000 Binary files a/art/exported/creatures/2601.png and /dev/null differ diff --git a/art/exported/creatures/2601.png.import b/art/exported/creatures/2601.png.import deleted file mode 100644 index 7444643..0000000 --- a/art/exported/creatures/2601.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://d14jvhurcfryb" -path.s3tc="res://.godot/imported/2601.png-912942ea4c6b2c66982e089ee46fde12.s3tc.ctex" -path.etc2="res://.godot/imported/2601.png-912942ea4c6b2c66982e089ee46fde12.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2601.png" -dest_files=["res://.godot/imported/2601.png-912942ea4c6b2c66982e089ee46fde12.s3tc.ctex", "res://.godot/imported/2601.png-912942ea4c6b2c66982e089ee46fde12.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2801.png b/art/exported/creatures/2801.png deleted file mode 100644 index ad8294d..0000000 Binary files a/art/exported/creatures/2801.png and /dev/null differ diff --git a/art/exported/creatures/2801.png.import b/art/exported/creatures/2801.png.import deleted file mode 100644 index 512f812..0000000 --- a/art/exported/creatures/2801.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cc7el34sfad78" -path.s3tc="res://.godot/imported/2801.png-d1c5df9faa2d1eb1cc3453c8e18d4049.s3tc.ctex" -path.etc2="res://.godot/imported/2801.png-d1c5df9faa2d1eb1cc3453c8e18d4049.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2801.png" -dest_files=["res://.godot/imported/2801.png-d1c5df9faa2d1eb1cc3453c8e18d4049.s3tc.ctex", "res://.godot/imported/2801.png-d1c5df9faa2d1eb1cc3453c8e18d4049.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2802.png b/art/exported/creatures/2802.png deleted file mode 100644 index 4190610..0000000 Binary files a/art/exported/creatures/2802.png and /dev/null differ diff --git a/art/exported/creatures/2802.png.import b/art/exported/creatures/2802.png.import deleted file mode 100644 index 4d014d1..0000000 --- a/art/exported/creatures/2802.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bawecr4tv52p1" -path.s3tc="res://.godot/imported/2802.png-6319ce264fbd950e232fd0b428319265.s3tc.ctex" -path.etc2="res://.godot/imported/2802.png-6319ce264fbd950e232fd0b428319265.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2802.png" -dest_files=["res://.godot/imported/2802.png-6319ce264fbd950e232fd0b428319265.s3tc.ctex", "res://.godot/imported/2802.png-6319ce264fbd950e232fd0b428319265.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2803.png b/art/exported/creatures/2803.png deleted file mode 100644 index 6360f26..0000000 Binary files a/art/exported/creatures/2803.png and /dev/null differ diff --git a/art/exported/creatures/2803.png.import b/art/exported/creatures/2803.png.import deleted file mode 100644 index 5096057..0000000 --- a/art/exported/creatures/2803.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cjwm07240ehr2" -path.s3tc="res://.godot/imported/2803.png-c2e31a8adbab3bf9899bc74b3feb4abb.s3tc.ctex" -path.etc2="res://.godot/imported/2803.png-c2e31a8adbab3bf9899bc74b3feb4abb.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2803.png" -dest_files=["res://.godot/imported/2803.png-c2e31a8adbab3bf9899bc74b3feb4abb.s3tc.ctex", "res://.godot/imported/2803.png-c2e31a8adbab3bf9899bc74b3feb4abb.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2804.png b/art/exported/creatures/2804.png deleted file mode 100644 index 90952fd..0000000 Binary files a/art/exported/creatures/2804.png and /dev/null differ diff --git a/art/exported/creatures/2804.png.import b/art/exported/creatures/2804.png.import deleted file mode 100644 index e6147c2..0000000 --- a/art/exported/creatures/2804.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dgcrfxo1k4juj" -path.s3tc="res://.godot/imported/2804.png-f86c52a01f04302b057cf526a498e87a.s3tc.ctex" -path.etc2="res://.godot/imported/2804.png-f86c52a01f04302b057cf526a498e87a.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2804.png" -dest_files=["res://.godot/imported/2804.png-f86c52a01f04302b057cf526a498e87a.s3tc.ctex", "res://.godot/imported/2804.png-f86c52a01f04302b057cf526a498e87a.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2806.png b/art/exported/creatures/2806.png deleted file mode 100644 index acb930e..0000000 Binary files a/art/exported/creatures/2806.png and /dev/null differ diff --git a/art/exported/creatures/2806.png.import b/art/exported/creatures/2806.png.import deleted file mode 100644 index 9d444cd..0000000 --- a/art/exported/creatures/2806.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c5be8db5ppkq4" -path.s3tc="res://.godot/imported/2806.png-ed0484fec72605166ddb723c1a1bc7d0.s3tc.ctex" -path.etc2="res://.godot/imported/2806.png-ed0484fec72605166ddb723c1a1bc7d0.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2806.png" -dest_files=["res://.godot/imported/2806.png-ed0484fec72605166ddb723c1a1bc7d0.s3tc.ctex", "res://.godot/imported/2806.png-ed0484fec72605166ddb723c1a1bc7d0.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/2807.png b/art/exported/creatures/2807.png deleted file mode 100644 index 5c2a6da..0000000 Binary files a/art/exported/creatures/2807.png and /dev/null differ diff --git a/art/exported/creatures/2807.png.import b/art/exported/creatures/2807.png.import deleted file mode 100644 index af51ff5..0000000 --- a/art/exported/creatures/2807.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bdus4qo0ebs3e" -path.s3tc="res://.godot/imported/2807.png-aceaf0f586f975d29e318a9513fc3125.s3tc.ctex" -path.etc2="res://.godot/imported/2807.png-aceaf0f586f975d29e318a9513fc3125.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/2807.png" -dest_files=["res://.godot/imported/2807.png-aceaf0f586f975d29e318a9513fc3125.s3tc.ctex", "res://.godot/imported/2807.png-aceaf0f586f975d29e318a9513fc3125.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/3002.png b/art/exported/creatures/3002.png deleted file mode 100644 index 2ae7e73..0000000 Binary files a/art/exported/creatures/3002.png and /dev/null differ diff --git a/art/exported/creatures/3002.png.import b/art/exported/creatures/3002.png.import deleted file mode 100644 index e193cfd..0000000 --- a/art/exported/creatures/3002.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://b68vlgtclvkfg" -path.s3tc="res://.godot/imported/3002.png-a87d71158798b43b6bf702a6e1664b4d.s3tc.ctex" -path.etc2="res://.godot/imported/3002.png-a87d71158798b43b6bf702a6e1664b4d.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/3002.png" -dest_files=["res://.godot/imported/3002.png-a87d71158798b43b6bf702a6e1664b4d.s3tc.ctex", "res://.godot/imported/3002.png-a87d71158798b43b6bf702a6e1664b4d.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/3102.png b/art/exported/creatures/3102.png deleted file mode 100644 index fe4d8fb..0000000 Binary files a/art/exported/creatures/3102.png and /dev/null differ diff --git a/art/exported/creatures/3102.png.import b/art/exported/creatures/3102.png.import deleted file mode 100644 index 47e9c80..0000000 --- a/art/exported/creatures/3102.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c4d3f28rf86bb" -path.s3tc="res://.godot/imported/3102.png-951ca90331737e3057749e1bdbd88c44.s3tc.ctex" -path.etc2="res://.godot/imported/3102.png-951ca90331737e3057749e1bdbd88c44.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/3102.png" -dest_files=["res://.godot/imported/3102.png-951ca90331737e3057749e1bdbd88c44.s3tc.ctex", "res://.godot/imported/3102.png-951ca90331737e3057749e1bdbd88c44.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/3103.png b/art/exported/creatures/3103.png deleted file mode 100644 index 3d3d615..0000000 Binary files a/art/exported/creatures/3103.png and /dev/null differ diff --git a/art/exported/creatures/3103.png.import b/art/exported/creatures/3103.png.import deleted file mode 100644 index 9743e89..0000000 --- a/art/exported/creatures/3103.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cjtncgnb0hcsj" -path.s3tc="res://.godot/imported/3103.png-f3b4b5bb43b7611f7c448dbdfff36375.s3tc.ctex" -path.etc2="res://.godot/imported/3103.png-f3b4b5bb43b7611f7c448dbdfff36375.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/3103.png" -dest_files=["res://.godot/imported/3103.png-f3b4b5bb43b7611f7c448dbdfff36375.s3tc.ctex", "res://.godot/imported/3103.png-f3b4b5bb43b7611f7c448dbdfff36375.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/3104.png b/art/exported/creatures/3104.png deleted file mode 100644 index 425932e..0000000 Binary files a/art/exported/creatures/3104.png and /dev/null differ diff --git a/art/exported/creatures/3104.png.import b/art/exported/creatures/3104.png.import deleted file mode 100644 index fbc70d7..0000000 --- a/art/exported/creatures/3104.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dlme86lrrhyg8" -path.s3tc="res://.godot/imported/3104.png-fa31dd69bf22b484cf3ac0d99197b886.s3tc.ctex" -path.etc2="res://.godot/imported/3104.png-fa31dd69bf22b484cf3ac0d99197b886.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/3104.png" -dest_files=["res://.godot/imported/3104.png-fa31dd69bf22b484cf3ac0d99197b886.s3tc.ctex", "res://.godot/imported/3104.png-fa31dd69bf22b484cf3ac0d99197b886.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/3107.png b/art/exported/creatures/3107.png deleted file mode 100644 index 7dee611..0000000 Binary files a/art/exported/creatures/3107.png and /dev/null differ diff --git a/art/exported/creatures/3107.png.import b/art/exported/creatures/3107.png.import deleted file mode 100644 index 241bac9..0000000 --- a/art/exported/creatures/3107.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://csv1dsgvifh4l" -path.s3tc="res://.godot/imported/3107.png-5b981d56f7094a29a92b2f5035a47b11.s3tc.ctex" -path.etc2="res://.godot/imported/3107.png-5b981d56f7094a29a92b2f5035a47b11.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/3107.png" -dest_files=["res://.godot/imported/3107.png-5b981d56f7094a29a92b2f5035a47b11.s3tc.ctex", "res://.godot/imported/3107.png-5b981d56f7094a29a92b2f5035a47b11.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/3201.png b/art/exported/creatures/3201.png deleted file mode 100644 index bcc639b..0000000 Binary files a/art/exported/creatures/3201.png and /dev/null differ diff --git a/art/exported/creatures/3201.png.import b/art/exported/creatures/3201.png.import deleted file mode 100644 index a8d6a43..0000000 --- a/art/exported/creatures/3201.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cd8u0ow8cqsbh" -path.s3tc="res://.godot/imported/3201.png-846cb0fbb88950bb70d5b03c50a88457.s3tc.ctex" -path.etc2="res://.godot/imported/3201.png-846cb0fbb88950bb70d5b03c50a88457.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/3201.png" -dest_files=["res://.godot/imported/3201.png-846cb0fbb88950bb70d5b03c50a88457.s3tc.ctex", "res://.godot/imported/3201.png-846cb0fbb88950bb70d5b03c50a88457.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/3401.png b/art/exported/creatures/3401.png deleted file mode 100644 index c14c2ae..0000000 Binary files a/art/exported/creatures/3401.png and /dev/null differ diff --git a/art/exported/creatures/3401.png.import b/art/exported/creatures/3401.png.import deleted file mode 100644 index 096d0fb..0000000 --- a/art/exported/creatures/3401.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://begsj5tj035e1" -path.s3tc="res://.godot/imported/3401.png-cd8c7ec154f8248110ec396b3f8a76c9.s3tc.ctex" -path.etc2="res://.godot/imported/3401.png-cd8c7ec154f8248110ec396b3f8a76c9.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/3401.png" -dest_files=["res://.godot/imported/3401.png-cd8c7ec154f8248110ec396b3f8a76c9.s3tc.ctex", "res://.godot/imported/3401.png-cd8c7ec154f8248110ec396b3f8a76c9.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/3902.png b/art/exported/creatures/3902.png deleted file mode 100644 index d231239..0000000 Binary files a/art/exported/creatures/3902.png and /dev/null differ diff --git a/art/exported/creatures/3902.png.import b/art/exported/creatures/3902.png.import deleted file mode 100644 index a8e5440..0000000 --- a/art/exported/creatures/3902.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://ddc556gcby50v" -path.s3tc="res://.godot/imported/3902.png-485bc4f9f1a505225bdc037111e32499.s3tc.ctex" -path.etc2="res://.godot/imported/3902.png-485bc4f9f1a505225bdc037111e32499.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/3902.png" -dest_files=["res://.godot/imported/3902.png-485bc4f9f1a505225bdc037111e32499.s3tc.ctex", "res://.godot/imported/3902.png-485bc4f9f1a505225bdc037111e32499.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/3906.png b/art/exported/creatures/3906.png deleted file mode 100644 index 6cc1d1b..0000000 Binary files a/art/exported/creatures/3906.png and /dev/null differ diff --git a/art/exported/creatures/3906.png.import b/art/exported/creatures/3906.png.import deleted file mode 100644 index 9bce5e4..0000000 --- a/art/exported/creatures/3906.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bdmm1jfod7gq0" -path.s3tc="res://.godot/imported/3906.png-39cc349a6d3e716822bc9e12bd0ac7a2.s3tc.ctex" -path.etc2="res://.godot/imported/3906.png-39cc349a6d3e716822bc9e12bd0ac7a2.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/3906.png" -dest_files=["res://.godot/imported/3906.png-39cc349a6d3e716822bc9e12bd0ac7a2.s3tc.ctex", "res://.godot/imported/3906.png-39cc349a6d3e716822bc9e12bd0ac7a2.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/403.png b/art/exported/creatures/403.png deleted file mode 100644 index a1eb283..0000000 Binary files a/art/exported/creatures/403.png and /dev/null differ diff --git a/art/exported/creatures/403.png.import b/art/exported/creatures/403.png.import deleted file mode 100644 index da790e8..0000000 --- a/art/exported/creatures/403.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bypagdb0ollh0" -path.s3tc="res://.godot/imported/403.png-57b9dd64545d97bbd63b86e7f3d61562.s3tc.ctex" -path.etc2="res://.godot/imported/403.png-57b9dd64545d97bbd63b86e7f3d61562.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/403.png" -dest_files=["res://.godot/imported/403.png-57b9dd64545d97bbd63b86e7f3d61562.s3tc.ctex", "res://.godot/imported/403.png-57b9dd64545d97bbd63b86e7f3d61562.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/4101.png b/art/exported/creatures/4101.png deleted file mode 100644 index 74a068b..0000000 Binary files a/art/exported/creatures/4101.png and /dev/null differ diff --git a/art/exported/creatures/4101.png.import b/art/exported/creatures/4101.png.import deleted file mode 100644 index d906da5..0000000 --- a/art/exported/creatures/4101.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bahd6nks2g7ik" -path.s3tc="res://.godot/imported/4101.png-163a8880f3559279d2acc129509430bc.s3tc.ctex" -path.etc2="res://.godot/imported/4101.png-163a8880f3559279d2acc129509430bc.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/4101.png" -dest_files=["res://.godot/imported/4101.png-163a8880f3559279d2acc129509430bc.s3tc.ctex", "res://.godot/imported/4101.png-163a8880f3559279d2acc129509430bc.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/4401.png b/art/exported/creatures/4401.png deleted file mode 100644 index d043f4c..0000000 Binary files a/art/exported/creatures/4401.png and /dev/null differ diff --git a/art/exported/creatures/4401.png.import b/art/exported/creatures/4401.png.import deleted file mode 100644 index 809a146..0000000 --- a/art/exported/creatures/4401.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://7dbcbicxwvlo" -path.s3tc="res://.godot/imported/4401.png-0fd242cb090b49614af9b4d07503b2db.s3tc.ctex" -path.etc2="res://.godot/imported/4401.png-0fd242cb090b49614af9b4d07503b2db.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/4401.png" -dest_files=["res://.godot/imported/4401.png-0fd242cb090b49614af9b4d07503b2db.s3tc.ctex", "res://.godot/imported/4401.png-0fd242cb090b49614af9b4d07503b2db.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/4701.png b/art/exported/creatures/4701.png deleted file mode 100644 index afd6a85..0000000 Binary files a/art/exported/creatures/4701.png and /dev/null differ diff --git a/art/exported/creatures/4701.png.import b/art/exported/creatures/4701.png.import deleted file mode 100644 index 5f4ed32..0000000 --- a/art/exported/creatures/4701.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://do6hcv3omivv5" -path.s3tc="res://.godot/imported/4701.png-dcb44d4ce6dfdc812a2e185e7f9511be.s3tc.ctex" -path.etc2="res://.godot/imported/4701.png-dcb44d4ce6dfdc812a2e185e7f9511be.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/4701.png" -dest_files=["res://.godot/imported/4701.png-dcb44d4ce6dfdc812a2e185e7f9511be.s3tc.ctex", "res://.godot/imported/4701.png-dcb44d4ce6dfdc812a2e185e7f9511be.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/5001.png b/art/exported/creatures/5001.png deleted file mode 100644 index cf39422..0000000 Binary files a/art/exported/creatures/5001.png and /dev/null differ diff --git a/art/exported/creatures/5001.png.import b/art/exported/creatures/5001.png.import deleted file mode 100644 index c87c852..0000000 --- a/art/exported/creatures/5001.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://byil5mr6w3j1q" -path.s3tc="res://.godot/imported/5001.png-ebe37fb8bd4263bb83e36bb5890b5641.s3tc.ctex" -path.etc2="res://.godot/imported/5001.png-ebe37fb8bd4263bb83e36bb5890b5641.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/5001.png" -dest_files=["res://.godot/imported/5001.png-ebe37fb8bd4263bb83e36bb5890b5641.s3tc.ctex", "res://.godot/imported/5001.png-ebe37fb8bd4263bb83e36bb5890b5641.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/5702.png b/art/exported/creatures/5702.png deleted file mode 100644 index aba6b80..0000000 Binary files a/art/exported/creatures/5702.png and /dev/null differ diff --git a/art/exported/creatures/5702.png.import b/art/exported/creatures/5702.png.import deleted file mode 100644 index 527c367..0000000 --- a/art/exported/creatures/5702.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dxwr7yv5h30s" -path.s3tc="res://.godot/imported/5702.png-b0cead42bd9a5851c3f6775a7d0e469e.s3tc.ctex" -path.etc2="res://.godot/imported/5702.png-b0cead42bd9a5851c3f6775a7d0e469e.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/5702.png" -dest_files=["res://.godot/imported/5702.png-b0cead42bd9a5851c3f6775a7d0e469e.s3tc.ctex", "res://.godot/imported/5702.png-b0cead42bd9a5851c3f6775a7d0e469e.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/5901.png b/art/exported/creatures/5901.png deleted file mode 100644 index a75039f..0000000 Binary files a/art/exported/creatures/5901.png and /dev/null differ diff --git a/art/exported/creatures/5901.png.import b/art/exported/creatures/5901.png.import deleted file mode 100644 index e52ad8c..0000000 --- a/art/exported/creatures/5901.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dovitajskavmi" -path.s3tc="res://.godot/imported/5901.png-10c9e77992ad31ce54d34b95a6db6f61.s3tc.ctex" -path.etc2="res://.godot/imported/5901.png-10c9e77992ad31ce54d34b95a6db6f61.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/5901.png" -dest_files=["res://.godot/imported/5901.png-10c9e77992ad31ce54d34b95a6db6f61.s3tc.ctex", "res://.godot/imported/5901.png-10c9e77992ad31ce54d34b95a6db6f61.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/5902.png b/art/exported/creatures/5902.png deleted file mode 100644 index 809057d..0000000 Binary files a/art/exported/creatures/5902.png and /dev/null differ diff --git a/art/exported/creatures/5902.png.import b/art/exported/creatures/5902.png.import deleted file mode 100644 index 2c8a5fb..0000000 --- a/art/exported/creatures/5902.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://0k4qnt7wusam" -path.s3tc="res://.godot/imported/5902.png-e3a13a1e827488fa86f34c2aad883127.s3tc.ctex" -path.etc2="res://.godot/imported/5902.png-e3a13a1e827488fa86f34c2aad883127.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/5902.png" -dest_files=["res://.godot/imported/5902.png-e3a13a1e827488fa86f34c2aad883127.s3tc.ctex", "res://.godot/imported/5902.png-e3a13a1e827488fa86f34c2aad883127.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/5903.png b/art/exported/creatures/5903.png deleted file mode 100644 index 74a8af6..0000000 Binary files a/art/exported/creatures/5903.png and /dev/null differ diff --git a/art/exported/creatures/5903.png.import b/art/exported/creatures/5903.png.import deleted file mode 100644 index 22946e8..0000000 --- a/art/exported/creatures/5903.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bjb8gqbta2oxw" -path.s3tc="res://.godot/imported/5903.png-44743c2e322f48eefaeedcd3defec27d.s3tc.ctex" -path.etc2="res://.godot/imported/5903.png-44743c2e322f48eefaeedcd3defec27d.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/5903.png" -dest_files=["res://.godot/imported/5903.png-44743c2e322f48eefaeedcd3defec27d.s3tc.ctex", "res://.godot/imported/5903.png-44743c2e322f48eefaeedcd3defec27d.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/5904.png b/art/exported/creatures/5904.png deleted file mode 100644 index 924ba4b..0000000 Binary files a/art/exported/creatures/5904.png and /dev/null differ diff --git a/art/exported/creatures/5904.png.import b/art/exported/creatures/5904.png.import deleted file mode 100644 index 23458ae..0000000 --- a/art/exported/creatures/5904.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dtapwjgdbcgr7" -path.s3tc="res://.godot/imported/5904.png-e43ba3245eadac7081a6a23e64ccc940.s3tc.ctex" -path.etc2="res://.godot/imported/5904.png-e43ba3245eadac7081a6a23e64ccc940.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/5904.png" -dest_files=["res://.godot/imported/5904.png-e43ba3245eadac7081a6a23e64ccc940.s3tc.ctex", "res://.godot/imported/5904.png-e43ba3245eadac7081a6a23e64ccc940.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6001.png b/art/exported/creatures/6001.png deleted file mode 100644 index 9219597..0000000 Binary files a/art/exported/creatures/6001.png and /dev/null differ diff --git a/art/exported/creatures/6001.png.import b/art/exported/creatures/6001.png.import deleted file mode 100644 index a63cf85..0000000 --- a/art/exported/creatures/6001.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c0164i40101lq" -path.s3tc="res://.godot/imported/6001.png-6fd8c3ef0885c466baece687cd24d38d.s3tc.ctex" -path.etc2="res://.godot/imported/6001.png-6fd8c3ef0885c466baece687cd24d38d.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6001.png" -dest_files=["res://.godot/imported/6001.png-6fd8c3ef0885c466baece687cd24d38d.s3tc.ctex", "res://.godot/imported/6001.png-6fd8c3ef0885c466baece687cd24d38d.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6103.png b/art/exported/creatures/6103.png deleted file mode 100644 index f45e607..0000000 Binary files a/art/exported/creatures/6103.png and /dev/null differ diff --git a/art/exported/creatures/6103.png.import b/art/exported/creatures/6103.png.import deleted file mode 100644 index ac97dac..0000000 --- a/art/exported/creatures/6103.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://k3ser2dy6wj7" -path.s3tc="res://.godot/imported/6103.png-5fc95bf908f801d5397114bde5081f55.s3tc.ctex" -path.etc2="res://.godot/imported/6103.png-5fc95bf908f801d5397114bde5081f55.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6103.png" -dest_files=["res://.godot/imported/6103.png-5fc95bf908f801d5397114bde5081f55.s3tc.ctex", "res://.godot/imported/6103.png-5fc95bf908f801d5397114bde5081f55.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6406.png b/art/exported/creatures/6406.png deleted file mode 100644 index 15c3b83..0000000 Binary files a/art/exported/creatures/6406.png and /dev/null differ diff --git a/art/exported/creatures/6406.png.import b/art/exported/creatures/6406.png.import deleted file mode 100644 index ac060ee..0000000 --- a/art/exported/creatures/6406.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://gnlehenln3kp" -path.s3tc="res://.godot/imported/6406.png-67ebebdd8d13cd88e0a209b3ed00024c.s3tc.ctex" -path.etc2="res://.godot/imported/6406.png-67ebebdd8d13cd88e0a209b3ed00024c.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6406.png" -dest_files=["res://.godot/imported/6406.png-67ebebdd8d13cd88e0a209b3ed00024c.s3tc.ctex", "res://.godot/imported/6406.png-67ebebdd8d13cd88e0a209b3ed00024c.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6601.png b/art/exported/creatures/6601.png deleted file mode 100644 index 93c05c0..0000000 Binary files a/art/exported/creatures/6601.png and /dev/null differ diff --git a/art/exported/creatures/6601.png.import b/art/exported/creatures/6601.png.import deleted file mode 100644 index f5facf7..0000000 --- a/art/exported/creatures/6601.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://jauudro8rgay" -path.s3tc="res://.godot/imported/6601.png-7d5f9459e449f3aa7ae72a9e069e6a21.s3tc.ctex" -path.etc2="res://.godot/imported/6601.png-7d5f9459e449f3aa7ae72a9e069e6a21.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6601.png" -dest_files=["res://.godot/imported/6601.png-7d5f9459e449f3aa7ae72a9e069e6a21.s3tc.ctex", "res://.godot/imported/6601.png-7d5f9459e449f3aa7ae72a9e069e6a21.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6801.png b/art/exported/creatures/6801.png deleted file mode 100644 index bcdf70b..0000000 Binary files a/art/exported/creatures/6801.png and /dev/null differ diff --git a/art/exported/creatures/6801.png.import b/art/exported/creatures/6801.png.import deleted file mode 100644 index c257a50..0000000 --- a/art/exported/creatures/6801.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cuik8y4tqqetk" -path.s3tc="res://.godot/imported/6801.png-f771f612f1db1d1b99cb446dfebc4992.s3tc.ctex" -path.etc2="res://.godot/imported/6801.png-f771f612f1db1d1b99cb446dfebc4992.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6801.png" -dest_files=["res://.godot/imported/6801.png-f771f612f1db1d1b99cb446dfebc4992.s3tc.ctex", "res://.godot/imported/6801.png-f771f612f1db1d1b99cb446dfebc4992.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6804.png b/art/exported/creatures/6804.png deleted file mode 100644 index 14cc738..0000000 Binary files a/art/exported/creatures/6804.png and /dev/null differ diff --git a/art/exported/creatures/6804.png.import b/art/exported/creatures/6804.png.import deleted file mode 100644 index 12be7af..0000000 --- a/art/exported/creatures/6804.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://b5ejex5wtfoun" -path.s3tc="res://.godot/imported/6804.png-28bcc10060d656f6d7f080ea81e2d1d3.s3tc.ctex" -path.etc2="res://.godot/imported/6804.png-28bcc10060d656f6d7f080ea81e2d1d3.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6804.png" -dest_files=["res://.godot/imported/6804.png-28bcc10060d656f6d7f080ea81e2d1d3.s3tc.ctex", "res://.godot/imported/6804.png-28bcc10060d656f6d7f080ea81e2d1d3.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6807.png b/art/exported/creatures/6807.png deleted file mode 100644 index 270004f..0000000 Binary files a/art/exported/creatures/6807.png and /dev/null differ diff --git a/art/exported/creatures/6807.png.import b/art/exported/creatures/6807.png.import deleted file mode 100644 index 026d3d9..0000000 --- a/art/exported/creatures/6807.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cu5s2rxrc0dh5" -path.s3tc="res://.godot/imported/6807.png-35d499aa8b3f10cc974cc7df8b70f89e.s3tc.ctex" -path.etc2="res://.godot/imported/6807.png-35d499aa8b3f10cc974cc7df8b70f89e.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6807.png" -dest_files=["res://.godot/imported/6807.png-35d499aa8b3f10cc974cc7df8b70f89e.s3tc.ctex", "res://.godot/imported/6807.png-35d499aa8b3f10cc974cc7df8b70f89e.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6901.png b/art/exported/creatures/6901.png deleted file mode 100644 index 0c34e37..0000000 Binary files a/art/exported/creatures/6901.png and /dev/null differ diff --git a/art/exported/creatures/6901.png.import b/art/exported/creatures/6901.png.import deleted file mode 100644 index 651f116..0000000 --- a/art/exported/creatures/6901.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://umjy47x208xb" -path.s3tc="res://.godot/imported/6901.png-f9ff2d1fc8e00eabd73822b5031f91d8.s3tc.ctex" -path.etc2="res://.godot/imported/6901.png-f9ff2d1fc8e00eabd73822b5031f91d8.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6901.png" -dest_files=["res://.godot/imported/6901.png-f9ff2d1fc8e00eabd73822b5031f91d8.s3tc.ctex", "res://.godot/imported/6901.png-f9ff2d1fc8e00eabd73822b5031f91d8.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6902.png b/art/exported/creatures/6902.png deleted file mode 100644 index 3d4517e..0000000 Binary files a/art/exported/creatures/6902.png and /dev/null differ diff --git a/art/exported/creatures/6902.png.import b/art/exported/creatures/6902.png.import deleted file mode 100644 index 35f84df..0000000 --- a/art/exported/creatures/6902.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://csdl6u3uvft45" -path.s3tc="res://.godot/imported/6902.png-f8899611759244b42c6c786ff118dcba.s3tc.ctex" -path.etc2="res://.godot/imported/6902.png-f8899611759244b42c6c786ff118dcba.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6902.png" -dest_files=["res://.godot/imported/6902.png-f8899611759244b42c6c786ff118dcba.s3tc.ctex", "res://.godot/imported/6902.png-f8899611759244b42c6c786ff118dcba.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6904.png b/art/exported/creatures/6904.png deleted file mode 100644 index f2e8a7b..0000000 Binary files a/art/exported/creatures/6904.png and /dev/null differ diff --git a/art/exported/creatures/6904.png.import b/art/exported/creatures/6904.png.import deleted file mode 100644 index 75051e3..0000000 --- a/art/exported/creatures/6904.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bqh7d4v8jrbpr" -path.s3tc="res://.godot/imported/6904.png-38739e4e48fbb83e3f65074a93d681bb.s3tc.ctex" -path.etc2="res://.godot/imported/6904.png-38739e4e48fbb83e3f65074a93d681bb.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6904.png" -dest_files=["res://.godot/imported/6904.png-38739e4e48fbb83e3f65074a93d681bb.s3tc.ctex", "res://.godot/imported/6904.png-38739e4e48fbb83e3f65074a93d681bb.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/6905.png b/art/exported/creatures/6905.png deleted file mode 100644 index 296848e..0000000 Binary files a/art/exported/creatures/6905.png and /dev/null differ diff --git a/art/exported/creatures/6905.png.import b/art/exported/creatures/6905.png.import deleted file mode 100644 index f267dc2..0000000 --- a/art/exported/creatures/6905.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c4d8x6qyhahvn" -path.s3tc="res://.godot/imported/6905.png-a52c1647421059618698e17d7a3f8f98.s3tc.ctex" -path.etc2="res://.godot/imported/6905.png-a52c1647421059618698e17d7a3f8f98.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/6905.png" -dest_files=["res://.godot/imported/6905.png-a52c1647421059618698e17d7a3f8f98.s3tc.ctex", "res://.godot/imported/6905.png-a52c1647421059618698e17d7a3f8f98.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/701.png b/art/exported/creatures/701.png deleted file mode 100644 index 4f7d8f8..0000000 Binary files a/art/exported/creatures/701.png and /dev/null differ diff --git a/art/exported/creatures/701.png.import b/art/exported/creatures/701.png.import deleted file mode 100644 index 7598ee8..0000000 --- a/art/exported/creatures/701.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://jw5xt0cfjn1d" -path.s3tc="res://.godot/imported/701.png-8a66c28a9f49fa465ce3b5342fa08dbc.s3tc.ctex" -path.etc2="res://.godot/imported/701.png-8a66c28a9f49fa465ce3b5342fa08dbc.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/701.png" -dest_files=["res://.godot/imported/701.png-8a66c28a9f49fa465ce3b5342fa08dbc.s3tc.ctex", "res://.godot/imported/701.png-8a66c28a9f49fa465ce3b5342fa08dbc.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/704.png b/art/exported/creatures/704.png deleted file mode 100644 index 526d090..0000000 Binary files a/art/exported/creatures/704.png and /dev/null differ diff --git a/art/exported/creatures/704.png.import b/art/exported/creatures/704.png.import deleted file mode 100644 index e80e19e..0000000 --- a/art/exported/creatures/704.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bonpxkp6uwxq6" -path.s3tc="res://.godot/imported/704.png-649669246217a14c9609a7e929841827.s3tc.ctex" -path.etc2="res://.godot/imported/704.png-649669246217a14c9609a7e929841827.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/704.png" -dest_files=["res://.godot/imported/704.png-649669246217a14c9609a7e929841827.s3tc.ctex", "res://.godot/imported/704.png-649669246217a14c9609a7e929841827.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/7101.png b/art/exported/creatures/7101.png deleted file mode 100644 index 93a13af..0000000 Binary files a/art/exported/creatures/7101.png and /dev/null differ diff --git a/art/exported/creatures/7101.png.import b/art/exported/creatures/7101.png.import deleted file mode 100644 index 2d312b3..0000000 --- a/art/exported/creatures/7101.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dd5lpjei8ix4d" -path.s3tc="res://.godot/imported/7101.png-9be787a05b48075222e923e556de87ac.s3tc.ctex" -path.etc2="res://.godot/imported/7101.png-9be787a05b48075222e923e556de87ac.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/7101.png" -dest_files=["res://.godot/imported/7101.png-9be787a05b48075222e923e556de87ac.s3tc.ctex", "res://.godot/imported/7101.png-9be787a05b48075222e923e556de87ac.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/7403.png b/art/exported/creatures/7403.png deleted file mode 100644 index ad73c17..0000000 Binary files a/art/exported/creatures/7403.png and /dev/null differ diff --git a/art/exported/creatures/7403.png.import b/art/exported/creatures/7403.png.import deleted file mode 100644 index bef32c4..0000000 --- a/art/exported/creatures/7403.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bl7ru6gm5xnpb" -path.s3tc="res://.godot/imported/7403.png-54b51089a6ff5c2091372d659ba4bdc7.s3tc.ctex" -path.etc2="res://.godot/imported/7403.png-54b51089a6ff5c2091372d659ba4bdc7.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/7403.png" -dest_files=["res://.godot/imported/7403.png-54b51089a6ff5c2091372d659ba4bdc7.s3tc.ctex", "res://.godot/imported/7403.png-54b51089a6ff5c2091372d659ba4bdc7.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/7506.png b/art/exported/creatures/7506.png deleted file mode 100644 index 7e8c5b2..0000000 Binary files a/art/exported/creatures/7506.png and /dev/null differ diff --git a/art/exported/creatures/7506.png.import b/art/exported/creatures/7506.png.import deleted file mode 100644 index c2c99a0..0000000 --- a/art/exported/creatures/7506.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c6qm3sujp8xvg" -path.s3tc="res://.godot/imported/7506.png-5c0f871c623e61a890015626ea315de9.s3tc.ctex" -path.etc2="res://.godot/imported/7506.png-5c0f871c623e61a890015626ea315de9.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/7506.png" -dest_files=["res://.godot/imported/7506.png-5c0f871c623e61a890015626ea315de9.s3tc.ctex", "res://.godot/imported/7506.png-5c0f871c623e61a890015626ea315de9.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/7508.png b/art/exported/creatures/7508.png deleted file mode 100644 index 27f1a59..0000000 Binary files a/art/exported/creatures/7508.png and /dev/null differ diff --git a/art/exported/creatures/7508.png.import b/art/exported/creatures/7508.png.import deleted file mode 100644 index a14d42f..0000000 --- a/art/exported/creatures/7508.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bnw0dw14iyxbh" -path.s3tc="res://.godot/imported/7508.png-555eff33a2cb66622ccca9d7f063522e.s3tc.ctex" -path.etc2="res://.godot/imported/7508.png-555eff33a2cb66622ccca9d7f063522e.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/7508.png" -dest_files=["res://.godot/imported/7508.png-555eff33a2cb66622ccca9d7f063522e.s3tc.ctex", "res://.godot/imported/7508.png-555eff33a2cb66622ccca9d7f063522e.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/801.png b/art/exported/creatures/801.png deleted file mode 100644 index f2e6390..0000000 Binary files a/art/exported/creatures/801.png and /dev/null differ diff --git a/art/exported/creatures/801.png.import b/art/exported/creatures/801.png.import deleted file mode 100644 index 3721440..0000000 --- a/art/exported/creatures/801.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dkocdkoyy2udh" -path.s3tc="res://.godot/imported/801.png-b0324ef8c10934464b8be69cb9eca981.s3tc.ctex" -path.etc2="res://.godot/imported/801.png-b0324ef8c10934464b8be69cb9eca981.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/801.png" -dest_files=["res://.godot/imported/801.png-b0324ef8c10934464b8be69cb9eca981.s3tc.ctex", "res://.godot/imported/801.png-b0324ef8c10934464b8be69cb9eca981.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/802.png b/art/exported/creatures/802.png deleted file mode 100644 index f786031..0000000 Binary files a/art/exported/creatures/802.png and /dev/null differ diff --git a/art/exported/creatures/802.png.import b/art/exported/creatures/802.png.import deleted file mode 100644 index f7e4cc6..0000000 --- a/art/exported/creatures/802.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://b6pkx1koopl7p" -path.s3tc="res://.godot/imported/802.png-1e79f95b56c444a9c7183dada8a14dc3.s3tc.ctex" -path.etc2="res://.godot/imported/802.png-1e79f95b56c444a9c7183dada8a14dc3.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/802.png" -dest_files=["res://.godot/imported/802.png-1e79f95b56c444a9c7183dada8a14dc3.s3tc.ctex", "res://.godot/imported/802.png-1e79f95b56c444a9c7183dada8a14dc3.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/805.png b/art/exported/creatures/805.png deleted file mode 100644 index 727793c..0000000 Binary files a/art/exported/creatures/805.png and /dev/null differ diff --git a/art/exported/creatures/805.png.import b/art/exported/creatures/805.png.import deleted file mode 100644 index db359af..0000000 --- a/art/exported/creatures/805.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cyo0ihvopej4" -path.s3tc="res://.godot/imported/805.png-f508211dd3f15d8b9090675eef9939f7.s3tc.ctex" -path.etc2="res://.godot/imported/805.png-f508211dd3f15d8b9090675eef9939f7.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/805.png" -dest_files=["res://.godot/imported/805.png-f508211dd3f15d8b9090675eef9939f7.s3tc.ctex", "res://.godot/imported/805.png-f508211dd3f15d8b9090675eef9939f7.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/806.png b/art/exported/creatures/806.png deleted file mode 100644 index a8acdb1..0000000 Binary files a/art/exported/creatures/806.png and /dev/null differ diff --git a/art/exported/creatures/806.png.import b/art/exported/creatures/806.png.import deleted file mode 100644 index 8078cb6..0000000 --- a/art/exported/creatures/806.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://c31dw2wqjat40" -path.s3tc="res://.godot/imported/806.png-640099ab90a2d2daf3c4e7229634452c.s3tc.ctex" -path.etc2="res://.godot/imported/806.png-640099ab90a2d2daf3c4e7229634452c.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/806.png" -dest_files=["res://.godot/imported/806.png-640099ab90a2d2daf3c4e7229634452c.s3tc.ctex", "res://.godot/imported/806.png-640099ab90a2d2daf3c4e7229634452c.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/808.png b/art/exported/creatures/808.png deleted file mode 100644 index e218b8e..0000000 Binary files a/art/exported/creatures/808.png and /dev/null differ diff --git a/art/exported/creatures/808.png.import b/art/exported/creatures/808.png.import deleted file mode 100644 index 1126876..0000000 --- a/art/exported/creatures/808.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://x2d4nglo0rlk" -path.s3tc="res://.godot/imported/808.png-bc683347c2e3b627379b7eb047e12a89.s3tc.ctex" -path.etc2="res://.godot/imported/808.png-bc683347c2e3b627379b7eb047e12a89.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/808.png" -dest_files=["res://.godot/imported/808.png-bc683347c2e3b627379b7eb047e12a89.s3tc.ctex", "res://.godot/imported/808.png-bc683347c2e3b627379b7eb047e12a89.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/creatures/fish_placeholder.png b/art/exported/creatures/fish_placeholder.png deleted file mode 100644 index de69afb..0000000 Binary files a/art/exported/creatures/fish_placeholder.png and /dev/null differ diff --git a/art/exported/creatures/fish_placeholder.png.import b/art/exported/creatures/fish_placeholder.png.import deleted file mode 100644 index 87111f4..0000000 --- a/art/exported/creatures/fish_placeholder.png.import +++ /dev/null @@ -1,42 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://d08ce7q8vmlfs" -path.s3tc="res://.godot/imported/fish_placeholder.png-41ecfc07b87417338ce888ac1e2c2362.s3tc.ctex" -path.etc2="res://.godot/imported/fish_placeholder.png-41ecfc07b87417338ce888ac1e2c2362.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} - -[deps] - -source_file="res://art/exported/creatures/fish_placeholder.png" -dest_files=["res://.godot/imported/fish_placeholder.png-41ecfc07b87417338ce888ac1e2c2362.s3tc.ctex", "res://.godot/imported/fish_placeholder.png-41ecfc07b87417338ce888ac1e2c2362.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/items/equipment/net.glb b/art/exported/items/equipment/net.glb deleted file mode 100644 index db4fa34..0000000 Binary files a/art/exported/items/equipment/net.glb and /dev/null differ diff --git a/art/exported/items/equipment/net.glb.import b/art/exported/items/equipment/net.glb.import deleted file mode 100644 index 28667d6..0000000 --- a/art/exported/items/equipment/net.glb.import +++ /dev/null @@ -1,45 +0,0 @@ -[remap] - -importer="scene" -importer_version=1 -type="PackedScene" -uid="uid://dsa6yss1sxfcy" -path="res://.godot/imported/net.glb-cbbc53905aec6a50c4a3322ca7a93b1e.scn" - -[deps] - -source_file="res://art/exported/items/equipment/net.glb" -dest_files=["res://.godot/imported/net.glb-cbbc53905aec6a50c4a3322ca7a93b1e.scn"] - -[params] - -nodes/root_type="" -nodes/root_name="" -nodes/root_script=null -mesh_library/use_node_names_as_mesh_names=false -array_mesh/deduplicate_surfaces=true -nodes/apply_root_scale=true -nodes/root_scale=1.0 -nodes/import_as_skeleton_bones=false -nodes/use_name_suffixes=true -nodes/use_node_type_suffixes=true -meshes/ensure_tangents=true -meshes/generate_lods=true -meshes/create_shadow_meshes=true -meshes/light_baking=1 -meshes/lightmap_texel_size=0.2 -meshes/force_disable_compression=false -skins/use_named_skins=true -animation/import=true -animation/fps=30 -animation/trimming=false -animation/remove_immutable_tracks=true -animation/import_rest_as_RESET=false -import_script/path="" -materials/extract=0 -materials/extract_format=0 -materials/extract_path="" -_subresources={} -gltf/naming_version=2 -gltf/embedded_image_handling=1 -gltf/texture_map_mode=1 diff --git a/art/exported/items/equipment/net_Material.png b/art/exported/items/equipment/net_Material.png deleted file mode 100644 index bd5eff2..0000000 Binary files a/art/exported/items/equipment/net_Material.png and /dev/null differ diff --git a/art/exported/items/equipment/net_Material.png.import b/art/exported/items/equipment/net_Material.png.import deleted file mode 100644 index 0723973..0000000 --- a/art/exported/items/equipment/net_Material.png.import +++ /dev/null @@ -1,45 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://binoqhg45vgbs" -path.s3tc="res://.godot/imported/net_Material.png-f4c4b0400561bc2751fe719b6b1a1e1a.s3tc.ctex" -path.etc2="res://.godot/imported/net_Material.png-f4c4b0400561bc2751fe719b6b1a1e1a.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} -generator_parameters={ -"md5": "ef2c2ae657c9460c90eb808ba5217f39" -} - -[deps] - -source_file="res://art/exported/items/equipment/net_Material.png" -dest_files=["res://.godot/imported/net_Material.png-f4c4b0400561bc2751fe719b6b1a1e1a.s3tc.ctex", "res://.godot/imported/net_Material.png-f4c4b0400561bc2751fe719b6b1a1e1a.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/items/equipment/net_Plane Base Color.png b/art/exported/items/equipment/net_Plane Base Color.png deleted file mode 100644 index 795d0a3..0000000 Binary files a/art/exported/items/equipment/net_Plane Base Color.png and /dev/null differ diff --git a/art/exported/items/equipment/net_Plane Base Color.png.import b/art/exported/items/equipment/net_Plane Base Color.png.import deleted file mode 100644 index 61077be..0000000 --- a/art/exported/items/equipment/net_Plane Base Color.png.import +++ /dev/null @@ -1,45 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cdsabucjy5rpk" -path.s3tc="res://.godot/imported/net_Plane Base Color.png-3875ae3dd186ddf319c55aabb13e663f.s3tc.ctex" -path.etc2="res://.godot/imported/net_Plane Base Color.png-3875ae3dd186ddf319c55aabb13e663f.etc2.ctex" -metadata={ -"imported_formats": ["s3tc_bptc", "etc2_astc"], -"vram_texture": true -} -generator_parameters={ -"md5": "a6001c381d4c8e16bd2d64ea74ccff82" -} - -[deps] - -source_file="res://art/exported/items/equipment/net_Plane Base Color.png" -dest_files=["res://.godot/imported/net_Plane Base Color.png-3875ae3dd186ddf319c55aabb13e663f.s3tc.ctex", "res://.godot/imported/net_Plane Base Color.png-3875ae3dd186ddf319c55aabb13e663f.etc2.ctex"] - -[params] - -compress/mode=2 -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=0 diff --git a/art/exported/system_icons/netfishing.ico b/art/exported/system_icons/netfishing.ico new file mode 100644 index 0000000..dc5bdae Binary files /dev/null and b/art/exported/system_icons/netfishing.ico differ diff --git a/art/exported/system_icons/netfishing_1024.png b/art/exported/system_icons/netfishing_1024.png new file mode 100644 index 0000000..a433e80 Binary files /dev/null and b/art/exported/system_icons/netfishing_1024.png differ diff --git a/art/exported/system_icons/straywild_1024.png.import b/art/exported/system_icons/netfishing_1024.png.import similarity index 74% rename from art/exported/system_icons/straywild_1024.png.import rename to art/exported/system_icons/netfishing_1024.png.import index dea156a..08aa925 100644 --- a/art/exported/system_icons/straywild_1024.png.import +++ b/art/exported/system_icons/netfishing_1024.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://bkh5hw8wwu8pc" -path="res://.godot/imported/straywild_1024.png-b9b5c159c9fcecc21b04324370d4522f.ctex" +path="res://.godot/imported/netfishing_1024.png-7c53a099ed2743b4a623c258641b1d29.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://art/exported/system_icons/straywild_1024.png" -dest_files=["res://.godot/imported/straywild_1024.png-b9b5c159c9fcecc21b04324370d4522f.ctex"] +source_file="res://art/exported/system_icons/netfishing_1024.png" +dest_files=["res://.godot/imported/netfishing_1024.png-7c53a099ed2743b4a623c258641b1d29.ctex"] [params] diff --git a/art/exported/system_icons/netfishing_256.png b/art/exported/system_icons/netfishing_256.png new file mode 100644 index 0000000..1e7be72 Binary files /dev/null and b/art/exported/system_icons/netfishing_256.png differ diff --git a/art/exported/system_icons/straywild_256.png.import b/art/exported/system_icons/netfishing_256.png.import similarity index 74% rename from art/exported/system_icons/straywild_256.png.import rename to art/exported/system_icons/netfishing_256.png.import index 5726347..34d5d27 100644 --- a/art/exported/system_icons/straywild_256.png.import +++ b/art/exported/system_icons/netfishing_256.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://cty16m8ydla06" -path="res://.godot/imported/straywild_256.png-87b7e62e710eae4d3e3ed24a8454ca6d.ctex" +path="res://.godot/imported/netfishing_256.png-d9dfc9c7871ac38bc73d09d00df679be.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://art/exported/system_icons/straywild_256.png" -dest_files=["res://.godot/imported/straywild_256.png-87b7e62e710eae4d3e3ed24a8454ca6d.ctex"] +source_file="res://art/exported/system_icons/netfishing_256.png" +dest_files=["res://.godot/imported/netfishing_256.png-d9dfc9c7871ac38bc73d09d00df679be.ctex"] [params] diff --git a/art/exported/system_icons/straywild.ico b/art/exported/system_icons/straywild.ico deleted file mode 100644 index c03de8e..0000000 Binary files a/art/exported/system_icons/straywild.ico and /dev/null differ diff --git a/art/exported/system_icons/straywild_1024.png b/art/exported/system_icons/straywild_1024.png deleted file mode 100644 index 2a3b204..0000000 Binary files a/art/exported/system_icons/straywild_1024.png and /dev/null differ diff --git a/art/exported/system_icons/straywild_256.png b/art/exported/system_icons/straywild_256.png deleted file mode 100644 index 98275eb..0000000 Binary files a/art/exported/system_icons/straywild_256.png and /dev/null differ diff --git a/art/source/characters/base/straywild_base_character.blend b/art/source/characters/base/netfishing_base_character.blend similarity index 100% rename from art/source/characters/base/straywild_base_character.blend rename to art/source/characters/base/netfishing_base_character.blend diff --git a/art/source/characters/base/straywild_base_character.blend.import b/art/source/characters/base/netfishing_base_character.blend.import similarity index 84% rename from art/source/characters/base/straywild_base_character.blend.import rename to art/source/characters/base/netfishing_base_character.blend.import index 2cab53c..f6df489 100644 --- a/art/source/characters/base/straywild_base_character.blend.import +++ b/art/source/characters/base/netfishing_base_character.blend.import @@ -4,12 +4,12 @@ importer="scene" importer_version=1 type="PackedScene" uid="uid://cb4bcakhoprm8" -path="res://.godot/imported/straywild_base_character.blend-02abbfdb9b1d393f1bd3cfface615e27.scn" +path="res://.godot/imported/netfishing_base_character.blend-65bf3bc5b77cc1a37fa3f81ebd808d37.scn" [deps] -source_file="res://art/source/characters/base/straywild_base_character.blend" -dest_files=["res://.godot/imported/straywild_base_character.blend-02abbfdb9b1d393f1bd3cfface615e27.scn"] +source_file="res://art/source/characters/base/netfishing_base_character.blend" +dest_files=["res://.godot/imported/netfishing_base_character.blend-65bf3bc5b77cc1a37fa3f81ebd808d37.scn"] [params] diff --git a/art/source/characters/base/straywild_base_character.glb.import b/art/source/characters/base/netfishing_base_character.glb.import similarity index 77% rename from art/source/characters/base/straywild_base_character.glb.import rename to art/source/characters/base/netfishing_base_character.glb.import index bda93c0..5a38b76 100644 --- a/art/source/characters/base/straywild_base_character.glb.import +++ b/art/source/characters/base/netfishing_base_character.glb.import @@ -4,12 +4,12 @@ importer="scene" importer_version=1 type="PackedScene" uid="uid://bfhnup14638r7" -path="res://.godot/imported/straywild_base_character.glb-c9650c715a1b5b9ae0d8541191f7d7a9.scn" +path="res://.godot/imported/netfishing_base_character.glb-cbdc33eaa4fcd1d2d2a8f4a463b228d6.scn" [deps] -source_file="res://art/source/characters/base/straywild_base_character.glb" -dest_files=["res://.godot/imported/straywild_base_character.glb-c9650c715a1b5b9ae0d8541191f7d7a9.scn"] +source_file="res://art/source/characters/base/netfishing_base_character.glb" +dest_files=["res://.godot/imported/netfishing_base_character.glb-cbdc33eaa4fcd1d2d2a8f4a463b228d6.scn"] [params] diff --git a/art/source/characters/base/straywild_character_source.blend b/art/source/characters/base/netfishing_character_source.blend similarity index 100% rename from art/source/characters/base/straywild_character_source.blend rename to art/source/characters/base/netfishing_character_source.blend diff --git a/art/source/characters/base/straywild_character_source.blend.import b/art/source/characters/base/netfishing_character_source.blend.import similarity index 84% rename from art/source/characters/base/straywild_character_source.blend.import rename to art/source/characters/base/netfishing_character_source.blend.import index 741c389..8288280 100644 --- a/art/source/characters/base/straywild_character_source.blend.import +++ b/art/source/characters/base/netfishing_character_source.blend.import @@ -4,12 +4,12 @@ importer="scene" importer_version=1 type="PackedScene" uid="uid://d38y8blk2w5c5" -path="res://.godot/imported/straywild_character_source.blend-0e7b8a87008f88e309ad73a63561ef5b.scn" +path="res://.godot/imported/netfishing_character_source.blend-1d18c95606937d4c8bcb87e334e02ee5.scn" [deps] -source_file="res://art/source/characters/base/straywild_character_source.blend" -dest_files=["res://.godot/imported/straywild_character_source.blend-0e7b8a87008f88e309ad73a63561ef5b.scn"] +source_file="res://art/source/characters/base/netfishing_character_source.blend" +dest_files=["res://.godot/imported/netfishing_character_source.blend-1d18c95606937d4c8bcb87e334e02ee5.scn"] [params] diff --git a/art/source/characters/base/straywild_character_source.glb.import b/art/source/characters/base/netfishing_character_source.glb.import similarity index 76% rename from art/source/characters/base/straywild_character_source.glb.import rename to art/source/characters/base/netfishing_character_source.glb.import index bbcee6a..61158c5 100644 --- a/art/source/characters/base/straywild_character_source.glb.import +++ b/art/source/characters/base/netfishing_character_source.glb.import @@ -4,12 +4,12 @@ importer="scene" importer_version=1 type="PackedScene" uid="uid://3uq4cxiomttt" -path="res://.godot/imported/straywild_character_source.glb-3a8ccc55dbe60da1b70b62110b206353.scn" +path="res://.godot/imported/netfishing_character_source.glb-9c98ee44b142c5b3d06f0838b7d2c9c4.scn" [deps] -source_file="res://art/source/characters/base/straywild_character_source.glb" -dest_files=["res://.godot/imported/straywild_character_source.glb-3a8ccc55dbe60da1b70b62110b206353.scn"] +source_file="res://art/source/characters/base/netfishing_character_source.glb" +dest_files=["res://.godot/imported/netfishing_character_source.glb-9c98ee44b142c5b3d06f0838b7d2c9c4.scn"] [params] diff --git a/art/source/characters/base/straywild_character_source_eyes1_eyebrows1.png b/art/source/characters/base/netfishing_character_source_eyes1_eyebrows1.png similarity index 100% rename from art/source/characters/base/straywild_character_source_eyes1_eyebrows1.png rename to art/source/characters/base/netfishing_character_source_eyes1_eyebrows1.png diff --git a/art/source/characters/base/straywild_character_source_eyes1_eyebrows1.png.import b/art/source/characters/base/netfishing_character_source_eyes1_eyebrows1.png.import similarity index 58% rename from art/source/characters/base/straywild_character_source_eyes1_eyebrows1.png.import rename to art/source/characters/base/netfishing_character_source_eyes1_eyebrows1.png.import index dba5a5f..e7aade1 100644 --- a/art/source/characters/base/straywild_character_source_eyes1_eyebrows1.png.import +++ b/art/source/characters/base/netfishing_character_source_eyes1_eyebrows1.png.import @@ -3,8 +3,8 @@ importer="texture" type="CompressedTexture2D" uid="uid://bdomsntfeovnc" -path.s3tc="res://.godot/imported/straywild_character_source_eyes1_eyebrows1.png-3c638377e631a94b998336d0ca1d8b8e.s3tc.ctex" -path.etc2="res://.godot/imported/straywild_character_source_eyes1_eyebrows1.png-3c638377e631a94b998336d0ca1d8b8e.etc2.ctex" +path.s3tc="res://.godot/imported/netfishing_character_source_eyes1_eyebrows1.png-a0b9f287e407afd9688e141dc5f2b801.s3tc.ctex" +path.etc2="res://.godot/imported/netfishing_character_source_eyes1_eyebrows1.png-a0b9f287e407afd9688e141dc5f2b801.etc2.ctex" metadata={ "imported_formats": ["s3tc_bptc", "etc2_astc"], "vram_texture": true @@ -15,8 +15,8 @@ generator_parameters={ [deps] -source_file="res://art/source/characters/base/straywild_character_source_eyes1_eyebrows1.png" -dest_files=["res://.godot/imported/straywild_character_source_eyes1_eyebrows1.png-3c638377e631a94b998336d0ca1d8b8e.s3tc.ctex", "res://.godot/imported/straywild_character_source_eyes1_eyebrows1.png-3c638377e631a94b998336d0ca1d8b8e.etc2.ctex"] +source_file="res://art/source/characters/base/netfishing_character_source_eyes1_eyebrows1.png" +dest_files=["res://.godot/imported/netfishing_character_source_eyes1_eyebrows1.png-a0b9f287e407afd9688e141dc5f2b801.s3tc.ctex", "res://.godot/imported/netfishing_character_source_eyes1_eyebrows1.png-a0b9f287e407afd9688e141dc5f2b801.etc2.ctex"] [params] diff --git a/art/source/characters/base/straywild_character_source_eyes_simple_shine.png b/art/source/characters/base/netfishing_character_source_eyes_simple_shine.png similarity index 100% rename from art/source/characters/base/straywild_character_source_eyes_simple_shine.png rename to art/source/characters/base/netfishing_character_source_eyes_simple_shine.png diff --git a/art/source/characters/base/straywild_character_source_eyes_simple_shine.png.import b/art/source/characters/base/netfishing_character_source_eyes_simple_shine.png.import similarity index 58% rename from art/source/characters/base/straywild_character_source_eyes_simple_shine.png.import rename to art/source/characters/base/netfishing_character_source_eyes_simple_shine.png.import index 8b99f72..e49d401 100644 --- a/art/source/characters/base/straywild_character_source_eyes_simple_shine.png.import +++ b/art/source/characters/base/netfishing_character_source_eyes_simple_shine.png.import @@ -3,8 +3,8 @@ importer="texture" type="CompressedTexture2D" uid="uid://du4u6meapay05" -path.s3tc="res://.godot/imported/straywild_character_source_eyes_simple_shine.png-97500ad873e0da3aaf0e9e3c3198e38a.s3tc.ctex" -path.etc2="res://.godot/imported/straywild_character_source_eyes_simple_shine.png-97500ad873e0da3aaf0e9e3c3198e38a.etc2.ctex" +path.s3tc="res://.godot/imported/netfishing_character_source_eyes_simple_shine.png-965743f3716320bbc385096956ffef2d.s3tc.ctex" +path.etc2="res://.godot/imported/netfishing_character_source_eyes_simple_shine.png-965743f3716320bbc385096956ffef2d.etc2.ctex" metadata={ "imported_formats": ["s3tc_bptc", "etc2_astc"], "vram_texture": true @@ -15,8 +15,8 @@ generator_parameters={ [deps] -source_file="res://art/source/characters/base/straywild_character_source_eyes_simple_shine.png" -dest_files=["res://.godot/imported/straywild_character_source_eyes_simple_shine.png-97500ad873e0da3aaf0e9e3c3198e38a.s3tc.ctex", "res://.godot/imported/straywild_character_source_eyes_simple_shine.png-97500ad873e0da3aaf0e9e3c3198e38a.etc2.ctex"] +source_file="res://art/source/characters/base/netfishing_character_source_eyes_simple_shine.png" +dest_files=["res://.godot/imported/netfishing_character_source_eyes_simple_shine.png-965743f3716320bbc385096956ffef2d.s3tc.ctex", "res://.godot/imported/netfishing_character_source_eyes_simple_shine.png-965743f3716320bbc385096956ffef2d.etc2.ctex"] [params] diff --git a/art/source/characters/base/straywild_character_source_mouth1.png b/art/source/characters/base/netfishing_character_source_mouth1.png similarity index 100% rename from art/source/characters/base/straywild_character_source_mouth1.png rename to art/source/characters/base/netfishing_character_source_mouth1.png diff --git a/art/source/characters/base/straywild_character_source_mouth1.png.import b/art/source/characters/base/netfishing_character_source_mouth1.png.import similarity index 60% rename from art/source/characters/base/straywild_character_source_mouth1.png.import rename to art/source/characters/base/netfishing_character_source_mouth1.png.import index 5dd84f4..8ff49a4 100644 --- a/art/source/characters/base/straywild_character_source_mouth1.png.import +++ b/art/source/characters/base/netfishing_character_source_mouth1.png.import @@ -3,8 +3,8 @@ importer="texture" type="CompressedTexture2D" uid="uid://css0k0virgoph" -path.s3tc="res://.godot/imported/straywild_character_source_mouth1.png-ff2ed280ca7e84bdd0749ed5b5b16f54.s3tc.ctex" -path.etc2="res://.godot/imported/straywild_character_source_mouth1.png-ff2ed280ca7e84bdd0749ed5b5b16f54.etc2.ctex" +path.s3tc="res://.godot/imported/netfishing_character_source_mouth1.png-b323b9153acd3f552f35c1d1108567c8.s3tc.ctex" +path.etc2="res://.godot/imported/netfishing_character_source_mouth1.png-b323b9153acd3f552f35c1d1108567c8.etc2.ctex" metadata={ "imported_formats": ["s3tc_bptc", "etc2_astc"], "vram_texture": true @@ -15,8 +15,8 @@ generator_parameters={ [deps] -source_file="res://art/source/characters/base/straywild_character_source_mouth1.png" -dest_files=["res://.godot/imported/straywild_character_source_mouth1.png-ff2ed280ca7e84bdd0749ed5b5b16f54.s3tc.ctex", "res://.godot/imported/straywild_character_source_mouth1.png-ff2ed280ca7e84bdd0749ed5b5b16f54.etc2.ctex"] +source_file="res://art/source/characters/base/netfishing_character_source_mouth1.png" +dest_files=["res://.godot/imported/netfishing_character_source_mouth1.png-b323b9153acd3f552f35c1d1108567c8.s3tc.ctex", "res://.godot/imported/netfishing_character_source_mouth1.png-b323b9153acd3f552f35c1d1108567c8.etc2.ctex"] [params] diff --git a/art/source/characters/base/straywild_character_source_mouth_three.png b/art/source/characters/base/netfishing_character_source_mouth_three.png similarity index 100% rename from art/source/characters/base/straywild_character_source_mouth_three.png rename to art/source/characters/base/netfishing_character_source_mouth_three.png diff --git a/art/source/characters/base/straywild_character_source_mouth_three.png.import b/art/source/characters/base/netfishing_character_source_mouth_three.png.import similarity index 59% rename from art/source/characters/base/straywild_character_source_mouth_three.png.import rename to art/source/characters/base/netfishing_character_source_mouth_three.png.import index 4b2413d..6abae09 100644 --- a/art/source/characters/base/straywild_character_source_mouth_three.png.import +++ b/art/source/characters/base/netfishing_character_source_mouth_three.png.import @@ -3,8 +3,8 @@ importer="texture" type="CompressedTexture2D" uid="uid://di20c1x8vksi1" -path.s3tc="res://.godot/imported/straywild_character_source_mouth_three.png-adf40ee30e725bafadf6a8fa4dbd8abf.s3tc.ctex" -path.etc2="res://.godot/imported/straywild_character_source_mouth_three.png-adf40ee30e725bafadf6a8fa4dbd8abf.etc2.ctex" +path.s3tc="res://.godot/imported/netfishing_character_source_mouth_three.png-6bf79d4c9c660d30fb7fc365f0039313.s3tc.ctex" +path.etc2="res://.godot/imported/netfishing_character_source_mouth_three.png-6bf79d4c9c660d30fb7fc365f0039313.etc2.ctex" metadata={ "imported_formats": ["s3tc_bptc", "etc2_astc"], "vram_texture": true @@ -15,8 +15,8 @@ generator_parameters={ [deps] -source_file="res://art/source/characters/base/straywild_character_source_mouth_three.png" -dest_files=["res://.godot/imported/straywild_character_source_mouth_three.png-adf40ee30e725bafadf6a8fa4dbd8abf.s3tc.ctex", "res://.godot/imported/straywild_character_source_mouth_three.png-adf40ee30e725bafadf6a8fa4dbd8abf.etc2.ctex"] +source_file="res://art/source/characters/base/netfishing_character_source_mouth_three.png" +dest_files=["res://.godot/imported/netfishing_character_source_mouth_three.png-6bf79d4c9c660d30fb7fc365f0039313.s3tc.ctex", "res://.godot/imported/netfishing_character_source_mouth_three.png-6bf79d4c9c660d30fb7fc365f0039313.etc2.ctex"] [params] diff --git a/art/source/characters/base/straywild_character_source_nose1.2.png b/art/source/characters/base/netfishing_character_source_nose1.2.png similarity index 100% rename from art/source/characters/base/straywild_character_source_nose1.2.png rename to art/source/characters/base/netfishing_character_source_nose1.2.png diff --git a/art/source/characters/base/straywild_character_source_nose1.2.png.import b/art/source/characters/base/netfishing_character_source_nose1.2.png.import similarity index 60% rename from art/source/characters/base/straywild_character_source_nose1.2.png.import rename to art/source/characters/base/netfishing_character_source_nose1.2.png.import index e0c3667..2fbb165 100644 --- a/art/source/characters/base/straywild_character_source_nose1.2.png.import +++ b/art/source/characters/base/netfishing_character_source_nose1.2.png.import @@ -3,8 +3,8 @@ importer="texture" type="CompressedTexture2D" uid="uid://7dwa0bfev1rk" -path.s3tc="res://.godot/imported/straywild_character_source_nose1.2.png-0a8355472731651768eaa5fc2ee168d4.s3tc.ctex" -path.etc2="res://.godot/imported/straywild_character_source_nose1.2.png-0a8355472731651768eaa5fc2ee168d4.etc2.ctex" +path.s3tc="res://.godot/imported/netfishing_character_source_nose1.2.png-ef4dd456c5b0f0db73b3dc063bfba941.s3tc.ctex" +path.etc2="res://.godot/imported/netfishing_character_source_nose1.2.png-ef4dd456c5b0f0db73b3dc063bfba941.etc2.ctex" metadata={ "imported_formats": ["s3tc_bptc", "etc2_astc"], "vram_texture": true @@ -15,8 +15,8 @@ generator_parameters={ [deps] -source_file="res://art/source/characters/base/straywild_character_source_nose1.2.png" -dest_files=["res://.godot/imported/straywild_character_source_nose1.2.png-0a8355472731651768eaa5fc2ee168d4.s3tc.ctex", "res://.godot/imported/straywild_character_source_nose1.2.png-0a8355472731651768eaa5fc2ee168d4.etc2.ctex"] +source_file="res://art/source/characters/base/netfishing_character_source_nose1.2.png" +dest_files=["res://.godot/imported/netfishing_character_source_nose1.2.png-ef4dd456c5b0f0db73b3dc063bfba941.s3tc.ctex", "res://.godot/imported/netfishing_character_source_nose1.2.png-ef4dd456c5b0f0db73b3dc063bfba941.etc2.ctex"] [params] diff --git a/art/source/characters/base/straywild_character_source_nose_dog_round.png b/art/source/characters/base/netfishing_character_source_nose_dog_round.png similarity index 100% rename from art/source/characters/base/straywild_character_source_nose_dog_round.png rename to art/source/characters/base/netfishing_character_source_nose_dog_round.png diff --git a/art/source/characters/base/straywild_character_source_nose_dog_round.png.import b/art/source/characters/base/netfishing_character_source_nose_dog_round.png.import similarity index 59% rename from art/source/characters/base/straywild_character_source_nose_dog_round.png.import rename to art/source/characters/base/netfishing_character_source_nose_dog_round.png.import index 5fe079e..12333e8 100644 --- a/art/source/characters/base/straywild_character_source_nose_dog_round.png.import +++ b/art/source/characters/base/netfishing_character_source_nose_dog_round.png.import @@ -3,8 +3,8 @@ importer="texture" type="CompressedTexture2D" uid="uid://b0p55hwdry2cr" -path.s3tc="res://.godot/imported/straywild_character_source_nose_dog_round.png-d1ea0db61e41dfeeed3b599286ffb82c.s3tc.ctex" -path.etc2="res://.godot/imported/straywild_character_source_nose_dog_round.png-d1ea0db61e41dfeeed3b599286ffb82c.etc2.ctex" +path.s3tc="res://.godot/imported/netfishing_character_source_nose_dog_round.png-1c89150861ebff3f930698c1747a0369.s3tc.ctex" +path.etc2="res://.godot/imported/netfishing_character_source_nose_dog_round.png-1c89150861ebff3f930698c1747a0369.etc2.ctex" metadata={ "imported_formats": ["s3tc_bptc", "etc2_astc"], "vram_texture": true @@ -15,8 +15,8 @@ generator_parameters={ [deps] -source_file="res://art/source/characters/base/straywild_character_source_nose_dog_round.png" -dest_files=["res://.godot/imported/straywild_character_source_nose_dog_round.png-d1ea0db61e41dfeeed3b599286ffb82c.s3tc.ctex", "res://.godot/imported/straywild_character_source_nose_dog_round.png-d1ea0db61e41dfeeed3b599286ffb82c.etc2.ctex"] +source_file="res://art/source/characters/base/netfishing_character_source_nose_dog_round.png" +dest_files=["res://.godot/imported/netfishing_character_source_nose_dog_round.png-1c89150861ebff3f930698c1747a0369.s3tc.ctex", "res://.godot/imported/netfishing_character_source_nose_dog_round.png-1c89150861ebff3f930698c1747a0369.etc2.ctex"] [params] diff --git a/art/source/items/equipment/net.blend b/art/source/items/equipment/net.blend deleted file mode 100644 index 0a7ba4c..0000000 Binary files a/art/source/items/equipment/net.blend and /dev/null differ diff --git a/docs/ATTRIBUTION.md b/docs/ATTRIBUTION.md index d8676f0..2eac3e5 100644 --- a/docs/ATTRIBUTION.md +++ b/docs/ATTRIBUTION.md @@ -7,19 +7,19 @@ prove authorship or licensing. ## Ownership and credits -straywild is jointly owned, developed, and published by its creators, +NETfishing is jointly owned, developed, and published by its creators, publicly credited as Voyager and Endeavour and operating collectively as the independent team Woofmeow. - Voyager: co-owner, developer, project director, creator of the game's - provisional fish placeholder artwork and original 3D work except where - another creator is credited, and composer of the original title track + current provisional fish artwork and original 3D work except where another + creator is credited, and composer of the original title track `audio/music/title/as_in_four_wolves.ogg`, dusk/world track `audio/music/world/craft.mp3`, and the synthesized robot animalese tones. - Endeavour: co-owner, developer, and 2D artist. Her incorporated work includes - character pattern/channel-map art, environment and UI art, item art, and - finished fish and creature artwork. Planned work is not described as - incorporated until its files enter the project. + character pattern/channel-map art, environment and UI art, and item art. + Planned work is not described as incorporated until its files enter the + project. - chillnfill: contributor of original 3D models for the character bodies and arms, ears and tails, and multiple world props and decorative assets, including trees and bridges. The contributor requested to be credited as @@ -31,7 +31,7 @@ independent team Woofmeow. Voyager is also the original catalog porter credit in PortMaster metadata. Third-party creators are credited with their individual records below. Those -credits do not imply endorsement of straywild, Woofmeow, or its owners. +credits do not imply endorsement of NETfishing, Woofmeow, or its owners. ## License map @@ -41,7 +41,7 @@ Do not describe the complete repository as covered only by the GPL. | --- | --- | | Project-owned software code, shaders, code-oriented scene/resource configuration, tests, build tooling, and server software | GPL-3.0-or-later; source-root `LICENSE` and packaged `GPL-3.0-or-later.txt` | | Project-owned artwork, textures, models, animation, music, audio, narrative content, characters, and other creative assets | Source-root or packaged `ASSET-LICENSE.md` | -| straywild and Woofmeow names, logos, icons, and official identity | Source-root or packaged `TRADEMARKS.md` | +| NETfishing and Woofmeow names, logos, icons, and official identity | Source-root or packaged `TRADEMARKS.md` | | Third-party engines, fonts, sounds, and other external material | Their original terms, recorded below and in adjacent license texts where applicable | | Previously accepted or expressly invited outside contributions | Source-root `CONTRIBUTOR-TERMS.md` plus any separately signed agreement | @@ -50,22 +50,22 @@ the terms of their source material or generating code. Repository location alone does not relicense third-party material. The GPL permits study, modification, redistribution, and forks of covered -code. It does not grant rights to straywild creative assets or branding. The -straywild Asset License separately permits qualifying noncommercial add-on -Mods for official straywild software and narrowly scoped Contribution Forks +code. It does not grant rights to NETfishing creative assets or branding. The +NETfishing Asset License separately permits qualifying noncommercial add-on +Mods for official NETfishing software and narrowly scoped Contribution Forks used to prepare changes for possible upstream inclusion. It does not permit those assets to accompany independent code forks, clones, standalone games, unrelated products, or general-purpose asset packs. A GPL fork that is not a -qualifying Contribution Fork must replace straywild assets and reserved +qualifying Contribution Fork must replace NETfishing assets and reserved branding with independently licensed material and a distinct identity. Project-wide code, asset, branding, or contributor-license changes require -written approval from both straywild owners under their private joint +written approval from both NETfishing owners under their private joint ownership agreement. ## Godot Engine notice -straywild uses Godot Engine under the MIT License: +NETfishing uses Godot Engine under the MIT License: > Copyright (c) 2014-present Godot Engine contributors. > Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. @@ -103,7 +103,7 @@ FreeType for font rendering; portions are copyright The FreeType Project Runtime file: `ui/fonts/seattle_avenue.otf`; source, hash, and original notice: `ui/fonts/Seattle-Avenue-LICENSE.txt`. -Public-domain fonts are not governed by the straywild Asset License. +Public-domain fonts are not governed by the NETfishing Asset License. ## Intake policy @@ -122,7 +122,7 @@ owners' private project records. This public document should contain the credits and license notices needed by recipients; it should not duplicate a changing file inventory that can be derived from the repository itself. -straywild does not accept unsolicited contributions. For work expressly +NETfishing does not accept unsolicited contributions. For work expressly invited by both Owners, maintainers must obtain affirmative agreement to the source-root `CONTRIBUTOR-TERMS.md` and retain the written invitation and agreement in a durable Project record. @@ -132,20 +132,17 @@ locations only and must never appear in scenes or resources. ## Project-created artwork and music -Fish entries without finished replacement artwork use provisional placeholder -artwork by Voyager. Incorporated finished fish and creature artwork is by -Endeavour; work that has not entered this repository is not presented here as -part of the game or attributed as a shipped asset. +The current in-game fish images are provisional artwork by Voyager. Endeavour +is creating replacement fish artwork, but work that has not been incorporated +into this repository is not presented here as part of the game or attributed +as a shipped asset. Endeavour's incorporated 2D contributions include the inventory notepad, -environment and UI artwork, item artwork, finished fish and creature artwork, -and character customization pattern and channel-map artwork. Voyager's -incorporated original work includes 3D assets, the provisional fish -placeholder artwork, the title and dusk music identified above, and the robot -animalese tones. The current starter motorcoach exterior was supplied by a -contributing artist who released its copyright to the project; the original -and cleaned source files are retained in the owners' source-work archive. -Specific contributor exceptions are recorded below and in the in-game credits. +environment and UI artwork, item artwork, and character customization pattern +and channel-map artwork. Voyager's incorporated original work includes 3D +assets, the provisional fish artwork, the title and dusk music identified +above, and the robot animalese tones. Specific contributor exceptions are +recorded below and in the in-game credits. These credits intentionally describe work by creator and contribution family instead of maintaining a second file-by-file asset catalog. Runtime resources @@ -161,8 +158,8 @@ against the repository when this record was revised. | Material | Runtime location | Credit or terms | | --- | --- | --- | -| Kat animalese alphabet and number sounds | `sound/dialogue/animalese/alphanumeric/` | Project-processed derivatives of the original source voice recording supplied by straywild community member kat. | -| Kim animalese alphabet and number sounds | `sound/dialogue/animalese/kim/` | Project-processed derivatives of the original source voice recording supplied by straywild community member kim. | +| Kat animalese alphabet and number sounds | `sound/dialogue/animalese/alphanumeric/` | Project-processed derivatives of the original source voice recording supplied by NETfishing community member kat. | +| Kim animalese alphabet and number sounds | `sound/dialogue/animalese/kim/` | Project-processed derivatives of the original source voice recording supplied by NETfishing community member kim. | | Tuffy font | `ui/fonts/Tuffy_Bold.otf` | Public-domain dedication in `ui/fonts/Tuffy-LICENSE.txt`. | | Seattle Avenue font | `ui/fonts/seattle_avenue.otf` | Public-domain font by JLH Fonts; notice in `ui/fonts/Seattle-Avenue-LICENSE.txt`. | | Fishing fight loop | `audio/sfx/fishing/fighting.wav` | Edited from “Spinning reel.wav” by Freesound user tosha73, sound 509902, CC0. | @@ -195,10 +192,9 @@ https://creativecommons.org/licenses/by/3.0/legalcode. ### Endeavour 2D contribution record Endeavour created the incorporated character customization patterns and -channel maps as well as additional UI, environment, item, fish, and creature -artwork. Voyager's provisional fish placeholder is not part of this credit. -New or replacement art is added to this record only after it is accepted into -the repository. +channel maps as well as additional UI, environment, and item artwork. The +current provisional fish artwork is not part of this credit. New or replacement +art is added to this record only after it is accepted into the repository. The exact current filenames and bytes are intentionally not copied into this document. The character appearance resources and Git history are the diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 76ed032..9fbd5b9 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -1,6 +1,6 @@ # Development reference -This is the authoritative reference for straywild architecture, engineering +This is the authoritative reference for NETfishing architecture, engineering decisions, content policy, authoring, and validation. ## Architecture @@ -43,7 +43,7 @@ open host may publish a short-lived room lease, and the shared Join Game page may browse compatible leases before handing the selected address back to the existing direct ENet connection flow. The directory does not carry gameplay traffic or become a gameplay authority. Its base URL comes from -`network/discovery/base_url`, with `straywild_DISCOVERY_URL` available as a +`network/discovery/base_url`, with `NETFISHING_DISCOVERY_URL` available as a development/deployment override. Friendships are local identity relationships shared across save slots. A live, @@ -261,11 +261,9 @@ copies of the entire customization catalog. ### Texture sampling -straywild artwork uses nearest-neighbor sampling. Do not enable linear, -bilinear, trilinear, or anisotropic texture filtering. Shader samplers must -declare `filter_nearest`. The three canonical repeating terrain textures are -the sole mipmap exception: their projected shader uses nearest-filtered -mipmaps to prevent distance aliasing without smoothing nearby pixels. The +NETfishing artwork always uses nearest-neighbor sampling. Do not enable linear, +bilinear, trilinear, or anisotropic texture filtering, and do not generate +mipmaps. Shader samplers must declare `filter_nearest`. The `TextureSamplingPolicy` autoload applies nearest sampling to 2D canvas items, Sprite3D presentations, imported 3D materials, and dynamically constructed mesh materials at runtime. @@ -351,10 +349,10 @@ godot --headless --path . --script tests/fish_catalog_content_validation.gd rm -rf -- "$test_root" ``` -Do not point `straywild_DATA_DIR` at an arbitrary empty directory; it is an +Do not point `NETFISHING_DATA_DIR` at an arbitrary empty directory; it is an explicit portable-data override and must identify a valid data root. The PortMaster launcher is the narrow exception: it also sets -`straywild_CREATE_DATA_DIR=1`, allowing the game to initialize its known empty +`NETFISHING_CREATE_DATA_DIR=1`, allowing the game to initialize its known empty external save directory on first launch. Headless tests cannot prove visual alignment, mouse routing, shader appearance, diff --git a/docs/PORTMASTER.md b/docs/PORTMASTER.md index 803f72f..e8c24f6 100644 --- a/docs/PORTMASTER.md +++ b/docs/PORTMASTER.md @@ -1,15 +1,15 @@ # PortMaster reference -straywild's PortMaster release is a canonical PortMaster package, not a +NETfishing's PortMaster release is a canonical PortMaster package, not a version-named generic ZIP. The installer-facing archive must be named -`straywild.zip`, and its root must contain exactly: +`netfishing.zip`, and its root must contain exactly: ```text -straywild.sh -straywild/ +NETfishing.sh +netfishing/ ``` -`port.json` belongs at `straywild/port.json` in the distributable archive. +`port.json` belongs at `netfishing/port.json` in the distributable archive. The upstream source-submission layout keeps it beside the launcher and port directory, but PortMaster's release builder relocates it into the declared port directory. Do not copy the source-submission layout directly into a @@ -17,7 +17,7 @@ release ZIP. HarbourMaster's installer also relocates recognized non-script files found at an archive root into the detected port directory. That compatibility behavior -masked straywild's former root-level `port.json` during auto-install tests. +masked NETfishing's former root-level `port.json` during auto-install tests. Directly extracting the same archive into `/ports` did not perform the repair. Do not rely on installer relocation; build the distributable layout correctly. @@ -26,34 +26,30 @@ directory. The templates in `scripts/portmaster/` are authoritative. ## Release contract -- `port.json` uses schema version 4, names `straywild.zip`, and marks the +- `port.json` uses schema version 4, names `netfishing.zip`, and marks the self-contained package ready to run. -- `straywild.sh` does not contain a `# PORTMASTER:` signature in the source or +- `NETfishing.sh` does not contain a `# PORTMASTER:` signature in the source or distributable archive. HarbourMaster adds that installation marker when it installs the port. -- The executable is `straywild/straywild.aarch64`. +- The executable is `netfishing/NETfishing.aarch64`. - The package declares AArch64, two analog sticks, GLIBC 2.28, and `weston_pkg_0.2.squashfs`. -- The launcher starts GPTOKEYB with the explicit `straywild.gptk` no-op map. +- The launcher starts GPTOKEYB with the explicit `netfishing.gptk` no-op map. Every keyboard and mouse binding is disabled, leaving only GPTOKEYB's - device-specific force-quit chord while Godot and straywild's controller + device-specific force-quit chord while Godot and NETfishing's controller mapping manager handle gameplay input. The explicit map also avoids the anomalous controller behavior observed on ROCKNIX without a passthrough map. - The launcher calls `pm_platform_helper` for the game executable after starting GPTOKEYB and calls `pm_finish` after the game exits. -- straywild automatically creates player data for new installations under - `ports/saves/straywild/` and does not present the in-game folder picker. +- NETfishing automatically creates player data for new installations under + `ports/saves/netfishing/` and does not present the in-game folder picker. - Existing installations with a selected data root keep that location when upgraded. Device-local data, configuration, and cache remain under - `straywild/conf/data`, `straywild/conf/config`, and - `straywild/conf/cache`. -- A rebrand upgrade copies an existing `netfishing/conf/` tree into the new - `straywild/conf/` tree when the latter does not exist. It also reuses an - existing `ports/saves/netfishing/` data root rather than creating an empty - replacement. New installations use straywild paths exclusively. + `netfishing/conf/data`, `netfishing/conf/config`, and + `netfishing/conf/cache`. - The archive must not contain `conf/`, saves, identities, logs, source files, `.git`, or `.godot` content. -- Release downloads must publish only the canonical `straywild.zip` for this +- Release downloads must publish only the canonical `netfishing.zip` for this platform. Do not also publish a byte-identical versioned PortMaster ZIP; HarbourMaster identifies the port by its canonical archive name and the Forgejo release tag already supplies the version. @@ -71,7 +67,7 @@ The script deletes and regenerates the Linux ARM64 export, stages the package, validates its structure, and writes: ```text -builds/v/straywild.zip +builds/v/netfishing.zip ``` `--package-only` is reserved for repackaging an already validated ARM64 export. @@ -87,7 +83,7 @@ bash scripts/build_portmaster.sh --package-only --hotfix The hotfix keeps the game executable and PCK tied to the release tag while recording the newer packaging commit separately in `BUILD-INFO.txt`. Replace -the release's existing `straywild.zip`; never move the game release tag. +the release's existing `netfishing.zip`; never move the game release tag. ## Local muOS installation @@ -97,22 +93,22 @@ The muOS auto-install directory is: /mnt/mmc/MUOS/PortMaster/autoinstall/ ``` -For an explicit offline installation test, copy `straywild.zip` to a temporary +For an explicit offline installation test, copy `netfishing.zip` to a temporary device directory and run: ```bash /mnt/mmc/MUOS/PortMaster/harbourmaster \ - --offline --no-check install ./straywild.zip + --offline --no-check install ./netfishing.zip ``` -Before upgrading an existing installation, preserve either the current -`/mnt/mmc/ports/straywild/` paths or the former `/mnt/mmc/ports/netfishing/` -paths on the device. After installation: +Before upgrading an existing installation, preserve +`/mnt/mmc/ports/netfishing/conf/` and `/mnt/mmc/ports/saves/netfishing/` on the +device. After installation: 1. Confirm the installed executable and PCK hashes match the staged release. 2. Confirm HarbourMaster added its `# PORTMASTER:` installation signature to the installed launcher, then confirm the launcher starts GPTOKEYB with - `straywild.gptk` and calls `pm_platform_helper` for the game executable. + `netfishing.gptk` and calls `pm_platform_helper` for the game executable. 3. Confirm `conf/` and the external save directory were not replaced or removed. 4. Launch the installed port through the normal muOS menu. @@ -121,7 +117,7 @@ paths on the device. After installation: Start+Select on most devices. Installing the public PortMaster catalog entry can still install an older -catalog build until the upstream `straywild.zip` is updated. A local release +catalog build until the upstream `netfishing.zip` is updated. A local release test must install the generated local archive explicitly. ## Template provenance @@ -134,7 +130,7 @@ f24daae48f543b3a270a5aa46b5e73a31904bf0c7216d4c8a9e15a8dc48a5eed screenshot.png ``` The remaining catalog metadata assets were copied from the installed official -`straywild.zip` package and are intentionally preserved byte-for-byte: +`netfishing.zip` package and are intentionally preserved byte-for-byte: ```text e2a9d132744684c67865c01eca027a8c9946b4c5a19da57c82f1af0373dc83b7 gameinfo.xml @@ -164,7 +160,7 @@ The device-verified Godot mapping is: - left-stick click `b9`, left trigger `b10`, right trigger `b11`, right-stick click `b12` - D-pad `h0`; left and right sticks `a0..a3` -`scripts/portmaster/straywild.sh` must replace the incompatible SDL2 entry +`scripts/portmaster/NETfishing.sh` must replace the incompatible SDL2 entry with the Godot entry when that SDL2 GUID is selected. Do not append the two entries with a newline. WestonPack reconstructs the wrapped game command through a shell, so raw mapping values passed in that command can be split into @@ -173,14 +169,14 @@ this failure with the `GO-Super Gamepad` mapping. The outer Weston environment also does not reliably preserve the corrected muOS mapping for the game. Write the exact selected mapping to `conf/cache/controller_mapping.txt` before -starting Weston. Weston must launch `launch-straywild.sh`, which reads that +starting Weston. Weston must launch `launch-netfishing.sh`, which reads that file, exports `SDL_GAMECONTROLLERCONFIG`, and immediately replaces itself with the game process. This applies the mapping at the same point as the working 0.10.1 launcher without passing its raw text through WestonPack's command reconstruction. Do not move the mapping back to either side of `westonwrap.sh`. -Always pass `straywild.gptk`, which explicitly unassigns every direct and +Always pass `netfishing.gptk`, which explicitly unassigns every direct and hotkey binding with GPTOKEYB's `\"` value. This keeps GPTOKEYB from injecting keyboard or mouse events on top of Godot's native controller input and retains the device-specific kill chord. Supplying the explicit passthrough map also @@ -213,8 +209,8 @@ The light profile passes these Godot options: - `--max-fps 30` - `--audio-output-latency 40` -It also passes `straywild_PERFORMANCE_PROFILE=light` and -`straywild_LOW_END=1`. The game renders the 3D world at 37.5% linear +It also passes `NETFISHING_PERFORMANCE_PROFILE=light` and +`NETFISHING_LOW_END=1`. The game renders the 3D world at 37.5% linear resolution with nearest-neighbor scaling, reducing 3D pixel work by about 86% while the separately rendered UI retains its canonical resolution. The light profile also: @@ -248,7 +244,7 @@ omitted ambience or replace the micro textures with desktop-resolution assets. The normal profile otherwise retains the full visual presentation. To opt a capable device into the normal profile, create the persistent file -`straywild/conf/performance_profile` containing exactly: +`netfishing/conf/performance_profile` containing exactly: ```text normal @@ -257,13 +253,13 @@ normal On a typical muOS installation, the full path is: ```text -/mnt/mmc/ports/straywild/conf/performance_profile +/mnt/mmc/ports/netfishing/conf/performance_profile ``` Set the file to `light`, or remove it, to restore the default. An externally -provided `straywild_PERFORMANCE_PROFILE=normal` or `light` environment value +provided `NETFISHING_PERFORMANCE_PROFILE=normal` or `light` environment value takes precedence over the persistent file. Invalid values safely fall back to -the light profile and are reported in `straywild/log.txt`. +the light profile and are reported in `netfishing/log.txt`. Do not use Godot's low processor mode for the light profile. It reduces idle CPU usage by sleeping between updates and is not a game-performance diff --git a/docs/README-PLAYTEST.txt b/docs/README-PLAYTEST.txt index f187182..dbaa032 100644 --- a/docs/README-PLAYTEST.txt +++ b/docs/README-PLAYTEST.txt @@ -1,10 +1,10 @@ -straywild -v0.20.2-alpha -Alpha 0.20.2 +NETfishing +v0.17.0-alpha +Alpha 0.17.0 -Thank you for supporting this private testing release. +Thank you for trying this early private playtest. -straywild is an early multiplayer fishing game. This alpha includes local +NETfishing is an early multiplayer fishing game. This alpha includes local progression, player-hosted and dedicated multiplayer sessions, public room discovery, and direct UDP connections. Expect rough edges and please keep a backup of any save or identity data you care about. @@ -12,15 +12,15 @@ backup of any save or identity data you care about. INSTALLATION 1. Extract the entire ZIP into a new folder. -2. Keep the executable and straywild.pck together. -3. Launch straywild.exe on Windows or straywild on Linux. +2. Keep the executable and netfishing.pck together. +3. Launch netfishing.exe on Windows or netfishing on Linux. Windows may show a warning for an unsigned application. This private build is not code signed. Only run a copy received from the playtest organizer. Linux users may need to allow execution: - chmod +x straywild + chmod +x netfishing CONTROLS @@ -83,8 +83,6 @@ FEATURES TO TRY - Fishing, net gathering, and beach digging - Equipment and consumable use from the hotbar - Fishing Shop sell tray, wallet updates, and persistent upgrades -- Portable RV homes, multiplayer visits, RV storage, and the early decor - purchasing and placement prototype - Seeded generated worlds and the authored starter-island layout - Generated beaches, ponds, lakes, complete rivers, denser forests, varied elevation, and closed coastal cliffs @@ -119,6 +117,5 @@ KNOWN ALPHA LIMITATIONS networks may prevent some players from joining. - Multiplayer, dedicated-server deployment, UI, and balance are still alpha. - Some fish and character artwork remains temporary. -- RV exteriors and decor use temporary prototype geometry and presentation. - There is no installer or automatic updater. - Windows builds are unsigned. diff --git a/docs/README.md b/docs/README.md index 444ebc7..05ac0b4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ -# straywild documentation +# NETfishing documentation This directory is the single home for maintained project documentation. Start here instead of searching feature, asset, world, or script directories @@ -17,10 +17,10 @@ for local README files. ## Related repositories -- [Discovery service API](https://forge.makearmy.io/woofmeow/straywild-discovery-server/src/branch/main/docs/API.md) +- [Discovery service API](https://forge.makearmy.io/woofmeow/netfishing-discovery-server/src/branch/main/docs/API.md) stays with the service implementation and defines its versioned HTTP contract. -- [Dedicated-server packaging](https://forge.makearmy.io/woofmeow/straywild-dedicated-server/src/branch/main/README.md) +- [Dedicated-server packaging](https://forge.makearmy.io/woofmeow/netfishing-dedicated-server/src/branch/main/README.md) stays with its installer and update scripts. It consumes this repository's attribution and legal notices from the exact pinned game commit instead of maintaining copies. diff --git a/export_presets.cfg b/export_presets.cfg index a49f01f..c484b38 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -9,7 +9,7 @@ custom_features="" export_filter="all_resources" include_filter="LICENSE,ASSET-LICENSE.md,TRADEMARKS.md,docs/ATTRIBUTION.md,ui/fonts/*LICENSE.txt" exclude_filter="builds/*,scripts/*" -export_path="builds/v0.20.2-alpha/windows-x86_64/straywild.exe" +export_path="builds/v0.17.0-alpha/windows-x86_64/NETfishing.exe" patches=PackedStringArray() encryption_include_filters="" encryption_exclude_filters="" @@ -32,16 +32,16 @@ codesign/digest_algorithm=1 codesign/description="" codesign/custom_options=PackedStringArray() application/modify_resources=true -application/icon="res://art/exported/system_icons/straywild.ico" +application/icon="res://art/exported/system_icons/netfishing.ico" application/console_wrapper_icon="" -application/icon_interpolation=0 -application/file_version="0.20.2.0" -application/product_version="0.20.2.0" +application/icon_interpolation=4 +application/file_version="0.17.0.0" +application/product_version="0.17.0.0" application/company_name="Woofmeow" -application/product_name="straywild" -application/file_description="straywild v0.20.2-alpha" +application/product_name="NETfishing" +application/file_description="NETfishing v0.17.0-alpha" application/copyright="Copyright © 2026 Woofmeow" -application/trademarks="straywild and Woofmeow branding is reserved; see TRADEMARKS.md" +application/trademarks="NETfishing and Woofmeow branding is reserved; see TRADEMARKS.md" application/export_angle=0 ssh_remote_deploy/enabled=false ssh_remote_deploy/host="user@host_ip" @@ -62,7 +62,7 @@ custom_features="" export_filter="all_resources" include_filter="LICENSE,ASSET-LICENSE.md,TRADEMARKS.md,docs/ATTRIBUTION.md,ui/fonts/*LICENSE.txt" exclude_filter="builds/*,scripts/*" -export_path="builds/v0.20.2-alpha/linux-arm64/straywild.arm64" +export_path="builds/v0.17.0-alpha/linux-arm64/NETfishing.arm64" patches=PackedStringArray() encryption_include_filters="" encryption_exclude_filters="" @@ -92,7 +92,7 @@ custom_features="" export_filter="all_resources" include_filter="LICENSE,ASSET-LICENSE.md,TRADEMARKS.md,docs/ATTRIBUTION.md,ui/fonts/*LICENSE.txt" exclude_filter="builds/*,scripts/*" -export_path="builds/v0.20.2-alpha/macos/straywild.zip" +export_path="builds/v0.17.0-alpha/macos/NETfishing.zip" patches=PackedStringArray() encryption_include_filters="" encryption_exclude_filters="" @@ -106,10 +106,10 @@ script_export_mode=2 custom_template/debug="" custom_template/release="" application/bundle_identifier="io.woofmeow.netfishing" -application/icon="res://art/exported/system_icons/straywild_1024.png" +application/icon="res://art/exported/system_icons/netfishing_1024.png" application/icon_interpolation=0 -application/short_version="0.20.2" -application/version="0.20.2" +application/short_version="0.17.0" +application/version="0.17.0" application/architecture="universal" codesign/enable=false notarization/enable=false @@ -125,7 +125,7 @@ custom_features="" export_filter="all_resources" include_filter="LICENSE,ASSET-LICENSE.md,TRADEMARKS.md,docs/ATTRIBUTION.md,ui/fonts/*LICENSE.txt" exclude_filter="builds/*,scripts/*,tests/*" -export_path="builds/v0.20.2-alpha/server-linux-x86_64/straywildServer.x86_64" +export_path="builds/v0.17.0-alpha/server-linux-x86_64/NETfishingServer.x86_64" patches=PackedStringArray() encryption_include_filters="" encryption_exclude_filters="" @@ -155,7 +155,7 @@ custom_features="" export_filter="all_resources" include_filter="LICENSE,ASSET-LICENSE.md,TRADEMARKS.md,docs/ATTRIBUTION.md,ui/fonts/*LICENSE.txt" exclude_filter="builds/*,scripts/*" -export_path="builds/v0.20.2-alpha/android/straywild.apk" +export_path="builds/v0.17.0-alpha/android/NETfishing.apk" patches=PackedStringArray() encryption_include_filters="" encryption_exclude_filters="" @@ -176,10 +176,10 @@ architectures/armeabi-v7a=false architectures/arm64-v8a=true architectures/x86=false architectures/x86_64=false -version/code=200200 -version/name="v0.20.2-alpha" +version/code=170000 +version/name="v0.17.0-alpha" package/unique_name="io.woofmeow.netfishing" -package/name="straywild" +package/name="NETfishing" package/signed=true package/app_category=0 package/retain_data_on_uninstall=false @@ -187,7 +187,7 @@ package/exclude_from_recents=false package/show_in_android_tv=false package/show_in_app_library=true package/show_as_launcher_app=true -launcher_icons/main_192x192="res://art/exported/system_icons/straywild_256.png" +launcher_icons/main_192x192="res://art/exported/system_icons/netfishing_256.png" graphics/opengl_debug=false screen/immersive_mode=true screen/edge_to_edge=false @@ -214,7 +214,7 @@ custom_features="" export_filter="all_resources" include_filter="LICENSE,ASSET-LICENSE.md,TRADEMARKS.md,docs/ATTRIBUTION.md,ui/fonts/*LICENSE.txt" exclude_filter="builds/*,scripts/*" -export_path="builds/v0.20.2-alpha/linux-x86_64/straywild.x86_64" +export_path="builds/v0.17.0-alpha/linux-x86_64/NETfishing.x86_64" patches=PackedStringArray() encryption_include_filters="" encryption_exclude_filters="" diff --git a/fish/pools/generated_lake_pool.tres b/fish/pools/generated_lake_pool.tres index c0ff343..ac095b8 100644 --- a/fish/pools/generated_lake_pool.tres +++ b/fish/pools/generated_lake_pool.tres @@ -1,27 +1,13 @@ -[gd_resource type="Resource" load_steps=22 format=3] +[gd_resource type="Resource" load_steps=8 format=3] [ext_resource type="Script" path="res://fish/fish_pool.gd" id="1_pool"] -[ext_resource type="Resource" path="res://fish/species/sturgeon_lake/sturgeon_lake.tres" id="2_sturgeon_lake"] -[ext_resource type="Resource" path="res://fish/species/burbot/burbot.tres" id="3_burbot"] -[ext_resource type="Resource" path="res://fish/species/cisco/cisco.tres" id="4_cisco"] -[ext_resource type="Resource" path="res://fish/species/whitefish_lake/whitefish_lake.tres" id="5_whitefish_lake"] -[ext_resource type="Resource" path="res://fish/species/char_arctic/char_arctic.tres" id="6_char_arctic"] -[ext_resource type="Resource" path="res://fish/species/trout_golden/trout_golden.tres" id="7_trout_golden"] -[ext_resource type="Resource" path="res://fish/species/axolotl/axolotl.tres" id="8_axolotl"] -[ext_resource type="Resource" path="res://fish/species/bream_common/bream_common.tres" id="9_bream_common"] -[ext_resource type="Resource" path="res://fish/species/muskellunge/muskellunge.tres" id="10_muskellunge"] -[ext_resource type="Resource" path="res://fish/species/shiner_emerald/shiner_emerald.tres" id="11_shiner_emerald"] -[ext_resource type="Resource" path="res://fish/species/chub_lake/chub_lake.tres" id="12_chub_lake"] -[ext_resource type="Resource" path="res://fish/species/crappie_white/crappie_white.tres" id="13_crappie_white"] -[ext_resource type="Resource" path="res://fish/species/yellow_perch/yellow_perch.tres" id="14_yellow_perch"] -[ext_resource type="Resource" path="res://fish/species/pike_northern/pike_northern.tres" id="15_pike_northern"] -[ext_resource type="Resource" path="res://fish/species/saugeye/saugeye.tres" id="16_saugeye"] -[ext_resource type="Resource" path="res://fish/species/walleye/walleye.tres" id="17_walleye"] -[ext_resource type="Resource" path="res://fish/species/goby_round/goby_round.tres" id="18_goby_round"] -[ext_resource type="Resource" path="res://fish/species/smelt_rainbow/smelt_rainbow.tres" id="19_smelt_rainbow"] -[ext_resource type="Resource" path="res://fish/species/gourami_giant/gourami_giant.tres" id="20_gourami_giant"] -[ext_resource type="Resource" path="res://fish/species/tilapia_nile/tilapia_nile.tres" id="21_tilapia_nile"] +[ext_resource type="Resource" path="res://fish/species/sturgeon_lake/sturgeon_lake.tres" id="2_sturgeon"] +[ext_resource type="Resource" path="res://fish/species/trout_golden/trout_golden.tres" id="3_trout"] +[ext_resource type="Resource" path="res://fish/species/chub_lake/chub_lake.tres" id="4_chub"] +[ext_resource type="Resource" path="res://fish/species/saugeye/saugeye.tres" id="5_saugeye"] +[ext_resource type="Resource" path="res://fish/species/walleye/walleye.tres" id="6_walleye"] +[ext_resource type="Resource" path="res://fish/species/goby_round/goby_round.tres" id="7_goby"] [resource] script = ExtResource("1_pool") -candidates = [ExtResource("2_sturgeon_lake"), ExtResource("3_burbot"), ExtResource("4_cisco"), ExtResource("5_whitefish_lake"), ExtResource("6_char_arctic"), ExtResource("7_trout_golden"), ExtResource("8_axolotl"), ExtResource("9_bream_common"), ExtResource("10_muskellunge"), ExtResource("11_shiner_emerald"), ExtResource("12_chub_lake"), ExtResource("13_crappie_white"), ExtResource("14_yellow_perch"), ExtResource("15_pike_northern"), ExtResource("16_saugeye"), ExtResource("17_walleye"), ExtResource("18_goby_round"), ExtResource("19_smelt_rainbow"), ExtResource("20_gourami_giant"), ExtResource("21_tilapia_nile")] +candidates = [ExtResource("2_sturgeon"), ExtResource("3_trout"), ExtResource("4_chub"), ExtResource("5_saugeye"), ExtResource("6_walleye"), ExtResource("7_goby")] diff --git a/fish/pools/generated_pond_pool.tres b/fish/pools/generated_pond_pool.tres index 9da4ed5..2b01e7d 100644 --- a/fish/pools/generated_pond_pool.tres +++ b/fish/pools/generated_pond_pool.tres @@ -1,40 +1,16 @@ -[gd_resource type="Resource" load_steps=35 format=3] +[gd_resource type="Resource" load_steps=11 format=3] [ext_resource type="Script" path="res://fish/fish_pool.gd" id="1_pool"] [ext_resource type="Resource" path="res://fish/species/bowfin/bowfin.tres" id="2_bowfin"] [ext_resource type="Resource" path="res://fish/species/gar_spotted/gar_spotted.tres" id="3_gar_spotted"] -[ext_resource type="Resource" path="res://fish/species/lungfish_west_african/lungfish_west_african.tres" id="4_lungfish_west_african"] -[ext_resource type="Resource" path="res://fish/species/guppy/guppy.tres" id="5_guppy"] -[ext_resource type="Resource" path="res://fish/species/tetra_neon/tetra_neon.tres" id="6_tetra_neon"] -[ext_resource type="Resource" path="res://fish/species/danio_zebra/danio_zebra.tres" id="7_danio_zebra"] -[ext_resource type="Resource" path="res://fish/species/largemouth_bass/largemouth_bass.tres" id="8_largemouth_bass"] -[ext_resource type="Resource" path="res://fish/species/bullhead_black/bullhead_black.tres" id="9_bullhead_black"] -[ext_resource type="Resource" path="res://fish/species/bullhead_brown/bullhead_brown.tres" id="10_bullhead_brown"] -[ext_resource type="Resource" path="res://fish/species/catfish_channel/catfish_channel.tres" id="11_catfish_channel"] -[ext_resource type="Resource" path="res://fish/species/catfish_white/catfish_white.tres" id="12_catfish_white"] -[ext_resource type="Resource" path="res://fish/species/bullhead_yellow/bullhead_yellow.tres" id="13_bullhead_yellow"] -[ext_resource type="Resource" path="res://fish/species/carp/carp.tres" id="14_carp"] -[ext_resource type="Resource" path="res://fish/species/roach_common/roach_common.tres" id="15_roach_common"] -[ext_resource type="Resource" path="res://fish/species/rudd/rudd.tres" id="16_rudd"] -[ext_resource type="Resource" path="res://fish/species/tench/tench.tres" id="17_tench"] -[ext_resource type="Resource" path="res://fish/species/crayfish_red_swamp/crayfish_red_swamp.tres" id="18_crayfish_red_swamp"] -[ext_resource type="Resource" path="res://fish/species/minnow_fathead/minnow_fathead.tres" id="19_minnow_fathead"] -[ext_resource type="Resource" path="res://fish/species/shiner_golden/shiner_golden.tres" id="20_shiner_golden"] -[ext_resource type="Resource" path="res://fish/species/loach_weather/loach_weather.tres" id="21_loach_weather"] -[ext_resource type="Resource" path="res://fish/species/goldfish_bubbleeye/goldfish_bubbleeye.tres" id="22_goldfish_bubbleeye"] -[ext_resource type="Resource" path="res://fish/species/goldfish/goldfish.tres" id="23_goldfish"] -[ext_resource type="Resource" path="res://fish/species/koi/koi.tres" id="24_koi"] -[ext_resource type="Resource" path="res://fish/species/crappie_black/crappie_black.tres" id="25_crappie_black"] -[ext_resource type="Resource" path="res://fish/species/bluegill/bluegill.tres" id="26_bluegill"] -[ext_resource type="Resource" path="res://fish/species/green_sunfish/green_sunfish.tres" id="27_green_sunfish"] -[ext_resource type="Resource" path="res://fish/species/pumpkinseed/pumpkinseed.tres" id="28_pumpkinseed"] -[ext_resource type="Resource" path="res://fish/species/redear_sunfish/redear_sunfish.tres" id="29_redear_sunfish"] -[ext_resource type="Resource" path="res://fish/species/warmouth/warmouth.tres" id="30_warmouth"] -[ext_resource type="Resource" path="res://fish/species/pickerel_chain/pickerel_chain.tres" id="31_pickerel_chain"] -[ext_resource type="Resource" path="res://fish/species/pickerel_grass/pickerel_grass.tres" id="32_pickerel_grass"] -[ext_resource type="Resource" path="res://fish/species/betta_siamese/betta_siamese.tres" id="33_betta_siamese"] -[ext_resource type="Resource" path="res://fish/species/catfish_walking/catfish_walking.tres" id="34_catfish_walking"] +[ext_resource type="Resource" path="res://fish/species/lungfish_west_african/lungfish_west_african.tres" id="4_lungfish"] +[ext_resource type="Resource" path="res://fish/species/catfish_channel/catfish_channel.tres" id="5_catfish_channel"] +[ext_resource type="Resource" path="res://fish/species/catfish_white/catfish_white.tres" id="6_catfish_white"] +[ext_resource type="Resource" path="res://fish/species/carp/carp.tres" id="7_carp"] +[ext_resource type="Resource" path="res://fish/species/goldfish_bubbleeye/goldfish_bubbleeye.tres" id="8_bubbleeye"] +[ext_resource type="Resource" path="res://fish/species/goldfish/goldfish.tres" id="9_goldfish"] +[ext_resource type="Resource" path="res://fish/species/bluegill/bluegill.tres" id="10_bluegill"] [resource] script = ExtResource("1_pool") -candidates = [ExtResource("2_bowfin"), ExtResource("3_gar_spotted"), ExtResource("4_lungfish_west_african"), ExtResource("5_guppy"), ExtResource("6_tetra_neon"), ExtResource("7_danio_zebra"), ExtResource("8_largemouth_bass"), ExtResource("9_bullhead_black"), ExtResource("10_bullhead_brown"), ExtResource("11_catfish_channel"), ExtResource("12_catfish_white"), ExtResource("13_bullhead_yellow"), ExtResource("14_carp"), ExtResource("15_roach_common"), ExtResource("16_rudd"), ExtResource("17_tench"), ExtResource("18_crayfish_red_swamp"), ExtResource("19_minnow_fathead"), ExtResource("20_shiner_golden"), ExtResource("21_loach_weather"), ExtResource("22_goldfish_bubbleeye"), ExtResource("23_goldfish"), ExtResource("24_koi"), ExtResource("25_crappie_black"), ExtResource("26_bluegill"), ExtResource("27_green_sunfish"), ExtResource("28_pumpkinseed"), ExtResource("29_redear_sunfish"), ExtResource("30_warmouth"), ExtResource("31_pickerel_chain"), ExtResource("32_pickerel_grass"), ExtResource("33_betta_siamese"), ExtResource("34_catfish_walking")] +candidates = [ExtResource("2_bowfin"), ExtResource("3_gar_spotted"), ExtResource("4_lungfish"), ExtResource("5_catfish_channel"), ExtResource("6_catfish_white"), ExtResource("7_carp"), ExtResource("8_bubbleeye"), ExtResource("9_goldfish"), ExtResource("10_bluegill")] diff --git a/fish/pools/generated_river_pool.tres b/fish/pools/generated_river_pool.tres index 66102ef..34b8f72 100644 --- a/fish/pools/generated_river_pool.tres +++ b/fish/pools/generated_river_pool.tres @@ -1,60 +1,18 @@ -[gd_resource type="Resource" load_steps=55 format=3] +[gd_resource type="Resource" load_steps=13 format=3] [ext_resource type="Script" path="res://fish/fish_pool.gd" id="1_pool"] -[ext_resource type="Resource" path="res://fish/species/gar_longnose/gar_longnose.tres" id="2_gar_longnose"] +[ext_resource type="Resource" path="res://fish/species/gar_longnose/gar_longnose.tres" id="2_gar"] [ext_resource type="Resource" path="res://fish/species/paddlefish/paddlefish.tres" id="3_paddlefish"] -[ext_resource type="Resource" path="res://fish/species/sturgeon_shovelnose/sturgeon_shovelnose.tres" id="4_sturgeon_shovelnose"] -[ext_resource type="Resource" path="res://fish/species/foureyes_largescale/foureyes_largescale.tres" id="5_foureyes_largescale"] -[ext_resource type="Resource" path="res://fish/species/grayling_arctic/grayling_arctic.tres" id="6_grayling_arctic"] -[ext_resource type="Resource" path="res://fish/species/trout_brown/trout_brown.tres" id="7_trout_brown"] -[ext_resource type="Resource" path="res://fish/species/trout_cutthroat/trout_cutthroat.tres" id="8_trout_cutthroat"] -[ext_resource type="Resource" path="res://fish/species/trout_rainbow/trout_rainbow.tres" id="9_trout_rainbow"] -[ext_resource type="Resource" path="res://fish/species/hellbender/hellbender.tres" id="10_hellbender"] -[ext_resource type="Resource" path="res://fish/species/smallmouth_bass/smallmouth_bass.tres" id="11_smallmouth_bass"] -[ext_resource type="Resource" path="res://fish/species/buffalo_bigmouth/buffalo_bigmouth.tres" id="12_buffalo_bigmouth"] -[ext_resource type="Resource" path="res://fish/species/redhorse_golden/redhorse_golden.tres" id="13_redhorse_golden"] -[ext_resource type="Resource" path="res://fish/species/quillback/quillback.tres" id="14_quillback"] -[ext_resource type="Resource" path="res://fish/species/buffalo_smallmouth/buffalo_smallmouth.tres" id="15_buffalo_smallmouth"] -[ext_resource type="Resource" path="res://fish/species/sucker_white/sucker_white.tres" id="16_sucker_white"] -[ext_resource type="Resource" path="res://fish/species/catfish_blue/catfish_blue.tres" id="17_catfish_blue"] -[ext_resource type="Resource" path="res://fish/species/catfish_flathead/catfish_flathead.tres" id="18_catfish_flathead"] -[ext_resource type="Resource" path="res://fish/species/madtom_tadpole/madtom_tadpole.tres" id="19_madtom_tadpole"] -[ext_resource type="Resource" path="res://fish/species/barbel_common/barbel_common.tres" id="20_barbel_common"] -[ext_resource type="Resource" path="res://fish/species/chub_european/chub_european.tres" id="21_chub_european"] -[ext_resource type="Resource" path="res://fish/species/fallfish/fallfish.tres" id="22_fallfish"] -[ext_resource type="Resource" path="res://fish/species/ide/ide.tres" id="23_ide"] -[ext_resource type="Resource" path="res://fish/species/gar_alligator/gar_alligator.tres" id="24_gar_alligator"] -[ext_resource type="Resource" path="res://fish/species/arapaima/arapaima.tres" id="25_arapaima"] -[ext_resource type="Resource" path="res://fish/species/tigerfish_goliath/tigerfish_goliath.tres" id="26_tigerfish_goliath"] -[ext_resource type="Resource" path="res://fish/species/shiner_common/shiner_common.tres" id="27_shiner_common"] -[ext_resource type="Resource" path="res://fish/species/chub_creek/chub_creek.tres" id="28_chub_creek"] -[ext_resource type="Resource" path="res://fish/species/chub_flame/chub_flame.tres" id="29_chub_flame"] -[ext_resource type="Resource" path="res://fish/species/electric_eel/electric_eel.tres" id="30_electric_eel"] -[ext_resource type="Resource" path="res://fish/species/freshwater_drum/freshwater_drum.tres" id="31_freshwater_drum"] -[ext_resource type="Resource" path="res://fish/species/goldeye/goldeye.tres" id="32_goldeye"] -[ext_resource type="Resource" path="res://fish/species/mooneye/mooneye.tres" id="33_mooneye"] -[ext_resource type="Resource" path="res://fish/species/sauger/sauger.tres" id="34_sauger"] -[ext_resource type="Resource" path="res://fish/species/eel_american/eel_american.tres" id="35_eel_american"] -[ext_resource type="Resource" path="res://fish/species/eel_european/eel_european.tres" id="36_eel_european"] -[ext_resource type="Resource" path="res://fish/species/smelt_eulachon/smelt_eulachon.tres" id="37_smelt_eulachon"] -[ext_resource type="Resource" path="res://fish/species/sturgeon_white/sturgeon_white.tres" id="38_sturgeon_white"] -[ext_resource type="Resource" path="res://fish/species/trout_steelhead/trout_steelhead.tres" id="39_trout_steelhead"] -[ext_resource type="Resource" path="res://fish/species/stingray_ocellate_river/stingray_ocellate_river.tres" id="40_stingray_ocellate_river"] -[ext_resource type="Resource" path="res://fish/species/white_perch/white_perch.tres" id="41_white_perch"] -[ext_resource type="Resource" path="res://fish/species/barramundi/barramundi.tres" id="42_barramundi"] -[ext_resource type="Resource" path="res://fish/species/knifefish_clown/knifefish_clown.tres" id="43_knifefish_clown"] -[ext_resource type="Resource" path="res://fish/species/loach_clown/loach_clown.tres" id="44_loach_clown"] -[ext_resource type="Resource" path="res://fish/species/discus/discus.tres" id="45_discus"] -[ext_resource type="Resource" path="res://fish/species/angelfish_freshwater/angelfish_freshwater.tres" id="46_angelfish_freshwater"] -[ext_resource type="Resource" path="res://fish/species/oscar/oscar.tres" id="47_oscar"] -[ext_resource type="Resource" path="res://fish/species/tambaqui/tambaqui.tres" id="48_tambaqui"] -[ext_resource type="Resource" path="res://fish/species/snakehead_giant/snakehead_giant.tres" id="49_snakehead_giant"] -[ext_resource type="Resource" path="res://fish/species/dorado_golden/dorado_golden.tres" id="50_dorado_golden"] -[ext_resource type="Resource" path="res://fish/species/mahseer_golden/mahseer_golden.tres" id="51_mahseer_golden"] -[ext_resource type="Resource" path="res://fish/species/peacock_bass/peacock_bass.tres" id="52_peacock_bass"] -[ext_resource type="Resource" path="res://fish/species/piranha_red_bellied/piranha_red_bellied.tres" id="53_piranha_red_bellied"] -[ext_resource type="Resource" path="res://fish/species/arowana_silver/arowana_silver.tres" id="54_arowana_silver"] +[ext_resource type="Resource" path="res://fish/species/sturgeon_shovelnose/sturgeon_shovelnose.tres" id="4_sturgeon"] +[ext_resource type="Resource" path="res://fish/species/trout_cutthroat/trout_cutthroat.tres" id="5_cutthroat"] +[ext_resource type="Resource" path="res://fish/species/trout_rainbow/trout_rainbow.tres" id="6_rainbow"] +[ext_resource type="Resource" path="res://fish/species/catfish_blue/catfish_blue.tres" id="7_blue_catfish"] +[ext_resource type="Resource" path="res://fish/species/catfish_flathead/catfish_flathead.tres" id="8_flathead"] +[ext_resource type="Resource" path="res://fish/species/chub_european/chub_european.tres" id="9_chub_european"] +[ext_resource type="Resource" path="res://fish/species/chub_flame/chub_flame.tres" id="10_chub_flame"] +[ext_resource type="Resource" path="res://fish/species/sauger/sauger.tres" id="11_sauger"] +[ext_resource type="Resource" path="res://fish/species/trout_steelhead/trout_steelhead.tres" id="12_steelhead"] [resource] script = ExtResource("1_pool") -candidates = [ExtResource("2_gar_longnose"), ExtResource("3_paddlefish"), ExtResource("4_sturgeon_shovelnose"), ExtResource("5_foureyes_largescale"), ExtResource("6_grayling_arctic"), ExtResource("7_trout_brown"), ExtResource("8_trout_cutthroat"), ExtResource("9_trout_rainbow"), ExtResource("10_hellbender"), ExtResource("11_smallmouth_bass"), ExtResource("12_buffalo_bigmouth"), ExtResource("13_redhorse_golden"), ExtResource("14_quillback"), ExtResource("15_buffalo_smallmouth"), ExtResource("16_sucker_white"), ExtResource("17_catfish_blue"), ExtResource("18_catfish_flathead"), ExtResource("19_madtom_tadpole"), ExtResource("20_barbel_common"), ExtResource("21_chub_european"), ExtResource("22_fallfish"), ExtResource("23_ide"), ExtResource("24_gar_alligator"), ExtResource("25_arapaima"), ExtResource("26_tigerfish_goliath"), ExtResource("27_shiner_common"), ExtResource("28_chub_creek"), ExtResource("29_chub_flame"), ExtResource("30_electric_eel"), ExtResource("31_freshwater_drum"), ExtResource("32_goldeye"), ExtResource("33_mooneye"), ExtResource("34_sauger"), ExtResource("35_eel_american"), ExtResource("36_eel_european"), ExtResource("37_smelt_eulachon"), ExtResource("38_sturgeon_white"), ExtResource("39_trout_steelhead"), ExtResource("40_stingray_ocellate_river"), ExtResource("41_white_perch"), ExtResource("42_barramundi"), ExtResource("43_knifefish_clown"), ExtResource("44_loach_clown"), ExtResource("45_discus"), ExtResource("46_angelfish_freshwater"), ExtResource("47_oscar"), ExtResource("48_tambaqui"), ExtResource("49_snakehead_giant"), ExtResource("50_dorado_golden"), ExtResource("51_mahseer_golden"), ExtResource("52_peacock_bass"), ExtResource("53_piranha_red_bellied"), ExtResource("54_arowana_silver")] +candidates = [ExtResource("2_gar"), ExtResource("3_paddlefish"), ExtResource("4_sturgeon"), ExtResource("5_cutthroat"), ExtResource("6_rainbow"), ExtResource("7_blue_catfish"), ExtResource("8_flathead"), ExtResource("9_chub_european"), ExtResource("10_chub_flame"), ExtResource("11_sauger"), ExtResource("12_steelhead")] diff --git a/fish/pools/starter_ocean_pool.tres b/fish/pools/starter_ocean_pool.tres index 274b58d..1e47a2b 100644 --- a/fish/pools/starter_ocean_pool.tres +++ b/fish/pools/starter_ocean_pool.tres @@ -1,211 +1,41 @@ -[gd_resource type="Resource" load_steps=206 format=3] +[gd_resource type="Resource" load_steps=36 format=3] [ext_resource type="Script" path="res://fish/fish_pool.gd" id="1_pool"] -[ext_resource type="Resource" path="res://fish/species/mudskipper_atlantic/mudskipper_atlantic.tres" id="2_mudskipper_atlantic"] -[ext_resource type="Resource" path="res://fish/species/mullet_red/mullet_red.tres" id="3_mullet_red"] -[ext_resource type="Resource" path="res://fish/species/plaice_european/plaice_european.tres" id="4_plaice_european"] -[ext_resource type="Resource" path="res://fish/species/flounder_summer/flounder_summer.tres" id="5_flounder_summer"] -[ext_resource type="Resource" path="res://fish/species/flounder_winter/flounder_winter.tres" id="6_flounder_winter"] -[ext_resource type="Resource" path="res://fish/species/dugong/dugong.tres" id="7_dugong"] -[ext_resource type="Resource" path="res://fish/species/seal_harbor/seal_harbor.tres" id="8_seal_harbor"] -[ext_resource type="Resource" path="res://fish/species/sea_otter/sea_otter.tres" id="9_sea_otter"] -[ext_resource type="Resource" path="res://fish/species/walrus/walrus.tres" id="10_walrus"] -[ext_resource type="Resource" path="res://fish/species/manatee_west_indian/manatee_west_indian.tres" id="11_manatee_west_indian"] -[ext_resource type="Resource" path="res://fish/species/pipefish_bay/pipefish_bay.tres" id="12_pipefish_bay"] -[ext_resource type="Resource" path="res://fish/species/seahorse_lined/seahorse_lined.tres" id="13_seahorse_lined"] -[ext_resource type="Resource" path="res://fish/species/monkfish/monkfish.tres" id="14_monkfish"] -[ext_resource type="Resource" path="res://fish/species/tripletail/tripletail.tres" id="15_tripletail"] -[ext_resource type="Resource" path="res://fish/species/mackerel_atlantic/mackerel_atlantic.tres" id="16_mackerel_atlantic"] -[ext_resource type="Resource" path="res://fish/species/bluefish/bluefish.tres" id="17_bluefish"] -[ext_resource type="Resource" path="res://fish/species/mackerel_cero/mackerel_cero.tres" id="18_mackerel_cero"] -[ext_resource type="Resource" path="res://fish/species/mackerel_chub/mackerel_chub.tres" id="19_mackerel_chub"] -[ext_resource type="Resource" path="res://fish/species/jack_crevalle/jack_crevalle.tres" id="20_jack_crevalle"] +[ext_resource type="Resource" path="res://fish/species/bass/bass.tres" id="2_bass"] +[ext_resource type="Resource" path="res://fish/species/sunfish/sunfish.tres" id="3_sunfish"] +[ext_resource type="Resource" path="res://fish/species/tuna_albacore/tuna_albacore.tres" id="4_tuna_albacore"] +[ext_resource type="Resource" path="res://fish/species/tuna_bigeye/tuna_bigeye.tres" id="5_tuna_bigeye"] +[ext_resource type="Resource" path="res://fish/species/tuna_bluefin/tuna_bluefin.tres" id="6_tuna_bluefin"] +[ext_resource type="Resource" path="res://fish/species/tuna_skipjack/tuna_skipjack.tres" id="7_tuna_skipjack"] +[ext_resource type="Resource" path="res://fish/species/tuna_yellowfin/tuna_yellowfin.tres" id="8_tuna_yellowfin"] +[ext_resource type="Resource" path="res://fish/species/salmon_atlantic/salmon_atlantic.tres" id="9_salmon_atlantic"] +[ext_resource type="Resource" path="res://fish/species/salmon_chum/salmon_chum.tres" id="10_salmon_chum"] +[ext_resource type="Resource" path="res://fish/species/salmon_coho/salmon_coho.tres" id="11_salmon_coho"] +[ext_resource type="Resource" path="res://fish/species/salmon_pink/salmon_pink.tres" id="12_salmon_pink"] +[ext_resource type="Resource" path="res://fish/species/salmon_sockeye/salmon_sockeye.tres" id="13_salmon_sockeye"] +[ext_resource type="Resource" path="res://fish/species/anchovy_european/anchovy_european.tres" id="14_anchovy_european"] +[ext_resource type="Resource" path="res://fish/species/anchovy_northern/anchovy_northern.tres" id="15_anchovy_northern"] +[ext_resource type="Resource" path="res://fish/species/grouper_gulf/grouper_gulf.tres" id="16_grouper_gulf"] +[ext_resource type="Resource" path="res://fish/species/grouper_red/grouper_red.tres" id="17_grouper_red"] +[ext_resource type="Resource" path="res://fish/species/mackerel_atlantic/mackerel_atlantic.tres" id="18_mackerel_atlantic"] +[ext_resource type="Resource" path="res://fish/species/mackerel_cero/mackerel_cero.tres" id="19_mackerel_cero"] +[ext_resource type="Resource" path="res://fish/species/mackerel_chub/mackerel_chub.tres" id="20_mackerel_chub"] [ext_resource type="Resource" path="res://fish/species/mackerel_king/mackerel_king.tres" id="21_mackerel_king"] [ext_resource type="Resource" path="res://fish/species/mackerel_spanish/mackerel_spanish.tres" id="22_mackerel_spanish"] -[ext_resource type="Resource" path="res://fish/species/queenfish_talang/queenfish_talang.tres" id="23_queenfish_talang"] -[ext_resource type="Resource" path="res://fish/species/sand_lance_american/sand_lance_american.tres" id="24_sand_lance_american"] -[ext_resource type="Resource" path="res://fish/species/menhaden_atlantic/menhaden_atlantic.tres" id="25_menhaden_atlantic"] +[ext_resource type="Resource" path="res://fish/species/marlin_black/marlin_black.tres" id="23_marlin_black"] +[ext_resource type="Resource" path="res://fish/species/marlin_blue/marlin_blue.tres" id="24_marlin_blue"] +[ext_resource type="Resource" path="res://fish/species/marlin_white/marlin_white.tres" id="25_marlin_white"] [ext_resource type="Resource" path="res://fish/species/pomfret_black/pomfret_black.tres" id="26_pomfret_black"] [ext_resource type="Resource" path="res://fish/species/pomfret_chinese/pomfret_chinese.tres" id="27_pomfret_chinese"] -[ext_resource type="Resource" path="res://fish/species/anchovy_european/anchovy_european.tres" id="28_anchovy_european"] -[ext_resource type="Resource" path="res://fish/species/sardine_european/sardine_european.tres" id="29_sardine_european"] -[ext_resource type="Resource" path="res://fish/species/pomfret_golden/pomfret_golden.tres" id="30_pomfret_golden"] -[ext_resource type="Resource" path="res://fish/species/anchovy_northern/anchovy_northern.tres" id="31_anchovy_northern"] -[ext_resource type="Resource" path="res://fish/species/sardine_pacific/sardine_pacific.tres" id="32_sardine_pacific"] -[ext_resource type="Resource" path="res://fish/species/pomfret_white/pomfret_white.tres" id="33_pomfret_white"] -[ext_resource type="Resource" path="res://fish/species/shark_blacktip/shark_blacktip.tres" id="34_shark_blacktip"] -[ext_resource type="Resource" path="res://fish/species/shark_great_hammerhead/shark_great_hammerhead.tres" id="35_shark_great_hammerhead"] -[ext_resource type="Resource" path="res://fish/species/shark_great_white/shark_great_white.tres" id="36_shark_great_white"] -[ext_resource type="Resource" path="res://fish/species/shark_tiger/shark_tiger.tres" id="37_shark_tiger"] -[ext_resource type="Resource" path="res://fish/species/shark_whale/shark_whale.tres" id="38_shark_whale"] -[ext_resource type="Resource" path="res://fish/species/wolffish_atlantic/wolffish_atlantic.tres" id="39_wolffish_atlantic"] -[ext_resource type="Resource" path="res://fish/species/cusk/cusk.tres" id="40_cusk"] -[ext_resource type="Resource" path="res://fish/species/wolffish_spotted/wolffish_spotted.tres" id="41_wolffish_spotted"] -[ext_resource type="Resource" path="res://fish/species/herring_atlantic/herring_atlantic.tres" id="42_herring_atlantic"] -[ext_resource type="Resource" path="res://fish/species/capelin/capelin.tres" id="43_capelin"] -[ext_resource type="Resource" path="res://fish/species/sprat_european/sprat_european.tres" id="44_sprat_european"] -[ext_resource type="Resource" path="res://fish/species/herring_pacific/herring_pacific.tres" id="45_herring_pacific"] -[ext_resource type="Resource" path="res://fish/species/pollock_alaska/pollock_alaska.tres" id="46_pollock_alaska"] -[ext_resource type="Resource" path="res://fish/species/cod_atlantic/cod_atlantic.tres" id="47_cod_atlantic"] -[ext_resource type="Resource" path="res://fish/species/pollock_atlantic/pollock_atlantic.tres" id="48_pollock_atlantic"] -[ext_resource type="Resource" path="res://fish/species/sole_dover/sole_dover.tres" id="49_sole_dover"] -[ext_resource type="Resource" path="res://fish/species/haddock/haddock.tres" id="50_haddock"] -[ext_resource type="Resource" path="res://fish/species/cod_pacific/cod_pacific.tres" id="51_cod_pacific"] -[ext_resource type="Resource" path="res://fish/species/hake_pacific/hake_pacific.tres" id="52_hake_pacific"] -[ext_resource type="Resource" path="res://fish/species/hake_silver/hake_silver.tres" id="53_hake_silver"] -[ext_resource type="Resource" path="res://fish/species/nautilus_chambered/nautilus_chambered.tres" id="54_nautilus_chambered"] -[ext_resource type="Resource" path="res://fish/species/cuttlefish_common/cuttlefish_common.tres" id="55_cuttlefish_common"] -[ext_resource type="Resource" path="res://fish/species/cuttlefish_flamboyant/cuttlefish_flamboyant.tres" id="56_cuttlefish_flamboyant"] -[ext_resource type="Resource" path="res://fish/species/tilefish_blueline/tilefish_blueline.tres" id="57_tilefish_blueline"] -[ext_resource type="Resource" path="res://fish/species/tilefish_golden/tilefish_golden.tres" id="58_tilefish_golden"] -[ext_resource type="Resource" path="res://fish/species/ocean_perch_pacific/ocean_perch_pacific.tres" id="59_ocean_perch_pacific"] -[ext_resource type="Resource" path="res://fish/species/sea_bass_chilean/sea_bass_chilean.tres" id="60_sea_bass_chilean"] -[ext_resource type="Resource" path="res://fish/species/sablefish/sablefish.tres" id="61_sablefish"] -[ext_resource type="Resource" path="res://fish/species/wreckfish/wreckfish.tres" id="62_wreckfish"] -[ext_resource type="Resource" path="res://fish/species/oarfish_giant/oarfish_giant.tres" id="63_oarfish_giant"] -[ext_resource type="Resource" path="res://fish/species/coelacanth_west_indian/coelacanth_west_indian.tres" id="64_coelacanth_west_indian"] -[ext_resource type="Resource" path="res://fish/species/anglerfish_black_seadevil/anglerfish_black_seadevil.tres" id="65_anglerfish_black_seadevil"] -[ext_resource type="Resource" path="res://fish/species/fangtooth_common/fangtooth_common.tres" id="66_fangtooth_common"] -[ext_resource type="Resource" path="res://fish/species/gulper_eel/gulper_eel.tres" id="67_gulper_eel"] -[ext_resource type="Resource" path="res://fish/species/barreleye_pacific/barreleye_pacific.tres" id="68_barreleye_pacific"] -[ext_resource type="Resource" path="res://fish/species/blobfish_smooth_head/blobfish_smooth_head.tres" id="69_blobfish_smooth_head"] -[ext_resource type="Resource" path="res://fish/species/lanternfish_spotted/lanternfish_spotted.tres" id="70_lanternfish_spotted"] -[ext_resource type="Resource" path="res://fish/species/sea_star_crown_of_thorns/sea_star_crown_of_thorns.tres" id="71_sea_star_crown_of_thorns"] -[ext_resource type="Resource" path="res://fish/species/sea_cucumber_giant_california/sea_cucumber_giant_california.tres" id="72_sea_cucumber_giant_california"] -[ext_resource type="Resource" path="res://fish/species/urchin_purple/urchin_purple.tres" id="73_urchin_purple"] -[ext_resource type="Resource" path="res://fish/species/sand_dollar/sand_dollar.tres" id="74_sand_dollar"] -[ext_resource type="Resource" path="res://fish/species/sea_star_sunflower/sea_star_sunflower.tres" id="75_sea_star_sunflower"] -[ext_resource type="Resource" path="res://fish/species/jelly_crystal/jelly_crystal.tres" id="76_jelly_crystal"] -[ext_resource type="Resource" path="res://fish/species/jelly_lions_mane/jelly_lions_mane.tres" id="77_jelly_lions_mane"] -[ext_resource type="Resource" path="res://fish/species/jelly_moon/jelly_moon.tres" id="78_jelly_moon"] -[ext_resource type="Resource" path="res://fish/species/jelly_pacific_sea_nettle/jelly_pacific_sea_nettle.tres" id="79_jelly_pacific_sea_nettle"] -[ext_resource type="Resource" path="res://fish/species/jelly_sea_wasp/jelly_sea_wasp.tres" id="80_jelly_sea_wasp"] -[ext_resource type="Resource" path="res://fish/species/pompano_african/pompano_african.tres" id="81_pompano_african"] -[ext_resource type="Resource" path="res://fish/species/cobia/cobia.tres" id="82_cobia"] -[ext_resource type="Resource" path="res://fish/species/trevally_giant/trevally_giant.tres" id="83_trevally_giant"] -[ext_resource type="Resource" path="res://fish/species/amberjack_greater/amberjack_greater.tres" id="84_amberjack_greater"] -[ext_resource type="Resource" path="res://fish/species/amberjack_lesser/amberjack_lesser.tres" id="85_amberjack_lesser"] -[ext_resource type="Resource" path="res://fish/species/halibut_atlantic/halibut_atlantic.tres" id="86_halibut_atlantic"] -[ext_resource type="Resource" path="res://fish/species/halibut_pacific/halibut_pacific.tres" id="87_halibut_pacific"] -[ext_resource type="Resource" path="res://fish/species/turbot/turbot.tres" id="88_turbot"] -[ext_resource type="Resource" path="res://fish/species/lobster_american/lobster_american.tres" id="89_lobster_american"] -[ext_resource type="Resource" path="res://fish/species/krill_antarctic/krill_antarctic.tres" id="90_krill_antarctic"] -[ext_resource type="Resource" path="res://fish/species/lobster_caribbean_spiny/lobster_caribbean_spiny.tres" id="91_lobster_caribbean_spiny"] -[ext_resource type="Resource" path="res://fish/species/shrimp_peacock_mantis/shrimp_peacock_mantis.tres" id="92_shrimp_peacock_mantis"] -[ext_resource type="Resource" path="res://fish/species/shrimp_skunk_cleaner/shrimp_skunk_cleaner.tres" id="93_shrimp_skunk_cleaner"] -[ext_resource type="Resource" path="res://fish/species/crab_japanese_spider/crab_japanese_spider.tres" id="94_crab_japanese_spider"] -[ext_resource type="Resource" path="res://fish/species/crab_red_king/crab_red_king.tres" id="95_crab_red_king"] -[ext_resource type="Resource" path="res://fish/species/salmon_atlantic/salmon_atlantic.tres" id="96_salmon_atlantic"] -[ext_resource type="Resource" path="res://fish/species/salmon_chum/salmon_chum.tres" id="97_salmon_chum"] -[ext_resource type="Resource" path="res://fish/species/salmon_coho/salmon_coho.tres" id="98_salmon_coho"] -[ext_resource type="Resource" path="res://fish/species/salmon_pink/salmon_pink.tres" id="99_salmon_pink"] -[ext_resource type="Resource" path="res://fish/species/salmon_sockeye/salmon_sockeye.tres" id="100_salmon_sockeye"] -[ext_resource type="Resource" path="res://fish/species/marlin_black/marlin_black.tres" id="101_marlin_black"] -[ext_resource type="Resource" path="res://fish/species/marlin_blue/marlin_blue.tres" id="102_marlin_blue"] -[ext_resource type="Resource" path="res://fish/species/sailfish/sailfish.tres" id="103_sailfish"] -[ext_resource type="Resource" path="res://fish/species/swordfish/swordfish.tres" id="104_swordfish"] -[ext_resource type="Resource" path="res://fish/species/marlin_white/marlin_white.tres" id="105_marlin_white"] -[ext_resource type="Resource" path="res://fish/species/mahi_mahi/mahi_mahi.tres" id="106_mahi_mahi"] -[ext_resource type="Resource" path="res://fish/species/opah/opah.tres" id="107_opah"] -[ext_resource type="Resource" path="res://fish/species/wahoo/wahoo.tres" id="108_wahoo"] -[ext_resource type="Resource" path="res://fish/species/tuna_albacore/tuna_albacore.tres" id="109_tuna_albacore"] -[ext_resource type="Resource" path="res://fish/species/tuna_bigeye/tuna_bigeye.tres" id="110_tuna_bigeye"] -[ext_resource type="Resource" path="res://fish/species/tuna_bluefin/tuna_bluefin.tres" id="111_tuna_bluefin"] -[ext_resource type="Resource" path="res://fish/species/tuna_skipjack/tuna_skipjack.tres" id="112_tuna_skipjack"] -[ext_resource type="Resource" path="res://fish/species/tuna_yellowfin/tuna_yellowfin.tres" id="113_tuna_yellowfin"] -[ext_resource type="Resource" path="res://fish/species/octopus_common/octopus_common.tres" id="114_octopus_common"] -[ext_resource type="Resource" path="res://fish/species/octopus_day/octopus_day.tres" id="115_octopus_day"] -[ext_resource type="Resource" path="res://fish/species/octopus_giant_pacific/octopus_giant_pacific.tres" id="116_octopus_giant_pacific"] -[ext_resource type="Resource" path="res://fish/species/octopus_greater_blue_ringed/octopus_greater_blue_ringed.tres" id="117_octopus_greater_blue_ringed"] -[ext_resource type="Resource" path="res://fish/species/sunfish/sunfish.tres" id="118_sunfish"] -[ext_resource type="Resource" path="res://fish/species/skate_barndoor/skate_barndoor.tres" id="119_skate_barndoor"] -[ext_resource type="Resource" path="res://fish/species/manta_ray_giant/manta_ray_giant.tres" id="120_manta_ray_giant"] -[ext_resource type="Resource" path="res://fish/species/sawfish_largetooth/sawfish_largetooth.tres" id="121_sawfish_largetooth"] -[ext_resource type="Resource" path="res://fish/species/stingray_southern/stingray_southern.tres" id="122_stingray_southern"] -[ext_resource type="Resource" path="res://fish/species/lionfish_red/lionfish_red.tres" id="123_lionfish_red"] -[ext_resource type="Resource" path="res://fish/species/scorpionfish_red/scorpionfish_red.tres" id="124_scorpionfish_red"] -[ext_resource type="Resource" path="res://fish/species/moray_green/moray_green.tres" id="125_moray_green"] -[ext_resource type="Resource" path="res://fish/species/flounder_peacock/flounder_peacock.tres" id="126_flounder_peacock"] -[ext_resource type="Resource" path="res://fish/species/surgeonfish_blue/surgeonfish_blue.tres" id="127_surgeonfish_blue"] -[ext_resource type="Resource" path="res://fish/species/parrotfish_rainbow/parrotfish_rainbow.tres" id="128_parrotfish_rainbow"] -[ext_resource type="Resource" path="res://fish/species/parrotfish_stoplight/parrotfish_stoplight.tres" id="129_parrotfish_stoplight"] -[ext_resource type="Resource" path="res://fish/species/tang_yellow/tang_yellow.tres" id="130_tang_yellow"] -[ext_resource type="Resource" path="res://fish/species/trumpetfish_atlantic/trumpetfish_atlantic.tres" id="131_trumpetfish_atlantic"] -[ext_resource type="Resource" path="res://fish/species/triggerfish_gray/triggerfish_gray.tres" id="132_triggerfish_gray"] -[ext_resource type="Resource" path="res://fish/species/pufferfish_guineafowl/pufferfish_guineafowl.tres" id="133_pufferfish_guineafowl"] -[ext_resource type="Resource" path="res://fish/species/cowfish_longhorn/cowfish_longhorn.tres" id="134_cowfish_longhorn"] -[ext_resource type="Resource" path="res://fish/species/triggerfish_queen/triggerfish_queen.tres" id="135_triggerfish_queen"] -[ext_resource type="Resource" path="res://fish/species/cornetfish_red/cornetfish_red.tres" id="136_cornetfish_red"] -[ext_resource type="Resource" path="res://fish/species/porcupinefish_spotted/porcupinefish_spotted.tres" id="137_porcupinefish_spotted"] -[ext_resource type="Resource" path="res://fish/species/boxfish_yellow/boxfish_yellow.tres" id="138_boxfish_yellow"] -[ext_resource type="Resource" path="res://fish/species/butterflyfish_copperband/butterflyfish_copperband.tres" id="139_butterflyfish_copperband"] -[ext_resource type="Resource" path="res://fish/species/clownfish_ocellaris/clownfish_ocellaris.tres" id="140_clownfish_ocellaris"] -[ext_resource type="Resource" path="res://fish/species/angelfish_queen/angelfish_queen.tres" id="141_angelfish_queen"] -[ext_resource type="Resource" path="res://fish/species/grouper_atlantic_goliath/grouper_atlantic_goliath.tres" id="142_grouper_atlantic_goliath"] -[ext_resource type="Resource" path="res://fish/species/trevally_bluefin/trevally_bluefin.tres" id="143_trevally_bluefin"] -[ext_resource type="Resource" path="res://fish/species/grouper_giant/grouper_giant.tres" id="144_grouper_giant"] -[ext_resource type="Resource" path="res://fish/species/barracuda_great/barracuda_great.tres" id="145_barracuda_great"] -[ext_resource type="Resource" path="res://fish/species/grouper_gulf/grouper_gulf.tres" id="146_grouper_gulf"] -[ext_resource type="Resource" path="res://fish/species/grouper_nassau/grouper_nassau.tres" id="147_grouper_nassau"] -[ext_resource type="Resource" path="res://fish/species/grouper_red/grouper_red.tres" id="148_grouper_red"] -[ext_resource type="Resource" path="res://fish/species/chromis_blue_green/chromis_blue_green.tres" id="149_chromis_blue_green"] -[ext_resource type="Resource" path="res://fish/species/grunt_bluestriped/grunt_bluestriped.tres" id="150_grunt_bluestriped"] -[ext_resource type="Resource" path="res://fish/species/grunt_french/grunt_french.tres" id="151_grunt_french"] -[ext_resource type="Resource" path="res://fish/species/damselfish_sergeant_major/damselfish_sergeant_major.tres" id="152_damselfish_sergeant_major"] -[ext_resource type="Resource" path="res://fish/species/snapper_lane/snapper_lane.tres" id="153_snapper_lane"] -[ext_resource type="Resource" path="res://fish/species/snapper_mangrove/snapper_mangrove.tres" id="154_snapper_mangrove"] -[ext_resource type="Resource" path="res://fish/species/snapper_mutton/snapper_mutton.tres" id="155_snapper_mutton"] -[ext_resource type="Resource" path="res://fish/species/snapper_red/snapper_red.tres" id="156_snapper_red"] -[ext_resource type="Resource" path="res://fish/species/wrasse_ballan/wrasse_ballan.tres" id="157_wrasse_ballan"] -[ext_resource type="Resource" path="res://fish/species/wrasse_cleaner/wrasse_cleaner.tres" id="158_wrasse_cleaner"] -[ext_resource type="Resource" path="res://fish/species/hogfish/hogfish.tres" id="159_hogfish"] -[ext_resource type="Resource" path="res://fish/species/turtle_green/turtle_green.tres" id="160_turtle_green"] -[ext_resource type="Resource" path="res://fish/species/turtle_hawksbill/turtle_hawksbill.tres" id="161_turtle_hawksbill"] -[ext_resource type="Resource" path="res://fish/species/turtle_leatherback/turtle_leatherback.tres" id="162_turtle_leatherback"] -[ext_resource type="Resource" path="res://fish/species/turtle_loggerhead/turtle_loggerhead.tres" id="163_turtle_loggerhead"] -[ext_resource type="Resource" path="res://fish/species/seadragon_leafy/seadragon_leafy.tres" id="164_seadragon_leafy"] -[ext_resource type="Resource" path="res://fish/species/seadragon_weedy/seadragon_weedy.tres" id="165_seadragon_weedy"] -[ext_resource type="Resource" path="res://fish/species/oyster_black_lip_pearl/oyster_black_lip_pearl.tres" id="166_oyster_black_lip_pearl"] -[ext_resource type="Resource" path="res://fish/species/clam_giant/clam_giant.tres" id="167_clam_giant"] -[ext_resource type="Resource" path="res://fish/species/clam_geoduck/clam_geoduck.tres" id="168_clam_geoduck"] -[ext_resource type="Resource" path="res://fish/species/conch_queen/conch_queen.tres" id="169_conch_queen"] -[ext_resource type="Resource" path="res://fish/species/abalone_red/abalone_red.tres" id="170_abalone_red"] -[ext_resource type="Resource" path="res://fish/species/squid_bigfin_reef/squid_bigfin_reef.tres" id="171_squid_bigfin_reef"] -[ext_resource type="Resource" path="res://fish/species/squid_colossal/squid_colossal.tres" id="172_squid_colossal"] -[ext_resource type="Resource" path="res://fish/species/squid_giant/squid_giant.tres" id="173_squid_giant"] -[ext_resource type="Resource" path="res://fish/species/squid_humboldt/squid_humboldt.tres" id="174_squid_humboldt"] -[ext_resource type="Resource" path="res://fish/species/halfbeak_ballyhoo/halfbeak_ballyhoo.tres" id="175_halfbeak_ballyhoo"] -[ext_resource type="Resource" path="res://fish/species/needlefish_hound/needlefish_hound.tres" id="176_needlefish_hound"] -[ext_resource type="Resource" path="res://fish/species/flyingfish_tropical/flyingfish_tropical.tres" id="177_flyingfish_tropical"] -[ext_resource type="Resource" path="res://fish/species/bass/bass.tres" id="178_bass"] -[ext_resource type="Resource" path="res://fish/species/croaker_atlantic/croaker_atlantic.tres" id="179_croaker_atlantic"] -[ext_resource type="Resource" path="res://fish/species/black_drum/black_drum.tres" id="180_black_drum"] -[ext_resource type="Resource" path="res://fish/species/red_drum/red_drum.tres" id="181_red_drum"] -[ext_resource type="Resource" path="res://fish/species/mullet_striped/mullet_striped.tres" id="182_mullet_striped"] -[ext_resource type="Resource" path="res://fish/species/weakfish/weakfish.tres" id="183_weakfish"] -[ext_resource type="Resource" path="res://fish/species/croaker_yellowfin/croaker_yellowfin.tres" id="184_croaker_yellowfin"] -[ext_resource type="Resource" path="res://fish/species/rockfish_black/rockfish_black.tres" id="185_rockfish_black"] -[ext_resource type="Resource" path="res://fish/species/sea_bass_black/sea_bass_black.tres" id="186_sea_bass_black"] -[ext_resource type="Resource" path="res://fish/species/rockfish_canary/rockfish_canary.tres" id="187_rockfish_canary"] -[ext_resource type="Resource" path="res://fish/species/porgy_scup/porgy_scup.tres" id="188_porgy_scup"] -[ext_resource type="Resource" path="res://fish/species/sheepshead/sheepshead.tres" id="189_sheepshead"] -[ext_resource type="Resource" path="res://fish/species/tautog/tautog.tres" id="190_tautog"] -[ext_resource type="Resource" path="res://fish/species/rockfish_yelloweye/rockfish_yelloweye.tres" id="191_rockfish_yelloweye"] -[ext_resource type="Resource" path="res://fish/species/lingcod/lingcod.tres" id="192_lingcod"] -[ext_resource type="Resource" path="res://fish/species/milkfish/milkfish.tres" id="193_milkfish"] -[ext_resource type="Resource" path="res://fish/species/roosterfish/roosterfish.tres" id="194_roosterfish"] -[ext_resource type="Resource" path="res://fish/species/tarpon_atlantic/tarpon_atlantic.tres" id="195_tarpon_atlantic"] -[ext_resource type="Resource" path="res://fish/species/snook_common/snook_common.tres" id="196_snook_common"] -[ext_resource type="Resource" path="res://fish/species/bonefish/bonefish.tres" id="197_bonefish"] -[ext_resource type="Resource" path="res://fish/species/pompano_florida/pompano_florida.tres" id="198_pompano_florida"] -[ext_resource type="Resource" path="res://fish/species/ladyfish/ladyfish.tres" id="199_ladyfish"] -[ext_resource type="Resource" path="res://fish/species/permit/permit.tres" id="200_permit"] -[ext_resource type="Resource" path="res://fish/species/whale_blue/whale_blue.tres" id="201_whale_blue"] -[ext_resource type="Resource" path="res://fish/species/dolphin_bottlenose/dolphin_bottlenose.tres" id="202_dolphin_bottlenose"] -[ext_resource type="Resource" path="res://fish/species/whale_humpback/whale_humpback.tres" id="203_whale_humpback"] -[ext_resource type="Resource" path="res://fish/species/whale_killer/whale_killer.tres" id="204_whale_killer"] -[ext_resource type="Resource" path="res://fish/species/whale_sperm/whale_sperm.tres" id="205_whale_sperm"] +[ext_resource type="Resource" path="res://fish/species/pomfret_golden/pomfret_golden.tres" id="28_pomfret_golden"] +[ext_resource type="Resource" path="res://fish/species/pomfret_white/pomfret_white.tres" id="29_pomfret_white"] +[ext_resource type="Resource" path="res://fish/species/sailfish/sailfish.tres" id="30_sailfish"] +[ext_resource type="Resource" path="res://fish/species/snapper_lane/snapper_lane.tres" id="31_snapper_lane"] +[ext_resource type="Resource" path="res://fish/species/snapper_mangrove/snapper_mangrove.tres" id="32_snapper_mangrove"] +[ext_resource type="Resource" path="res://fish/species/snapper_mutton/snapper_mutton.tres" id="33_snapper_mutton"] +[ext_resource type="Resource" path="res://fish/species/snapper_red/snapper_red.tres" id="34_snapper_red"] +[ext_resource type="Resource" path="res://fish/species/swordfish/swordfish.tres" id="35_swordfish"] [resource] script = ExtResource("1_pool") -candidates = [ExtResource("2_mudskipper_atlantic"), ExtResource("3_mullet_red"), ExtResource("4_plaice_european"), ExtResource("5_flounder_summer"), ExtResource("6_flounder_winter"), ExtResource("7_dugong"), ExtResource("8_seal_harbor"), ExtResource("9_sea_otter"), ExtResource("10_walrus"), ExtResource("11_manatee_west_indian"), ExtResource("12_pipefish_bay"), ExtResource("13_seahorse_lined"), ExtResource("14_monkfish"), ExtResource("15_tripletail"), ExtResource("16_mackerel_atlantic"), ExtResource("17_bluefish"), ExtResource("18_mackerel_cero"), ExtResource("19_mackerel_chub"), ExtResource("20_jack_crevalle"), ExtResource("21_mackerel_king"), ExtResource("22_mackerel_spanish"), ExtResource("23_queenfish_talang"), ExtResource("24_sand_lance_american"), ExtResource("25_menhaden_atlantic"), ExtResource("26_pomfret_black"), ExtResource("27_pomfret_chinese"), ExtResource("28_anchovy_european"), ExtResource("29_sardine_european"), ExtResource("30_pomfret_golden"), ExtResource("31_anchovy_northern"), ExtResource("32_sardine_pacific"), ExtResource("33_pomfret_white"), ExtResource("34_shark_blacktip"), ExtResource("35_shark_great_hammerhead"), ExtResource("36_shark_great_white"), ExtResource("37_shark_tiger"), ExtResource("38_shark_whale"), ExtResource("39_wolffish_atlantic"), ExtResource("40_cusk"), ExtResource("41_wolffish_spotted"), ExtResource("42_herring_atlantic"), ExtResource("43_capelin"), ExtResource("44_sprat_european"), ExtResource("45_herring_pacific"), ExtResource("46_pollock_alaska"), ExtResource("47_cod_atlantic"), ExtResource("48_pollock_atlantic"), ExtResource("49_sole_dover"), ExtResource("50_haddock"), ExtResource("51_cod_pacific"), ExtResource("52_hake_pacific"), ExtResource("53_hake_silver"), ExtResource("54_nautilus_chambered"), ExtResource("55_cuttlefish_common"), ExtResource("56_cuttlefish_flamboyant"), ExtResource("57_tilefish_blueline"), ExtResource("58_tilefish_golden"), ExtResource("59_ocean_perch_pacific"), ExtResource("60_sea_bass_chilean"), ExtResource("61_sablefish"), ExtResource("62_wreckfish"), ExtResource("63_oarfish_giant"), ExtResource("64_coelacanth_west_indian"), ExtResource("65_anglerfish_black_seadevil"), ExtResource("66_fangtooth_common"), ExtResource("67_gulper_eel"), ExtResource("68_barreleye_pacific"), ExtResource("69_blobfish_smooth_head"), ExtResource("70_lanternfish_spotted"), ExtResource("71_sea_star_crown_of_thorns"), ExtResource("72_sea_cucumber_giant_california"), ExtResource("73_urchin_purple"), ExtResource("74_sand_dollar"), ExtResource("75_sea_star_sunflower"), ExtResource("76_jelly_crystal"), ExtResource("77_jelly_lions_mane"), ExtResource("78_jelly_moon"), ExtResource("79_jelly_pacific_sea_nettle"), ExtResource("80_jelly_sea_wasp"), ExtResource("81_pompano_african"), ExtResource("82_cobia"), ExtResource("83_trevally_giant"), ExtResource("84_amberjack_greater"), ExtResource("85_amberjack_lesser"), ExtResource("86_halibut_atlantic"), ExtResource("87_halibut_pacific"), ExtResource("88_turbot"), ExtResource("89_lobster_american"), ExtResource("90_krill_antarctic"), ExtResource("91_lobster_caribbean_spiny"), ExtResource("92_shrimp_peacock_mantis"), ExtResource("93_shrimp_skunk_cleaner"), ExtResource("94_crab_japanese_spider"), ExtResource("95_crab_red_king"), ExtResource("96_salmon_atlantic"), ExtResource("97_salmon_chum"), ExtResource("98_salmon_coho"), ExtResource("99_salmon_pink"), ExtResource("100_salmon_sockeye"), ExtResource("101_marlin_black"), ExtResource("102_marlin_blue"), ExtResource("103_sailfish"), ExtResource("104_swordfish"), ExtResource("105_marlin_white"), ExtResource("106_mahi_mahi"), ExtResource("107_opah"), ExtResource("108_wahoo"), ExtResource("109_tuna_albacore"), ExtResource("110_tuna_bigeye"), ExtResource("111_tuna_bluefin"), ExtResource("112_tuna_skipjack"), ExtResource("113_tuna_yellowfin"), ExtResource("114_octopus_common"), ExtResource("115_octopus_day"), ExtResource("116_octopus_giant_pacific"), ExtResource("117_octopus_greater_blue_ringed"), ExtResource("118_sunfish"), ExtResource("119_skate_barndoor"), ExtResource("120_manta_ray_giant"), ExtResource("121_sawfish_largetooth"), ExtResource("122_stingray_southern"), ExtResource("123_lionfish_red"), ExtResource("124_scorpionfish_red"), ExtResource("125_moray_green"), ExtResource("126_flounder_peacock"), ExtResource("127_surgeonfish_blue"), ExtResource("128_parrotfish_rainbow"), ExtResource("129_parrotfish_stoplight"), ExtResource("130_tang_yellow"), ExtResource("131_trumpetfish_atlantic"), ExtResource("132_triggerfish_gray"), ExtResource("133_pufferfish_guineafowl"), ExtResource("134_cowfish_longhorn"), ExtResource("135_triggerfish_queen"), ExtResource("136_cornetfish_red"), ExtResource("137_porcupinefish_spotted"), ExtResource("138_boxfish_yellow"), ExtResource("139_butterflyfish_copperband"), ExtResource("140_clownfish_ocellaris"), ExtResource("141_angelfish_queen"), ExtResource("142_grouper_atlantic_goliath"), ExtResource("143_trevally_bluefin"), ExtResource("144_grouper_giant"), ExtResource("145_barracuda_great"), ExtResource("146_grouper_gulf"), ExtResource("147_grouper_nassau"), ExtResource("148_grouper_red"), ExtResource("149_chromis_blue_green"), ExtResource("150_grunt_bluestriped"), ExtResource("151_grunt_french"), ExtResource("152_damselfish_sergeant_major"), ExtResource("153_snapper_lane"), ExtResource("154_snapper_mangrove"), ExtResource("155_snapper_mutton"), ExtResource("156_snapper_red"), ExtResource("157_wrasse_ballan"), ExtResource("158_wrasse_cleaner"), ExtResource("159_hogfish"), ExtResource("160_turtle_green"), ExtResource("161_turtle_hawksbill"), ExtResource("162_turtle_leatherback"), ExtResource("163_turtle_loggerhead"), ExtResource("164_seadragon_leafy"), ExtResource("165_seadragon_weedy"), ExtResource("166_oyster_black_lip_pearl"), ExtResource("167_clam_giant"), ExtResource("168_clam_geoduck"), ExtResource("169_conch_queen"), ExtResource("170_abalone_red"), ExtResource("171_squid_bigfin_reef"), ExtResource("172_squid_colossal"), ExtResource("173_squid_giant"), ExtResource("174_squid_humboldt"), ExtResource("175_halfbeak_ballyhoo"), ExtResource("176_needlefish_hound"), ExtResource("177_flyingfish_tropical"), ExtResource("178_bass"), ExtResource("179_croaker_atlantic"), ExtResource("180_black_drum"), ExtResource("181_red_drum"), ExtResource("182_mullet_striped"), ExtResource("183_weakfish"), ExtResource("184_croaker_yellowfin"), ExtResource("185_rockfish_black"), ExtResource("186_sea_bass_black"), ExtResource("187_rockfish_canary"), ExtResource("188_porgy_scup"), ExtResource("189_sheepshead"), ExtResource("190_tautog"), ExtResource("191_rockfish_yelloweye"), ExtResource("192_lingcod"), ExtResource("193_milkfish"), ExtResource("194_roosterfish"), ExtResource("195_tarpon_atlantic"), ExtResource("196_snook_common"), ExtResource("197_bonefish"), ExtResource("198_pompano_florida"), ExtResource("199_ladyfish"), ExtResource("200_permit"), ExtResource("201_whale_blue"), ExtResource("202_dolphin_bottlenose"), ExtResource("203_whale_humpback"), ExtResource("204_whale_killer"), ExtResource("205_whale_sperm")] +candidates = [ExtResource("2_bass"), ExtResource("3_sunfish"), ExtResource("4_tuna_albacore"), ExtResource("5_tuna_bigeye"), ExtResource("6_tuna_bluefin"), ExtResource("7_tuna_skipjack"), ExtResource("8_tuna_yellowfin"), ExtResource("9_salmon_atlantic"), ExtResource("10_salmon_chum"), ExtResource("11_salmon_coho"), ExtResource("12_salmon_pink"), ExtResource("13_salmon_sockeye"), ExtResource("14_anchovy_european"), ExtResource("15_anchovy_northern"), ExtResource("16_grouper_gulf"), ExtResource("17_grouper_red"), ExtResource("18_mackerel_atlantic"), ExtResource("19_mackerel_cero"), ExtResource("20_mackerel_chub"), ExtResource("21_mackerel_king"), ExtResource("22_mackerel_spanish"), ExtResource("23_marlin_black"), ExtResource("24_marlin_blue"), ExtResource("25_marlin_white"), ExtResource("26_pomfret_black"), ExtResource("27_pomfret_chinese"), ExtResource("28_pomfret_golden"), ExtResource("29_pomfret_white"), ExtResource("30_sailfish"), ExtResource("31_snapper_lane"), ExtResource("32_snapper_mangrove"), ExtResource("33_snapper_mutton"), ExtResource("34_snapper_red"), ExtResource("35_swordfish")] diff --git a/fish/pools/starter_pond_pool.tres b/fish/pools/starter_pond_pool.tres index e9718d9..f7976fc 100644 --- a/fish/pools/starter_pond_pool.tres +++ b/fish/pools/starter_pond_pool.tres @@ -1,113 +1,33 @@ -[gd_resource type="Resource" load_steps=108 format=3] +[gd_resource type="Resource" load_steps=28 format=3] [ext_resource type="Script" path="res://fish/fish_pool.gd" id="1_pool"] -[ext_resource type="Resource" path="res://fish/species/bowfin/bowfin.tres" id="2_bowfin"] -[ext_resource type="Resource" path="res://fish/species/gar_spotted/gar_spotted.tres" id="3_gar_spotted"] -[ext_resource type="Resource" path="res://fish/species/lungfish_west_african/lungfish_west_african.tres" id="4_lungfish_west_african"] -[ext_resource type="Resource" path="res://fish/species/guppy/guppy.tres" id="5_guppy"] -[ext_resource type="Resource" path="res://fish/species/tetra_neon/tetra_neon.tres" id="6_tetra_neon"] -[ext_resource type="Resource" path="res://fish/species/danio_zebra/danio_zebra.tres" id="7_danio_zebra"] -[ext_resource type="Resource" path="res://fish/species/largemouth_bass/largemouth_bass.tres" id="8_largemouth_bass"] -[ext_resource type="Resource" path="res://fish/species/bullhead_black/bullhead_black.tres" id="9_bullhead_black"] -[ext_resource type="Resource" path="res://fish/species/bullhead_brown/bullhead_brown.tres" id="10_bullhead_brown"] -[ext_resource type="Resource" path="res://fish/species/catfish_channel/catfish_channel.tres" id="11_catfish_channel"] -[ext_resource type="Resource" path="res://fish/species/catfish_white/catfish_white.tres" id="12_catfish_white"] -[ext_resource type="Resource" path="res://fish/species/bullhead_yellow/bullhead_yellow.tres" id="13_bullhead_yellow"] -[ext_resource type="Resource" path="res://fish/species/carp/carp.tres" id="14_carp"] -[ext_resource type="Resource" path="res://fish/species/roach_common/roach_common.tres" id="15_roach_common"] -[ext_resource type="Resource" path="res://fish/species/rudd/rudd.tres" id="16_rudd"] -[ext_resource type="Resource" path="res://fish/species/tench/tench.tres" id="17_tench"] -[ext_resource type="Resource" path="res://fish/species/crayfish_red_swamp/crayfish_red_swamp.tres" id="18_crayfish_red_swamp"] -[ext_resource type="Resource" path="res://fish/species/minnow_fathead/minnow_fathead.tres" id="19_minnow_fathead"] -[ext_resource type="Resource" path="res://fish/species/shiner_golden/shiner_golden.tres" id="20_shiner_golden"] -[ext_resource type="Resource" path="res://fish/species/loach_weather/loach_weather.tres" id="21_loach_weather"] -[ext_resource type="Resource" path="res://fish/species/goldfish_bubbleeye/goldfish_bubbleeye.tres" id="22_goldfish_bubbleeye"] -[ext_resource type="Resource" path="res://fish/species/goldfish/goldfish.tres" id="23_goldfish"] -[ext_resource type="Resource" path="res://fish/species/koi/koi.tres" id="24_koi"] -[ext_resource type="Resource" path="res://fish/species/crappie_black/crappie_black.tres" id="25_crappie_black"] -[ext_resource type="Resource" path="res://fish/species/bluegill/bluegill.tres" id="26_bluegill"] -[ext_resource type="Resource" path="res://fish/species/green_sunfish/green_sunfish.tres" id="27_green_sunfish"] -[ext_resource type="Resource" path="res://fish/species/pumpkinseed/pumpkinseed.tres" id="28_pumpkinseed"] -[ext_resource type="Resource" path="res://fish/species/redear_sunfish/redear_sunfish.tres" id="29_redear_sunfish"] -[ext_resource type="Resource" path="res://fish/species/warmouth/warmouth.tres" id="30_warmouth"] -[ext_resource type="Resource" path="res://fish/species/pickerel_chain/pickerel_chain.tres" id="31_pickerel_chain"] -[ext_resource type="Resource" path="res://fish/species/pickerel_grass/pickerel_grass.tres" id="32_pickerel_grass"] -[ext_resource type="Resource" path="res://fish/species/betta_siamese/betta_siamese.tres" id="33_betta_siamese"] -[ext_resource type="Resource" path="res://fish/species/catfish_walking/catfish_walking.tres" id="34_catfish_walking"] -[ext_resource type="Resource" path="res://fish/species/sturgeon_lake/sturgeon_lake.tres" id="35_sturgeon_lake"] -[ext_resource type="Resource" path="res://fish/species/burbot/burbot.tres" id="36_burbot"] -[ext_resource type="Resource" path="res://fish/species/cisco/cisco.tres" id="37_cisco"] -[ext_resource type="Resource" path="res://fish/species/whitefish_lake/whitefish_lake.tres" id="38_whitefish_lake"] -[ext_resource type="Resource" path="res://fish/species/char_arctic/char_arctic.tres" id="39_char_arctic"] -[ext_resource type="Resource" path="res://fish/species/trout_golden/trout_golden.tres" id="40_trout_golden"] -[ext_resource type="Resource" path="res://fish/species/axolotl/axolotl.tres" id="41_axolotl"] -[ext_resource type="Resource" path="res://fish/species/bream_common/bream_common.tres" id="42_bream_common"] -[ext_resource type="Resource" path="res://fish/species/muskellunge/muskellunge.tres" id="43_muskellunge"] -[ext_resource type="Resource" path="res://fish/species/shiner_emerald/shiner_emerald.tres" id="44_shiner_emerald"] -[ext_resource type="Resource" path="res://fish/species/chub_lake/chub_lake.tres" id="45_chub_lake"] -[ext_resource type="Resource" path="res://fish/species/crappie_white/crappie_white.tres" id="46_crappie_white"] -[ext_resource type="Resource" path="res://fish/species/yellow_perch/yellow_perch.tres" id="47_yellow_perch"] -[ext_resource type="Resource" path="res://fish/species/pike_northern/pike_northern.tres" id="48_pike_northern"] -[ext_resource type="Resource" path="res://fish/species/saugeye/saugeye.tres" id="49_saugeye"] -[ext_resource type="Resource" path="res://fish/species/walleye/walleye.tres" id="50_walleye"] -[ext_resource type="Resource" path="res://fish/species/goby_round/goby_round.tres" id="51_goby_round"] -[ext_resource type="Resource" path="res://fish/species/smelt_rainbow/smelt_rainbow.tres" id="52_smelt_rainbow"] -[ext_resource type="Resource" path="res://fish/species/gourami_giant/gourami_giant.tres" id="53_gourami_giant"] -[ext_resource type="Resource" path="res://fish/species/tilapia_nile/tilapia_nile.tres" id="54_tilapia_nile"] -[ext_resource type="Resource" path="res://fish/species/gar_longnose/gar_longnose.tres" id="55_gar_longnose"] -[ext_resource type="Resource" path="res://fish/species/paddlefish/paddlefish.tres" id="56_paddlefish"] -[ext_resource type="Resource" path="res://fish/species/sturgeon_shovelnose/sturgeon_shovelnose.tres" id="57_sturgeon_shovelnose"] -[ext_resource type="Resource" path="res://fish/species/foureyes_largescale/foureyes_largescale.tres" id="58_foureyes_largescale"] -[ext_resource type="Resource" path="res://fish/species/grayling_arctic/grayling_arctic.tres" id="59_grayling_arctic"] -[ext_resource type="Resource" path="res://fish/species/trout_brown/trout_brown.tres" id="60_trout_brown"] -[ext_resource type="Resource" path="res://fish/species/trout_cutthroat/trout_cutthroat.tres" id="61_trout_cutthroat"] -[ext_resource type="Resource" path="res://fish/species/trout_rainbow/trout_rainbow.tres" id="62_trout_rainbow"] -[ext_resource type="Resource" path="res://fish/species/hellbender/hellbender.tres" id="63_hellbender"] -[ext_resource type="Resource" path="res://fish/species/smallmouth_bass/smallmouth_bass.tres" id="64_smallmouth_bass"] -[ext_resource type="Resource" path="res://fish/species/buffalo_bigmouth/buffalo_bigmouth.tres" id="65_buffalo_bigmouth"] -[ext_resource type="Resource" path="res://fish/species/redhorse_golden/redhorse_golden.tres" id="66_redhorse_golden"] -[ext_resource type="Resource" path="res://fish/species/quillback/quillback.tres" id="67_quillback"] -[ext_resource type="Resource" path="res://fish/species/buffalo_smallmouth/buffalo_smallmouth.tres" id="68_buffalo_smallmouth"] -[ext_resource type="Resource" path="res://fish/species/sucker_white/sucker_white.tres" id="69_sucker_white"] -[ext_resource type="Resource" path="res://fish/species/catfish_blue/catfish_blue.tres" id="70_catfish_blue"] -[ext_resource type="Resource" path="res://fish/species/catfish_flathead/catfish_flathead.tres" id="71_catfish_flathead"] -[ext_resource type="Resource" path="res://fish/species/madtom_tadpole/madtom_tadpole.tres" id="72_madtom_tadpole"] -[ext_resource type="Resource" path="res://fish/species/barbel_common/barbel_common.tres" id="73_barbel_common"] -[ext_resource type="Resource" path="res://fish/species/chub_european/chub_european.tres" id="74_chub_european"] -[ext_resource type="Resource" path="res://fish/species/fallfish/fallfish.tres" id="75_fallfish"] -[ext_resource type="Resource" path="res://fish/species/ide/ide.tres" id="76_ide"] -[ext_resource type="Resource" path="res://fish/species/gar_alligator/gar_alligator.tres" id="77_gar_alligator"] -[ext_resource type="Resource" path="res://fish/species/arapaima/arapaima.tres" id="78_arapaima"] -[ext_resource type="Resource" path="res://fish/species/tigerfish_goliath/tigerfish_goliath.tres" id="79_tigerfish_goliath"] -[ext_resource type="Resource" path="res://fish/species/shiner_common/shiner_common.tres" id="80_shiner_common"] -[ext_resource type="Resource" path="res://fish/species/chub_creek/chub_creek.tres" id="81_chub_creek"] -[ext_resource type="Resource" path="res://fish/species/chub_flame/chub_flame.tres" id="82_chub_flame"] -[ext_resource type="Resource" path="res://fish/species/electric_eel/electric_eel.tres" id="83_electric_eel"] -[ext_resource type="Resource" path="res://fish/species/freshwater_drum/freshwater_drum.tres" id="84_freshwater_drum"] -[ext_resource type="Resource" path="res://fish/species/goldeye/goldeye.tres" id="85_goldeye"] -[ext_resource type="Resource" path="res://fish/species/mooneye/mooneye.tres" id="86_mooneye"] -[ext_resource type="Resource" path="res://fish/species/sauger/sauger.tres" id="87_sauger"] -[ext_resource type="Resource" path="res://fish/species/eel_american/eel_american.tres" id="88_eel_american"] -[ext_resource type="Resource" path="res://fish/species/eel_european/eel_european.tres" id="89_eel_european"] -[ext_resource type="Resource" path="res://fish/species/smelt_eulachon/smelt_eulachon.tres" id="90_smelt_eulachon"] -[ext_resource type="Resource" path="res://fish/species/sturgeon_white/sturgeon_white.tres" id="91_sturgeon_white"] -[ext_resource type="Resource" path="res://fish/species/trout_steelhead/trout_steelhead.tres" id="92_trout_steelhead"] -[ext_resource type="Resource" path="res://fish/species/stingray_ocellate_river/stingray_ocellate_river.tres" id="93_stingray_ocellate_river"] -[ext_resource type="Resource" path="res://fish/species/white_perch/white_perch.tres" id="94_white_perch"] -[ext_resource type="Resource" path="res://fish/species/barramundi/barramundi.tres" id="95_barramundi"] -[ext_resource type="Resource" path="res://fish/species/knifefish_clown/knifefish_clown.tres" id="96_knifefish_clown"] -[ext_resource type="Resource" path="res://fish/species/loach_clown/loach_clown.tres" id="97_loach_clown"] -[ext_resource type="Resource" path="res://fish/species/discus/discus.tres" id="98_discus"] -[ext_resource type="Resource" path="res://fish/species/angelfish_freshwater/angelfish_freshwater.tres" id="99_angelfish_freshwater"] -[ext_resource type="Resource" path="res://fish/species/oscar/oscar.tres" id="100_oscar"] -[ext_resource type="Resource" path="res://fish/species/tambaqui/tambaqui.tres" id="101_tambaqui"] -[ext_resource type="Resource" path="res://fish/species/snakehead_giant/snakehead_giant.tres" id="102_snakehead_giant"] -[ext_resource type="Resource" path="res://fish/species/dorado_golden/dorado_golden.tres" id="103_dorado_golden"] -[ext_resource type="Resource" path="res://fish/species/mahseer_golden/mahseer_golden.tres" id="104_mahseer_golden"] -[ext_resource type="Resource" path="res://fish/species/peacock_bass/peacock_bass.tres" id="105_peacock_bass"] -[ext_resource type="Resource" path="res://fish/species/piranha_red_bellied/piranha_red_bellied.tres" id="106_piranha_red_bellied"] -[ext_resource type="Resource" path="res://fish/species/arowana_silver/arowana_silver.tres" id="107_arowana_silver"] +[ext_resource type="Resource" path="res://fish/species/bluegill/bluegill.tres" id="2_bluegill"] +[ext_resource type="Resource" path="res://fish/species/carp/carp.tres" id="3_carp"] +[ext_resource type="Resource" path="res://fish/species/catfish_blue/catfish_blue.tres" id="4_catfish_blue"] +[ext_resource type="Resource" path="res://fish/species/catfish_channel/catfish_channel.tres" id="5_catfish_channel"] +[ext_resource type="Resource" path="res://fish/species/catfish_flathead/catfish_flathead.tres" id="6_catfish_flathead"] +[ext_resource type="Resource" path="res://fish/species/catfish_white/catfish_white.tres" id="7_catfish_white"] +[ext_resource type="Resource" path="res://fish/species/goby_round/goby_round.tres" id="8_goby_round"] +[ext_resource type="Resource" path="res://fish/species/chub_european/chub_european.tres" id="9_chub_european"] +[ext_resource type="Resource" path="res://fish/species/chub_flame/chub_flame.tres" id="10_chub_flame"] +[ext_resource type="Resource" path="res://fish/species/chub_lake/chub_lake.tres" id="11_chub_lake"] +[ext_resource type="Resource" path="res://fish/species/goldfish/goldfish.tres" id="12_goldfish"] +[ext_resource type="Resource" path="res://fish/species/goldfish_bubbleeye/goldfish_bubbleeye.tres" id="13_goldfish_bubbleeye"] +[ext_resource type="Resource" path="res://fish/species/sauger/sauger.tres" id="14_sauger"] +[ext_resource type="Resource" path="res://fish/species/saugeye/saugeye.tres" id="15_saugeye"] +[ext_resource type="Resource" path="res://fish/species/trout_cutthroat/trout_cutthroat.tres" id="16_trout_cutthroat"] +[ext_resource type="Resource" path="res://fish/species/trout_golden/trout_golden.tres" id="17_trout_golden"] +[ext_resource type="Resource" path="res://fish/species/trout_rainbow/trout_rainbow.tres" id="18_trout_rainbow"] +[ext_resource type="Resource" path="res://fish/species/trout_steelhead/trout_steelhead.tres" id="19_trout_steelhead"] +[ext_resource type="Resource" path="res://fish/species/walleye/walleye.tres" id="20_walleye"] +[ext_resource type="Resource" path="res://fish/species/bowfin/bowfin.tres" id="21_bowfin"] +[ext_resource type="Resource" path="res://fish/species/sturgeon_lake/sturgeon_lake.tres" id="22_sturgeon_lake"] +[ext_resource type="Resource" path="res://fish/species/gar_longnose/gar_longnose.tres" id="23_gar_longnose"] +[ext_resource type="Resource" path="res://fish/species/paddlefish/paddlefish.tres" id="24_paddlefish"] +[ext_resource type="Resource" path="res://fish/species/sturgeon_shovelnose/sturgeon_shovelnose.tres" id="25_sturgeon_shovelnose"] +[ext_resource type="Resource" path="res://fish/species/gar_spotted/gar_spotted.tres" id="26_gar_spotted"] +[ext_resource type="Resource" path="res://fish/species/lungfish_west_african/lungfish_west_african.tres" id="27_lungfish_west_african"] [resource] script = ExtResource("1_pool") -candidates = [ExtResource("2_bowfin"), ExtResource("3_gar_spotted"), ExtResource("4_lungfish_west_african"), ExtResource("5_guppy"), ExtResource("6_tetra_neon"), ExtResource("7_danio_zebra"), ExtResource("8_largemouth_bass"), ExtResource("9_bullhead_black"), ExtResource("10_bullhead_brown"), ExtResource("11_catfish_channel"), ExtResource("12_catfish_white"), ExtResource("13_bullhead_yellow"), ExtResource("14_carp"), ExtResource("15_roach_common"), ExtResource("16_rudd"), ExtResource("17_tench"), ExtResource("18_crayfish_red_swamp"), ExtResource("19_minnow_fathead"), ExtResource("20_shiner_golden"), ExtResource("21_loach_weather"), ExtResource("22_goldfish_bubbleeye"), ExtResource("23_goldfish"), ExtResource("24_koi"), ExtResource("25_crappie_black"), ExtResource("26_bluegill"), ExtResource("27_green_sunfish"), ExtResource("28_pumpkinseed"), ExtResource("29_redear_sunfish"), ExtResource("30_warmouth"), ExtResource("31_pickerel_chain"), ExtResource("32_pickerel_grass"), ExtResource("33_betta_siamese"), ExtResource("34_catfish_walking"), ExtResource("35_sturgeon_lake"), ExtResource("36_burbot"), ExtResource("37_cisco"), ExtResource("38_whitefish_lake"), ExtResource("39_char_arctic"), ExtResource("40_trout_golden"), ExtResource("41_axolotl"), ExtResource("42_bream_common"), ExtResource("43_muskellunge"), ExtResource("44_shiner_emerald"), ExtResource("45_chub_lake"), ExtResource("46_crappie_white"), ExtResource("47_yellow_perch"), ExtResource("48_pike_northern"), ExtResource("49_saugeye"), ExtResource("50_walleye"), ExtResource("51_goby_round"), ExtResource("52_smelt_rainbow"), ExtResource("53_gourami_giant"), ExtResource("54_tilapia_nile"), ExtResource("55_gar_longnose"), ExtResource("56_paddlefish"), ExtResource("57_sturgeon_shovelnose"), ExtResource("58_foureyes_largescale"), ExtResource("59_grayling_arctic"), ExtResource("60_trout_brown"), ExtResource("61_trout_cutthroat"), ExtResource("62_trout_rainbow"), ExtResource("63_hellbender"), ExtResource("64_smallmouth_bass"), ExtResource("65_buffalo_bigmouth"), ExtResource("66_redhorse_golden"), ExtResource("67_quillback"), ExtResource("68_buffalo_smallmouth"), ExtResource("69_sucker_white"), ExtResource("70_catfish_blue"), ExtResource("71_catfish_flathead"), ExtResource("72_madtom_tadpole"), ExtResource("73_barbel_common"), ExtResource("74_chub_european"), ExtResource("75_fallfish"), ExtResource("76_ide"), ExtResource("77_gar_alligator"), ExtResource("78_arapaima"), ExtResource("79_tigerfish_goliath"), ExtResource("80_shiner_common"), ExtResource("81_chub_creek"), ExtResource("82_chub_flame"), ExtResource("83_electric_eel"), ExtResource("84_freshwater_drum"), ExtResource("85_goldeye"), ExtResource("86_mooneye"), ExtResource("87_sauger"), ExtResource("88_eel_american"), ExtResource("89_eel_european"), ExtResource("90_smelt_eulachon"), ExtResource("91_sturgeon_white"), ExtResource("92_trout_steelhead"), ExtResource("93_stingray_ocellate_river"), ExtResource("94_white_perch"), ExtResource("95_barramundi"), ExtResource("96_knifefish_clown"), ExtResource("97_loach_clown"), ExtResource("98_discus"), ExtResource("99_angelfish_freshwater"), ExtResource("100_oscar"), ExtResource("101_tambaqui"), ExtResource("102_snakehead_giant"), ExtResource("103_dorado_golden"), ExtResource("104_mahseer_golden"), ExtResource("105_peacock_bass"), ExtResource("106_piranha_red_bellied"), ExtResource("107_arowana_silver")] +candidates = [ExtResource("2_bluegill"), ExtResource("3_carp"), ExtResource("4_catfish_blue"), ExtResource("5_catfish_channel"), ExtResource("6_catfish_flathead"), ExtResource("7_catfish_white"), ExtResource("8_goby_round"), ExtResource("9_chub_european"), ExtResource("10_chub_flame"), ExtResource("11_chub_lake"), ExtResource("12_goldfish"), ExtResource("13_goldfish_bubbleeye"), ExtResource("14_sauger"), ExtResource("15_saugeye"), ExtResource("16_trout_cutthroat"), ExtResource("17_trout_golden"), ExtResource("18_trout_rainbow"), ExtResource("19_trout_steelhead"), ExtResource("20_walleye"), ExtResource("21_bowfin"), ExtResource("22_sturgeon_lake"), ExtResource("23_gar_longnose"), ExtResource("24_paddlefish"), ExtResource("25_sturgeon_shovelnose"), ExtResource("26_gar_spotted"), ExtResource("27_lungfish_west_african")] diff --git a/fish/species/abalone_red/abalone_red.tres b/fish/species/abalone_red/abalone_red.tres index 6efe784..f454905 100644 --- a/fish/species/abalone_red/abalone_red.tres +++ b/fish/species/abalone_red/abalone_red.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"abalone_red" display_name = "red abalone" -active = true +active = false catalog_number = 6405 collection_group = &"Shellfish" logbook_fact = "red abalones cling to pacific rocks with broad muscular feet. rows of shell holes release water that has passed over the gills." @@ -29,4 +28,3 @@ weight_max_lb = 12.0 sell_value_min = 24 sell_value_max = 56 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/amberjack_greater/amberjack_greater.tres b/fish/species/amberjack_greater/amberjack_greater.tres index b0e40b8..2a7c794 100644 --- a/fish/species/amberjack_greater/amberjack_greater.tres +++ b/fish/species/amberjack_greater/amberjack_greater.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"amberjack_greater" display_name = "greater amberjack" -active = true +active = false catalog_number = 3604 collection_group = &"Large coastal predators" logbook_fact = "greater amberjacks circle reefs, wrecks, and offshore platforms. a dark stripe crosses the eye of their sturdy torpedo-shaped bodies." @@ -27,4 +26,3 @@ weight_max_lb = 90.0 sell_value_min = 15 sell_value_max = 42 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/amberjack_lesser/amberjack_lesser.tres b/fish/species/amberjack_lesser/amberjack_lesser.tres index 1d5983c..0f82f2f 100644 --- a/fish/species/amberjack_lesser/amberjack_lesser.tres +++ b/fish/species/amberjack_lesser/amberjack_lesser.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"amberjack_lesser" display_name = "lesser amberjack" -active = true +active = false catalog_number = 3605 collection_group = &"Large coastal predators" logbook_fact = "lesser amberjacks school around deep reefs and floating objects. an enlarged eye suits their preference for dimmer water." @@ -27,4 +26,3 @@ weight_max_lb = 20.0 sell_value_min = 7 sell_value_max = 18 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/anchovy_european/anchovy_european.tres b/fish/species/anchovy_european/anchovy_european.tres index 0a7d122..4e442e7 100644 --- a/fish/species/anchovy_european/anchovy_european.tres +++ b/fish/species/anchovy_european/anchovy_european.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/805.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://debgohfsg4ec7" path="res://fish/species/anchovy_european/fish_anchovy_european.png" id="4_texture"] [sub_resource type="Resource" id="AnchovyEuropeanAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/anchovy_northern/anchovy_northern.tres b/fish/species/anchovy_northern/anchovy_northern.tres index e2c7fa0..37c52f7 100644 --- a/fish/species/anchovy_northern/anchovy_northern.tres +++ b/fish/species/anchovy_northern/anchovy_northern.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/808.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://6sikqc8eivta" path="res://fish/species/anchovy_northern/fish_anchovy_northern.png" id="4_texture"] [sub_resource type="Resource" id="AnchovyNorthernAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/angelfish_freshwater/angelfish_freshwater.tres b/fish/species/angelfish_freshwater/angelfish_freshwater.tres index 7a58450..63d818b 100644 --- a/fish/species/angelfish_freshwater/angelfish_freshwater.tres +++ b/fish/species/angelfish_freshwater/angelfish_freshwater.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"angelfish_freshwater" display_name = "freshwater angelfish" -active = true +active = false catalog_number = 7504 collection_group = &"Tropical freshwater fish" logbook_fact = "freshwater angelfish slip between tall plants on narrow triangular bodies. long fins and vertical bars resemble stems and shadows." @@ -28,4 +27,3 @@ weight_max_lb = 0.5 sell_value_min = 10 sell_value_max = 22 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/angelfish_queen/angelfish_queen.tres b/fish/species/angelfish_queen/angelfish_queen.tres index 5a15f5b..70706d8 100644 --- a/fish/species/angelfish_queen/angelfish_queen.tres +++ b/fish/species/angelfish_queen/angelfish_queen.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"angelfish_queen" display_name = "queen angelfish" -active = true +active = false catalog_number = 5703 collection_group = &"Reef ornamentals" logbook_fact = "queen angelfish graze sponges from warm atlantic reefs. a blue-ringed spot on the forehead resembles a tiny crown." @@ -28,4 +27,3 @@ weight_max_lb = 2.0 sell_value_min = 11 sell_value_max = 25 sell_value_curve = 0.94 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/anglerfish_black_seadevil/anglerfish_black_seadevil.tres b/fish/species/anglerfish_black_seadevil/anglerfish_black_seadevil.tres index 83b1fb3..4ac947e 100644 --- a/fish/species/anglerfish_black_seadevil/anglerfish_black_seadevil.tres +++ b/fish/species/anglerfish_black_seadevil/anglerfish_black_seadevil.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"anglerfish_black_seadevil" display_name = "black seadevil" -active = true +active = false catalog_number = 1801 collection_group = &"Deep-sea oddities" logbook_fact = "black seadevils lure prey with a glowing organ suspended above the mouth. tiny males permanently attach to much larger females." @@ -28,4 +27,3 @@ weight_max_lb = 2.0 sell_value_min = 48 sell_value_max = 105 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/arapaima/arapaima.tres b/fish/species/arapaima/arapaima.tres index b43e3bd..6561920 100644 --- a/fish/species/arapaima/arapaima.tres +++ b/fish/species/arapaima/arapaima.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"arapaima" display_name = "arapaima" -active = true +active = false catalog_number = 2702 collection_group = &"Freshwater giants" logbook_fact = "arapaima must surface frequently to gulp air through a specialized swim bladder. large armored scales protect their long river-going bodies." @@ -28,4 +27,3 @@ weight_max_lb = 400.0 sell_value_min = 60 sell_value_max = 140 sell_value_curve = 0.78 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/arowana_silver/arowana_silver.tres b/fish/species/arowana_silver/arowana_silver.tres index 42baf33..054b94d 100644 --- a/fish/species/arowana_silver/arowana_silver.tres +++ b/fish/species/arowana_silver/arowana_silver.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"arowana_silver" display_name = "silver arowana" -active = true +active = false catalog_number = 7606 collection_group = &"Tropical freshwater predators" logbook_fact = "silver arowanas patrol the surface with upturned mouths and long bodies. powerful jumps capture insects and small animals above the water." @@ -29,4 +28,3 @@ weight_max_lb = 15.0 sell_value_min = 25 sell_value_max = 56 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/axolotl/axolotl.tres b/fish/species/axolotl/axolotl.tres index c201f9c..f67de61 100644 --- a/fish/species/axolotl/axolotl.tres +++ b/fish/species/axolotl/axolotl.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"axolotl" display_name = "axolotl" -active = true +active = false catalog_number = 2001 collection_group = &"Freshwater amphibians" logbook_fact = "axolotls remain aquatic and keep feathery external gills throughout adulthood. lost limbs and parts of several organs can regenerate." @@ -29,4 +28,3 @@ weight_max_lb = 0.7 sell_value_min = 36 sell_value_max = 78 sell_value_curve = 0.96 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/barbel_common/barbel_common.tres b/fish/species/barbel_common/barbel_common.tres index 9cbafff..4e1711b 100644 --- a/fish/species/barbel_common/barbel_common.tres +++ b/fish/species/barbel_common/barbel_common.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"barbel_common" display_name = "common barbel" -active = true +active = false catalog_number = 2501 collection_group = &"Freshwater coarse fish" logbook_fact = "common barbels hold close to fast river bottoms with streamlined bodies and broad fins. four mouth barbels locate food among stones." @@ -29,4 +28,3 @@ weight_max_lb = 25.0 sell_value_min = 13 sell_value_max = 31 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/barracuda_great/barracuda_great.tres b/fish/species/barracuda_great/barracuda_great.tres index f15092c..0039cef 100644 --- a/fish/species/barracuda_great/barracuda_great.tres +++ b/fish/species/barracuda_great/barracuda_great.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"barracuda_great" display_name = "great barracuda" -active = true +active = false catalog_number = 5804 collection_group = &"Reef predators" logbook_fact = "great barracudas hover motionless before accelerating toward prey. long jaws carry two distinct rows of sharp teeth." @@ -29,4 +28,3 @@ weight_max_lb = 80.0 sell_value_min = 28 sell_value_max = 65 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/barramundi/barramundi.tres b/fish/species/barramundi/barramundi.tres index 705001d..0b98fe4 100644 --- a/fish/species/barramundi/barramundi.tres +++ b/fish/species/barramundi/barramundi.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"barramundi" display_name = "barramundi" -active = true +active = false catalog_number = 7302 collection_group = &"Tropical estuary" logbook_fact = "barramundi move between rivers and coasts and can breathe in low-oxygen water. many mature first as males and later become females." @@ -29,4 +28,3 @@ weight_max_lb = 45.0 sell_value_min = 15 sell_value_max = 38 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/barreleye_pacific/barreleye_pacific.tres b/fish/species/barreleye_pacific/barreleye_pacific.tres index c0705dd..d1d9fc8 100644 --- a/fish/species/barreleye_pacific/barreleye_pacific.tres +++ b/fish/species/barreleye_pacific/barreleye_pacific.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"barreleye_pacific" display_name = "Pacific barreleye" -active = true +active = false catalog_number = 1804 collection_group = &"Deep-sea oddities" logbook_fact = "pacific barreleyes peer upward through transparent shields covering the head. tubular eyes rotate forward when the fish turns to feed." @@ -29,4 +28,3 @@ weight_max_lb = 2.5 sell_value_min = 42 sell_value_max = 88 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/bass/bass.tres b/fish/species/bass/bass.tres index 9d52609..eeb6df5 100644 --- a/fish/species/bass/bass.tres +++ b/fish/species/bass/bass.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://dvh6s86asl4ix" path="res://fish/species/bass/fish_bass_striped.png" id="4_texture"] [sub_resource type="Resource" id="BassAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/betta_siamese/betta_siamese.tres b/fish/species/betta_siamese/betta_siamese.tres index 4c9ca3c..276ecfb 100644 --- a/fish/species/betta_siamese/betta_siamese.tres +++ b/fish/species/betta_siamese/betta_siamese.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/7508.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"betta_siamese" display_name = "Siamese fighting fish" -active = true +active = false catalog_number = 7508 collection_group = &"Tropical freshwater fish" logbook_fact = "siamese fighting fish breathe surface air with a labyrinth organ. males build bubble nests and guard the eggs beneath them." @@ -29,4 +28,3 @@ weight_max_lb = 0.15 sell_value_min = 5 sell_value_max = 10 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/black_drum/black_drum.tres b/fish/species/black_drum/black_drum.tres index b542327..46d7db4 100644 --- a/fish/species/black_drum/black_drum.tres +++ b/fish/species/black_drum/black_drum.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"black_drum" display_name = "black drum" -active = true +active = false catalog_number = 6802 collection_group = &"Temperate estuary" logbook_fact = "black drum crush oysters and crabs with rounded throat teeth. large adults develop dark vertical bars that fade with age." @@ -28,4 +27,3 @@ weight_max_lb = 70.0 sell_value_min = 8 sell_value_max = 27 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/blobfish_smooth_head/blobfish_smooth_head.tres b/fish/species/blobfish_smooth_head/blobfish_smooth_head.tres index 4245304..41846aa 100644 --- a/fish/species/blobfish_smooth_head/blobfish_smooth_head.tres +++ b/fish/species/blobfish_smooth_head/blobfish_smooth_head.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"blobfish_smooth_head" display_name = "smooth-head blobfish" -active = true +active = false catalog_number = 1805 collection_group = &"Deep-sea oddities" logbook_fact = "smooth-head blobfish rest on deep slopes where pressure supports their soft bodies. they conserve energy by waiting for edible matter nearby." @@ -29,4 +28,3 @@ weight_max_lb = 5.0 sell_value_min = 42 sell_value_max = 90 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/bluefish/bluefish.tres b/fish/species/bluefish/bluefish.tres index d8888f7..f36c898 100644 --- a/fish/species/bluefish/bluefish.tres +++ b/fish/species/bluefish/bluefish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"bluefish" display_name = "bluefish" -active = true +active = false catalog_number = 702 collection_group = &"Coastal pelagic fish" logbook_fact = "bluefish race in coordinated schools while pursuing smaller fish. sharp teeth and powerful jaws make their feeding bursts especially fierce." @@ -28,4 +27,3 @@ weight_max_lb = 25.0 sell_value_min = 7 sell_value_max = 19 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/bluegill/bluegill.tres b/fish/species/bluegill/bluegill.tres index 181b969..e32fdcb 100644 --- a/fish/species/bluegill/bluegill.tres +++ b/fish/species/bluegill/bluegill.tres @@ -3,7 +3,7 @@ [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"] [ext_resource type="Resource" path="res://fish/day_availability.tres" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/3102.png" id="4_texture"] +[ext_resource type="Texture2D" path="res://fish/species/bluegill/fish_bluegill.png" id="4_texture"] [resource] script = ExtResource("1_fish_data") diff --git a/fish/species/bonefish/bonefish.tres b/fish/species/bonefish/bonefish.tres index b2949d2..fe4def7 100644 --- a/fish/species/bonefish/bonefish.tres +++ b/fish/species/bonefish/bonefish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"bonefish" display_name = "bonefish" -active = true +active = false catalog_number = 7401 collection_group = &"Tropical flats fish" logbook_fact = "bonefish sweep tropical flats in silvery schools and root for buried prey. their speed and pale bodies make them difficult to follow in shallow water." @@ -29,4 +28,3 @@ weight_max_lb = 15.0 sell_value_min = 13 sell_value_max = 31 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/bowfin/bowfin.tres b/fish/species/bowfin/bowfin.tres index 7b2881f..dc76fd9 100644 --- a/fish/species/bowfin/bowfin.tres +++ b/fish/species/bowfin/bowfin.tres @@ -3,7 +3,7 @@ [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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/101.png" id="4_texture"] +[ext_resource type="Texture2D" path="res://fish/species/bowfin/bowfin.png" id="4_texture"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") diff --git a/fish/species/boxfish_yellow/boxfish_yellow.tres b/fish/species/boxfish_yellow/boxfish_yellow.tres index aeda5ad..040e8fc 100644 --- a/fish/species/boxfish_yellow/boxfish_yellow.tres +++ b/fish/species/boxfish_yellow/boxfish_yellow.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"boxfish_yellow" display_name = "yellow boxfish" -active = true +active = false catalog_number = 5608 collection_group = &"Reef oddities" logbook_fact = "yellow boxfish juveniles are bright cubes covered in black spots. rigid body armor leaves small fins to provide careful steering." @@ -28,4 +27,3 @@ weight_max_lb = 0.8 sell_value_min = 10 sell_value_max = 22 sell_value_curve = 0.96 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/bream_common/bream_common.tres b/fish/species/bream_common/bream_common.tres index cc44fef..38d9015 100644 --- a/fish/species/bream_common/bream_common.tres +++ b/fish/species/bream_common/bream_common.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2502.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"bream_common" display_name = "common bream" -active = true +active = false catalog_number = 2502 collection_group = &"Freshwater coarse fish" logbook_fact = "common bream gather in slow rivers and lakes with silvery, deep-sided bodies. protruding mouths sift insect larvae from soft bottoms." @@ -27,4 +26,3 @@ weight_max_lb = 15.0 sell_value_min = 4 sell_value_max = 12 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/buffalo_bigmouth/buffalo_bigmouth.tres b/fish/species/buffalo_bigmouth/buffalo_bigmouth.tres index bae0473..6292951 100644 --- a/fish/species/buffalo_bigmouth/buffalo_bigmouth.tres +++ b/fish/species/buffalo_bigmouth/buffalo_bigmouth.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"buffalo_bigmouth" display_name = "bigmouth buffalo" -active = true +active = false catalog_number = 2301 collection_group = &"Freshwater bottom fish" logbook_fact = "bigmouth buffalo filter plankton with fine gill rakers instead of rooting for prey. some individuals survive for more than a century." @@ -28,4 +27,3 @@ weight_max_lb = 80.0 sell_value_min = 28 sell_value_max = 63 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/buffalo_smallmouth/buffalo_smallmouth.tres b/fish/species/buffalo_smallmouth/buffalo_smallmouth.tres index 2756035..d590ec6 100644 --- a/fish/species/buffalo_smallmouth/buffalo_smallmouth.tres +++ b/fish/species/buffalo_smallmouth/buffalo_smallmouth.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"buffalo_smallmouth" display_name = "smallmouth buffalo" -active = true +active = false catalog_number = 2304 collection_group = &"Freshwater bottom fish" logbook_fact = "smallmouth buffalo use thick lips to graze bottom-dwelling food in warm rivers. their deep, heavy bodies form a pronounced arch behind the head." @@ -27,4 +26,3 @@ weight_max_lb = 45.0 sell_value_min = 14 sell_value_max = 34 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/bullhead_black/bullhead_black.tres b/fish/species/bullhead_black/bullhead_black.tres index 1d904bd..f10fa87 100644 --- a/fish/species/bullhead_black/bullhead_black.tres +++ b/fish/species/bullhead_black/bullhead_black.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"bullhead_black" display_name = "black bullhead" -active = true +active = false catalog_number = 2401 collection_group = &"Freshwater catfish" logbook_fact = "black bullheads tolerate warm, cloudy water with little oxygen. stout spines protect the dorsal and pectoral fins from predators." @@ -28,4 +27,3 @@ weight_max_lb = 6.0 sell_value_min = 5 sell_value_max = 11 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/bullhead_brown/bullhead_brown.tres b/fish/species/bullhead_brown/bullhead_brown.tres index b3651b2..a2c81f9 100644 --- a/fish/species/bullhead_brown/bullhead_brown.tres +++ b/fish/species/bullhead_brown/bullhead_brown.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"bullhead_brown" display_name = "brown bullhead" -active = true +active = false catalog_number = 2403 collection_group = &"Freshwater catfish" logbook_fact = "brown bullheads search muddy bottoms with eight sensitive barbels. males guard nests and herd newly hatched young in a dark moving ball." @@ -28,4 +27,3 @@ weight_max_lb = 4.0 sell_value_min = 3 sell_value_max = 7 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/bullhead_yellow/bullhead_yellow.tres b/fish/species/bullhead_yellow/bullhead_yellow.tres index 4dce589..b00df0d 100644 --- a/fish/species/bullhead_yellow/bullhead_yellow.tres +++ b/fish/species/bullhead_yellow/bullhead_yellow.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"bullhead_yellow" display_name = "yellow bullhead" -active = true +active = false catalog_number = 2408 collection_group = &"Freshwater catfish" logbook_fact = "yellow bullheads use pale chin barbels to distinguish food in murky shallows. both parents may guard the nest and schooling young." @@ -29,4 +28,3 @@ weight_max_lb = 3.5 sell_value_min = 3 sell_value_max = 7 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/burbot/burbot.tres b/fish/species/burbot/burbot.tres index e46006c..189f076 100644 --- a/fish/species/burbot/burbot.tres +++ b/fish/species/burbot/burbot.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"burbot" display_name = "burbot" -active = true +active = false catalog_number = 1001 collection_group = &"Cold freshwater fish" logbook_fact = "burbot are the only freshwater members of the cod family. they become most active in cold darkness and may spawn beneath winter ice." @@ -29,4 +28,3 @@ weight_max_lb = 18.0 sell_value_min = 12 sell_value_max = 28 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/butterflyfish_copperband/butterflyfish_copperband.tres b/fish/species/butterflyfish_copperband/butterflyfish_copperband.tres index 7a7c112..8ef5d2e 100644 --- a/fish/species/butterflyfish_copperband/butterflyfish_copperband.tres +++ b/fish/species/butterflyfish_copperband/butterflyfish_copperband.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"butterflyfish_copperband" display_name = "copperband butterflyfish" -active = true +active = false catalog_number = 5701 collection_group = &"Reef ornamentals" logbook_fact = "copperband butterflyfish probe reef cracks with long narrow snouts. bold orange bands and a false eyespot confuse predators." @@ -29,4 +28,3 @@ weight_max_lb = 0.4 sell_value_min = 9 sell_value_max = 21 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/capelin/capelin.tres b/fish/species/capelin/capelin.tres index 5759cb8..7f1b9ba 100644 --- a/fish/species/capelin/capelin.tres +++ b/fish/species/capelin/capelin.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"capelin" display_name = "capelin" -active = true +active = false catalog_number = 1302 collection_group = &"Cold schooling fish" logbook_fact = "capelin are small polar fish that feed whales, seabirds, and larger fish. many schools roll onto beaches or shallows to release their eggs." @@ -28,4 +27,3 @@ weight_max_lb = 0.2 sell_value_min = 4 sell_value_max = 8 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/carp/carp.tres b/fish/species/carp/carp.tres index 24b50e7..37cff52 100644 --- a/fish/species/carp/carp.tres +++ b/fish/species/carp/carp.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" 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" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://c6pa1gqwv1a5s" path="res://fish/species/carp/fish_carp_common.png" id="4_texture"] [sub_resource type="Resource" id="CarpAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/catfish_blue/catfish_blue.tres b/fish/species/catfish_blue/catfish_blue.tres index 8df5866..595db08 100644 --- a/fish/species/catfish_blue/catfish_blue.tres +++ b/fish/species/catfish_blue/catfish_blue.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://7f1dtcou8moe" path="res://fish/species/catfish_blue/fish_catfish_blue.png" id="4_texture"] [sub_resource type="Resource" id="BlueCatfishAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/catfish_channel/catfish_channel.tres b/fish/species/catfish_channel/catfish_channel.tres index e72fdb0..5d265ef 100644 --- a/fish/species/catfish_channel/catfish_channel.tres +++ b/fish/species/catfish_channel/catfish_channel.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://dvxpk2ltt3blb" path="res://fish/species/catfish_channel/fish_catfish_channel.png" id="4_texture"] [sub_resource type="Resource" id="ChannelCatfishAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/catfish_flathead/catfish_flathead.tres b/fish/species/catfish_flathead/catfish_flathead.tres index de0e5f6..b4df9d5 100644 --- a/fish/species/catfish_flathead/catfish_flathead.tres +++ b/fish/species/catfish_flathead/catfish_flathead.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://bacx63lp0yh7t" path="res://fish/species/catfish_flathead/fish_catfish_flathead.png" id="4_texture"] [sub_resource type="Resource" id="FlatheadCatfishAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/catfish_walking/catfish_walking.tres b/fish/species/catfish_walking/catfish_walking.tres index fe36cee..c0de099 100644 --- a/fish/species/catfish_walking/catfish_walking.tres +++ b/fish/species/catfish_walking/catfish_walking.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"catfish_walking" display_name = "walking catfish" -active = true +active = false catalog_number = 7510 collection_group = &"Tropical freshwater fish" logbook_fact = "walking catfish wriggle across wet ground using stiff pectoral spines for support. an air-breathing organ helps them survive the journey." @@ -29,4 +28,3 @@ weight_max_lb = 5.0 sell_value_min = 11 sell_value_max = 24 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/catfish_white/catfish_white.tres b/fish/species/catfish_white/catfish_white.tres index 86b799f..4612c4f 100644 --- a/fish/species/catfish_white/catfish_white.tres +++ b/fish/species/catfish_white/catfish_white.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://bf6kiawwekv7g" path="res://fish/species/catfish_white/fish_catfish_white.png" id="4_texture"] [sub_resource type="Resource" id="WhiteCatfishAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/char_arctic/char_arctic.tres b/fish/species/char_arctic/char_arctic.tres index 17d08d1..85bcac1 100644 --- a/fish/species/char_arctic/char_arctic.tres +++ b/fish/species/char_arctic/char_arctic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ forbid_rain = true script = ExtResource("1_fish_data") id = &"char_arctic" display_name = "arctic char" -active = true +active = false catalog_number = 1101 collection_group = &"Cold freshwater salmonids" logbook_fact = "arctic char thrive farther north than any other freshwater fish. some remain in lakes while others migrate between rivers and the sea." @@ -28,4 +27,3 @@ weight_max_lb = 25.0 sell_value_min = 14 sell_value_max = 32 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/chromis_blue_green/chromis_blue_green.tres b/fish/species/chromis_blue_green/chromis_blue_green.tres index 65f35b4..cec319e 100644 --- a/fish/species/chromis_blue_green/chromis_blue_green.tres +++ b/fish/species/chromis_blue_green/chromis_blue_green.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/5901.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"chromis_blue_green" display_name = "blue-green chromis" -active = true +active = false catalog_number = 5901 collection_group = &"Reef schooling fish" logbook_fact = "blue-green chromis form loose clouds above branching coral. the school dives into narrow shelter whenever a predator approaches." @@ -28,4 +27,3 @@ weight_max_lb = 0.25 sell_value_min = 2 sell_value_max = 4 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/chub_creek/chub_creek.tres b/fish/species/chub_creek/chub_creek.tres index 778e9da..acd5351 100644 --- a/fish/species/chub_creek/chub_creek.tres +++ b/fish/species/chub_creek/chub_creek.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2802.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"chub_creek" display_name = "creek chub" -active = true +active = false catalog_number = 2802 collection_group = &"Freshwater minnows" logbook_fact = "creek chubs gather around pools and undercut banks in small streams. males build gravel ridges where several fish may spawn." @@ -28,4 +27,3 @@ weight_max_lb = 0.8 sell_value_min = 2 sell_value_max = 4 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/chub_european/chub_european.tres b/fish/species/chub_european/chub_european.tres index 16f43a1..aded2f7 100644 --- a/fish/species/chub_european/chub_european.tres +++ b/fish/species/chub_european/chub_european.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2505.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://c04wtbyslmpll" path="res://fish/species/chub_european/fish_chub_european.png" id="4_texture"] [sub_resource type="Resource" id="ChubEuropeanAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/chub_flame/chub_flame.tres b/fish/species/chub_flame/chub_flame.tres index 2bf815c..941c734 100644 --- a/fish/species/chub_flame/chub_flame.tres +++ b/fish/species/chub_flame/chub_flame.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://bla6pc21imxsi" path="res://fish/species/chub_flame/fish_chub_flame.png" id="4_texture"] [sub_resource type="Resource" id="ChubFlameAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/chub_lake/chub_lake.tres b/fish/species/chub_lake/chub_lake.tres index 1dc2d9a..788df16 100644 --- a/fish/species/chub_lake/chub_lake.tres +++ b/fish/species/chub_lake/chub_lake.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2807.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://w8cjrpnv350h" path="res://fish/species/chub_lake/fish_chub_lake.png" id="4_texture"] [sub_resource type="Resource" id="ChubLakeAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/cisco/cisco.tres b/fish/species/cisco/cisco.tres index 1bc53b0..2a91382 100644 --- a/fish/species/cisco/cisco.tres +++ b/fish/species/cisco/cisco.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"cisco" display_name = "cisco" -active = true +active = false catalog_number = 1002 collection_group = &"Cold freshwater fish" logbook_fact = "cisco school in the cool open water of northern lakes. these slim relatives of salmon feed on plankton and become prey for larger fish." @@ -28,4 +27,3 @@ weight_max_lb = 3.0 sell_value_min = 3 sell_value_max = 7 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/clam_geoduck/clam_geoduck.tres b/fish/species/clam_geoduck/clam_geoduck.tres index 492113c..5add347 100644 --- a/fish/species/clam_geoduck/clam_geoduck.tres +++ b/fish/species/clam_geoduck/clam_geoduck.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"clam_geoduck" display_name = "Pacific geoduck" -active = true +active = false catalog_number = 6403 collection_group = &"Shellfish" logbook_fact = "pacific geoducks bury their shells deep while a long siphon reaches the seafloor. these clams can survive for well over a century." @@ -29,4 +28,3 @@ weight_max_lb = 15.0 sell_value_min = 14 sell_value_max = 34 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/clam_giant/clam_giant.tres b/fish/species/clam_giant/clam_giant.tres index 2b4f59d..cf31a65 100644 --- a/fish/species/clam_giant/clam_giant.tres +++ b/fish/species/clam_giant/clam_giant.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"clam_giant" display_name = "giant clam" -active = true +active = false catalog_number = 6402 collection_group = &"Shellfish" logbook_fact = "giant clams host photosynthetic algae inside brightly colored mantles. heavy shells remain anchored to one reef spot throughout adulthood." @@ -29,4 +28,3 @@ weight_max_lb = 500.0 sell_value_min = 28 sell_value_max = 72 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/clam_manila/clam_manila.tres b/fish/species/clam_manila/clam_manila.tres index 2b3fe73..20e3f8a 100644 --- a/fish/species/clam_manila/clam_manila.tres +++ b/fish/species/clam_manila/clam_manila.tres @@ -2,7 +2,7 @@ [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"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6406.png" id="3_texture"] +[ext_resource type="Texture2D" path="res://fish/species/clam_manila/clam_manila.png" id="3_texture"] [resource] script = ExtResource("1_fish_data") diff --git a/fish/species/clownfish_ocellaris/clownfish_ocellaris.tres b/fish/species/clownfish_ocellaris/clownfish_ocellaris.tres index 16566cb..ac9a95e 100644 --- a/fish/species/clownfish_ocellaris/clownfish_ocellaris.tres +++ b/fish/species/clownfish_ocellaris/clownfish_ocellaris.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/5702.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"clownfish_ocellaris" display_name = "ocellaris clownfish" -active = true +active = false catalog_number = 5702 collection_group = &"Reef ornamentals" logbook_fact = "ocellaris clownfish shelter safely among stinging anemone tentacles. each group is led by a female that develops from the largest male." @@ -28,4 +27,3 @@ weight_max_lb = 0.15 sell_value_min = 5 sell_value_max = 10 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/cobia/cobia.tres b/fish/species/cobia/cobia.tres index 51dec82..1cde907 100644 --- a/fish/species/cobia/cobia.tres +++ b/fish/species/cobia/cobia.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"cobia" display_name = "cobia" -active = true +active = false catalog_number = 3602 collection_group = &"Large coastal predators" logbook_fact = "cobia often follow sharks, rays, and floating structures in warm seas. a broad dark stripe runs along their long, powerful bodies." @@ -28,4 +27,3 @@ weight_max_lb = 80.0 sell_value_min = 15 sell_value_max = 40 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/cod_atlantic/cod_atlantic.tres b/fish/species/cod_atlantic/cod_atlantic.tres index 640ccaa..e799724 100644 --- a/fish/species/cod_atlantic/cod_atlantic.tres +++ b/fish/species/cod_atlantic/cod_atlantic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"cod_atlantic" display_name = "atlantic cod" -active = true +active = false catalog_number = 1402 collection_group = &"Cold shelf fish" logbook_fact = "atlantic cod carry a pale lateral line and one chin barbel. they search cold seafloors for crustaceans, mollusks, and smaller fish." @@ -27,4 +26,3 @@ weight_max_lb = 55.0 sell_value_min = 5 sell_value_max = 18 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/cod_pacific/cod_pacific.tres b/fish/species/cod_pacific/cod_pacific.tres index 729acc1..89eb39f 100644 --- a/fish/species/cod_pacific/cod_pacific.tres +++ b/fish/species/cod_pacific/cod_pacific.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"cod_pacific" display_name = "pacific cod" -active = true +active = false catalog_number = 1406 collection_group = &"Cold shelf fish" logbook_fact = "pacific cod use a chin barbel to investigate cold shelf bottoms. seasonal schools follow prey between deeper water and coastal spawning grounds." @@ -27,4 +26,3 @@ weight_max_lb = 45.0 sell_value_min = 5 sell_value_max = 17 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/coelacanth_west_indian/coelacanth_west_indian.tres b/fish/species/coelacanth_west_indian/coelacanth_west_indian.tres index 8b7bf18..3da9f04 100644 --- a/fish/species/coelacanth_west_indian/coelacanth_west_indian.tres +++ b/fish/species/coelacanth_west_indian/coelacanth_west_indian.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"coelacanth_west_indian" display_name = "West Indian Ocean coelacanth" -active = true +active = false catalog_number = 1702 collection_group = &"Deep-sea legends" logbook_fact = "west indian ocean coelacanths shelter in deep volcanic caves by day. fleshy lobed fins move in an alternating, limb-like rhythm." @@ -29,4 +28,3 @@ weight_max_lb = 200.0 sell_value_min = 65 sell_value_max = 145 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/conch_queen/conch_queen.tres b/fish/species/conch_queen/conch_queen.tres index 045012b..bac9eb6 100644 --- a/fish/species/conch_queen/conch_queen.tres +++ b/fish/species/conch_queen/conch_queen.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"conch_queen" display_name = "queen conch" -active = true +active = false catalog_number = 6404 collection_group = &"Shellfish" logbook_fact = "queen conchs graze algae with a long flexible snout. adults develop a broad flared shell lip and move by vaulting on one muscular foot." @@ -29,4 +28,3 @@ weight_max_lb = 5.0 sell_value_min = 15 sell_value_max = 36 sell_value_curve = 0.91 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/cornetfish_red/cornetfish_red.tres b/fish/species/cornetfish_red/cornetfish_red.tres index ea750bd..600d189 100644 --- a/fish/species/cornetfish_red/cornetfish_red.tres +++ b/fish/species/cornetfish_red/cornetfish_red.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"cornetfish_red" display_name = "red cornetfish" -active = true +active = false catalog_number = 5606 collection_group = &"Reef oddities" logbook_fact = "red cornetfish stalk reefs with extremely long bodies and tubular snouts. a trailing filament extends from the center of the tail." @@ -29,4 +28,3 @@ weight_max_lb = 4.0 sell_value_min = 24 sell_value_max = 55 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/cowfish_longhorn/cowfish_longhorn.tres b/fish/species/cowfish_longhorn/cowfish_longhorn.tres index 2a848a7..8d3e4b2 100644 --- a/fish/species/cowfish_longhorn/cowfish_longhorn.tres +++ b/fish/species/cowfish_longhorn/cowfish_longhorn.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"cowfish_longhorn" display_name = "longhorn cowfish" -active = true +active = false catalog_number = 5604 collection_group = &"Reef oddities" logbook_fact = "longhorn cowfish wear a rigid box of fused scales with horns above the eyes. small fins steer the angular body with surprising precision." @@ -29,4 +28,3 @@ weight_max_lb = 2.0 sell_value_min = 23 sell_value_max = 52 sell_value_curve = 0.94 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/crab_blue/crab_blue.tres b/fish/species/crab_blue/crab_blue.tres index b715522..2ee3279 100644 --- a/fish/species/crab_blue/crab_blue.tres +++ b/fish/species/crab_blue/crab_blue.tres @@ -1,11 +1,9 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/3902.png" id="99_creature_texture"] - [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") allow_night = false @@ -14,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"crab_blue" display_name = "blue crab" -active = true +active = false catalog_number = 3902 collection_group = &"Marine crabs" logbook_fact = "blue crabs swim with flattened rear legs shaped like paddles. bright blue claws and an olive shell conceal a quick, defensive temperament." @@ -32,5 +30,3 @@ weight_max_lb = 1.1 sell_value_min = 3 sell_value_max = 8 sell_value_curve = 0.95 - -display_texture = ExtResource("99_creature_texture") diff --git a/fish/species/crab_brown/crab_brown.tres b/fish/species/crab_brown/crab_brown.tres index 7dec427..8f31b9c 100644 --- a/fish/species/crab_brown/crab_brown.tres +++ b/fish/species/crab_brown/crab_brown.tres @@ -2,7 +2,7 @@ [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"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/3906.png" id="3_texture"] +[ext_resource type="Texture2D" path="res://fish/species/crab_brown/crab_brown.png" id="3_texture"] [resource] script = ExtResource("1_fish_data") diff --git a/fish/species/crab_japanese_spider/crab_japanese_spider.tres b/fish/species/crab_japanese_spider/crab_japanese_spider.tres index 33ffbff..d09f4cd 100644 --- a/fish/species/crab_japanese_spider/crab_japanese_spider.tres +++ b/fish/species/crab_japanese_spider/crab_japanese_spider.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"crab_japanese_spider" display_name = "Japanese spider crab" -active = true +active = false catalog_number = 3904 collection_group = &"Marine crabs" logbook_fact = "japanese spider crabs carry the longest leg span of any living arthropod. adults roam deep seafloors around japan." @@ -28,4 +27,3 @@ weight_max_lb = 44.0 sell_value_min = 38 sell_value_max = 88 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/crab_red_king/crab_red_king.tres b/fish/species/crab_red_king/crab_red_king.tres index c82579a..3a1a326 100644 --- a/fish/species/crab_red_king/crab_red_king.tres +++ b/fish/species/crab_red_king/crab_red_king.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"crab_red_king" display_name = "red king crab" -active = true +active = false catalog_number = 3905 collection_group = &"Marine crabs" logbook_fact = "red king crabs stride over cold northern bottoms on long armored legs. despite the name, they are closer to hermit crabs than true crabs." @@ -29,4 +28,3 @@ weight_max_lb = 24.0 sell_value_min = 24 sell_value_max = 58 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/crappie_black/crappie_black.tres b/fish/species/crappie_black/crappie_black.tres index 0359a2c..bfa949b 100644 --- a/fish/species/crappie_black/crappie_black.tres +++ b/fish/species/crappie_black/crappie_black.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"crappie_black" display_name = "black crappie" -active = true +active = false catalog_number = 3101 collection_group = &"Freshwater panfish" logbook_fact = "black crappie gather around submerged wood and vegetation in clear water. irregular dark speckles scatter across their deep silver bodies." @@ -28,4 +27,3 @@ weight_max_lb = 4.0 sell_value_min = 5 sell_value_max = 11 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/crappie_white/crappie_white.tres b/fish/species/crappie_white/crappie_white.tres index 6766f1e..021000b 100644 --- a/fish/species/crappie_white/crappie_white.tres +++ b/fish/species/crappie_white/crappie_white.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/3107.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"crappie_white" display_name = "white crappie" -active = true +active = false catalog_number = 3107 collection_group = &"Freshwater panfish" logbook_fact = "white crappie favor warm, cloudy water and gather around structure. vertical bars cross their silver sides instead of scattered speckles." @@ -28,4 +27,3 @@ weight_max_lb = 4.5 sell_value_min = 4 sell_value_max = 9 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/crayfish_red_swamp/crayfish_red_swamp.tres b/fish/species/crayfish_red_swamp/crayfish_red_swamp.tres index 6c055d2..c3bd2df 100644 --- a/fish/species/crayfish_red_swamp/crayfish_red_swamp.tres +++ b/fish/species/crayfish_red_swamp/crayfish_red_swamp.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2601.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"crayfish_red_swamp" display_name = "red swamp crayfish" -active = true +active = false catalog_number = 2601 collection_group = &"Freshwater crustaceans" logbook_fact = "red swamp crayfish burrow into wet ground when water recedes. adaptable populations feed on plants, carrion, and small aquatic animals." @@ -29,4 +28,3 @@ weight_max_lb = 0.25 sell_value_min = 3 sell_value_max = 7 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/croaker_atlantic/croaker_atlantic.tres b/fish/species/croaker_atlantic/croaker_atlantic.tres index d0fb147..b8ebf09 100644 --- a/fish/species/croaker_atlantic/croaker_atlantic.tres +++ b/fish/species/croaker_atlantic/croaker_atlantic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6801.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"croaker_atlantic" display_name = "atlantic croaker" -active = true +active = false catalog_number = 6801 collection_group = &"Temperate estuary" logbook_fact = "atlantic croakers vibrate muscles against the swim bladder to make a croaking sound. chin barbels locate worms in sandy bays." @@ -29,4 +28,3 @@ weight_max_lb = 5.0 sell_value_min = 3 sell_value_max = 8 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/croaker_yellowfin/croaker_yellowfin.tres b/fish/species/croaker_yellowfin/croaker_yellowfin.tres index 1e282da..e2a6105 100644 --- a/fish/species/croaker_yellowfin/croaker_yellowfin.tres +++ b/fish/species/croaker_yellowfin/croaker_yellowfin.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6807.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"croaker_yellowfin" display_name = "yellowfin croaker" -active = true +active = false catalog_number = 6807 collection_group = &"Temperate estuary" logbook_fact = "yellowfin croakers search sandy surf zones with a small chin barbel. internal muscles produce croaks and drumming calls." @@ -27,4 +26,3 @@ weight_max_lb = 4.0 sell_value_min = 3 sell_value_max = 8 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/cusk/cusk.tres b/fish/species/cusk/cusk.tres index b223ba1..6e69dd6 100644 --- a/fish/species/cusk/cusk.tres +++ b/fish/species/cusk/cusk.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"cusk" display_name = "cusk" -active = true +active = false catalog_number = 1202 collection_group = &"Cold reef fish" logbook_fact = "cusk move slowly across cold rocky bottoms, sheltering in cracks and caves. a single long fin runs around much of the rear body." @@ -28,4 +27,3 @@ weight_max_lb = 30.0 sell_value_min = 7 sell_value_max = 19 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/cuttlefish_common/cuttlefish_common.tres b/fish/species/cuttlefish_common/cuttlefish_common.tres index c1ef5ec..f6b678a 100644 --- a/fish/species/cuttlefish_common/cuttlefish_common.tres +++ b/fish/species/cuttlefish_common/cuttlefish_common.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"cuttlefish_common" display_name = "common cuttlefish" -active = true +active = false catalog_number = 1502 collection_group = &"Cuttlefish and nautiluses" logbook_fact = "common cuttlefish flash changing colors and patterns through specialized skin cells. an internal cuttlebone controls buoyancy." @@ -28,4 +27,3 @@ weight_max_lb = 12.0 sell_value_min = 7 sell_value_max = 17 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/cuttlefish_flamboyant/cuttlefish_flamboyant.tres b/fish/species/cuttlefish_flamboyant/cuttlefish_flamboyant.tres index 496ade9..1af0669 100644 --- a/fish/species/cuttlefish_flamboyant/cuttlefish_flamboyant.tres +++ b/fish/species/cuttlefish_flamboyant/cuttlefish_flamboyant.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"cuttlefish_flamboyant" display_name = "flamboyant cuttlefish" -active = true +active = false catalog_number = 1503 collection_group = &"Cuttlefish and nautiluses" logbook_fact = "flamboyant cuttlefish walk along the seafloor on their arms and fins. vivid displays warn predators of potent toxins." @@ -29,4 +28,3 @@ weight_max_lb = 0.4 sell_value_min = 26 sell_value_max = 58 sell_value_curve = 0.96 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/damselfish_sergeant_major/damselfish_sergeant_major.tres b/fish/species/damselfish_sergeant_major/damselfish_sergeant_major.tres index b758404..0e605c0 100644 --- a/fish/species/damselfish_sergeant_major/damselfish_sergeant_major.tres +++ b/fish/species/damselfish_sergeant_major/damselfish_sergeant_major.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/5904.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"damselfish_sergeant_major" display_name = "sergeant major" -active = true +active = false catalog_number = 5904 collection_group = &"Reef schooling fish" logbook_fact = "sergeant majors guard purple egg patches on hard reef surfaces. five dark bars cross their yellow and silver bodies." @@ -28,4 +27,3 @@ weight_max_lb = 0.5 sell_value_min = 2 sell_value_max = 5 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/danio_zebra/danio_zebra.tres b/fish/species/danio_zebra/danio_zebra.tres index 0f73935..285687e 100644 --- a/fish/species/danio_zebra/danio_zebra.tres +++ b/fish/species/danio_zebra/danio_zebra.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"danio_zebra" display_name = "zebrafish" -active = true +active = false catalog_number = 2103 collection_group = &"Freshwater aquarium fish" logbook_fact = "zebrafish carry horizontal blue stripes from gill to tail. hardy schools thrive in shallow streams, flooded fields, and quiet pools." @@ -28,4 +27,3 @@ weight_max_lb = 0.12 sell_value_min = 2 sell_value_max = 5 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/discus/discus.tres b/fish/species/discus/discus.tres index 9803f77..4fcd169 100644 --- a/fish/species/discus/discus.tres +++ b/fish/species/discus/discus.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"discus" display_name = "discus" -active = true +active = false catalog_number = 7503 collection_group = &"Tropical freshwater fish" logbook_fact = "discus move through quiet amazon backwaters with round, flattened bodies. parents feed newly hatched young with nutrient-rich skin mucus." @@ -29,4 +28,3 @@ weight_max_lb = 1.0 sell_value_min = 24 sell_value_max = 52 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/dolphin_bottlenose/dolphin_bottlenose.tres b/fish/species/dolphin_bottlenose/dolphin_bottlenose.tres index 2b410ea..abbc37f 100644 --- a/fish/species/dolphin_bottlenose/dolphin_bottlenose.tres +++ b/fish/species/dolphin_bottlenose/dolphin_bottlenose.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"dolphin_bottlenose" display_name = "common bottlenose dolphin" -active = true +active = false catalog_number = 7702 collection_group = &"Whales and dolphins" logbook_fact = "common bottlenose dolphins coordinate with whistles, clicks, and body signals. echolocation reveals prey hidden in dark or cloudy water." @@ -29,4 +28,3 @@ weight_max_lb = 1400.0 sell_value_min = 75 sell_value_max = 180 sell_value_curve = 0.76 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/dorado_golden/dorado_golden.tres b/fish/species/dorado_golden/dorado_golden.tres index e22f7c9..4110ebe 100644 --- a/fish/species/dorado_golden/dorado_golden.tres +++ b/fish/species/dorado_golden/dorado_golden.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"dorado_golden" display_name = "golden dorado" -active = true +active = false catalog_number = 7602 collection_group = &"Tropical freshwater predators" logbook_fact = "golden dorado chase fish through powerful south american rivers. muscular tails, heavy jaws, and golden scales suit life in fast current." @@ -29,4 +28,3 @@ weight_max_lb = 55.0 sell_value_min = 29 sell_value_max = 66 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/dugong/dugong.tres b/fish/species/dugong/dugong.tres index 0c81d2e..3225a52 100644 --- a/fish/species/dugong/dugong.tres +++ b/fish/species/dugong/dugong.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"dugong" display_name = "dugong" -active = true +active = false catalog_number = 501 collection_group = &"Coastal marine mammals" logbook_fact = "dugongs graze seagrass meadows with a downturned, bristled snout. they are the only fully marine members of the sirenian family." @@ -29,4 +28,3 @@ weight_max_lb = 1100.0 sell_value_min = 72 sell_value_max = 165 sell_value_curve = 0.77 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/eel_american/eel_american.tres b/fish/species/eel_american/eel_american.tres index a433afa..b1f4b8e 100644 --- a/fish/species/eel_american/eel_american.tres +++ b/fish/species/eel_american/eel_american.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"eel_american" display_name = "american eel" -active = true +active = false catalog_number = 4001 collection_group = &"Migratory eels" logbook_fact = "american eels hatch far out in the sargasso sea before entering freshwater rivers. adults later reverse the journey to spawn once." @@ -29,4 +28,3 @@ weight_max_lb = 8.0 sell_value_min = 12 sell_value_max = 27 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/eel_european/eel_european.tres b/fish/species/eel_european/eel_european.tres index 7683d92..4ef5246 100644 --- a/fish/species/eel_european/eel_european.tres +++ b/fish/species/eel_european/eel_european.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"eel_european" display_name = "european eel" -active = true +active = false catalog_number = 4002 collection_group = &"Migratory eels" logbook_fact = "european eels cross the atlantic as transparent larvae before entering rivers and lakes. mature silver eels return to sea to reproduce." @@ -29,4 +28,3 @@ weight_max_lb = 10.0 sell_value_min = 13 sell_value_max = 30 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/electric_eel/electric_eel.tres b/fish/species/electric_eel/electric_eel.tres index ef5b6df..7792d81 100644 --- a/fish/species/electric_eel/electric_eel.tres +++ b/fish/species/electric_eel/electric_eel.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"electric_eel" display_name = "electric eel" -active = true +active = false catalog_number = 2901 collection_group = &"Freshwater oddities" logbook_fact = "electric eels navigate and hunt with electrical pulses produced along most of the body. they must surface regularly to breathe air." @@ -29,4 +28,3 @@ weight_max_lb = 44.0 sell_value_min = 25 sell_value_max = 60 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/fallfish/fallfish.tres b/fish/species/fallfish/fallfish.tres index 53ef7b6..02c6bbe 100644 --- a/fish/species/fallfish/fallfish.tres +++ b/fish/species/fallfish/fallfish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"fallfish" display_name = "fallfish" -active = true +active = false catalog_number = 2506 collection_group = &"Freshwater coarse fish" logbook_fact = "fallfish are large minnows that build broad stone nests in flowing water. other stream fish often reuse the gravel mounds for spawning." @@ -29,4 +28,3 @@ weight_max_lb = 3.5 sell_value_min = 5 sell_value_max = 10 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/fangtooth_common/fangtooth_common.tres b/fish/species/fangtooth_common/fangtooth_common.tres index 1004279..c7312b0 100644 --- a/fish/species/fangtooth_common/fangtooth_common.tres +++ b/fish/species/fangtooth_common/fangtooth_common.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"fangtooth_common" display_name = "common fangtooth" -active = true +active = false catalog_number = 1802 collection_group = &"Deep-sea oddities" logbook_fact = "common fangtooths carry outsized teeth that fit into pockets in the roof of the mouth. they migrate upward from deep water after dark." @@ -28,4 +27,3 @@ weight_max_lb = 0.5 sell_value_min = 25 sell_value_max = 56 sell_value_curve = 0.96 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/flounder_peacock/flounder_peacock.tres b/fish/species/flounder_peacock/flounder_peacock.tres index 3d096df..50bd7dc 100644 --- a/fish/species/flounder_peacock/flounder_peacock.tres +++ b/fish/species/flounder_peacock/flounder_peacock.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"flounder_peacock" display_name = "peacock flounder" -active = true +active = false catalog_number = 5401 collection_group = &"Reef flatfish" logbook_fact = "peacock flounders change their spots and colors to match tropical sand. both eyes scan above while the flat body remains concealed." @@ -28,4 +27,3 @@ weight_max_lb = 5.0 sell_value_min = 11 sell_value_max = 24 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/flounder_summer/flounder_summer.tres b/fish/species/flounder_summer/flounder_summer.tres index 680738d..b5bb969 100644 --- a/fish/species/flounder_summer/flounder_summer.tres +++ b/fish/species/flounder_summer/flounder_summer.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"flounder_summer" display_name = "summer flounder" -active = true +active = false catalog_number = 402 collection_group = &"Coastal flatfish" logbook_fact = "summer flounder bury themselves in sand with only their eyes exposed. a sudden burst carries them upward to seize passing prey." @@ -28,4 +27,3 @@ weight_max_lb = 15.0 sell_value_min = 6 sell_value_max = 16 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/flounder_winter/flounder_winter.tres b/fish/species/flounder_winter/flounder_winter.tres index c3ae09b..1297bcb 100644 --- a/fish/species/flounder_winter/flounder_winter.tres +++ b/fish/species/flounder_winter/flounder_winter.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/403.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_rain = true script = ExtResource("1_fish_data") id = &"flounder_winter" display_name = "winter flounder" -active = true +active = false catalog_number = 403 collection_group = &"Coastal flatfish" logbook_fact = "winter flounder favor cool bays and estuaries where they rest on muddy bottoms. their eyes sit on the right side of the body." @@ -29,4 +28,3 @@ weight_max_lb = 8.0 sell_value_min = 4 sell_value_max = 9 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/flyingfish_tropical/flyingfish_tropical.tres b/fish/species/flyingfish_tropical/flyingfish_tropical.tres index 12fd4bb..6376ead 100644 --- a/fish/species/flyingfish_tropical/flyingfish_tropical.tres +++ b/fish/species/flyingfish_tropical/flyingfish_tropical.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_rain = true script = ExtResource("1_fish_data") id = &"flyingfish_tropical" display_name = "tropical flyingfish" -active = true +active = false catalog_number = 6603 collection_group = &"Surface ocean fish" logbook_fact = "tropical flyingfish accelerate underwater before spreading enlarged fins above the surface. glides help them escape pursuing predators." @@ -29,4 +28,3 @@ weight_max_lb = 1.5 sell_value_min = 10 sell_value_max = 22 sell_value_curve = 0.94 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/foureyes_largescale/foureyes_largescale.tres b/fish/species/foureyes_largescale/foureyes_largescale.tres index 7ebba2f..a2e5361 100644 --- a/fish/species/foureyes_largescale/foureyes_largescale.tres +++ b/fish/species/foureyes_largescale/foureyes_largescale.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"foureyes_largescale" display_name = "largescale foureyes" -active = true +active = false catalog_number = 202 collection_group = &"Brackish oddities" logbook_fact = "largescale foureyes cruise with each eye divided across the waterline. one half watches above while the other scans below." @@ -28,4 +27,3 @@ weight_max_lb = 1.0 sell_value_min = 10 sell_value_max = 23 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/freshwater_drum/freshwater_drum.tres b/fish/species/freshwater_drum/freshwater_drum.tres index f52f9fe..5d710f3 100644 --- a/fish/species/freshwater_drum/freshwater_drum.tres +++ b/fish/species/freshwater_drum/freshwater_drum.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"freshwater_drum" display_name = "freshwater drum" -active = true +active = false catalog_number = 2902 collection_group = &"Freshwater oddities" logbook_fact = "freshwater drum crush snails and mussels with powerful throat teeth. muscles vibrating against the swim bladder produce a low drumming sound." @@ -29,4 +28,3 @@ weight_max_lb = 35.0 sell_value_min = 7 sell_value_max = 20 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/gar_alligator/gar_alligator.tres b/fish/species/gar_alligator/gar_alligator.tres index f5439a4..5a00da6 100644 --- a/fish/species/gar_alligator/gar_alligator.tres +++ b/fish/species/gar_alligator/gar_alligator.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"gar_alligator" display_name = "alligator gar" -active = true +active = false catalog_number = 2701 collection_group = &"Freshwater giants" logbook_fact = "alligator gar combine a broad tooth-filled snout with heavy armor-like scales. a vascular swim bladder lets them breathe air at the surface." @@ -28,4 +27,3 @@ weight_max_lb = 300.0 sell_value_min = 55 sell_value_max = 125 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/gar_longnose/gar_longnose.tres b/fish/species/gar_longnose/gar_longnose.tres index aaabbfe..ff1d808 100644 --- a/fish/species/gar_longnose/gar_longnose.tres +++ b/fish/species/gar_longnose/gar_longnose.tres @@ -3,7 +3,7 @@ [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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/103.png" id="4_texture"] +[ext_resource type="Texture2D" path="res://fish/species/gar_longnose/gar_longnose.png" id="4_texture"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") diff --git a/fish/species/gar_spotted/gar_spotted.tres b/fish/species/gar_spotted/gar_spotted.tres index 3405ee9..25f92cd 100644 --- a/fish/species/gar_spotted/gar_spotted.tres +++ b/fish/species/gar_spotted/gar_spotted.tres @@ -3,7 +3,7 @@ [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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/106.png" id="4_texture"] +[ext_resource type="Texture2D" path="res://fish/species/gar_spotted/gar_spotted.png" id="4_texture"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") diff --git a/fish/species/goby_round/goby_round.tres b/fish/species/goby_round/goby_round.tres index 3a8ffee..af135e0 100644 --- a/fish/species/goby_round/goby_round.tres +++ b/fish/species/goby_round/goby_round.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/3401.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://bdhywe0r1xcio" path="res://fish/species/goby_round/fish_goby_round.png" id="4_texture"] [sub_resource type="Resource" id="RoundGobyAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/goldeye/goldeye.tres b/fish/species/goldeye/goldeye.tres index 1d09b7c..69b28a1 100644 --- a/fish/species/goldeye/goldeye.tres +++ b/fish/species/goldeye/goldeye.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"goldeye" display_name = "goldeye" -active = true +active = false catalog_number = 2903 collection_group = &"Freshwater oddities" logbook_fact = "goldeye patrol turbid rivers with large light-sensitive eyes and a toothed tongue. they rise toward the surface to hunt insects and small fish." @@ -29,4 +28,3 @@ weight_max_lb = 6.0 sell_value_min = 12 sell_value_max = 25 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/goldfish/goldfish.tres b/fish/species/goldfish/goldfish.tres index 58c7934..e27ede5 100644 --- a/fish/species/goldfish/goldfish.tres +++ b/fish/species/goldfish/goldfish.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/3002.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://c6uth7aob03kg" path="res://fish/species/goldfish/fish_goldfish.png" id="4_texture"] [sub_resource type="Resource" id="GoldfishAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/goldfish_bubbleeye/goldfish_bubbleeye.tres b/fish/species/goldfish_bubbleeye/goldfish_bubbleeye.tres index d88719c..beecd5b 100644 --- a/fish/species/goldfish_bubbleeye/goldfish_bubbleeye.tres +++ b/fish/species/goldfish_bubbleeye/goldfish_bubbleeye.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://brjjnxr6n7olr" path="res://fish/species/goldfish_bubbleeye/fish_goldfish_bubbleeye.png" id="4_texture"] [sub_resource type="Resource" id="GoldfishBubbleeyeAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/gourami_giant/gourami_giant.tres b/fish/species/gourami_giant/gourami_giant.tres index b4f8f52..5cc9eee 100644 --- a/fish/species/gourami_giant/gourami_giant.tres +++ b/fish/species/gourami_giant/gourami_giant.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"gourami_giant" display_name = "giant gourami" -active = true +active = false catalog_number = 7505 collection_group = &"Tropical freshwater fish" logbook_fact = "giant gouramis breathe surface air through a specialized labyrinth organ. adults graze plants but also investigate insects and small animals." @@ -28,4 +27,3 @@ weight_max_lb = 20.0 sell_value_min = 13 sell_value_max = 31 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/grayling_arctic/grayling_arctic.tres b/fish/species/grayling_arctic/grayling_arctic.tres index ae6321a..ee7902a 100644 --- a/fish/species/grayling_arctic/grayling_arctic.tres +++ b/fish/species/grayling_arctic/grayling_arctic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"grayling_arctic" display_name = "arctic grayling" -active = true +active = false catalog_number = 1102 collection_group = &"Cold freshwater salmonids" logbook_fact = "arctic grayling carry a tall, colorful dorsal fin like a sail. they feed on drifting insects in cold, clear rivers and lakes." @@ -29,4 +28,3 @@ weight_max_lb = 6.0 sell_value_min = 6 sell_value_max = 14 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/green_sunfish/green_sunfish.tres b/fish/species/green_sunfish/green_sunfish.tres index 1733035..37db5fc 100644 --- a/fish/species/green_sunfish/green_sunfish.tres +++ b/fish/species/green_sunfish/green_sunfish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/3103.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"green_sunfish" display_name = "green sunfish" -active = true +active = false catalog_number = 3103 collection_group = &"Freshwater panfish" logbook_fact = "green sunfish tolerate small, warm, cloudy pools better than many relatives. a large mouth lets them tackle insects, crayfish, and fish." @@ -28,4 +27,3 @@ weight_max_lb = 1.5 sell_value_min = 2 sell_value_max = 5 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/grouper_atlantic_goliath/grouper_atlantic_goliath.tres b/fish/species/grouper_atlantic_goliath/grouper_atlantic_goliath.tres index eb2d2bf..7bb6179 100644 --- a/fish/species/grouper_atlantic_goliath/grouper_atlantic_goliath.tres +++ b/fish/species/grouper_atlantic_goliath/grouper_atlantic_goliath.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"grouper_atlantic_goliath" display_name = "Atlantic goliath grouper" -active = true +active = false catalog_number = 5801 collection_group = &"Reef predators" logbook_fact = "atlantic goliath groupers occupy reefs, wrecks, and mangrove roots. enormous mouths pull prey inward with a sudden pressure drop." @@ -28,4 +27,3 @@ weight_max_lb = 800.0 sell_value_min = 50 sell_value_max = 125 sell_value_curve = 0.78 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/grouper_giant/grouper_giant.tres b/fish/species/grouper_giant/grouper_giant.tres index 9051115..7ca4c07 100644 --- a/fish/species/grouper_giant/grouper_giant.tres +++ b/fish/species/grouper_giant/grouper_giant.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"grouper_giant" display_name = "giant grouper" -active = true +active = false catalog_number = 5803 collection_group = &"Reef predators" logbook_fact = "giant groupers become massive ambush predators around indo-pacific reefs. juveniles carry bold black-and-yellow markings." @@ -28,4 +27,3 @@ weight_max_lb = 880.0 sell_value_min = 52 sell_value_max = 128 sell_value_curve = 0.78 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/grouper_gulf/grouper_gulf.tres b/fish/species/grouper_gulf/grouper_gulf.tres index ec4b583..f8aaca6 100644 --- a/fish/species/grouper_gulf/grouper_gulf.tres +++ b/fish/species/grouper_gulf/grouper_gulf.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://ctu8xd5or7v3h" path="res://fish/species/grouper_gulf/fish_grouper_gulf.png" id="4_texture"] [sub_resource type="Resource" id="GrouperGulfAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/grouper_nassau/grouper_nassau.tres b/fish/species/grouper_nassau/grouper_nassau.tres index de4b0fd..fe6ad35 100644 --- a/fish/species/grouper_nassau/grouper_nassau.tres +++ b/fish/species/grouper_nassau/grouper_nassau.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"grouper_nassau" display_name = "Nassau grouper" -active = true +active = false catalog_number = 5806 collection_group = &"Reef predators" logbook_fact = "nassau groupers shift their bars and colors with mood and surroundings. adults gather at traditional reef sites to spawn." @@ -28,4 +27,3 @@ weight_max_lb = 55.0 sell_value_min = 25 sell_value_max = 62 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/grouper_red/grouper_red.tres b/fish/species/grouper_red/grouper_red.tres index d746cc2..55f8379 100644 --- a/fish/species/grouper_red/grouper_red.tres +++ b/fish/species/grouper_red/grouper_red.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://jjcc78tffxhb" path="res://fish/species/grouper_red/fish_grouper_red.png" id="4_texture"] [sub_resource type="Resource" id="GrouperRedAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/grunt_bluestriped/grunt_bluestriped.tres b/fish/species/grunt_bluestriped/grunt_bluestriped.tres index 5f247a8..91771a6 100644 --- a/fish/species/grunt_bluestriped/grunt_bluestriped.tres +++ b/fish/species/grunt_bluestriped/grunt_bluestriped.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/5902.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"grunt_bluestriped" display_name = "bluestriped grunt" -active = true +active = false catalog_number = 5902 collection_group = &"Reef schooling fish" logbook_fact = "bluestriped grunts shelter on reefs by day and spread over seagrass to feed at night. grinding throat teeth produce audible grunts." @@ -28,4 +27,3 @@ weight_max_lb = 3.0 sell_value_min = 3 sell_value_max = 7 sell_value_curve = 0.94 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/grunt_french/grunt_french.tres b/fish/species/grunt_french/grunt_french.tres index 8e8161e..20b1a62 100644 --- a/fish/species/grunt_french/grunt_french.tres +++ b/fish/species/grunt_french/grunt_french.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/5903.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"grunt_french" display_name = "French grunt" -active = true +active = false catalog_number = 5903 collection_group = &"Reef schooling fish" logbook_fact = "french grunts gather in yellow-striped schools around reefs and wrecks. they travel into nearby sand and grass beds after dark." @@ -28,4 +27,3 @@ weight_max_lb = 3.5 sell_value_min = 3 sell_value_max = 7 sell_value_curve = 0.94 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/gulper_eel/gulper_eel.tres b/fish/species/gulper_eel/gulper_eel.tres index 11245c9..d24bcb8 100644 --- a/fish/species/gulper_eel/gulper_eel.tres +++ b/fish/species/gulper_eel/gulper_eel.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"gulper_eel" display_name = "gulper eel" -active = true +active = false catalog_number = 1803 collection_group = &"Deep-sea oddities" logbook_fact = "gulper eels unfold enormous mouths to engulf prey in the deep sea. a whip-like tail ends in a small light-producing organ." @@ -29,4 +28,3 @@ weight_max_lb = 18.0 sell_value_min = 44 sell_value_max = 92 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/guppy/guppy.tres b/fish/species/guppy/guppy.tres index 9771dfb..fe4877c 100644 --- a/fish/species/guppy/guppy.tres +++ b/fish/species/guppy/guppy.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"guppy" display_name = "guppy" -active = true +active = false catalog_number = 2101 collection_group = &"Freshwater aquarium fish" logbook_fact = "guppies are livebearers whose young arrive ready to swim. males display bright colors while females often favor larger, less flashy bodies." @@ -28,4 +27,3 @@ weight_max_lb = 0.15 sell_value_min = 2 sell_value_max = 5 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/haddock/haddock.tres b/fish/species/haddock/haddock.tres index ec5db7d..19c674b 100644 --- a/fish/species/haddock/haddock.tres +++ b/fish/species/haddock/haddock.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"haddock" display_name = "haddock" -active = true +active = false catalog_number = 1405 collection_group = &"Cold shelf fish" logbook_fact = "haddock are recognized by a dark shoulder mark and black lateral line. schools forage over cold seafloors for small bottom animals." @@ -28,4 +27,3 @@ weight_max_lb = 20.0 sell_value_min = 4 sell_value_max = 11 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/hake_pacific/hake_pacific.tres b/fish/species/hake_pacific/hake_pacific.tres index 2a7293b..24ddb93 100644 --- a/fish/species/hake_pacific/hake_pacific.tres +++ b/fish/species/hake_pacific/hake_pacific.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"hake_pacific" display_name = "pacific hake" -active = true +active = false catalog_number = 1407 collection_group = &"Cold shelf fish" logbook_fact = "pacific hake rise from deep water at night to feed on krill and fish. large schools migrate along the west coast with changing seasons." @@ -28,4 +27,3 @@ weight_max_lb = 8.0 sell_value_min = 3 sell_value_max = 9 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/hake_silver/hake_silver.tres b/fish/species/hake_silver/hake_silver.tres index ffb42ff..cbce843 100644 --- a/fish/species/hake_silver/hake_silver.tres +++ b/fish/species/hake_silver/hake_silver.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"hake_silver" display_name = "silver hake" -active = true +active = false catalog_number = 1408 collection_group = &"Cold shelf fish" logbook_fact = "silver hake hunt fish and crustaceans over sandy atlantic shelves. they move upward after dark and return toward the bottom by day." @@ -28,4 +27,3 @@ weight_max_lb = 5.0 sell_value_min = 3 sell_value_max = 8 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/halfbeak_ballyhoo/halfbeak_ballyhoo.tres b/fish/species/halfbeak_ballyhoo/halfbeak_ballyhoo.tres index 6d7fe32..88df91f 100644 --- a/fish/species/halfbeak_ballyhoo/halfbeak_ballyhoo.tres +++ b/fish/species/halfbeak_ballyhoo/halfbeak_ballyhoo.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6601.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"halfbeak_ballyhoo" display_name = "ballyhoo" -active = true +active = false catalog_number = 6601 collection_group = &"Surface ocean fish" logbook_fact = "ballyhoo skim warm ocean surfaces with an extended lower jaw. tight schools scatter into quick leaps when predators strike." @@ -28,4 +27,3 @@ weight_max_lb = 1.0 sell_value_min = 2 sell_value_max = 5 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/halibut_atlantic/halibut_atlantic.tres b/fish/species/halibut_atlantic/halibut_atlantic.tres index ead724a..332c9ef 100644 --- a/fish/species/halibut_atlantic/halibut_atlantic.tres +++ b/fish/species/halibut_atlantic/halibut_atlantic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"halibut_atlantic" display_name = "atlantic halibut" -active = true +active = false catalog_number = 3701 collection_group = &"Large flatfish" logbook_fact = "atlantic halibut are immense right-eyed flatfish of cold northern seas. adults ambush fish and squid from deep rocky or sandy bottoms." @@ -27,4 +26,3 @@ weight_max_lb = 300.0 sell_value_min = 32 sell_value_max = 82 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/halibut_pacific/halibut_pacific.tres b/fish/species/halibut_pacific/halibut_pacific.tres index 3856b5a..5bdb5cb 100644 --- a/fish/species/halibut_pacific/halibut_pacific.tres +++ b/fish/species/halibut_pacific/halibut_pacific.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"halibut_pacific" display_name = "pacific halibut" -active = true +active = false catalog_number = 3702 collection_group = &"Large flatfish" logbook_fact = "pacific halibut lie camouflaged on cold continental shelves. powerful flat bodies can travel long distances between feeding and spawning grounds." @@ -27,4 +26,3 @@ weight_max_lb = 350.0 sell_value_min = 34 sell_value_max = 86 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/hellbender/hellbender.tres b/fish/species/hellbender/hellbender.tres index 2c55863..44c050a 100644 --- a/fish/species/hellbender/hellbender.tres +++ b/fish/species/hellbender/hellbender.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"hellbender" display_name = "hellbender" -active = true +active = false catalog_number = 2002 collection_group = &"Freshwater amphibians" logbook_fact = "hellbenders hide beneath large rocks in cool, clean rivers. folds of loose skin absorb oxygen while the flattened body grips the current." @@ -29,4 +28,3 @@ weight_max_lb = 5.5 sell_value_min = 24 sell_value_max = 54 sell_value_curve = 0.91 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/herring_atlantic/herring_atlantic.tres b/fish/species/herring_atlantic/herring_atlantic.tres index e193dcc..6cea5a6 100644 --- a/fish/species/herring_atlantic/herring_atlantic.tres +++ b/fish/species/herring_atlantic/herring_atlantic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"herring_atlantic" display_name = "atlantic herring" -active = true +active = false catalog_number = 1301 collection_group = &"Cold schooling fish" logbook_fact = "atlantic herring gather in immense schools that move between feeding and spawning grounds. they filter plankton with fine gill rakers." @@ -27,4 +26,3 @@ weight_max_lb = 1.5 sell_value_min = 2 sell_value_max = 5 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/herring_pacific/herring_pacific.tres b/fish/species/herring_pacific/herring_pacific.tres index 7d8e754..4b20d90 100644 --- a/fish/species/herring_pacific/herring_pacific.tres +++ b/fish/species/herring_pacific/herring_pacific.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"herring_pacific" display_name = "pacific herring" -active = true +active = false catalog_number = 1304 collection_group = &"Cold schooling fish" logbook_fact = "pacific herring return to coastal shallows to coat plants and rocks with eggs. their oily schools support entire marine food webs." @@ -28,4 +27,3 @@ weight_max_lb = 1.5 sell_value_min = 2 sell_value_max = 5 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/hogfish/hogfish.tres b/fish/species/hogfish/hogfish.tres index 0e94a20..0bbd835 100644 --- a/fish/species/hogfish/hogfish.tres +++ b/fish/species/hogfish/hogfish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6103.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"hogfish" display_name = "hogfish" -active = true +active = false catalog_number = 6103 collection_group = &"Reef wrasses" logbook_fact = "hogfish root through sand with long pig-like snouts in search of shellfish. adults can change from female to male as social groups shift." @@ -28,4 +27,3 @@ weight_max_lb = 20.0 sell_value_min = 12 sell_value_max = 30 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/ide/ide.tres b/fish/species/ide/ide.tres index aea8907..63be3b3 100644 --- a/fish/species/ide/ide.tres +++ b/fish/species/ide/ide.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"ide" display_name = "ide" -active = true +active = false catalog_number = 2507 collection_group = &"Freshwater coarse fish" logbook_fact = "ide move between rivers, lakes, and brackish coastal water in loose schools. adults eat insects, crustaceans, plants, and small fish." @@ -28,4 +27,3 @@ weight_max_lb = 9.0 sell_value_min = 6 sell_value_max = 14 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/jack_crevalle/jack_crevalle.tres b/fish/species/jack_crevalle/jack_crevalle.tres index 4110dcc..e2e3dc8 100644 --- a/fish/species/jack_crevalle/jack_crevalle.tres +++ b/fish/species/jack_crevalle/jack_crevalle.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"jack_crevalle" display_name = "crevalle jack" -active = true +active = false catalog_number = 705 collection_group = &"Coastal pelagic fish" logbook_fact = "crevalle jacks patrol warm coasts in fast-moving schools. their deep bodies and forked tails deliver long, powerful runs." @@ -29,4 +28,3 @@ weight_max_lb = 35.0 sell_value_min = 7 sell_value_max = 20 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/jelly_crystal/jelly_crystal.tres b/fish/species/jelly_crystal/jelly_crystal.tres index f8746fa..9abd34d 100644 --- a/fish/species/jelly_crystal/jelly_crystal.tres +++ b/fish/species/jelly_crystal/jelly_crystal.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"jelly_crystal" display_name = "crystal jelly" -active = true +active = false catalog_number = 3501 collection_group = &"Jellies" logbook_fact = "crystal jellies are nearly transparent except for glowing points around the bell. their green fluorescent protein transformed biological research." @@ -29,4 +28,3 @@ weight_max_lb = 4.0 sell_value_min = 15 sell_value_max = 34 sell_value_curve = 0.93 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/jelly_lions_mane/jelly_lions_mane.tres b/fish/species/jelly_lions_mane/jelly_lions_mane.tres index c7c6fbb..4bfa8b3 100644 --- a/fish/species/jelly_lions_mane/jelly_lions_mane.tres +++ b/fish/species/jelly_lions_mane/jelly_lions_mane.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"jelly_lions_mane" display_name = "lion's mane jelly" -active = true +active = false catalog_number = 3502 collection_group = &"Jellies" logbook_fact = "lion's mane jellies trail dense curtains of tentacles through cold seas. the bell darkens from yellow to deep red as the animal grows." @@ -29,4 +28,3 @@ weight_max_lb = 200.0 sell_value_min = 24 sell_value_max = 58 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/jelly_moon/jelly_moon.tres b/fish/species/jelly_moon/jelly_moon.tres index 378c11d..2c72f03 100644 --- a/fish/species/jelly_moon/jelly_moon.tres +++ b/fish/species/jelly_moon/jelly_moon.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"jelly_moon" display_name = "moon jelly" -active = true +active = false catalog_number = 3503 collection_group = &"Jellies" logbook_fact = "moon jellies pulse gently with four horseshoe-shaped organs visible through the bell. short tentacles sweep plankton toward the mouth." @@ -28,4 +27,3 @@ weight_max_lb = 5.0 sell_value_min = 6 sell_value_max = 14 sell_value_curve = 0.94 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/jelly_pacific_sea_nettle/jelly_pacific_sea_nettle.tres b/fish/species/jelly_pacific_sea_nettle/jelly_pacific_sea_nettle.tres index b31f4b3..9e559ec 100644 --- a/fish/species/jelly_pacific_sea_nettle/jelly_pacific_sea_nettle.tres +++ b/fish/species/jelly_pacific_sea_nettle/jelly_pacific_sea_nettle.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"jelly_pacific_sea_nettle" display_name = "Pacific sea nettle" -active = true +active = false catalog_number = 3504 collection_group = &"Jellies" logbook_fact = "pacific sea nettles carry rust-colored stripes across pale bells. long tentacles and frilled mouth arms capture plankton and small fish." @@ -29,4 +28,3 @@ weight_max_lb = 12.0 sell_value_min = 14 sell_value_max = 32 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/jelly_sea_wasp/jelly_sea_wasp.tres b/fish/species/jelly_sea_wasp/jelly_sea_wasp.tres index 29bed0a..a68cb4a 100644 --- a/fish/species/jelly_sea_wasp/jelly_sea_wasp.tres +++ b/fish/species/jelly_sea_wasp/jelly_sea_wasp.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"jelly_sea_wasp" display_name = "sea wasp" -active = true +active = false catalog_number = 3505 collection_group = &"Jellies" logbook_fact = "sea wasps have box-shaped bells and clusters of eyes along the lower edge. their long tentacles deliver exceptionally potent venom." @@ -29,4 +28,3 @@ weight_max_lb = 6.0 sell_value_min = 42 sell_value_max = 90 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/knifefish_clown/knifefish_clown.tres b/fish/species/knifefish_clown/knifefish_clown.tres index c83b877..3ba5b63 100644 --- a/fish/species/knifefish_clown/knifefish_clown.tres +++ b/fish/species/knifefish_clown/knifefish_clown.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"knifefish_clown" display_name = "clown knifefish" -active = true +active = false catalog_number = 7501 collection_group = &"Tropical freshwater fish" logbook_fact = "clown knifefish undulate one long belly fin to glide forward or backward. dark eye-like spots line their silver nocturnal bodies." @@ -29,4 +28,3 @@ weight_max_lb = 25.0 sell_value_min = 16 sell_value_max = 38 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/koi/koi.tres b/fish/species/koi/koi.tres index 58c7c29..91b465c 100644 --- a/fish/species/koi/koi.tres +++ b/fish/species/koi/koi.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"koi" display_name = "koi" -active = true +active = false catalog_number = 3003 collection_group = &"Freshwater ornamental" logbook_fact = "koi are colorful domesticated forms of common carp selected over many generations. each fish carries a distinctive arrangement of patches and scales." @@ -29,4 +28,3 @@ weight_max_lb = 35.0 sell_value_min = 14 sell_value_max = 34 sell_value_curve = 0.87 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/krill_antarctic/krill_antarctic.tres b/fish/species/krill_antarctic/krill_antarctic.tres index 8cdf8e6..3651f23 100644 --- a/fish/species/krill_antarctic/krill_antarctic.tres +++ b/fish/species/krill_antarctic/krill_antarctic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"krill_antarctic" display_name = "Antarctic krill" -active = true +active = false catalog_number = 3802 collection_group = &"Lobsters and shrimp" logbook_fact = "antarctic krill form enormous swarms beneath southern seas and ice. these small crustaceans feed whales, seals, penguins, and fish." @@ -28,4 +27,3 @@ weight_max_lb = 0.01 sell_value_min = 10 sell_value_max = 22 sell_value_curve = 0.99 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/ladyfish/ladyfish.tres b/fish/species/ladyfish/ladyfish.tres index 57c277c..57029f5 100644 --- a/fish/species/ladyfish/ladyfish.tres +++ b/fish/species/ladyfish/ladyfish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/7403.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"ladyfish" display_name = "ladyfish" -active = true +active = false catalog_number = 7403 collection_group = &"Tropical flats fish" logbook_fact = "ladyfish race through warm shallows after schooling prey and often leap when pursued. a deeply forked tail powers their slender bodies." @@ -29,4 +28,3 @@ weight_max_lb = 8.0 sell_value_min = 4 sell_value_max = 10 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/lanternfish_spotted/lanternfish_spotted.tres b/fish/species/lanternfish_spotted/lanternfish_spotted.tres index 28446b7..c0725d1 100644 --- a/fish/species/lanternfish_spotted/lanternfish_spotted.tres +++ b/fish/species/lanternfish_spotted/lanternfish_spotted.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"lanternfish_spotted" display_name = "spotted lanternfish" -active = true +active = false catalog_number = 1806 collection_group = &"Deep-sea oddities" logbook_fact = "spotted lanternfish carry rows of light-producing organs along their bodies. immense schools rise toward the surface each night." @@ -28,4 +27,3 @@ weight_max_lb = 0.5 sell_value_min = 14 sell_value_max = 30 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/largemouth_bass/largemouth_bass.tres b/fish/species/largemouth_bass/largemouth_bass.tres index aa89d04..04d157a 100644 --- a/fish/species/largemouth_bass/largemouth_bass.tres +++ b/fish/species/largemouth_bass/largemouth_bass.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"largemouth_bass" display_name = "largemouth bass" -active = true +active = false catalog_number = 2201 collection_group = &"Freshwater bass" logbook_fact = "largemouth bass wait among weeds and timber before lunging at prey. the upper jaw extends beyond the eye when the mouth is closed." @@ -27,4 +26,3 @@ weight_max_lb = 18.0 sell_value_min = 4 sell_value_max = 12 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/lingcod/lingcod.tres b/fish/species/lingcod/lingcod.tres index 807dc8b..92d4a81 100644 --- a/fish/species/lingcod/lingcod.tres +++ b/fish/species/lingcod/lingcod.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"lingcod" display_name = "lingcod" -active = true +active = false catalog_number = 7001 collection_group = &"Temperate reef predators" logbook_fact = "lingcod guard rocky dens and ambush fish with a huge tooth-lined mouth. despite the name, they are greenling relatives rather than cod." @@ -27,4 +26,3 @@ weight_max_lb = 60.0 sell_value_min = 14 sell_value_max = 38 sell_value_curve = 0.83 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/lionfish_red/lionfish_red.tres b/fish/species/lionfish_red/lionfish_red.tres index f3c3b3b..564e243 100644 --- a/fish/species/lionfish_red/lionfish_red.tres +++ b/fish/species/lionfish_red/lionfish_red.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"lionfish_red" display_name = "red lionfish" -active = true +active = false catalog_number = 5201 collection_group = &"Reef ambush fish" logbook_fact = "red lionfish spread ornate venomous spines when threatened. broad fins herd smaller fish into corners before a rapid gulp." @@ -28,4 +27,3 @@ weight_max_lb = 3.0 sell_value_min = 11 sell_value_max = 25 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/loach_clown/loach_clown.tres b/fish/species/loach_clown/loach_clown.tres index f99a1be..ba24335 100644 --- a/fish/species/loach_clown/loach_clown.tres +++ b/fish/species/loach_clown/loach_clown.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"loach_clown" display_name = "clown loach" -active = true +active = false catalog_number = 7502 collection_group = &"Tropical freshwater fish" logbook_fact = "clown loaches rest in groups and make clicking sounds while feeding. orange bodies carry three broad black bands and small eye spines." @@ -29,4 +28,3 @@ weight_max_lb = 2.0 sell_value_min = 10 sell_value_max = 22 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/loach_weather/loach_weather.tres b/fish/species/loach_weather/loach_weather.tres index cc7afef..fa2ae34 100644 --- a/fish/species/loach_weather/loach_weather.tres +++ b/fish/species/loach_weather/loach_weather.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"loach_weather" display_name = "weather loach" -active = true +active = false catalog_number = 2905 collection_group = &"Freshwater oddities" logbook_fact = "weather loaches gulp air and pass it through the intestine when oxygen runs low. restless activity often increases as air pressure falls." @@ -28,4 +27,3 @@ weight_max_lb = 0.7 sell_value_min = 5 sell_value_max = 11 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/lobster_american/lobster_american.tres b/fish/species/lobster_american/lobster_american.tres index b70b809..b89e992 100644 --- a/fish/species/lobster_american/lobster_american.tres +++ b/fish/species/lobster_american/lobster_american.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"lobster_american" display_name = "American lobster" -active = true +active = false catalog_number = 3801 collection_group = &"Lobsters and shrimp" logbook_fact = "american lobsters shelter in rocky crevices and emerge to forage along the bottom. one claw crushes while the other cuts and grips." @@ -29,4 +28,3 @@ weight_max_lb = 44.0 sell_value_min = 16 sell_value_max = 42 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/lobster_caribbean_spiny/lobster_caribbean_spiny.tres b/fish/species/lobster_caribbean_spiny/lobster_caribbean_spiny.tres index cdd828c..eb9fdde 100644 --- a/fish/species/lobster_caribbean_spiny/lobster_caribbean_spiny.tres +++ b/fish/species/lobster_caribbean_spiny/lobster_caribbean_spiny.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"lobster_caribbean_spiny" display_name = "Caribbean spiny lobster" -active = true +active = false catalog_number = 3803 collection_group = &"Lobsters and shrimp" logbook_fact = "caribbean spiny lobsters rely on long antennae and a thorny shell instead of large claws. groups march together across the seafloor." @@ -29,4 +28,3 @@ weight_max_lb = 26.0 sell_value_min = 15 sell_value_max = 38 sell_value_curve = 0.87 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/lungfish_west_african/lungfish_west_african.tres b/fish/species/lungfish_west_african/lungfish_west_african.tres index f049cff..6ae8db6 100644 --- a/fish/species/lungfish_west_african/lungfish_west_african.tres +++ b/fish/species/lungfish_west_african/lungfish_west_african.tres @@ -3,7 +3,7 @@ [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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/107.png" id="4_texture"] +[ext_resource type="Texture2D" path="res://fish/species/lungfish_west_african/lungfish_west_african.png" id="4_texture"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") diff --git a/fish/species/mackerel_atlantic/mackerel_atlantic.tres b/fish/species/mackerel_atlantic/mackerel_atlantic.tres index ba6e0d8..f90a01b 100644 --- a/fish/species/mackerel_atlantic/mackerel_atlantic.tres +++ b/fish/species/mackerel_atlantic/mackerel_atlantic.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/701.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://breyc8fqq8lq3" path="res://fish/species/mackerel_atlantic/fish_mackerel_atlantic.png" id="4_texture"] [sub_resource type="Resource" id="MackerelAtlanticAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/mackerel_cero/mackerel_cero.tres b/fish/species/mackerel_cero/mackerel_cero.tres index 25cd4c5..598f01b 100644 --- a/fish/species/mackerel_cero/mackerel_cero.tres +++ b/fish/species/mackerel_cero/mackerel_cero.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://g8qanq47g1b8" path="res://fish/species/mackerel_cero/fish_mackerel_cero.png" id="4_texture"] [sub_resource type="Resource" id="MackerelCeroAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/mackerel_chub/mackerel_chub.tres b/fish/species/mackerel_chub/mackerel_chub.tres index 891abe4..7eeefb2 100644 --- a/fish/species/mackerel_chub/mackerel_chub.tres +++ b/fish/species/mackerel_chub/mackerel_chub.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/704.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://b7q2t02oo2bcp" path="res://fish/species/mackerel_chub/fish_mackerel_chub.png" id="4_texture"] [sub_resource type="Resource" id="MackerelChubAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/mackerel_king/mackerel_king.tres b/fish/species/mackerel_king/mackerel_king.tres index 9c00470..a167660 100644 --- a/fish/species/mackerel_king/mackerel_king.tres +++ b/fish/species/mackerel_king/mackerel_king.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://b2fag3xemyx5s" path="res://fish/species/mackerel_king/fish_mackerel_king.png" id="4_texture"] [sub_resource type="Resource" id="MackerelKingAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/mackerel_spanish/mackerel_spanish.tres b/fish/species/mackerel_spanish/mackerel_spanish.tres index 1f0bcf4..3dbc07c 100644 --- a/fish/species/mackerel_spanish/mackerel_spanish.tres +++ b/fish/species/mackerel_spanish/mackerel_spanish.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://cy2hmpenpkee2" path="res://fish/species/mackerel_spanish/fish_mackerel_spanish.png" id="4_texture"] [sub_resource type="Resource" id="MackerelSpanishAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/madtom_tadpole/madtom_tadpole.tres b/fish/species/madtom_tadpole/madtom_tadpole.tres index d0a5545..3c50b22 100644 --- a/fish/species/madtom_tadpole/madtom_tadpole.tres +++ b/fish/species/madtom_tadpole/madtom_tadpole.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"madtom_tadpole" display_name = "tadpole madtom" -active = true +active = false catalog_number = 2406 collection_group = &"Freshwater catfish" logbook_fact = "tadpole madtoms are tiny nocturnal catfish that shelter beneath vegetation and debris. venomous fin spines discourage larger predators." @@ -28,4 +27,3 @@ weight_max_lb = 0.15 sell_value_min = 8 sell_value_max = 16 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/mahi_mahi/mahi_mahi.tres b/fish/species/mahi_mahi/mahi_mahi.tres index 691a52a..1d688a3 100644 --- a/fish/species/mahi_mahi/mahi_mahi.tres +++ b/fish/species/mahi_mahi/mahi_mahi.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/4701.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"mahi_mahi" display_name = "mahi-mahi" -active = true +active = false catalog_number = 4701 collection_group = &"Oceanic pelagic fish" logbook_fact = "mahi-mahi flash brilliant blue, green, and gold while chasing prey near the surface. they grow quickly and gather around floating objects." @@ -29,4 +28,3 @@ weight_max_lb = 50.0 sell_value_min = 15 sell_value_max = 38 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/mahseer_golden/mahseer_golden.tres b/fish/species/mahseer_golden/mahseer_golden.tres index 1459de1..dd2bd95 100644 --- a/fish/species/mahseer_golden/mahseer_golden.tres +++ b/fish/species/mahseer_golden/mahseer_golden.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"mahseer_golden" display_name = "golden mahseer" -active = true +active = false catalog_number = 7603 collection_group = &"Tropical freshwater predators" logbook_fact = "golden mahseer migrate through swift mountain rivers to reach spawning grounds. large scales shine bronze beneath reddish fins." @@ -29,4 +28,3 @@ weight_max_lb = 90.0 sell_value_min = 32 sell_value_max = 72 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/manatee_west_indian/manatee_west_indian.tres b/fish/species/manatee_west_indian/manatee_west_indian.tres index 7154157..8c47efe 100644 --- a/fish/species/manatee_west_indian/manatee_west_indian.tres +++ b/fish/species/manatee_west_indian/manatee_west_indian.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"manatee_west_indian" display_name = "West Indian manatee" -active = true +active = false catalog_number = 505 collection_group = &"Coastal marine mammals" logbook_fact = "west indian manatees graze aquatic plants in warm coastal water and rivers. they surface regularly to breathe through nostrils atop the snout." @@ -29,4 +28,3 @@ weight_max_lb = 1300.0 sell_value_min = 70 sell_value_max = 160 sell_value_curve = 0.77 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/manta_ray_giant/manta_ray_giant.tres b/fish/species/manta_ray_giant/manta_ray_giant.tres index 13eef47..ad96bd2 100644 --- a/fish/species/manta_ray_giant/manta_ray_giant.tres +++ b/fish/species/manta_ray_giant/manta_ray_giant.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"manta_ray_giant" display_name = "giant manta ray" -active = true +active = false catalog_number = 5102 collection_group = &"Rays and skates" logbook_fact = "giant manta rays funnel plankton into wide mouths with two flexible head fins. each belly carries a unique pattern of dark spots." @@ -29,4 +28,3 @@ weight_max_lb = 1000.0 sell_value_min = 65 sell_value_max = 150 sell_value_curve = 0.76 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/marlin_black/marlin_black.tres b/fish/species/marlin_black/marlin_black.tres index 26f506a..3c2f6f4 100644 --- a/fish/species/marlin_black/marlin_black.tres +++ b/fish/species/marlin_black/marlin_black.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://dkdctr2o52vrb" path="res://fish/species/marlin_black/fish_marlin_black.png" id="4_texture"] [sub_resource type="Resource" id="MarlinBlackAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/marlin_blue/marlin_blue.tres b/fish/species/marlin_blue/marlin_blue.tres index c8ee35d..92d76d7 100644 --- a/fish/species/marlin_blue/marlin_blue.tres +++ b/fish/species/marlin_blue/marlin_blue.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://de35fjoytbomu" path="res://fish/species/marlin_blue/fish_marlin_blue.png" id="4_texture"] [sub_resource type="Resource" id="MarlinBlueAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/marlin_white/marlin_white.tres b/fish/species/marlin_white/marlin_white.tres index a69d01d..1039aa7 100644 --- a/fish/species/marlin_white/marlin_white.tres +++ b/fish/species/marlin_white/marlin_white.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://bdvy4ujx2htcy" path="res://fish/species/marlin_white/fish_marlin_white.png" id="4_texture"] [sub_resource type="Resource" id="MarlinWhiteAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/menhaden_atlantic/menhaden_atlantic.tres b/fish/species/menhaden_atlantic/menhaden_atlantic.tres index 53b4d6e..e19f95b 100644 --- a/fish/species/menhaden_atlantic/menhaden_atlantic.tres +++ b/fish/species/menhaden_atlantic/menhaden_atlantic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/802.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"menhaden_atlantic" display_name = "atlantic menhaden" -active = true +active = false catalog_number = 802 collection_group = &"Coastal schooling fish" logbook_fact = "atlantic menhaden strain plankton from coastal water with fine gill rakers. dense schools feed whales, seabirds, and predatory fish." @@ -28,4 +27,3 @@ weight_max_lb = 1.5 sell_value_min = 2 sell_value_max = 5 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/milkfish/milkfish.tres b/fish/species/milkfish/milkfish.tres index 9c8362a..b7cbf82 100644 --- a/fish/species/milkfish/milkfish.tres +++ b/fish/species/milkfish/milkfish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/7101.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"milkfish" display_name = "milkfish" -active = true +active = false catalog_number = 7101 collection_group = &"Tropical coastal fish" logbook_fact = "milkfish graze algae and tiny organisms in warm coastal shallows. deeply forked tails drive large schools through lagoons and estuaries." @@ -28,4 +27,3 @@ weight_max_lb = 25.0 sell_value_min = 4 sell_value_max = 12 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/minnow_fathead/minnow_fathead.tres b/fish/species/minnow_fathead/minnow_fathead.tres index c4a3aff..630b8c5 100644 --- a/fish/species/minnow_fathead/minnow_fathead.tres +++ b/fish/species/minnow_fathead/minnow_fathead.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2804.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"minnow_fathead" display_name = "fathead minnow" -active = true +active = false catalog_number = 2804 collection_group = &"Freshwater minnows" logbook_fact = "fathead minnows tolerate warm, muddy ponds where many fish struggle. males guard eggs laid beneath rocks, logs, and other cover." @@ -28,4 +27,3 @@ weight_max_lb = 0.2 sell_value_min = 1 sell_value_max = 2 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/monkfish/monkfish.tres b/fish/species/monkfish/monkfish.tres index d485570..82319f8 100644 --- a/fish/species/monkfish/monkfish.tres +++ b/fish/species/monkfish/monkfish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"monkfish" display_name = "monkfish" -active = true +active = false catalog_number = 603 collection_group = &"Coastal oddities" logbook_fact = "monkfish hide against the bottom and wave a fleshy lure above a cavernous mouth. a sudden gulp draws fish and crustaceans inward." @@ -29,4 +28,3 @@ weight_max_lb = 55.0 sell_value_min = 14 sell_value_max = 35 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/mooneye/mooneye.tres b/fish/species/mooneye/mooneye.tres index 3dff8a1..c04be25 100644 --- a/fish/species/mooneye/mooneye.tres +++ b/fish/species/mooneye/mooneye.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"mooneye" display_name = "mooneye" -active = true +active = false catalog_number = 2904 collection_group = &"Freshwater oddities" logbook_fact = "mooneyes flash silver in clear rivers and lakes while feeding near the surface. their large eyes suit evening hunts for insects and small fish." @@ -28,4 +27,3 @@ weight_max_lb = 4.0 sell_value_min = 5 sell_value_max = 11 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/moray_green/moray_green.tres b/fish/species/moray_green/moray_green.tres index e0d49ae..48258b5 100644 --- a/fish/species/moray_green/moray_green.tres +++ b/fish/species/moray_green/moray_green.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"moray_green" display_name = "green moray" -active = true +active = false catalog_number = 5301 collection_group = &"Reef eels" logbook_fact = "green morays appear green because yellow mucus coats blue-gray skin. a second set of jaws pulls captured prey deeper into the throat." @@ -28,4 +27,3 @@ weight_max_lb = 30.0 sell_value_min = 13 sell_value_max = 32 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/mudskipper_atlantic/mudskipper_atlantic.tres b/fish/species/mudskipper_atlantic/mudskipper_atlantic.tres index 7df958a..477183a 100644 --- a/fish/species/mudskipper_atlantic/mudskipper_atlantic.tres +++ b/fish/species/mudskipper_atlantic/mudskipper_atlantic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/201.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"mudskipper_atlantic" display_name = "atlantic mudskipper" -active = true +active = false catalog_number = 201 collection_group = &"Brackish oddities" logbook_fact = "atlantic mudskippers use sturdy fins to hop and crawl across exposed mud. moist skin and mouth linings let them breathe out of water." @@ -29,4 +28,3 @@ weight_max_lb = 0.5 sell_value_min = 5 sell_value_max = 11 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/mullet_red/mullet_red.tres b/fish/species/mullet_red/mullet_red.tres index 67a35fa..ed17234 100644 --- a/fish/species/mullet_red/mullet_red.tres +++ b/fish/species/mullet_red/mullet_red.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"mullet_red" display_name = "red mullet" -active = true +active = false catalog_number = 301 collection_group = &"Coastal bottom fish" logbook_fact = "red mullet comb sandy bottoms with two chin barbels that taste hidden prey. their foraging leaves winding trails in the sediment." @@ -28,4 +27,3 @@ weight_max_lb = 3.0 sell_value_min = 5 sell_value_max = 11 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/mullet_striped/mullet_striped.tres b/fish/species/mullet_striped/mullet_striped.tres index a285ee7..2affb1b 100644 --- a/fish/species/mullet_striped/mullet_striped.tres +++ b/fish/species/mullet_striped/mullet_striped.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6804.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"mullet_striped" display_name = "striped mullet" -active = true +active = false catalog_number = 6804 collection_group = &"Temperate estuary" logbook_fact = "striped mullet leap clear of the water and travel in coastal schools. they graze algae and detritus with specialized digestive systems." @@ -28,4 +27,3 @@ weight_max_lb = 8.0 sell_value_min = 3 sell_value_max = 8 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/muskellunge/muskellunge.tres b/fish/species/muskellunge/muskellunge.tres index e747d07..6bb8997 100644 --- a/fish/species/muskellunge/muskellunge.tres +++ b/fish/species/muskellunge/muskellunge.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"muskellunge" display_name = "muskellunge" -active = true +active = false catalog_number = 2704 collection_group = &"Freshwater giants" logbook_fact = "muskellunge wait motionless among weeds before exploding toward prey. pale bodies carry bars or spots that fade into broken underwater light." @@ -29,4 +28,3 @@ weight_max_lb = 60.0 sell_value_min = 32 sell_value_max = 72 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/nautilus_chambered/nautilus_chambered.tres b/fish/species/nautilus_chambered/nautilus_chambered.tres index 562f16b..b38815d 100644 --- a/fish/species/nautilus_chambered/nautilus_chambered.tres +++ b/fish/species/nautilus_chambered/nautilus_chambered.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"nautilus_chambered" display_name = "chambered nautilus" -active = true +active = false catalog_number = 1501 collection_group = &"Cuttlefish and nautiluses" logbook_fact = "chambered nautiluses regulate buoyancy with gas-filled shell chambers. dozens of small tentacles feel for food in dark reef slopes." @@ -29,4 +28,3 @@ weight_max_lb = 3.0 sell_value_min = 34 sell_value_max = 76 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/needlefish_hound/needlefish_hound.tres b/fish/species/needlefish_hound/needlefish_hound.tres index 5d97670..4eda89e 100644 --- a/fish/species/needlefish_hound/needlefish_hound.tres +++ b/fish/species/needlefish_hound/needlefish_hound.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"needlefish_hound" display_name = "houndfish" -active = true +active = false catalog_number = 6602 collection_group = &"Surface ocean fish" logbook_fact = "houndfish hunt near the surface with long jaws filled with fine teeth. powerful leaps can carry their narrow bodies far above the water." @@ -28,4 +27,3 @@ weight_max_lb = 10.0 sell_value_min = 11 sell_value_max = 25 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/oarfish_giant/oarfish_giant.tres b/fish/species/oarfish_giant/oarfish_giant.tres index 2bcd4ab..3687f0f 100644 --- a/fish/species/oarfish_giant/oarfish_giant.tres +++ b/fish/species/oarfish_giant/oarfish_giant.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"oarfish_giant" display_name = "giant oarfish" -active = true +active = false catalog_number = 1701 collection_group = &"Deep-sea legends" logbook_fact = "giant oarfish drift vertically through deep open water, rowing with a crimson dorsal fin. their ribbon-like bodies can reach remarkable lengths." @@ -29,4 +28,3 @@ weight_max_lb = 600.0 sell_value_min = 60 sell_value_max = 140 sell_value_curve = 0.78 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/ocean_perch_pacific/ocean_perch_pacific.tres b/fish/species/ocean_perch_pacific/ocean_perch_pacific.tres index 6b0cdcc..e02db9a 100644 --- a/fish/species/ocean_perch_pacific/ocean_perch_pacific.tres +++ b/fish/species/ocean_perch_pacific/ocean_perch_pacific.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"ocean_perch_pacific" display_name = "Pacific ocean perch" -active = true +active = false catalog_number = 1603 collection_group = &"Deep shelf fish" logbook_fact = "pacific ocean perch hover around deep rocky reefs in the north pacific. these slow-growing fish give birth to live young." @@ -27,4 +26,3 @@ weight_max_lb = 12.0 sell_value_min = 7 sell_value_max = 17 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/octopus_common/octopus_common.tres b/fish/species/octopus_common/octopus_common.tres index e379010..66278ee 100644 --- a/fish/species/octopus_common/octopus_common.tres +++ b/fish/species/octopus_common/octopus_common.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"octopus_common" display_name = "common octopus" -active = true +active = false catalog_number = 4901 collection_group = &"Octopuses" logbook_fact = "common octopuses squeeze through narrow cracks and solve problems while hunting reefs. skin cells rapidly change color and texture." @@ -28,4 +27,3 @@ weight_max_lb = 22.0 sell_value_min = 7 sell_value_max = 18 sell_value_curve = 0.87 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/octopus_day/octopus_day.tres b/fish/species/octopus_day/octopus_day.tres index 4384f38..6251fe8 100644 --- a/fish/species/octopus_day/octopus_day.tres +++ b/fish/species/octopus_day/octopus_day.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"octopus_day" display_name = "day octopus" -active = true +active = false catalog_number = 4902 collection_group = &"Octopuses" logbook_fact = "day octopuses forage across tropical reefs while the sun is high. shifting bars and spots communicate alarm, camouflage, and threat." @@ -29,4 +28,3 @@ weight_max_lb = 15.0 sell_value_min = 15 sell_value_max = 36 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/octopus_giant_pacific/octopus_giant_pacific.tres b/fish/species/octopus_giant_pacific/octopus_giant_pacific.tres index 1091088..438eb60 100644 --- a/fish/species/octopus_giant_pacific/octopus_giant_pacific.tres +++ b/fish/species/octopus_giant_pacific/octopus_giant_pacific.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"octopus_giant_pacific" display_name = "giant Pacific octopus" -active = true +active = false catalog_number = 4903 collection_group = &"Octopuses" logbook_fact = "giant pacific octopuses explore cold rocky dens with thousands of arm suckers. females guard their eggs without feeding until they hatch." @@ -29,4 +28,3 @@ weight_max_lb = 200.0 sell_value_min = 28 sell_value_max = 70 sell_value_curve = 0.81 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/octopus_greater_blue_ringed/octopus_greater_blue_ringed.tres b/fish/species/octopus_greater_blue_ringed/octopus_greater_blue_ringed.tres index f2a21d9..9b538f2 100644 --- a/fish/species/octopus_greater_blue_ringed/octopus_greater_blue_ringed.tres +++ b/fish/species/octopus_greater_blue_ringed/octopus_greater_blue_ringed.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"octopus_greater_blue_ringed" display_name = "greater blue-ringed octopus" -active = true +active = false catalog_number = 4904 collection_group = &"Octopuses" logbook_fact = "greater blue-ringed octopuses reveal vivid rings when threatened. a tiny beak can deliver venom strong enough to stop breathing." @@ -29,4 +28,3 @@ weight_max_lb = 0.3 sell_value_min = 38 sell_value_max = 82 sell_value_curve = 0.96 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/opah/opah.tres b/fish/species/opah/opah.tres index f9b202a..a7d3fd1 100644 --- a/fish/species/opah/opah.tres +++ b/fish/species/opah/opah.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"opah" display_name = "opah" -active = true +active = false catalog_number = 4702 collection_group = &"Oceanic pelagic fish" logbook_fact = "opah circulate warm blood through much of the body, an unusual trait among fish. round silver flanks glow with red fins and pale spots." @@ -29,4 +28,3 @@ weight_max_lb = 600.0 sell_value_min = 36 sell_value_max = 88 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/oscar/oscar.tres b/fish/species/oscar/oscar.tres index 8e780cb..bf44caa 100644 --- a/fish/species/oscar/oscar.tres +++ b/fish/species/oscar/oscar.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"oscar" display_name = "oscar" -active = true +active = false catalog_number = 7507 collection_group = &"Tropical freshwater fish" logbook_fact = "oscars are large south american cichlids that recognize routines and defend territories. a tail eyespot may redirect attacks away from the head." @@ -28,4 +27,3 @@ weight_max_lb = 4.0 sell_value_min = 6 sell_value_max = 14 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/oyster_black_lip_pearl/oyster_black_lip_pearl.tres b/fish/species/oyster_black_lip_pearl/oyster_black_lip_pearl.tres index 776218d..74a99d7 100644 --- a/fish/species/oyster_black_lip_pearl/oyster_black_lip_pearl.tres +++ b/fish/species/oyster_black_lip_pearl/oyster_black_lip_pearl.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"oyster_black_lip_pearl" display_name = "black-lip pearl oyster" -active = true +active = false catalog_number = 6401 collection_group = &"Shellfish" logbook_fact = "black-lip pearl oysters line their shells with dark-edged nacre. a trapped irritant can become coated in the same pearly material." @@ -28,4 +27,3 @@ weight_max_lb = 5.0 sell_value_min = 14 sell_value_max = 40 sell_value_curve = 0.91 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/paddlefish/paddlefish.tres b/fish/species/paddlefish/paddlefish.tres index 498730b..27d1696 100644 --- a/fish/species/paddlefish/paddlefish.tres +++ b/fish/species/paddlefish/paddlefish.tres @@ -3,7 +3,7 @@ [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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/104.png" id="4_texture"] +[ext_resource type="Texture2D" path="res://fish/species/paddlefish/paddlefish.png" id="4_texture"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") diff --git a/fish/species/parrotfish_rainbow/parrotfish_rainbow.tres b/fish/species/parrotfish_rainbow/parrotfish_rainbow.tres index c0b0dc2..06df938 100644 --- a/fish/species/parrotfish_rainbow/parrotfish_rainbow.tres +++ b/fish/species/parrotfish_rainbow/parrotfish_rainbow.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"parrotfish_rainbow" display_name = "rainbow parrotfish" -active = true +active = false catalog_number = 5502 collection_group = &"Reef grazers" logbook_fact = "rainbow parrotfish scrape algae from reefs with fused beak-like teeth. crushed coral passes through them and returns to the reef as sand." @@ -28,4 +27,3 @@ weight_max_lb = 40.0 sell_value_min = 25 sell_value_max = 58 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/parrotfish_stoplight/parrotfish_stoplight.tres b/fish/species/parrotfish_stoplight/parrotfish_stoplight.tres index 50962f4..3cc5389 100644 --- a/fish/species/parrotfish_stoplight/parrotfish_stoplight.tres +++ b/fish/species/parrotfish_stoplight/parrotfish_stoplight.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"parrotfish_stoplight" display_name = "stoplight parrotfish" -active = true +active = false catalog_number = 5503 collection_group = &"Reef grazers" logbook_fact = "stoplight parrotfish change color dramatically as they mature. powerful dental plates bite algae from hard reef surfaces." @@ -28,4 +27,3 @@ weight_max_lb = 15.0 sell_value_min = 12 sell_value_max = 29 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/peacock_bass/peacock_bass.tres b/fish/species/peacock_bass/peacock_bass.tres index 7cfbb5d..eaae159 100644 --- a/fish/species/peacock_bass/peacock_bass.tres +++ b/fish/species/peacock_bass/peacock_bass.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"peacock_bass" display_name = "peacock bass" -active = true +active = false catalog_number = 7604 collection_group = &"Tropical freshwater predators" logbook_fact = "peacock bass are aggressive south american cichlids rather than true bass. adults guard nests and hunt fish in warm clear water." @@ -28,4 +27,3 @@ weight_max_lb = 25.0 sell_value_min = 15 sell_value_max = 36 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/permit/permit.tres b/fish/species/permit/permit.tres index f58283c..f9c0d95 100644 --- a/fish/species/permit/permit.tres +++ b/fish/species/permit/permit.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_rain = true script = ExtResource("1_fish_data") id = &"permit" display_name = "permit" -active = true +active = false catalog_number = 7404 collection_group = &"Tropical flats fish" logbook_fact = "permit browse tropical flats for crabs and shellfish with rubbery mouths. tall silver bodies carry long sickle-shaped dorsal and anal fins." @@ -29,4 +28,3 @@ weight_max_lb = 50.0 sell_value_min = 27 sell_value_max = 62 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/pickerel_chain/pickerel_chain.tres b/fish/species/pickerel_chain/pickerel_chain.tres index db02b7f..eec103a 100644 --- a/fish/species/pickerel_chain/pickerel_chain.tres +++ b/fish/species/pickerel_chain/pickerel_chain.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"pickerel_chain" display_name = "chain pickerel" -active = true +active = false catalog_number = 3301 collection_group = &"Freshwater predators" logbook_fact = "chain pickerel hover among vegetation before darting at fish and frogs. a chain-like pattern breaks up their green flanks." @@ -29,4 +28,3 @@ weight_max_lb = 9.0 sell_value_min = 6 sell_value_max = 15 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/pickerel_grass/pickerel_grass.tres b/fish/species/pickerel_grass/pickerel_grass.tres index 9ef8952..1a25625 100644 --- a/fish/species/pickerel_grass/pickerel_grass.tres +++ b/fish/species/pickerel_grass/pickerel_grass.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"pickerel_grass" display_name = "grass pickerel" -active = true +active = false catalog_number = 3302 collection_group = &"Freshwater predators" logbook_fact = "grass pickerel remain small enough to hunt in narrow, weedy creeks and marshes. dark bars camouflage their slim bodies among stems." @@ -28,4 +27,3 @@ weight_max_lb = 1.5 sell_value_min = 2 sell_value_max = 6 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/pike_northern/pike_northern.tres b/fish/species/pike_northern/pike_northern.tres index 05f1ed7..b7594d1 100644 --- a/fish/species/pike_northern/pike_northern.tres +++ b/fish/species/pike_northern/pike_northern.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"pike_northern" display_name = "northern pike" -active = true +active = false catalog_number = 3303 collection_group = &"Freshwater predators" logbook_fact = "northern pike are solitary ambush hunters built for sudden acceleration. pale bean-shaped spots cover their long green bodies." @@ -28,4 +27,3 @@ weight_max_lb = 30.0 sell_value_min = 8 sell_value_max = 24 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/pipefish_bay/pipefish_bay.tres b/fish/species/pipefish_bay/pipefish_bay.tres index 0436a8a..3bc3407 100644 --- a/fish/species/pipefish_bay/pipefish_bay.tres +++ b/fish/species/pipefish_bay/pipefish_bay.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"pipefish_bay" display_name = "bay pipefish" -active = true +active = false catalog_number = 601 collection_group = &"Coastal oddities" logbook_fact = "bay pipefish hide upright among seagrass, matching the blades with their slender bodies. males carry developing eggs in a brood pouch." @@ -28,4 +27,3 @@ weight_max_lb = 0.04 sell_value_min = 4 sell_value_max = 9 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/piranha_red_bellied/piranha_red_bellied.tres b/fish/species/piranha_red_bellied/piranha_red_bellied.tres index ebc9fab..ea52350 100644 --- a/fish/species/piranha_red_bellied/piranha_red_bellied.tres +++ b/fish/species/piranha_red_bellied/piranha_red_bellied.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"piranha_red_bellied" display_name = "red-bellied piranha" -active = true +active = false catalog_number = 7605 collection_group = &"Tropical freshwater predators" logbook_fact = "red-bellied piranhas communicate with barks and drum-like sounds. schools provide protection as they search for fish, insects, and carrion." @@ -28,4 +27,3 @@ weight_max_lb = 4.0 sell_value_min = 12 sell_value_max = 27 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/plaice_european/plaice_european.tres b/fish/species/plaice_european/plaice_european.tres index e66f162..17ea57f 100644 --- a/fish/species/plaice_european/plaice_european.tres +++ b/fish/species/plaice_european/plaice_european.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"plaice_european" display_name = "European plaice" -active = true +active = false catalog_number = 401 collection_group = &"Coastal flatfish" logbook_fact = "european plaice lie flat on the seafloor with both eyes on the same side. orange spots help distinguish them from neighboring flatfish." @@ -28,4 +27,3 @@ weight_max_lb = 10.0 sell_value_min = 4 sell_value_max = 10 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/pollock_alaska/pollock_alaska.tres b/fish/species/pollock_alaska/pollock_alaska.tres index e9add13..aebdcf4 100644 --- a/fish/species/pollock_alaska/pollock_alaska.tres +++ b/fish/species/pollock_alaska/pollock_alaska.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"pollock_alaska" display_name = "Alaska pollock" -active = true +active = false catalog_number = 1401 collection_group = &"Cold shelf fish" logbook_fact = "alaska pollock form vast schools over cold northern shelves. they feed on plankton and fish while supporting many larger predators." @@ -27,4 +26,3 @@ weight_max_lb = 8.0 sell_value_min = 3 sell_value_max = 8 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/pollock_atlantic/pollock_atlantic.tres b/fish/species/pollock_atlantic/pollock_atlantic.tres index 494dd23..9e3c322 100644 --- a/fish/species/pollock_atlantic/pollock_atlantic.tres +++ b/fish/species/pollock_atlantic/pollock_atlantic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"pollock_atlantic" display_name = "Atlantic pollock" -active = true +active = false catalog_number = 1403 collection_group = &"Cold shelf fish" logbook_fact = "atlantic pollock are swift relatives of cod with dark backs and pale lateral lines. adults gather around rocky banks and wrecks." @@ -29,4 +28,3 @@ weight_max_lb = 35.0 sell_value_min = 7 sell_value_max = 18 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/pomfret_black/pomfret_black.tres b/fish/species/pomfret_black/pomfret_black.tres index a3c9e54..517e5d5 100644 --- a/fish/species/pomfret_black/pomfret_black.tres +++ b/fish/species/pomfret_black/pomfret_black.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://ch3y6xdo22j1o" path="res://fish/species/pomfret_black/fish_pomfret_black.png" id="4_texture"] [sub_resource type="Resource" id="PomfretBlackAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/pomfret_chinese/pomfret_chinese.tres b/fish/species/pomfret_chinese/pomfret_chinese.tres index e3f236c..313c0bf 100644 --- a/fish/species/pomfret_chinese/pomfret_chinese.tres +++ b/fish/species/pomfret_chinese/pomfret_chinese.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://cijr0gseldncc" path="res://fish/species/pomfret_chinese/fish_pomfret_chinese.png" id="4_texture"] [sub_resource type="Resource" id="PomfretChineseAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/pomfret_golden/pomfret_golden.tres b/fish/species/pomfret_golden/pomfret_golden.tres index 162a2e7..bcd2469 100644 --- a/fish/species/pomfret_golden/pomfret_golden.tres +++ b/fish/species/pomfret_golden/pomfret_golden.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://7rjv7k60bv7q" path="res://fish/species/pomfret_golden/fish_pomfret_golden.png" id="4_texture"] [sub_resource type="Resource" id="PomfretGoldenAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/pomfret_white/pomfret_white.tres b/fish/species/pomfret_white/pomfret_white.tres index 8652e63..c4114db 100644 --- a/fish/species/pomfret_white/pomfret_white.tres +++ b/fish/species/pomfret_white/pomfret_white.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://c3fr0x4e1nfe0" path="res://fish/species/pomfret_white/fish_pomfret_white.png" id="4_texture"] [sub_resource type="Resource" id="PomfretWhiteAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/pompano_african/pompano_african.tres b/fish/species/pompano_african/pompano_african.tres index 598da61..d0f6559 100644 --- a/fish/species/pompano_african/pompano_african.tres +++ b/fish/species/pompano_african/pompano_african.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"pompano_african" display_name = "African pompano" -active = true +active = false catalog_number = 3601 collection_group = &"Large coastal predators" logbook_fact = "african pompano develop long streaming fin rays while young. adults become deep-bodied silver hunters around reefs and offshore structure." @@ -27,4 +26,3 @@ weight_max_lb = 50.0 sell_value_min = 14 sell_value_max = 35 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/pompano_florida/pompano_florida.tres b/fish/species/pompano_florida/pompano_florida.tres index b21035c..7ef5dd2 100644 --- a/fish/species/pompano_florida/pompano_florida.tres +++ b/fish/species/pompano_florida/pompano_florida.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"pompano_florida" display_name = "Florida pompano" -active = true +active = false catalog_number = 7402 collection_group = &"Tropical flats fish" logbook_fact = "florida pompano search warm surf for crabs, clams, and sand fleas. short blunt snouts lead into deep, silvery bodies." @@ -29,4 +28,3 @@ weight_max_lb = 9.0 sell_value_min = 7 sell_value_max = 16 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/porcupinefish_spotted/porcupinefish_spotted.tres b/fish/species/porcupinefish_spotted/porcupinefish_spotted.tres index 93d5dca..1e03d89 100644 --- a/fish/species/porcupinefish_spotted/porcupinefish_spotted.tres +++ b/fish/species/porcupinefish_spotted/porcupinefish_spotted.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"porcupinefish_spotted" display_name = "spotted porcupinefish" -active = true +active = false catalog_number = 5607 collection_group = &"Reef oddities" logbook_fact = "spotted porcupinefish inflate until long spines stand outward. fused teeth form a strong beak for crushing shelled prey." @@ -29,4 +28,3 @@ weight_max_lb = 7.0 sell_value_min = 24 sell_value_max = 54 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/porgy_scup/porgy_scup.tres b/fish/species/porgy_scup/porgy_scup.tres index ad96831..ebf9b50 100644 --- a/fish/species/porgy_scup/porgy_scup.tres +++ b/fish/species/porgy_scup/porgy_scup.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6904.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"porgy_scup" display_name = "scup" -active = true +active = false catalog_number = 6904 collection_group = &"Temperate reef fish" logbook_fact = "scup use small strong teeth to crush shellfish and other bottom prey. deep silver bodies gather around piers, reefs, and eelgrass." @@ -28,4 +27,3 @@ weight_max_lb = 5.0 sell_value_min = 3 sell_value_max = 8 sell_value_curve = 0.92 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/pufferfish_guineafowl/pufferfish_guineafowl.tres b/fish/species/pufferfish_guineafowl/pufferfish_guineafowl.tres index 754cf4d..e75ee2d 100644 --- a/fish/species/pufferfish_guineafowl/pufferfish_guineafowl.tres +++ b/fish/species/pufferfish_guineafowl/pufferfish_guineafowl.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"pufferfish_guineafowl" display_name = "guineafowl puffer" -active = true +active = false catalog_number = 5603 collection_group = &"Reef oddities" logbook_fact = "guineafowl puffers swallow water to inflate when threatened. adults may shift from a spotted dark pattern to a vivid yellow form." @@ -28,4 +27,3 @@ weight_max_lb = 5.0 sell_value_min = 11 sell_value_max = 26 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/pumpkinseed/pumpkinseed.tres b/fish/species/pumpkinseed/pumpkinseed.tres index 7a4f090..d0ddcd3 100644 --- a/fish/species/pumpkinseed/pumpkinseed.tres +++ b/fish/species/pumpkinseed/pumpkinseed.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/3104.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"pumpkinseed" display_name = "pumpkinseed" -active = true +active = false catalog_number = 3104 collection_group = &"Freshwater panfish" logbook_fact = "pumpkinseeds use compact teeth to crush snails and other hard prey. blue facial lines and an orange gill spot brighten their round bodies." @@ -28,4 +27,3 @@ weight_max_lb = 1.3 sell_value_min = 2 sell_value_max = 5 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/queenfish_talang/queenfish_talang.tres b/fish/species/queenfish_talang/queenfish_talang.tres index d6ee3be..145d0de 100644 --- a/fish/species/queenfish_talang/queenfish_talang.tres +++ b/fish/species/queenfish_talang/queenfish_talang.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"queenfish_talang" display_name = "talang queenfish" -active = true +active = false catalog_number = 708 collection_group = &"Coastal pelagic fish" logbook_fact = "talang queenfish chase schooling prey near warm coasts and estuaries. hooked teeth and a deeply forked tail suit their rapid attacks." @@ -28,4 +27,3 @@ weight_max_lb = 20.0 sell_value_min = 7 sell_value_max = 18 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/quillback/quillback.tres b/fish/species/quillback/quillback.tres index 2ca6399..6f59e17 100644 --- a/fish/species/quillback/quillback.tres +++ b/fish/species/quillback/quillback.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"quillback" display_name = "quillback" -active = true +active = false catalog_number = 2303 collection_group = &"Freshwater bottom fish" logbook_fact = "quillbacks carry a long first dorsal ray that rises like a quill. small mouths gather insect larvae and other food from river and lake bottoms." @@ -28,4 +27,3 @@ weight_max_lb = 15.0 sell_value_min = 6 sell_value_max = 16 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/red_drum/red_drum.tres b/fish/species/red_drum/red_drum.tres index 393a002..7cbaecc 100644 --- a/fish/species/red_drum/red_drum.tres +++ b/fish/species/red_drum/red_drum.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"red_drum" display_name = "red drum" -active = true +active = false catalog_number = 6803 collection_group = &"Temperate estuary" logbook_fact = "red drum use powerful tails to patrol surf and estuaries. one or more black spots near the tail may confuse predators about which end is the head." @@ -28,4 +27,3 @@ weight_max_lb = 45.0 sell_value_min = 8 sell_value_max = 23 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/redear_sunfish/redear_sunfish.tres b/fish/species/redear_sunfish/redear_sunfish.tres index 6078d20..44a3729 100644 --- a/fish/species/redear_sunfish/redear_sunfish.tres +++ b/fish/species/redear_sunfish/redear_sunfish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"redear_sunfish" display_name = "redear sunfish" -active = true +active = false catalog_number = 3105 collection_group = &"Freshwater panfish" logbook_fact = "redear sunfish specialize in snails, crushing shells with strong throat teeth. a red or orange margin marks the dark flap behind the gill." @@ -28,4 +27,3 @@ weight_max_lb = 3.0 sell_value_min = 4 sell_value_max = 9 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/redhorse_golden/redhorse_golden.tres b/fish/species/redhorse_golden/redhorse_golden.tres index 5ba103b..44ae38f 100644 --- a/fish/species/redhorse_golden/redhorse_golden.tres +++ b/fish/species/redhorse_golden/redhorse_golden.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"redhorse_golden" display_name = "golden redhorse" -active = true +active = false catalog_number = 2302 collection_group = &"Freshwater bottom fish" logbook_fact = "golden redhorses probe flowing river bottoms with fleshy, downward-facing mouths. coppery scales and reddish fins give them a warm glow." @@ -28,4 +27,3 @@ weight_max_lb = 8.0 sell_value_min = 6 sell_value_max = 14 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/roach_common/roach_common.tres b/fish/species/roach_common/roach_common.tres index c12d380..ce38873 100644 --- a/fish/species/roach_common/roach_common.tres +++ b/fish/species/roach_common/roach_common.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2504.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"roach_common" display_name = "common roach" -active = true +active = false catalog_number = 2504 collection_group = &"Freshwater coarse fish" logbook_fact = "common roach thrive in many lakes and rivers, often schooling near vegetation. red fins and a red-orange eye brighten their silver bodies." @@ -27,4 +26,3 @@ weight_max_lb = 4.0 sell_value_min = 2 sell_value_max = 6 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/rockfish_black/rockfish_black.tres b/fish/species/rockfish_black/rockfish_black.tres index c37b427..21cd186 100644 --- a/fish/species/rockfish_black/rockfish_black.tres +++ b/fish/species/rockfish_black/rockfish_black.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6901.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"rockfish_black" display_name = "black rockfish" -active = true +active = false catalog_number = 6901 collection_group = &"Temperate reef fish" logbook_fact = "black rockfish gather above reefs and kelp along the north pacific coast. like other rockfish, they give birth to live young." @@ -27,4 +26,3 @@ weight_max_lb = 10.0 sell_value_min = 4 sell_value_max = 11 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/rockfish_canary/rockfish_canary.tres b/fish/species/rockfish_canary/rockfish_canary.tres index 1e65d72..e20e655 100644 --- a/fish/species/rockfish_canary/rockfish_canary.tres +++ b/fish/species/rockfish_canary/rockfish_canary.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"rockfish_canary" display_name = "canary rockfish" -active = true +active = false catalog_number = 6903 collection_group = &"Temperate reef fish" logbook_fact = "canary rockfish glow orange-yellow over deep pacific reefs. these long-lived fish mature slowly and give birth to live young." @@ -28,4 +27,3 @@ weight_max_lb = 12.0 sell_value_min = 7 sell_value_max = 17 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/rockfish_yelloweye/rockfish_yelloweye.tres b/fish/species/rockfish_yelloweye/rockfish_yelloweye.tres index 89aab8e..79e8d75 100644 --- a/fish/species/rockfish_yelloweye/rockfish_yelloweye.tres +++ b/fish/species/rockfish_yelloweye/rockfish_yelloweye.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"rockfish_yelloweye" display_name = "yelloweye rockfish" -active = true +active = false catalog_number = 6907 collection_group = &"Temperate reef fish" logbook_fact = "yelloweye rockfish can live for more than a century on deep pacific reefs. bright golden eyes stand out against orange-red bodies." @@ -28,4 +27,3 @@ weight_max_lb = 35.0 sell_value_min = 28 sell_value_max = 64 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/roosterfish/roosterfish.tres b/fish/species/roosterfish/roosterfish.tres index 388dd70..19c009c 100644 --- a/fish/species/roosterfish/roosterfish.tres +++ b/fish/species/roosterfish/roosterfish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"roosterfish" display_name = "roosterfish" -active = true +active = false catalog_number = 7201 collection_group = &"Tropical coastal predators" logbook_fact = "roosterfish raise seven long dorsal spines while chasing prey through tropical surf. dark bands cross their sleek silver bodies." @@ -28,4 +27,3 @@ weight_max_lb = 100.0 sell_value_min = 30 sell_value_max = 70 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/rudd/rudd.tres b/fish/species/rudd/rudd.tres index 5de8d57..6ef01aa 100644 --- a/fish/species/rudd/rudd.tres +++ b/fish/species/rudd/rudd.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2508.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"rudd" display_name = "rudd" -active = true +active = false catalog_number = 2508 collection_group = &"Freshwater coarse fish" logbook_fact = "rudd feed near the surface with an upturned mouth and red fins. golden-green bodies disappear easily among warm, weedy shallows." @@ -28,4 +27,3 @@ weight_max_lb = 4.5 sell_value_min = 3 sell_value_max = 7 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sablefish/sablefish.tres b/fish/species/sablefish/sablefish.tres index e481e52..28daaf3 100644 --- a/fish/species/sablefish/sablefish.tres +++ b/fish/species/sablefish/sablefish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"sablefish" display_name = "sablefish" -active = true +active = false catalog_number = 1605 collection_group = &"Deep shelf fish" logbook_fact = "sablefish roam deep north pacific slopes and can live for many decades. soft dark bodies conceal rich, oil-filled flesh." @@ -28,4 +27,3 @@ weight_max_lb = 40.0 sell_value_min = 15 sell_value_max = 36 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sailfish/sailfish.tres b/fish/species/sailfish/sailfish.tres index 98e958d..7826b0b 100644 --- a/fish/species/sailfish/sailfish.tres +++ b/fish/species/sailfish/sailfish.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://8rlcnfqx8or0" path="res://fish/species/sailfish/fish_sailfish.png" id="4_texture"] [sub_resource type="Resource" id="SailfishAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/salmon_atlantic/salmon_atlantic.tres b/fish/species/salmon_atlantic/salmon_atlantic.tres index 1c77325..802c177 100644 --- a/fish/species/salmon_atlantic/salmon_atlantic.tres +++ b/fish/species/salmon_atlantic/salmon_atlantic.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/4401.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://ddbclfu5wtd5r" path="res://fish/species/salmon_atlantic/fish_salmon_atlantic.png" id="4_texture"] [sub_resource type="Resource" id="AtlanticSalmonAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/salmon_chum/salmon_chum.tres b/fish/species/salmon_chum/salmon_chum.tres index 8fcabd0..a41a410 100644 --- a/fish/species/salmon_chum/salmon_chum.tres +++ b/fish/species/salmon_chum/salmon_chum.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://dqjkmd6l1a2i4" path="res://fish/species/salmon_chum/fish_salmon_chum.png" id="4_texture"] [sub_resource type="Resource" id="ChumSalmonAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/salmon_coho/salmon_coho.tres b/fish/species/salmon_coho/salmon_coho.tres index b1160b1..89d1ea5 100644 --- a/fish/species/salmon_coho/salmon_coho.tres +++ b/fish/species/salmon_coho/salmon_coho.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://c4c4e43lbr88c" path="res://fish/species/salmon_coho/fish_salmon_coho.png" id="4_texture"] [sub_resource type="Resource" id="CohoSalmonAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/salmon_pink/salmon_pink.tres b/fish/species/salmon_pink/salmon_pink.tres index bdfa32e..94e2f32 100644 --- a/fish/species/salmon_pink/salmon_pink.tres +++ b/fish/species/salmon_pink/salmon_pink.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://bk27bsdrtlqap" path="res://fish/species/salmon_pink/fish_salmon_pink.png" id="4_texture"] [sub_resource type="Resource" id="PinkSalmonAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/salmon_sockeye/salmon_sockeye.tres b/fish/species/salmon_sockeye/salmon_sockeye.tres index 7bd4b1a..dd440e1 100644 --- a/fish/species/salmon_sockeye/salmon_sockeye.tres +++ b/fish/species/salmon_sockeye/salmon_sockeye.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://cmokm3sra4ai8" path="res://fish/species/salmon_sockeye/fish_salmon_sockeye.png" id="4_texture"] [sub_resource type="Resource" id="SockeyeSalmonAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/sand_dollar/sand_dollar.tres b/fish/species/sand_dollar/sand_dollar.tres index f780203..3d1b523 100644 --- a/fish/species/sand_dollar/sand_dollar.tres +++ b/fish/species/sand_dollar/sand_dollar.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"sand_dollar" display_name = "sand dollar" -active = true +active = false catalog_number = 1904 collection_group = &"Echinoderms" logbook_fact = "sand dollars burrow just beneath sandy seafloors and filter tiny food particles. the familiar star pattern marks their five-part body plan." @@ -29,4 +28,3 @@ weight_max_lb = 0.2 sell_value_min = 4 sell_value_max = 10 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sand_lance_american/sand_lance_american.tres b/fish/species/sand_lance_american/sand_lance_american.tres index 18f16be..7080235 100644 --- a/fish/species/sand_lance_american/sand_lance_american.tres +++ b/fish/species/sand_lance_american/sand_lance_american.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/801.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"sand_lance_american" display_name = "American sand lance" -active = true +active = false catalog_number = 801 collection_group = &"Coastal schooling fish" logbook_fact = "american sand lance dive headfirst into loose sand when danger approaches. immense schools carry energy from plankton to larger predators." @@ -28,4 +27,3 @@ weight_max_lb = 0.4 sell_value_min = 1 sell_value_max = 3 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sardine_european/sardine_european.tres b/fish/species/sardine_european/sardine_european.tres index 54008f8..87a64c2 100644 --- a/fish/species/sardine_european/sardine_european.tres +++ b/fish/species/sardine_european/sardine_european.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/806.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"sardine_european" display_name = "European pilchard" -active = true +active = false catalog_number = 806 collection_group = &"Coastal schooling fish" logbook_fact = "european pilchards form shimmering schools along atlantic and mediterranean coasts. they feed mainly on plankton near the surface." @@ -27,4 +26,3 @@ weight_max_lb = 0.6 sell_value_min = 2 sell_value_max = 4 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sardine_pacific/sardine_pacific.tres b/fish/species/sardine_pacific/sardine_pacific.tres index bea772d..41c98a0 100644 --- a/fish/species/sardine_pacific/sardine_pacific.tres +++ b/fish/species/sardine_pacific/sardine_pacific.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"sardine_pacific" display_name = "Pacific sardine" -active = true +active = false catalog_number = 809 collection_group = &"Coastal schooling fish" logbook_fact = "pacific sardines follow cool, productive water in enormous schools. their movements shift as currents and plankton supplies change." @@ -27,4 +26,3 @@ weight_max_lb = 0.5 sell_value_min = 2 sell_value_max = 4 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sauger/sauger.tres b/fish/species/sauger/sauger.tres index 3248bcb..3ed1fc2 100644 --- a/fish/species/sauger/sauger.tres +++ b/fish/species/sauger/sauger.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://8k7qkk4juciy" path="res://fish/species/sauger/fish_sauger.png" id="4_texture"] [sub_resource type="Resource" id="SaugerAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/saugeye/saugeye.tres b/fish/species/saugeye/saugeye.tres index d6f09cf..63ea616 100644 --- a/fish/species/saugeye/saugeye.tres +++ b/fish/species/saugeye/saugeye.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://lom25y0eqcw3" path="res://fish/species/saugeye/fish_saugeye.png" id="4_texture"] [sub_resource type="Resource" id="SaugeyeAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/sawfish_largetooth/sawfish_largetooth.tres b/fish/species/sawfish_largetooth/sawfish_largetooth.tres index ac4680b..ce5602d 100644 --- a/fish/species/sawfish_largetooth/sawfish_largetooth.tres +++ b/fish/species/sawfish_largetooth/sawfish_largetooth.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"sawfish_largetooth" display_name = "largetooth sawfish" -active = true +active = false catalog_number = 5103 collection_group = &"Rays and skates" logbook_fact = "largetooth sawfish detect hidden prey with a long sensory rostrum. a swift sideways sweep stuns fish and exposes animals buried in mud." @@ -29,4 +28,3 @@ weight_max_lb = 1300.0 sell_value_min = 58 sell_value_max = 135 sell_value_curve = 0.78 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/scorpionfish_red/scorpionfish_red.tres b/fish/species/scorpionfish_red/scorpionfish_red.tres index baf9046..4848d54 100644 --- a/fish/species/scorpionfish_red/scorpionfish_red.tres +++ b/fish/species/scorpionfish_red/scorpionfish_red.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"scorpionfish_red" display_name = "red scorpionfish" -active = true +active = false catalog_number = 5202 collection_group = &"Reef ambush fish" logbook_fact = "red scorpionfish vanish against rocky reefs through mottled color and skin flaps. venomous dorsal spines punish careless predators." @@ -28,4 +27,3 @@ weight_max_lb = 7.0 sell_value_min = 11 sell_value_max = 25 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sea_bass_black/sea_bass_black.tres b/fish/species/sea_bass_black/sea_bass_black.tres index 7a5b567..54581d8 100644 --- a/fish/species/sea_bass_black/sea_bass_black.tres +++ b/fish/species/sea_bass_black/sea_bass_black.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6902.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"sea_bass_black" display_name = "black sea bass" -active = true +active = false catalog_number = 6902 collection_group = &"Temperate reef fish" logbook_fact = "black sea bass shelter around reefs, piers, and wrecks. many begin life as female and later become male." @@ -28,4 +27,3 @@ weight_max_lb = 8.0 sell_value_min = 4 sell_value_max = 10 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sea_bass_chilean/sea_bass_chilean.tres b/fish/species/sea_bass_chilean/sea_bass_chilean.tres index dd9afac..15cf997 100644 --- a/fish/species/sea_bass_chilean/sea_bass_chilean.tres +++ b/fish/species/sea_bass_chilean/sea_bass_chilean.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"sea_bass_chilean" display_name = "Patagonian toothfish" -active = true +active = false catalog_number = 1604 collection_group = &"Deep shelf fish" logbook_fact = "patagonian toothfish patrol cold, deep southern water with large canine teeth. natural antifreeze proteins protect their blood from freezing." @@ -28,4 +27,3 @@ weight_max_lb = 220.0 sell_value_min = 32 sell_value_max = 78 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sea_cucumber_giant_california/sea_cucumber_giant_california.tres b/fish/species/sea_cucumber_giant_california/sea_cucumber_giant_california.tres index bc1ca41..7118382 100644 --- a/fish/species/sea_cucumber_giant_california/sea_cucumber_giant_california.tres +++ b/fish/species/sea_cucumber_giant_california/sea_cucumber_giant_california.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"sea_cucumber_giant_california" display_name = "giant California sea cucumber" -active = true +active = false catalog_number = 1902 collection_group = &"Echinoderms" logbook_fact = "giant california sea cucumbers sweep organic particles from the seafloor with branching tentacles. soft tube feet anchor their long bodies." @@ -29,4 +28,3 @@ weight_max_lb = 5.0 sell_value_min = 13 sell_value_max = 29 sell_value_curve = 0.93 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sea_otter/sea_otter.tres b/fish/species/sea_otter/sea_otter.tres index c5f4bfc..7cf9ebe 100644 --- a/fish/species/sea_otter/sea_otter.tres +++ b/fish/species/sea_otter/sea_otter.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"sea_otter" display_name = "sea otter" -active = true +active = false catalog_number = 503 collection_group = &"Coastal marine mammals" logbook_fact = "sea otters float on their backs while opening shellfish with stones. dense fur traps insulating air because they lack a thick blubber layer." @@ -28,4 +27,3 @@ weight_max_lb = 100.0 sell_value_min = 55 sell_value_max = 125 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sea_star_crown_of_thorns/sea_star_crown_of_thorns.tres b/fish/species/sea_star_crown_of_thorns/sea_star_crown_of_thorns.tres index 5e73beb..37ecb8d 100644 --- a/fish/species/sea_star_crown_of_thorns/sea_star_crown_of_thorns.tres +++ b/fish/species/sea_star_crown_of_thorns/sea_star_crown_of_thorns.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"sea_star_crown_of_thorns" display_name = "crown-of-thorns sea star" -active = true +active = false catalog_number = 1901 collection_group = &"Echinoderms" logbook_fact = "crown-of-thorns sea stars crawl over reefs and digest coral tissue outside the body. venomous spines discourage many predators." @@ -29,4 +28,3 @@ weight_max_lb = 7.0 sell_value_min = 23 sell_value_max = 52 sell_value_curve = 0.91 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sea_star_sunflower/sea_star_sunflower.tres b/fish/species/sea_star_sunflower/sea_star_sunflower.tres index 6bf1dc2..c1f60eb 100644 --- a/fish/species/sea_star_sunflower/sea_star_sunflower.tres +++ b/fish/species/sea_star_sunflower/sea_star_sunflower.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"sea_star_sunflower" display_name = "sunflower sea star" -active = true +active = false catalog_number = 1905 collection_group = &"Echinoderms" logbook_fact = "sunflower sea stars move quickly on thousands of tube feet and may carry many arms. they hunt urchins, clams, and other bottom animals." @@ -29,4 +28,3 @@ weight_max_lb = 13.0 sell_value_min = 14 sell_value_max = 32 sell_value_curve = 0.89 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/seadragon_leafy/seadragon_leafy.tres b/fish/species/seadragon_leafy/seadragon_leafy.tres index 1481d73..0033d9c 100644 --- a/fish/species/seadragon_leafy/seadragon_leafy.tres +++ b/fish/species/seadragon_leafy/seadragon_leafy.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"seadragon_leafy" display_name = "leafy seadragon" -active = true +active = false catalog_number = 6301 collection_group = &"Seahorses and seadragons" logbook_fact = "leafy seadragons drift among seaweed with elaborate skin lobes that resemble leaves. males carry eggs beneath the tail." @@ -29,4 +28,3 @@ weight_max_lb = 0.5 sell_value_min = 24 sell_value_max = 55 sell_value_curve = 0.94 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/seadragon_weedy/seadragon_weedy.tres b/fish/species/seadragon_weedy/seadragon_weedy.tres index bc1768b..1b99790 100644 --- a/fish/species/seadragon_weedy/seadragon_weedy.tres +++ b/fish/species/seadragon_weedy/seadragon_weedy.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"seadragon_weedy" display_name = "weedy seadragon" -active = true +active = false catalog_number = 6302 collection_group = &"Seahorses and seadragons" logbook_fact = "weedy seadragons rely on slender bodies and small leaf-like lobes for camouflage. males brood rows of eggs on the underside of the tail." @@ -29,4 +28,3 @@ weight_max_lb = 0.6 sell_value_min = 16 sell_value_max = 38 sell_value_curve = 0.93 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/seahorse_lined/seahorse_lined.tres b/fish/species/seahorse_lined/seahorse_lined.tres index 0121fab..1f533a0 100644 --- a/fish/species/seahorse_lined/seahorse_lined.tres +++ b/fish/species/seahorse_lined/seahorse_lined.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_rain = true script = ExtResource("1_fish_data") id = &"seahorse_lined" display_name = "lined seahorse" -active = true +active = false catalog_number = 602 collection_group = &"Coastal oddities" logbook_fact = "lined seahorses anchor to grass and coral with curling tails. the male broods eggs in a pouch and releases fully formed young." @@ -29,4 +28,3 @@ weight_max_lb = 0.05 sell_value_min = 9 sell_value_max = 20 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/seal_harbor/seal_harbor.tres b/fish/species/seal_harbor/seal_harbor.tres index 5689a14..bdc0e46 100644 --- a/fish/species/seal_harbor/seal_harbor.tres +++ b/fish/species/seal_harbor/seal_harbor.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"seal_harbor" display_name = "harbor seal" -active = true +active = false catalog_number = 502 collection_group = &"Coastal marine mammals" logbook_fact = "harbor seals rest on rocky shores and sandbars between hunting trips. sensitive whiskers can trace the water trails left by moving fish." @@ -29,4 +28,3 @@ weight_max_lb = 370.0 sell_value_min = 60 sell_value_max = 140 sell_value_curve = 0.79 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/shark_blacktip/shark_blacktip.tres b/fish/species/shark_blacktip/shark_blacktip.tres index e7fc4e6..b5d4ca9 100644 --- a/fish/species/shark_blacktip/shark_blacktip.tres +++ b/fish/species/shark_blacktip/shark_blacktip.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"shark_blacktip" display_name = "blacktip shark" -active = true +active = false catalog_number = 901 collection_group = &"Coastal sharks" logbook_fact = "blacktip sharks are named for the dark markings on their fins. they hunt schooling fish in warm shallows and sometimes leap clear of the water." @@ -29,4 +28,3 @@ weight_max_lb = 150.0 sell_value_min = 32 sell_value_max = 75 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/shark_great_hammerhead/shark_great_hammerhead.tres b/fish/species/shark_great_hammerhead/shark_great_hammerhead.tres index a9b612e..a2edcf0 100644 --- a/fish/species/shark_great_hammerhead/shark_great_hammerhead.tres +++ b/fish/species/shark_great_hammerhead/shark_great_hammerhead.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"shark_great_hammerhead" display_name = "great hammerhead shark" -active = true +active = false catalog_number = 902 collection_group = &"Coastal sharks" logbook_fact = "great hammerheads sweep their wide heads over the bottom while searching for rays. widely spaced senses help pinpoint hidden prey." @@ -29,4 +28,3 @@ weight_max_lb = 1000.0 sell_value_min = 62 sell_value_max = 145 sell_value_curve = 0.78 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/shark_great_white/shark_great_white.tres b/fish/species/shark_great_white/shark_great_white.tres index afd1cd0..80688cd 100644 --- a/fish/species/shark_great_white/shark_great_white.tres +++ b/fish/species/shark_great_white/shark_great_white.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"shark_great_white" display_name = "great white shark" -active = true +active = false catalog_number = 903 collection_group = &"Coastal sharks" logbook_fact = "great white sharks conserve heat in their swimming muscles while crossing cool seas. rows of serrated teeth are replaced throughout life." @@ -28,4 +27,3 @@ weight_max_lb = 1000.0 sell_value_min = 70 sell_value_max = 150 sell_value_curve = 0.76 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/shark_tiger/shark_tiger.tres b/fish/species/shark_tiger/shark_tiger.tres index 72e2577..a7a9bcf 100644 --- a/fish/species/shark_tiger/shark_tiger.tres +++ b/fish/species/shark_tiger/shark_tiger.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"shark_tiger" display_name = "tiger shark" -active = true +active = false catalog_number = 904 collection_group = &"Coastal sharks" logbook_fact = "tiger sharks carry dark vertical bars that fade as they mature. broad jaws let them investigate an unusually varied range of prey." @@ -29,4 +28,3 @@ weight_max_lb = 1000.0 sell_value_min = 50 sell_value_max = 120 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/shark_whale/shark_whale.tres b/fish/species/shark_whale/shark_whale.tres index 81739db..7c78314 100644 --- a/fish/species/shark_whale/shark_whale.tres +++ b/fish/species/shark_whale/shark_whale.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"shark_whale" display_name = "whale shark" -active = true +active = false catalog_number = 905 collection_group = &"Coastal sharks" logbook_fact = "whale sharks are enormous filter feeders covered in unique spot patterns. they cruise with open mouths to collect plankton and tiny fish." @@ -29,4 +28,3 @@ weight_max_lb = 45000.0 sell_value_min = 70 sell_value_max = 160 sell_value_curve = 0.76 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sheepshead/sheepshead.tres b/fish/species/sheepshead/sheepshead.tres index d4b8cfa..d323533 100644 --- a/fish/species/sheepshead/sheepshead.tres +++ b/fish/species/sheepshead/sheepshead.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6905.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"sheepshead" display_name = "sheepshead" -active = true +active = false catalog_number = 6905 collection_group = &"Temperate reef fish" logbook_fact = "sheepshead carry flat human-like front teeth for biting barnacles and crabs. dark bars cross their high silver bodies." @@ -28,4 +27,3 @@ weight_max_lb = 20.0 sell_value_min = 7 sell_value_max = 18 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/shiner_common/shiner_common.tres b/fish/species/shiner_common/shiner_common.tres index 5a8a2f3..303a4b3 100644 --- a/fish/species/shiner_common/shiner_common.tres +++ b/fish/species/shiner_common/shiner_common.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2801.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"shiner_common" display_name = "common shiner" -active = true +active = false catalog_number = 2801 collection_group = &"Freshwater minnows" logbook_fact = "common shiners flash silver in clear streams and small rivers. breeding males develop rosy fins and a blue-violet sheen." @@ -28,4 +27,3 @@ weight_max_lb = 0.3 sell_value_min = 1 sell_value_max = 3 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/shiner_emerald/shiner_emerald.tres b/fish/species/shiner_emerald/shiner_emerald.tres index 8a39e5c..5d654a4 100644 --- a/fish/species/shiner_emerald/shiner_emerald.tres +++ b/fish/species/shiner_emerald/shiner_emerald.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2803.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"shiner_emerald" display_name = "emerald shiner" -active = true +active = false catalog_number = 2803 collection_group = &"Freshwater minnows" logbook_fact = "emerald shiners form bright surface schools in large lakes and rivers. slender bodies feed on plankton and drifting insects." @@ -27,4 +26,3 @@ weight_max_lb = 0.25 sell_value_min = 1 sell_value_max = 3 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/shiner_golden/shiner_golden.tres b/fish/species/shiner_golden/shiner_golden.tres index af57441..8eb64bb 100644 --- a/fish/species/shiner_golden/shiner_golden.tres +++ b/fish/species/shiner_golden/shiner_golden.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/2806.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"shiner_golden" display_name = "golden shiner" -active = true +active = false catalog_number = 2806 collection_group = &"Freshwater minnows" logbook_fact = "golden shiners school around dense vegetation in warm water. an upturned mouth takes insects and plankton from near the surface." @@ -28,4 +27,3 @@ weight_max_lb = 1.0 sell_value_min = 2 sell_value_max = 4 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/shrimp_peacock_mantis/shrimp_peacock_mantis.tres b/fish/species/shrimp_peacock_mantis/shrimp_peacock_mantis.tres index daf7662..d7be4a6 100644 --- a/fish/species/shrimp_peacock_mantis/shrimp_peacock_mantis.tres +++ b/fish/species/shrimp_peacock_mantis/shrimp_peacock_mantis.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"shrimp_peacock_mantis" display_name = "peacock mantis shrimp" -active = true +active = false catalog_number = 3804 collection_group = &"Lobsters and shrimp" logbook_fact = "peacock mantis shrimp strike hard-shelled prey with club-like limbs. complex eyes move independently and detect colors beyond human vision." @@ -29,4 +28,3 @@ weight_max_lb = 0.4 sell_value_min = 22 sell_value_max = 50 sell_value_curve = 0.96 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/shrimp_skunk_cleaner/shrimp_skunk_cleaner.tres b/fish/species/shrimp_skunk_cleaner/shrimp_skunk_cleaner.tres index fdd6730..fe9de65 100644 --- a/fish/species/shrimp_skunk_cleaner/shrimp_skunk_cleaner.tres +++ b/fish/species/shrimp_skunk_cleaner/shrimp_skunk_cleaner.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"shrimp_skunk_cleaner" display_name = "skunk cleaner shrimp" -active = true +active = false catalog_number = 3805 collection_group = &"Lobsters and shrimp" logbook_fact = "skunk cleaner shrimp advertise at reef cleaning stations with bright white antennae. visiting fish pause while parasites are picked away." @@ -29,4 +28,3 @@ weight_max_lb = 0.15 sell_value_min = 5 sell_value_max = 11 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/skate_barndoor/skate_barndoor.tres b/fish/species/skate_barndoor/skate_barndoor.tres index 5ccb967..b9c8a5d 100644 --- a/fish/species/skate_barndoor/skate_barndoor.tres +++ b/fish/species/skate_barndoor/skate_barndoor.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"skate_barndoor" display_name = "barndoor skate" -active = true +active = false catalog_number = 5101 collection_group = &"Rays and skates" logbook_fact = "barndoor skates glide over cold atlantic bottoms with broad wing-like fins. rows of thorny spines protect the back and tail." @@ -28,4 +27,3 @@ weight_max_lb = 150.0 sell_value_min = 28 sell_value_max = 68 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/smallmouth_bass/smallmouth_bass.tres b/fish/species/smallmouth_bass/smallmouth_bass.tres index d840f32..e198b2a 100644 --- a/fish/species/smallmouth_bass/smallmouth_bass.tres +++ b/fish/species/smallmouth_bass/smallmouth_bass.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"smallmouth_bass" display_name = "smallmouth bass" -active = true +active = false catalog_number = 2202 collection_group = &"Freshwater bass" logbook_fact = "smallmouth bass favor clear water with rock and moving current. bronze flanks and dark vertical bars distinguish them from largemouth bass." @@ -28,4 +27,3 @@ weight_max_lb = 12.0 sell_value_min = 6 sell_value_max = 15 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/smelt_eulachon/smelt_eulachon.tres b/fish/species/smelt_eulachon/smelt_eulachon.tres index f3be455..923d467 100644 --- a/fish/species/smelt_eulachon/smelt_eulachon.tres +++ b/fish/species/smelt_eulachon/smelt_eulachon.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"smelt_eulachon" display_name = "eulachon" -active = true +active = false catalog_number = 4201 collection_group = &"Ocean-run forage fish" logbook_fact = "eulachon return from the pacific to spawn in coastal rivers. their oil-rich bodies once served as candles when dried and fitted with wicks." @@ -29,4 +28,3 @@ weight_max_lb = 0.5 sell_value_min = 4 sell_value_max = 9 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/smelt_rainbow/smelt_rainbow.tres b/fish/species/smelt_rainbow/smelt_rainbow.tres index 34691f9..6275187 100644 --- a/fish/species/smelt_rainbow/smelt_rainbow.tres +++ b/fish/species/smelt_rainbow/smelt_rainbow.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/4101.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"smelt_rainbow" display_name = "rainbow smelt" -active = true +active = false catalog_number = 4101 collection_group = &"Migratory forage fish" logbook_fact = "rainbow smelt move between coastal water and rivers, though some remain landlocked. cucumber-like aromas cling to freshly caught fish." @@ -28,4 +27,3 @@ weight_max_lb = 0.8 sell_value_min = 2 sell_value_max = 5 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/snakehead_giant/snakehead_giant.tres b/fish/species/snakehead_giant/snakehead_giant.tres index 069d723..8efb4d3 100644 --- a/fish/species/snakehead_giant/snakehead_giant.tres +++ b/fish/species/snakehead_giant/snakehead_giant.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"snakehead_giant" display_name = "giant snakehead" -active = true +active = false catalog_number = 7601 collection_group = &"Tropical freshwater predators" logbook_fact = "giant snakeheads breathe air and guard schools of young near the surface. long bodies launch sudden attacks from flooded vegetation." @@ -29,4 +28,3 @@ weight_max_lb = 45.0 sell_value_min = 28 sell_value_max = 64 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/snapper_lane/snapper_lane.tres b/fish/species/snapper_lane/snapper_lane.tres index d91444f..441107c 100644 --- a/fish/species/snapper_lane/snapper_lane.tres +++ b/fish/species/snapper_lane/snapper_lane.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/6001.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://d3d8s30bxq4tp" path="res://fish/species/snapper_lane/fish_snapper_lane.png" id="4_texture"] [sub_resource type="Resource" id="SnapperLaneAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/snapper_mangrove/snapper_mangrove.tres b/fish/species/snapper_mangrove/snapper_mangrove.tres index 9a0ede5..8767a3f 100644 --- a/fish/species/snapper_mangrove/snapper_mangrove.tres +++ b/fish/species/snapper_mangrove/snapper_mangrove.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://v34sdv1v7c2x" path="res://fish/species/snapper_mangrove/fish_snapper_mangrove.png" id="4_texture"] [sub_resource type="Resource" id="SnapperMangroveAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/snapper_mutton/snapper_mutton.tres b/fish/species/snapper_mutton/snapper_mutton.tres index 7c5aee9..4f343c3 100644 --- a/fish/species/snapper_mutton/snapper_mutton.tres +++ b/fish/species/snapper_mutton/snapper_mutton.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://cawvpo8aysw5i" path="res://fish/species/snapper_mutton/fish_snapper_mutton.png" id="4_texture"] [sub_resource type="Resource" id="SnapperMuttonAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/snapper_red/snapper_red.tres b/fish/species/snapper_red/snapper_red.tres index 247edc0..7c26926 100644 --- a/fish/species/snapper_red/snapper_red.tres +++ b/fish/species/snapper_red/snapper_red.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://ei5scljuqklk" path="res://fish/species/snapper_red/fish_snapper_red.png" id="4_texture"] [sub_resource type="Resource" id="SnapperRedAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/snook_common/snook_common.tres b/fish/species/snook_common/snook_common.tres index 5b84e99..676e3f4 100644 --- a/fish/species/snook_common/snook_common.tres +++ b/fish/species/snook_common/snook_common.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"snook_common" display_name = "common snook" -active = true +active = false catalog_number = 7303 collection_group = &"Tropical estuary" logbook_fact = "common snook wait around mangrove roots and current seams to ambush prey. a bold black lateral line divides their silver flanks." @@ -29,4 +28,3 @@ weight_max_lb = 30.0 sell_value_min = 13 sell_value_max = 32 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sole_dover/sole_dover.tres b/fish/species/sole_dover/sole_dover.tres index 2b522a0..6083d96 100644 --- a/fish/species/sole_dover/sole_dover.tres +++ b/fish/species/sole_dover/sole_dover.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"sole_dover" display_name = "Dover sole" -active = true +active = false catalog_number = 1404 collection_group = &"Cold shelf fish" logbook_fact = "dover sole glide over deep muddy bottoms of the eastern pacific. both eyes migrate to the right side as the young fish becomes flat." @@ -28,4 +27,3 @@ weight_max_lb = 8.0 sell_value_min = 6 sell_value_max = 14 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sprat_european/sprat_european.tres b/fish/species/sprat_european/sprat_european.tres index 82f4876..61daa00 100644 --- a/fish/species/sprat_european/sprat_european.tres +++ b/fish/species/sprat_european/sprat_european.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"sprat_european" display_name = "European sprat" -active = true +active = false catalog_number = 1303 collection_group = &"Cold schooling fish" logbook_fact = "european sprat form compact schools in northern coastal seas. these tiny herring relatives feed on plankton near the surface." @@ -27,4 +26,3 @@ weight_max_lb = 0.3 sell_value_min = 1 sell_value_max = 3 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/squid_bigfin_reef/squid_bigfin_reef.tres b/fish/species/squid_bigfin_reef/squid_bigfin_reef.tres index 68f8993..d6b1201 100644 --- a/fish/species/squid_bigfin_reef/squid_bigfin_reef.tres +++ b/fish/species/squid_bigfin_reef/squid_bigfin_reef.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"squid_bigfin_reef" display_name = "bigfin reef squid" -active = true +active = false catalog_number = 6501 collection_group = &"Squid" logbook_fact = "bigfin reef squid hover in coordinated groups around warm reefs. shifting colors and body patterns signal to nearby squid." @@ -29,4 +28,3 @@ weight_max_lb = 5.0 sell_value_min = 13 sell_value_max = 30 sell_value_curve = 0.91 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/squid_colossal/squid_colossal.tres b/fish/species/squid_colossal/squid_colossal.tres index 4e38896..115ab10 100644 --- a/fish/species/squid_colossal/squid_colossal.tres +++ b/fish/species/squid_colossal/squid_colossal.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"squid_colossal" display_name = "colossal squid" -active = true +active = false catalog_number = 6502 collection_group = &"Squid" logbook_fact = "colossal squid carry swiveling hooks on their arms and tentacles. enormous eyes gather faint light in the deep southern ocean." @@ -29,4 +28,3 @@ weight_max_lb = 1100.0 sell_value_min = 82 sell_value_max = 190 sell_value_curve = 0.76 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/squid_giant/squid_giant.tres b/fish/species/squid_giant/squid_giant.tres index 4f76512..b95efe9 100644 --- a/fish/species/squid_giant/squid_giant.tres +++ b/fish/species/squid_giant/squid_giant.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"squid_giant" display_name = "giant squid" -active = true +active = false catalog_number = 6503 collection_group = &"Squid" logbook_fact = "giant squid hunt deep ocean prey with two long feeding tentacles. the largest eyes in the animal world watch for movement in darkness." @@ -29,4 +28,3 @@ weight_max_lb = 600.0 sell_value_min = 70 sell_value_max = 165 sell_value_curve = 0.77 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/squid_humboldt/squid_humboldt.tres b/fish/species/squid_humboldt/squid_humboldt.tres index 14abcfb..e9a7d2f 100644 --- a/fish/species/squid_humboldt/squid_humboldt.tres +++ b/fish/species/squid_humboldt/squid_humboldt.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"squid_humboldt" display_name = "Humboldt squid" -active = true +active = false catalog_number = 6504 collection_group = &"Squid" logbook_fact = "humboldt squid flash red and white while hunting in large groups. powerful beaks and grasping suckers handle fish and other squid." @@ -28,4 +27,3 @@ weight_max_lb = 110.0 sell_value_min = 26 sell_value_max = 64 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/stingray_ocellate_river/stingray_ocellate_river.tres b/fish/species/stingray_ocellate_river/stingray_ocellate_river.tres index 10bf3dc..fce4905 100644 --- a/fish/species/stingray_ocellate_river/stingray_ocellate_river.tres +++ b/fish/species/stingray_ocellate_river/stingray_ocellate_river.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"stingray_ocellate_river" display_name = "ocellate river stingray" -active = true +active = false catalog_number = 5104 collection_group = &"Rays and skates" logbook_fact = "ocellate river stingrays carry bright eye-like spots across a round disc. they hide beneath sand in south american rivers." @@ -29,4 +28,3 @@ weight_max_lb = 35.0 sell_value_min = 28 sell_value_max = 65 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/stingray_southern/stingray_southern.tres b/fish/species/stingray_southern/stingray_southern.tres index c0b03f0..947cf4d 100644 --- a/fish/species/stingray_southern/stingray_southern.tres +++ b/fish/species/stingray_southern/stingray_southern.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"stingray_southern" display_name = "southern stingray" -active = true +active = false catalog_number = 5105 collection_group = &"Rays and skates" logbook_fact = "southern stingrays bury in warm sand with only their eyes and spiracles visible. crushing plates break open clams and crustaceans." @@ -28,4 +27,3 @@ weight_max_lb = 80.0 sell_value_min = 15 sell_value_max = 40 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sturgeon_lake/sturgeon_lake.tres b/fish/species/sturgeon_lake/sturgeon_lake.tres index eef7789..e4e69a6 100644 --- a/fish/species/sturgeon_lake/sturgeon_lake.tres +++ b/fish/species/sturgeon_lake/sturgeon_lake.tres @@ -3,7 +3,7 @@ [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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/102.png" id="4_texture"] +[ext_resource type="Texture2D" path="res://fish/species/sturgeon_lake/sturgeon_lake.png" id="4_texture"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") diff --git a/fish/species/sturgeon_shovelnose/sturgeon_shovelnose.tres b/fish/species/sturgeon_shovelnose/sturgeon_shovelnose.tres index 9f02593..4e078d0 100644 --- a/fish/species/sturgeon_shovelnose/sturgeon_shovelnose.tres +++ b/fish/species/sturgeon_shovelnose/sturgeon_shovelnose.tres @@ -3,7 +3,7 @@ [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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/105.png" id="4_texture"] +[ext_resource type="Texture2D" path="res://fish/species/sturgeon_shovelnose/sturgeon_shovelnose.png" id="4_texture"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") diff --git a/fish/species/sturgeon_white/sturgeon_white.tres b/fish/species/sturgeon_white/sturgeon_white.tres index 961411d..91cab98 100644 --- a/fish/species/sturgeon_white/sturgeon_white.tres +++ b/fish/species/sturgeon_white/sturgeon_white.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"sturgeon_white" display_name = "white sturgeon" -active = true +active = false catalog_number = 4301 collection_group = &"Ocean-run giants" logbook_fact = "white sturgeon are the largest freshwater fish in north america. armored plates line bodies built for long lives in rivers and estuaries." @@ -28,4 +27,3 @@ weight_max_lb = 500.0 sell_value_min = 58 sell_value_max = 135 sell_value_curve = 0.78 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sucker_white/sucker_white.tres b/fish/species/sucker_white/sucker_white.tres index ff48770..25e09c2 100644 --- a/fish/species/sucker_white/sucker_white.tres +++ b/fish/species/sucker_white/sucker_white.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"sucker_white" display_name = "white sucker" -active = true +active = false catalog_number = 2305 collection_group = &"Freshwater bottom fish" logbook_fact = "white suckers vacuum insects and organic matter from cool freshwater bottoms. spring runs carry large groups into shallow streams." @@ -27,4 +26,3 @@ weight_max_lb = 8.0 sell_value_min = 3 sell_value_max = 8 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/sunfish/sunfish.tres b/fish/species/sunfish/sunfish.tres index 5efd181..f0ced78 100644 --- a/fish/species/sunfish/sunfish.tres +++ b/fish/species/sunfish/sunfish.tres @@ -3,7 +3,7 @@ [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"] [ext_resource type="Resource" path="res://fish/day_availability.tres" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/5001.png" id="4_texture"] +[ext_resource type="Texture2D" path="res://fish/species/sunfish/fish_sunfish.png" id="4_texture"] [resource] script = ExtResource("1_fish_data") diff --git a/fish/species/surgeonfish_blue/surgeonfish_blue.tres b/fish/species/surgeonfish_blue/surgeonfish_blue.tres index d0a903e..3708547 100644 --- a/fish/species/surgeonfish_blue/surgeonfish_blue.tres +++ b/fish/species/surgeonfish_blue/surgeonfish_blue.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"surgeonfish_blue" display_name = "blue tang" -active = true +active = false catalog_number = 5501 collection_group = &"Reef grazers" logbook_fact = "blue tangs graze algae from coral reefs with small close-set teeth. sharp folding spines near the tail give surgeonfish their name." @@ -28,4 +27,3 @@ weight_max_lb = 1.5 sell_value_min = 5 sell_value_max = 11 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/swordfish/swordfish.tres b/fish/species/swordfish/swordfish.tres index 24319f1..ea765a3 100644 --- a/fish/species/swordfish/swordfish.tres +++ b/fish/species/swordfish/swordfish.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://cs1qmm4galac4" path="res://fish/species/swordfish/fish_swordfish.png" id="4_texture"] [sub_resource type="Resource" id="SwordfishAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/tambaqui/tambaqui.tres b/fish/species/tambaqui/tambaqui.tres index 4bfd4a1..fd8d92f 100644 --- a/fish/species/tambaqui/tambaqui.tres +++ b/fish/species/tambaqui/tambaqui.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"tambaqui" display_name = "tambaqui" -active = true +active = false catalog_number = 7509 collection_group = &"Tropical freshwater fish" logbook_fact = "tambaqui follow seasonal floods into forests to feed on fruit and seeds. strong square teeth crack tough plant material." @@ -29,4 +28,3 @@ weight_max_lb = 80.0 sell_value_min = 30 sell_value_max = 68 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tang_yellow/tang_yellow.tres b/fish/species/tang_yellow/tang_yellow.tres index 501f2a3..92ee455 100644 --- a/fish/species/tang_yellow/tang_yellow.tres +++ b/fish/species/tang_yellow/tang_yellow.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_rain = true script = ExtResource("1_fish_data") id = &"tang_yellow" display_name = "yellow tang" -active = true +active = false catalog_number = 5504 collection_group = &"Reef grazers" logbook_fact = "yellow tangs browse algae across hawaiian reefs during daylight. at night their bright bodies darken and show a pale horizontal stripe." @@ -29,4 +28,3 @@ weight_max_lb = 0.8 sell_value_min = 9 sell_value_max = 20 sell_value_curve = 0.96 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tarpon_atlantic/tarpon_atlantic.tres b/fish/species/tarpon_atlantic/tarpon_atlantic.tres index 0b8c6aa..1aeda05 100644 --- a/fish/species/tarpon_atlantic/tarpon_atlantic.tres +++ b/fish/species/tarpon_atlantic/tarpon_atlantic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"tarpon_atlantic" display_name = "atlantic tarpon" -active = true +active = false catalog_number = 7301 collection_group = &"Tropical estuary" logbook_fact = "atlantic tarpon gulp air with a lung-like swim bladder when coastal water runs low on oxygen. giant silver scales flash during leaps." @@ -28,4 +27,3 @@ weight_max_lb = 180.0 sell_value_min = 34 sell_value_max = 82 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tautog/tautog.tres b/fish/species/tautog/tautog.tres index 7028401..57bbe3c 100644 --- a/fish/species/tautog/tautog.tres +++ b/fish/species/tautog/tautog.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"tautog" display_name = "tautog" -active = true +active = false catalog_number = 6906 collection_group = &"Temperate reef fish" logbook_fact = "tautog pry mussels and crabs from rocky structure with thick lips and strong teeth. adults return to familiar shelters year after year." @@ -28,4 +27,3 @@ weight_max_lb = 20.0 sell_value_min = 7 sell_value_max = 18 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tench/tench.tres b/fish/species/tench/tench.tres index 7ffe273..377db0f 100644 --- a/fish/species/tench/tench.tres +++ b/fish/species/tench/tench.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"tench" display_name = "tench" -active = true +active = false catalog_number = 2509 collection_group = &"Freshwater coarse fish" logbook_fact = "tench browse quiet, muddy bottoms with two small mouth barbels. a thick coat of slime protects their olive-green scales." @@ -29,4 +28,3 @@ weight_max_lb = 12.0 sell_value_min = 7 sell_value_max = 17 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tetra_neon/tetra_neon.tres b/fish/species/tetra_neon/tetra_neon.tres index da42e36..265cb39 100644 --- a/fish/species/tetra_neon/tetra_neon.tres +++ b/fish/species/tetra_neon/tetra_neon.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"tetra_neon" display_name = "neon tetra" -active = true +active = false catalog_number = 2102 collection_group = &"Freshwater aquarium fish" logbook_fact = "neon tetras school through shaded forest streams. an iridescent blue stripe remains visible in the dim, tannin-stained water." @@ -28,4 +27,3 @@ weight_max_lb = 0.08 sell_value_min = 4 sell_value_max = 8 sell_value_curve = 0.98 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tigerfish_goliath/tigerfish_goliath.tres b/fish/species/tigerfish_goliath/tigerfish_goliath.tres index f34d449..89e2525 100644 --- a/fish/species/tigerfish_goliath/tigerfish_goliath.tres +++ b/fish/species/tigerfish_goliath/tigerfish_goliath.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"tigerfish_goliath" display_name = "goliath tigerfish" -active = true +active = false catalog_number = 2703 collection_group = &"Freshwater giants" logbook_fact = "goliath tigerfish patrol powerful african rivers with interlocking dagger-like teeth. a muscular forked tail drives sudden attacks." @@ -28,4 +27,3 @@ weight_max_lb = 150.0 sell_value_min = 58 sell_value_max = 132 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tilapia_nile/tilapia_nile.tres b/fish/species/tilapia_nile/tilapia_nile.tres index d7a2eed..5d4ccac 100644 --- a/fish/species/tilapia_nile/tilapia_nile.tres +++ b/fish/species/tilapia_nile/tilapia_nile.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/7506.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"tilapia_nile" display_name = "Nile tilapia" -active = true +active = false catalog_number = 7506 collection_group = &"Tropical freshwater fish" logbook_fact = "nile tilapia thrive in warm lakes and rivers on a varied diet. females protect eggs and young inside their mouths." @@ -28,4 +27,3 @@ weight_max_lb = 8.0 sell_value_min = 3 sell_value_max = 9 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tilefish_blueline/tilefish_blueline.tres b/fish/species/tilefish_blueline/tilefish_blueline.tres index aff98b6..13ea387 100644 --- a/fish/species/tilefish_blueline/tilefish_blueline.tres +++ b/fish/species/tilefish_blueline/tilefish_blueline.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"tilefish_blueline" display_name = "blueline tilefish" -active = true +active = false catalog_number = 1601 collection_group = &"Deep shelf fish" logbook_fact = "blueline tilefish shelter in burrows and rocky openings along deep shelves. a narrow blue stripe traces the edge of the dorsal fin." @@ -28,4 +27,3 @@ weight_max_lb = 20.0 sell_value_min = 7 sell_value_max = 18 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tilefish_golden/tilefish_golden.tres b/fish/species/tilefish_golden/tilefish_golden.tres index ed203c8..1875b08 100644 --- a/fish/species/tilefish_golden/tilefish_golden.tres +++ b/fish/species/tilefish_golden/tilefish_golden.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"tilefish_golden" display_name = "golden tilefish" -active = true +active = false catalog_number = 1602 collection_group = &"Deep shelf fish" logbook_fact = "golden tilefish excavate burrows in soft clay along deep ocean slopes. their bright yellow spots contrast with blue-green backs." @@ -28,4 +27,3 @@ weight_max_lb = 50.0 sell_value_min = 15 sell_value_max = 37 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/trevally_bluefin/trevally_bluefin.tres b/fish/species/trevally_bluefin/trevally_bluefin.tres index 3cf8dee..46971e6 100644 --- a/fish/species/trevally_bluefin/trevally_bluefin.tres +++ b/fish/species/trevally_bluefin/trevally_bluefin.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"trevally_bluefin" display_name = "bluefin trevally" -active = true +active = false catalog_number = 5802 collection_group = &"Reef predators" logbook_fact = "bluefin trevally hunt reef fish in coordinated groups. electric blue fins and scattered blue spots contrast with a golden body." @@ -29,4 +28,3 @@ weight_max_lb = 25.0 sell_value_min = 14 sell_value_max = 32 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/trevally_giant/trevally_giant.tres b/fish/species/trevally_giant/trevally_giant.tres index 62ee42b..43453d5 100644 --- a/fish/species/trevally_giant/trevally_giant.tres +++ b/fish/species/trevally_giant/trevally_giant.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"trevally_giant" display_name = "giant trevally" -active = true +active = false catalog_number = 3603 collection_group = &"Large coastal predators" logbook_fact = "giant trevally hunt reef edges with bursts of speed and force. large individuals sometimes charge prey from surf and shallow lagoons." @@ -28,4 +27,3 @@ weight_max_lb = 150.0 sell_value_min = 32 sell_value_max = 78 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/triggerfish_gray/triggerfish_gray.tres b/fish/species/triggerfish_gray/triggerfish_gray.tres index 0b205a2..90f96b8 100644 --- a/fish/species/triggerfish_gray/triggerfish_gray.tres +++ b/fish/species/triggerfish_gray/triggerfish_gray.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"triggerfish_gray" display_name = "gray triggerfish" -active = true +active = false catalog_number = 5602 collection_group = &"Reef oddities" logbook_fact = "gray triggerfish lock a stout dorsal spine upright when wedged into shelter. strong teeth crack barnacles, crabs, and shellfish." @@ -28,4 +27,3 @@ weight_max_lb = 12.0 sell_value_min = 7 sell_value_max = 17 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/triggerfish_queen/triggerfish_queen.tres b/fish/species/triggerfish_queen/triggerfish_queen.tres index e747f25..d57ede3 100644 --- a/fish/species/triggerfish_queen/triggerfish_queen.tres +++ b/fish/species/triggerfish_queen/triggerfish_queen.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"triggerfish_queen" display_name = "queen triggerfish" -active = true +active = false catalog_number = 5605 collection_group = &"Reef oddities" logbook_fact = "queen triggerfish blow jets of water to uncover buried prey and flip sea urchins. vivid blue lines radiate across the face." @@ -29,4 +28,3 @@ weight_max_lb = 15.0 sell_value_min = 14 sell_value_max = 32 sell_value_curve = 0.88 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tripletail/tripletail.tres b/fish/species/tripletail/tripletail.tres index 7bb151b..552e15b 100644 --- a/fish/species/tripletail/tripletail.tres +++ b/fish/species/tripletail/tripletail.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"tripletail" display_name = "tripletail" -active = true +active = false catalog_number = 604 collection_group = &"Coastal oddities" logbook_fact = "tripletail often drift sideways near floating debris, resembling a loose leaf. rounded rear fins create the three-tailed silhouette." @@ -29,4 +28,3 @@ weight_max_lb = 30.0 sell_value_min = 13 sell_value_max = 31 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/trout_brown/trout_brown.tres b/fish/species/trout_brown/trout_brown.tres index 6beb1ba..01a28d5 100644 --- a/fish/species/trout_brown/trout_brown.tres +++ b/fish/species/trout_brown/trout_brown.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_day = false script = ExtResource("1_fish_data") id = &"trout_brown" display_name = "brown trout" -active = true +active = false catalog_number = 1103 collection_group = &"Cold freshwater salmonids" logbook_fact = "brown trout often shelter by day and hunt more freely after dark. adaptable populations occupy streams, lakes, and even coastal water." @@ -28,4 +27,3 @@ weight_max_lb = 25.0 sell_value_min = 7 sell_value_max = 20 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/trout_cutthroat/trout_cutthroat.tres b/fish/species/trout_cutthroat/trout_cutthroat.tres index 6ea9bff..38c90a7 100644 --- a/fish/species/trout_cutthroat/trout_cutthroat.tres +++ b/fish/species/trout_cutthroat/trout_cutthroat.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://nowggrl8wmr" path="res://fish/species/trout_cutthroat/fish_trout_cutthroat.png" id="4_texture"] [sub_resource type="Resource" id="TroutCutthroatAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/trout_golden/trout_golden.tres b/fish/species/trout_golden/trout_golden.tres index bb6732b..d455e21 100644 --- a/fish/species/trout_golden/trout_golden.tres +++ b/fish/species/trout_golden/trout_golden.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://b64w3kwf3wins" path="res://fish/species/trout_golden/fish_trout_golden.png" id="4_texture"] [sub_resource type="Resource" id="TroutGoldenAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/trout_rainbow/trout_rainbow.tres b/fish/species/trout_rainbow/trout_rainbow.tres index 69d40bd..3b9e9aa 100644 --- a/fish/species/trout_rainbow/trout_rainbow.tres +++ b/fish/species/trout_rainbow/trout_rainbow.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://mfxehkoxea21" path="res://fish/species/trout_rainbow/fish_trout_rainbow.png" id="4_texture"] [sub_resource type="Resource" id="TroutRainbowAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/trout_steelhead/trout_steelhead.tres b/fish/species/trout_steelhead/trout_steelhead.tres index ed052d9..3bc9698 100644 --- a/fish/species/trout_steelhead/trout_steelhead.tres +++ b/fish/species/trout_steelhead/trout_steelhead.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://cabbpc55sf2gw" path="res://fish/species/trout_steelhead/fish_trout_steelhead.png" id="4_texture"] [sub_resource type="Resource" id="TroutSteelheadAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/trumpetfish_atlantic/trumpetfish_atlantic.tres b/fish/species/trumpetfish_atlantic/trumpetfish_atlantic.tres index 3ff3cc3..eb58032 100644 --- a/fish/species/trumpetfish_atlantic/trumpetfish_atlantic.tres +++ b/fish/species/trumpetfish_atlantic/trumpetfish_atlantic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"trumpetfish_atlantic" display_name = "atlantic trumpetfish" -active = true +active = false catalog_number = 5601 collection_group = &"Reef oddities" logbook_fact = "atlantic trumpetfish hover head-down among corals and sea fans. long tubular snouts expand suddenly to draw in small fish." @@ -28,4 +27,3 @@ weight_max_lb = 2.0 sell_value_min = 10 sell_value_max = 24 sell_value_curve = 0.94 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/tuna_albacore/tuna_albacore.tres b/fish/species/tuna_albacore/tuna_albacore.tres index c8cdfdf..69ad32d 100644 --- a/fish/species/tuna_albacore/tuna_albacore.tres +++ b/fish/species/tuna_albacore/tuna_albacore.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://bxebn81i552fg" path="res://fish/species/tuna_albacore/fish_tuna_albacore.png" id="4_texture"] [sub_resource type="Resource" id="AlbacoreAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/tuna_bigeye/tuna_bigeye.tres b/fish/species/tuna_bigeye/tuna_bigeye.tres index 1c31d1a..6794a75 100644 --- a/fish/species/tuna_bigeye/tuna_bigeye.tres +++ b/fish/species/tuna_bigeye/tuna_bigeye.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://bypnhqmkhnm2c" path="res://fish/species/tuna_bigeye/fish_tuna_bigeye.png" id="4_texture"] [sub_resource type="Resource" id="BigeyeAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/tuna_bluefin/tuna_bluefin.tres b/fish/species/tuna_bluefin/tuna_bluefin.tres index 4bf5033..7d6f810 100644 --- a/fish/species/tuna_bluefin/tuna_bluefin.tres +++ b/fish/species/tuna_bluefin/tuna_bluefin.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://dg7nafydp4flx" path="res://fish/species/tuna_bluefin/fish_tuna_bluefin.png" id="4_texture"] [sub_resource type="Resource" id="BluefinAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/tuna_skipjack/tuna_skipjack.tres b/fish/species/tuna_skipjack/tuna_skipjack.tres index cc1988e..cb16b70 100644 --- a/fish/species/tuna_skipjack/tuna_skipjack.tres +++ b/fish/species/tuna_skipjack/tuna_skipjack.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://vvtr81d2aojs" path="res://fish/species/tuna_skipjack/fish_tuna_skipjack.png" id="4_texture"] [sub_resource type="Resource" id="SkipjackAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/tuna_yellowfin/tuna_yellowfin.tres b/fish/species/tuna_yellowfin/tuna_yellowfin.tres index 665228e..90f9017 100644 --- a/fish/species/tuna_yellowfin/tuna_yellowfin.tres +++ b/fish/species/tuna_yellowfin/tuna_yellowfin.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/bass_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://bwpdgagaysdsf" path="res://fish/species/tuna_yellowfin/fish_tuna_yellowfin.png" id="4_texture"] [sub_resource type="Resource" id="YellowfinAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/turbot/turbot.tres b/fish/species/turbot/turbot.tres index c3ab7bd..9e3e6f3 100644 --- a/fish/species/turbot/turbot.tres +++ b/fish/species/turbot/turbot.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"turbot" display_name = "turbot" -active = true +active = false catalog_number = 3703 collection_group = &"Large flatfish" logbook_fact = "turbot have broad, nearly circular bodies covered with bony bumps instead of scales. they bury into sand before ambushing fish and crustaceans." @@ -28,4 +27,3 @@ weight_max_lb = 35.0 sell_value_min = 14 sell_value_max = 34 sell_value_curve = 0.85 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/turtle_green/turtle_green.tres b/fish/species/turtle_green/turtle_green.tres index b1e8e71..b473dad 100644 --- a/fish/species/turtle_green/turtle_green.tres +++ b/fish/species/turtle_green/turtle_green.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"turtle_green" display_name = "green sea turtle" -active = true +active = false catalog_number = 6201 collection_group = &"Sea turtles" logbook_fact = "green sea turtles graze seagrass meadows with finely serrated jaws. adults migrate long distances between feeding and nesting grounds." @@ -29,4 +28,3 @@ weight_max_lb = 500.0 sell_value_min = 62 sell_value_max = 145 sell_value_curve = 0.78 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/turtle_hawksbill/turtle_hawksbill.tres b/fish/species/turtle_hawksbill/turtle_hawksbill.tres index 5b5a5c8..a13910f 100644 --- a/fish/species/turtle_hawksbill/turtle_hawksbill.tres +++ b/fish/species/turtle_hawksbill/turtle_hawksbill.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"turtle_hawksbill" display_name = "hawksbill sea turtle" -active = true +active = false catalog_number = 6202 collection_group = &"Sea turtles" logbook_fact = "hawksbill sea turtles reach into reef crevices with narrow hooked beaks. a diet rich in sponges helps shape coral communities." @@ -29,4 +28,3 @@ weight_max_lb = 250.0 sell_value_min = 66 sell_value_max = 150 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/turtle_leatherback/turtle_leatherback.tres b/fish/species/turtle_leatherback/turtle_leatherback.tres index 3a8acf3..a19b310 100644 --- a/fish/species/turtle_leatherback/turtle_leatherback.tres +++ b/fish/species/turtle_leatherback/turtle_leatherback.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"turtle_leatherback" display_name = "leatherback sea turtle" -active = true +active = false catalog_number = 6203 collection_group = &"Sea turtles" logbook_fact = "leatherback sea turtles cross entire oceans while hunting jellies. a flexible ridged shell and internal heat help them enter cold water." @@ -29,4 +28,3 @@ weight_max_lb = 2000.0 sell_value_min = 75 sell_value_max = 175 sell_value_curve = 0.76 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/turtle_loggerhead/turtle_loggerhead.tres b/fish/species/turtle_loggerhead/turtle_loggerhead.tres index e4bd898..0317591 100644 --- a/fish/species/turtle_loggerhead/turtle_loggerhead.tres +++ b/fish/species/turtle_loggerhead/turtle_loggerhead.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"turtle_loggerhead" display_name = "loggerhead sea turtle" -active = true +active = false catalog_number = 6204 collection_group = &"Sea turtles" logbook_fact = "loggerhead sea turtles crush crabs and mollusks with massive jaws. females often return near their birth beaches to nest." @@ -28,4 +27,3 @@ weight_max_lb = 1200.0 sell_value_min = 68 sell_value_max = 155 sell_value_curve = 0.77 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/urchin_purple/urchin_purple.tres b/fish/species/urchin_purple/urchin_purple.tres index 6546627..884055b 100644 --- a/fish/species/urchin_purple/urchin_purple.tres +++ b/fish/species/urchin_purple/urchin_purple.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"urchin_purple" display_name = "purple sea urchin" -active = true +active = false catalog_number = 1903 collection_group = &"Echinoderms" logbook_fact = "purple sea urchins scrape algae from rocks with a five-toothed feeding structure. dense groups can clear kelp from entire reefs." @@ -28,4 +27,3 @@ weight_max_lb = 1.0 sell_value_min = 5 sell_value_max = 12 sell_value_curve = 0.96 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/wahoo/wahoo.tres b/fish/species/wahoo/wahoo.tres index 9e045de..cc8488d 100644 --- a/fish/species/wahoo/wahoo.tres +++ b/fish/species/wahoo/wahoo.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"wahoo" display_name = "wahoo" -active = true +active = false catalog_number = 4703 collection_group = &"Oceanic pelagic fish" logbook_fact = "wahoo are streamlined open-ocean hunters with rows of sharp teeth. blue vertical bars flicker across their sides during fast pursuits." @@ -28,4 +27,3 @@ weight_max_lb = 100.0 sell_value_min = 30 sell_value_max = 70 sell_value_curve = 0.82 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/walleye/walleye.tres b/fish/species/walleye/walleye.tres index 277b3d8..a08adac 100644 --- a/fish/species/walleye/walleye.tres +++ b/fish/species/walleye/walleye.tres @@ -3,7 +3,7 @@ [ext_resource type="Script" uid="uid://h7hg45b7wmst" path="res://fish/fish_data.gd" id="1_fish_data"] [ext_resource type="Resource" path="res://fishing/common_catch_profile.tres" id="2_profile"] [ext_resource type="Script" uid="uid://bs7cqi88csolc" path="res://fish/fish_availability.gd" id="3_availability_script"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="4_texture"] +[ext_resource type="Texture2D" uid="uid://c10j6jv6fv32r" path="res://fish/species/walleye/fish_walleye.png" id="4_texture"] [sub_resource type="Resource" id="WalleyeAvailability"] script = ExtResource("3_availability_script") diff --git a/fish/species/walrus/walrus.tres b/fish/species/walrus/walrus.tres index ff74bf6..180fe27 100644 --- a/fish/species/walrus/walrus.tres +++ b/fish/species/walrus/walrus.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"walrus" display_name = "walrus" -active = true +active = false catalog_number = 504 collection_group = &"Coastal marine mammals" logbook_fact = "walruses sweep the seafloor for clams and other soft-bodied prey. long tusks help them haul onto ice and settle disputes." @@ -29,4 +28,3 @@ weight_max_lb = 3700.0 sell_value_min = 74 sell_value_max = 170 sell_value_curve = 0.76 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/warmouth/warmouth.tres b/fish/species/warmouth/warmouth.tres index c58e8c5..d93c506 100644 --- a/fish/species/warmouth/warmouth.tres +++ b/fish/species/warmouth/warmouth.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"warmouth" display_name = "warmouth" -active = true +active = false catalog_number = 3106 collection_group = &"Freshwater panfish" logbook_fact = "warmouth hide in weeds, roots, and murky backwaters before ambushing prey. red eyes and dark cheek stripes frame a notably large mouth." @@ -29,4 +28,3 @@ weight_max_lb = 2.0 sell_value_min = 5 sell_value_max = 10 sell_value_curve = 0.95 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/weakfish/weakfish.tres b/fish/species/weakfish/weakfish.tres index 83a5f11..6f94da3 100644 --- a/fish/species/weakfish/weakfish.tres +++ b/fish/species/weakfish/weakfish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"weakfish" display_name = "weakfish" -active = true +active = false catalog_number = 6805 collection_group = &"Temperate estuary" logbook_fact = "weakfish are named for delicate mouth tissue that tears easily around a hook. iridescent spots scatter across their bronze backs." @@ -29,4 +28,3 @@ weight_max_lb = 18.0 sell_value_min = 12 sell_value_max = 29 sell_value_curve = 0.86 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/whale_blue/whale_blue.tres b/fish/species/whale_blue/whale_blue.tres index 415008e..50f2c53 100644 --- a/fish/species/whale_blue/whale_blue.tres +++ b/fish/species/whale_blue/whale_blue.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"whale_blue" display_name = "blue whale" -active = true +active = false catalog_number = 7701 collection_group = &"Whales and dolphins" logbook_fact = "blue whales are the largest animals known to have lived. pleated throats expand around vast mouthfuls of water that baleen filters for krill." @@ -29,4 +28,3 @@ weight_max_lb = 330000.0 sell_value_min = 120 sell_value_max = 300 sell_value_curve = 0.72 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/whale_humpback/whale_humpback.tres b/fish/species/whale_humpback/whale_humpback.tres index 7ad7161..7c99516 100644 --- a/fish/species/whale_humpback/whale_humpback.tres +++ b/fish/species/whale_humpback/whale_humpback.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"whale_humpback" display_name = "humpback whale" -active = true +active = false catalog_number = 7703 collection_group = &"Whales and dolphins" logbook_fact = "humpback whales use long pectoral fins while turning and feeding. males produce layered songs that change across breeding seasons." @@ -29,4 +28,3 @@ weight_max_lb = 90000.0 sell_value_min = 105 sell_value_max = 260 sell_value_curve = 0.73 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/whale_killer/whale_killer.tres b/fish/species/whale_killer/whale_killer.tres index 7952089..a1197cd 100644 --- a/fish/species/whale_killer/whale_killer.tres +++ b/fish/species/whale_killer/whale_killer.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_rain = true script = ExtResource("1_fish_data") id = &"whale_killer" display_name = "killer whale" -active = true +active = false catalog_number = 7704 collection_group = &"Whales and dolphins" logbook_fact = "killer whales live in close family groups with distinct calls and hunting traditions. different populations specialize in different prey." @@ -29,4 +28,3 @@ weight_max_lb = 12000.0 sell_value_min = 95 sell_value_max = 230 sell_value_curve = 0.74 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/whale_sperm/whale_sperm.tres b/fish/species/whale_sperm/whale_sperm.tres index eef3aed..019088b 100644 --- a/fish/species/whale_sperm/whale_sperm.tres +++ b/fish/species/whale_sperm/whale_sperm.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"whale_sperm" display_name = "sperm whale" -active = true +active = false catalog_number = 7705 collection_group = &"Whales and dolphins" logbook_fact = "sperm whales make deep dives to hunt squid with powerful echolocation clicks. their enormous square heads contain a waxy spermaceti organ." @@ -29,4 +28,3 @@ weight_max_lb = 125000.0 sell_value_min = 115 sell_value_max = 280 sell_value_curve = 0.72 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/white_perch/white_perch.tres b/fish/species/white_perch/white_perch.tres index 5543307..2b45610 100644 --- a/fish/species/white_perch/white_perch.tres +++ b/fish/species/white_perch/white_perch.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"white_perch" display_name = "white perch" -active = true +active = false catalog_number = 6806 collection_group = &"Temperate estuary" logbook_fact = "white perch tolerate fresh and brackish water along the atlantic coast. deep silver bodies gather in schools around river mouths." @@ -27,4 +26,3 @@ weight_max_lb = 3.5 sell_value_min = 5 sell_value_max = 11 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/whitefish_lake/whitefish_lake.tres b/fish/species/whitefish_lake/whitefish_lake.tres index 51246f5..f50e27b 100644 --- a/fish/species/whitefish_lake/whitefish_lake.tres +++ b/fish/species/whitefish_lake/whitefish_lake.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -12,7 +11,7 @@ script = ExtResource("3_availability") script = ExtResource("1_fish_data") id = &"whitefish_lake" display_name = "lake whitefish" -active = true +active = false catalog_number = 1003 collection_group = &"Cold freshwater fish" logbook_fact = "lake whitefish browse deep, cold bottoms with small downward-pointing mouths. large schools move toward shallows to spawn in autumn." @@ -27,4 +26,3 @@ weight_max_lb = 12.0 sell_value_min = 4 sell_value_max = 11 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/wolffish_atlantic/wolffish_atlantic.tres b/fish/species/wolffish_atlantic/wolffish_atlantic.tres index ca67a92..a4c29c1 100644 --- a/fish/species/wolffish_atlantic/wolffish_atlantic.tres +++ b/fish/species/wolffish_atlantic/wolffish_atlantic.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ forbid_rain = true script = ExtResource("1_fish_data") id = &"wolffish_atlantic" display_name = "atlantic wolffish" -active = true +active = false catalog_number = 1201 collection_group = &"Cold reef fish" logbook_fact = "atlantic wolffish use heavy jaws and blunt teeth to crush shellfish and urchins. natural antifreeze proteins help them endure icy water." @@ -28,4 +27,3 @@ weight_max_lb = 40.0 sell_value_min = 14 sell_value_max = 34 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/wolffish_spotted/wolffish_spotted.tres b/fish/species/wolffish_spotted/wolffish_spotted.tres index 36b4575..aa498e6 100644 --- a/fish/species/wolffish_spotted/wolffish_spotted.tres +++ b/fish/species/wolffish_spotted/wolffish_spotted.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"wolffish_spotted" display_name = "spotted wolffish" -active = true +active = false catalog_number = 1203 collection_group = &"Cold reef fish" logbook_fact = "spotted wolffish crush hard-shelled prey with broad molar-like teeth. their pale spots stand out against a dark cold-water body." @@ -28,4 +27,3 @@ weight_max_lb = 50.0 sell_value_min = 26 sell_value_max = 60 sell_value_curve = 0.84 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/wrasse_ballan/wrasse_ballan.tres b/fish/species/wrasse_ballan/wrasse_ballan.tres index a1beebc..b25f40d 100644 --- a/fish/species/wrasse_ballan/wrasse_ballan.tres +++ b/fish/species/wrasse_ballan/wrasse_ballan.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"wrasse_ballan" display_name = "ballan wrasse" -active = true +active = false catalog_number = 6101 collection_group = &"Reef wrasses" logbook_fact = "ballan wrasse crush shellfish and sea urchins with strong throat teeth. thick lips and mottled colors suit rocky european reefs." @@ -28,4 +27,3 @@ weight_max_lb = 10.0 sell_value_min = 6 sell_value_max = 15 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/wrasse_cleaner/wrasse_cleaner.tres b/fish/species/wrasse_cleaner/wrasse_cleaner.tres index 85db0fc..3f21ff7 100644 --- a/fish/species/wrasse_cleaner/wrasse_cleaner.tres +++ b/fish/species/wrasse_cleaner/wrasse_cleaner.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -14,7 +13,7 @@ forbid_fog = true script = ExtResource("1_fish_data") id = &"wrasse_cleaner" display_name = "cleaner wrasse" -active = true +active = false catalog_number = 6102 collection_group = &"Reef wrasses" logbook_fact = "cleaner wrasses advertise with a bright stripe and dance at reef stations. larger fish wait while parasites are picked from skin and gills." @@ -29,4 +28,3 @@ weight_max_lb = 0.2 sell_value_min = 9 sell_value_max = 20 sell_value_curve = 1.0 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/wreckfish/wreckfish.tres b/fish/species/wreckfish/wreckfish.tres index 345d274..0c258a9 100644 --- a/fish/species/wreckfish/wreckfish.tres +++ b/fish/species/wreckfish/wreckfish.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/fish_placeholder.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ require_fog = true script = ExtResource("1_fish_data") id = &"wreckfish" display_name = "wreckfish" -active = true +active = false catalog_number = 1606 collection_group = &"Deep shelf fish" logbook_fact = "wreckfish gather around caves, ledges, and shipwrecks in deep water. powerful jaws let them ambush fish and large crustaceans." @@ -28,4 +27,3 @@ weight_max_lb = 180.0 sell_value_min = 31 sell_value_max = 76 sell_value_curve = 0.8 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fish/species/yellow_perch/yellow_perch.tres b/fish/species/yellow_perch/yellow_perch.tres index 3e0501f..311280e 100644 --- a/fish/species/yellow_perch/yellow_perch.tres +++ b/fish/species/yellow_perch/yellow_perch.tres @@ -1,9 +1,8 @@ -[gd_resource type="Resource" script_class="FishData" load_steps=5 format=3] +[gd_resource type="Resource" script_class="FishData" load_steps=4 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"] [ext_resource type="Script" path="res://fish/fish_availability.gd" id="3_availability"] -[ext_resource type="Texture2D" path="res://art/exported/creatures/3201.png" id="99_fish_placeholder"] [sub_resource type="Resource" id="Availability"] script = ExtResource("3_availability") @@ -13,7 +12,7 @@ allow_night = false script = ExtResource("1_fish_data") id = &"yellow_perch" display_name = "yellow perch" -active = true +active = false catalog_number = 3201 collection_group = &"Freshwater perch" logbook_fact = "yellow perch travel in schools through cool lakes and slow rivers. dark vertical bars and orange lower fins make them easy to recognize." @@ -28,4 +27,3 @@ weight_max_lb = 4.0 sell_value_min = 3 sell_value_max = 8 sell_value_curve = 0.9 -display_texture = ExtResource("99_fish_placeholder") diff --git a/fishing/fishing_spot.gd b/fishing/fishing_spot.gd index fdfad53..0fdc5f7 100644 --- a/fishing/fishing_spot.gd +++ b/fishing/fishing_spot.gd @@ -41,6 +41,8 @@ const FishingSurfaceSampleType = preload( const FishingSurfaceResolverType = preload( "res://fishing/fishing_surface_resolver.gd" ) +const ArtShopStockType = preload("res://economy/art_shop_stock.gd") +const FishingShopStockType = preload("res://economy/fishing_shop_stock.gd") const WorldTimeServiceType = preload("res://world/world_time_service.gd") const WorldWeatherServiceType = preload( "res://world/world_weather_service.gd" @@ -132,7 +134,6 @@ const ALTERNATE_REEL_ACTION: StringName = &"reel_alternate" var state: FishingState = FishingState.READY var _external_input_blocked: bool = false var _gameplay_input_enabled: bool = false -var _fishing_environment_enabled: bool = true var _local_menu_input_owners: Dictionary[StringName, bool] = {} var _local_player: PlayerType var _local_inventory: FishInventoryType @@ -149,7 +150,6 @@ var _network_session: NetworkSessionType var _network_fishing: NetworkFishingServiceType var _world_time: WorldTimeServiceType var _world_weather: WorldWeatherServiceType -var _fishable_water_regions_resolver := Callable() var _active_player: PlayerType var _state_time_remaining: float = 0.0 var _cast_charge: float = 0.0 @@ -222,7 +222,6 @@ func setup( network_fishing: NetworkFishingServiceType = null, world_time: WorldTimeServiceType = null, world_weather: WorldWeatherServiceType = null, - fishable_water_regions_resolver: Callable = Callable(), ) -> void: _local_player = local_player _local_inventory = local_inventory @@ -243,7 +242,6 @@ func setup( _network_fishing = network_fishing _world_time = world_time _world_weather = world_weather - _fishable_water_regions_resolver = fishable_water_regions_resolver if ( _network_session != null and not _network_session.state_changed.is_connected( @@ -398,22 +396,6 @@ func set_gameplay_input_enabled(enabled: bool) -> void: reset_transient_state() -func set_fishing_environment_enabled(enabled: bool) -> void: - if _fishing_environment_enabled == enabled: - return - _fishing_environment_enabled = enabled - if enabled: - _new_cast_press_armed = not Input.is_action_pressed("fish_primary") - return - if _network_fishing != null and _network_fishing.has_local_attempt(): - _network_fishing.cancel_local_attempt("") - reset_transient_state() - - -func is_fishing_environment_enabled() -> bool: - return _fishing_environment_enabled - - func reset_transient_state(restore_movement: bool = true) -> void: var local_state_was_active: bool = ( state != FishingState.READY or _active_player != null @@ -548,7 +530,6 @@ func _process(delta: float) -> void: func _unhandled_input(event: InputEvent) -> void: if ( not _gameplay_input_enabled - or not _fishing_environment_enabled or _external_input_blocked or not _local_menu_input_owners.is_empty() ): @@ -561,23 +542,51 @@ func _unhandled_input(event: InputEvent) -> void: alternate_reel and state == FishingState.FIGHTING ): return - # Fishing owns the primary action only after a rod starts a cast, or while - # completing an already-active fishing sequence. An empty hand, decor, - # gathering tools, and other items must remain available to their own world - # interaction controllers. - if state == FishingState.READY and not has_active_fishing_rod(): - return # A held keyboard key emits echo events. Treat the alternate reel exactly # like a mouse button: one barrier hit per physical press, while the normal # held-input path continues driving free reeling between barriers. if event is InputEventKey and event.echo: get_viewport().set_input_as_handled() return + var selected_item: ItemDataType = _get_active_item() + if ( + state == FishingState.READY + and selected_item != null + and FishingShopStockType.is_gathering_tool(selected_item.item_id) + ): + return if event.is_pressed(): match state: FishingState.READY: if not _new_cast_press_armed: return + var active_item: ItemDataType = _get_active_item() + if ( + active_item != null + and ( + active_item.category == ItemDataType.Category.CONSUMABLE + or ( + active_item.item_id == PlayerItemEffectsType.FISH_FINDER_ID + ) + ) + ): + if _network_item_use != null: + _network_item_use.request_use(active_item.item_id) + elif _item_effects.use_item(active_item, _local_bag): + status_changed.emit(_item_effects.get_feedback( + active_item.item_id + )) + elif ( + active_item.item_id == PlayerItemEffectsType.FISH_FINDER_ID + ): + local_speech_requested.emit( + PlayerItemEffectsType.FISH_FINDER_DEAD_MESSAGE + ) + get_viewport().set_input_as_handled() + return + if not has_active_fishing_rod(): + get_viewport().set_input_as_handled() + return if ( _is_inventory_full() ): @@ -649,34 +658,6 @@ func _unhandled_input(event: InputEvent) -> void: get_viewport().set_input_as_handled() -func try_use_active_non_fishing_item() -> bool: - if ( - not _gameplay_input_enabled - or _external_input_blocked - or not _local_menu_input_owners.is_empty() - or state != FishingState.READY - ): - return false - var active_item: ItemDataType = _get_active_item() - if ( - active_item == null - or ( - active_item.category != ItemDataType.Category.CONSUMABLE - and active_item.item_id != PlayerItemEffectsType.FISH_FINDER_ID - ) - ): - return false - if _network_item_use != null: - _network_item_use.request_use(active_item.item_id) - elif _item_effects.use_item(active_item, _local_bag): - status_changed.emit(_item_effects.get_feedback(active_item.item_id)) - elif active_item.item_id == PlayerItemEffectsType.FISH_FINDER_ID: - local_speech_requested.emit( - PlayerItemEffectsType.FISH_FINDER_DEAD_MESSAGE - ) - return true - - func _is_reel_input_pressed() -> bool: return ( Input.is_action_pressed("fish_primary") @@ -684,10 +665,6 @@ func _is_reel_input_pressed() -> bool: ) -func is_reel_input_active() -> bool: - return state == FishingState.FIGHTING and _is_reel_input_pressed() - - func _begin_aiming(player: PlayerType) -> void: if state != FishingState.READY or _active_player != null: return @@ -804,10 +781,7 @@ func confirm_pending_bite() -> void: func _set_bite_confirmation_pending(is_pending: bool) -> void: if is_pending: - # The Standby deliberately pauses before the fight begins. Keep chat and - # menus available during that pause; fishing only owns input once the - # player confirms the bite and enters the actual minigame. - _set_fishing_input_priority(false) + _set_fishing_input_priority(true) if _bite_confirmation_pending == is_pending: if not is_pending: _bite_confirmation_requested = false @@ -1168,6 +1142,7 @@ func _activate_bite(confirmation_override: bool = false) -> void: ): _cancel_attempt() return + _set_fishing_input_priority(true) if ( not confirmation_override and _active_lure_has_effect(&"deferred_fight") @@ -1180,7 +1155,6 @@ func _activate_bite(confirmation_override: bool = false) -> void: _presentation.show_bite() return - _set_fishing_input_priority(true) _set_bite_confirmation_pending(false) _pending_catch = _fish_selector.create_catch(_selected_fish) if _pending_catch == null or not _pending_catch.is_valid(): @@ -1687,47 +1661,6 @@ func build_network_context( return _build_fishing_context(region) -func is_species_available_now(fish: FishDataType) -> bool: - if fish == null or not fish.is_selectable(): - return false - var season := ( - _world_time.get_season() - if _world_time != null - else CalendarSeason.UNKNOWN - ) - if not fish.is_available_in_season(season): - return false - if fish.collection_method != FishDataType.CollectionMethod.FISHING: - return true - for region: FishableWaterRegionType in _get_logbook_water_regions(): - if ( - region == null - or region.fish_pool == null - or region.fish_pool.get_fish_by_id(fish.id) == null - ): - continue - var context := _build_fishing_context(region) - if not fish.is_allowed_in_water(context.water_type): - continue - if fish.availability == null or fish.availability.is_available(context): - return true - return false - - -func _get_logbook_water_regions() -> Array[FishableWaterRegionType]: - var regions: Array[FishableWaterRegionType] = [] - if not _fishable_water_regions_resolver.is_valid(): - return regions - var resolved: Variant = _fishable_water_regions_resolver.call() - if resolved is not Array: - return regions - for value: Variant in resolved: - var region := value as FishableWaterRegionType - if region != null and is_instance_valid(region): - regions.append(region) - return regions - - func _get_active_bait_tags() -> Array[StringName]: if _local_player == null or _item_catalog == null: return [] diff --git a/gathering/catalog/beetle_stag_common.tres b/gathering/catalog/beetle_stag_common.tres index c8b7d85..118d733 100644 --- a/gathering/catalog/beetle_stag_common.tres +++ b/gathering/catalog/beetle_stag_common.tres @@ -10,8 +10,6 @@ catch_data = ExtResource("2_catch") required_tool_id = &"crab_net" spawn_anchor_set_id = &"starter_reachable_tree_trunks" population = 3 -spawn_anchor_occupancy_ratio = 0.35 -maximum_anchor_population = 64 requires_sneaking = false movement_speed = 0.0 roam_radius = 0.1 @@ -19,7 +17,7 @@ scare_radius = 0.1 capture_radius = 0.34 interaction_range = 2.8 charge_duration = 1.0 -sprite_pixel_size = 0.0075 +sprite_pixel_size = 0.005 sprite_tilt_degrees = 0.0 capture_respawn_min_seconds = 90.0 capture_respawn_max_seconds = 150.0 diff --git a/gathering/catalog/crab_blue.tres b/gathering/catalog/crab_blue.tres index 705948e..1ccabe8 100644 --- a/gathering/catalog/crab_blue.tres +++ b/gathering/catalog/crab_blue.tres @@ -10,8 +10,5 @@ catch_data = ExtResource("2_catch") required_tool_id = &"crab_net" surface_materials = Array[StringName]([&"sand"]) minimum_surface_y = -0.8 -surface_water_relation = 2 population = 4 -surface_population_per_100_square_meters = 0.4 -maximum_surface_population = 16 sprite_pixel_size = 0.0005 diff --git a/gathering/catalog/crab_brown.tres b/gathering/catalog/crab_brown.tres index b27bb7e..83d20c8 100644 --- a/gathering/catalog/crab_brown.tres +++ b/gathering/catalog/crab_brown.tres @@ -10,10 +10,7 @@ catch_data = ExtResource("2_catch") required_tool_id = &"crab_net" surface_materials = Array[StringName]([&"sand"]) minimum_surface_y = -0.44 -surface_water_relation = 1 population = 2 -surface_population_per_100_square_meters = 0.15 -maximum_surface_population = 24 movement_speed = 0.35 roam_radius = 3.5 scare_radius = 2.8 diff --git a/gathering/gatherable_data.gd b/gathering/gatherable_data.gd index 41de7fe..9f984cf 100644 --- a/gathering/gatherable_data.gd +++ b/gathering/gatherable_data.gd @@ -10,12 +10,6 @@ enum PresentationMode { WATER_SPURT, } -enum SurfaceWaterRelation { - ANY, - ABOVE_SALT_WATER, - BELOW_SALT_WATER, -} - @export var type_id: StringName @export var catch_data: FishDataType @export var required_tool_id: StringName @@ -23,20 +17,7 @@ enum SurfaceWaterRelation { @export var diggable_area_id: StringName @export var spawn_anchor_set_id: StringName @export_range(-100.0, 100.0, 0.01) var minimum_surface_y: float = 0.08 -@export_range(-100.0, 100.0, 0.01) var maximum_surface_y: float = 100.0 -@export var surface_water_relation := SurfaceWaterRelation.ANY -@export_range(0.0, 2.0, 0.01) var waterline_margin: float = 0.01 @export_range(0, 64, 1) var population: int = 0 -## Anchored gatherables can scale with authored/generated attachment geometry. -## Zero preserves the fixed population above. -@export_range(0.0, 1.0, 0.01) var spawn_anchor_occupancy_ratio := 0.0 -## Zero leaves the anchor count as the only ceiling. -@export_range(0, 256, 1) var maximum_anchor_population := 0 -## Optional density scaling for large generated surfaces. The authored -## population remains the minimum while the maximum keeps large maps bounded. -@export_range(0.0, 8.0, 0.01) -var surface_population_per_100_square_meters := 0.0 -@export_range(0, 256, 1) var maximum_surface_population := 0 @export var presentation_mode: PresentationMode = PresentationMode.VISIBLE_CREATURE @export var requires_sneaking: bool = true @export_range(0.0, 120.0, 0.1) var active_lifetime_seconds: float = 0.0 @@ -91,21 +72,12 @@ func is_valid() -> bool: or uses_spawn_anchors or not surface_materials.is_empty() ) - and maximum_surface_y >= minimum_surface_y and ( not uses_diggable_area or catch_data.collection_method == FishDataType.CollectionMethod.DIGGING ) and population > 0 - and ( - maximum_anchor_population == 0 - or maximum_anchor_population >= population - ) - and ( - maximum_surface_population == 0 - or maximum_surface_population >= population - ) and movement_parameters_valid and _quality_multipliers_are_valid( quality_movement_speed_multipliers @@ -130,39 +102,6 @@ func is_stationary_spawn() -> bool: return is_stationary_hotspot() or not spawn_anchor_set_id.is_empty() -func target_population_for_anchor_count(anchor_count: int) -> int: - if spawn_anchor_set_id.is_empty() or spawn_anchor_occupancy_ratio <= 0.0: - return population - if anchor_count <= 0: - return 0 - var target := maxi( - population, - ceili(float(anchor_count) * spawn_anchor_occupancy_ratio), - ) - target = mini(target, anchor_count) - if maximum_anchor_population > 0: - target = mini(target, maximum_anchor_population) - return target - - -func target_population_for_surface_area(surface_area: float) -> int: - if surface_population_per_100_square_meters <= 0.0: - return population - if surface_area <= 0.0: - return 0 - var target := maxi( - population, - ceili( - surface_area - * surface_population_per_100_square_meters - / 100.0 - ), - ) - if maximum_surface_population > 0: - target = mini(target, maximum_surface_population) - return target - - func can_be_scared() -> bool: return not is_stationary_spawn() and scare_radius > 0.0 diff --git a/gathering/gathering_controller.gd b/gathering/gathering_controller.gd index c061db5..2859145 100644 --- a/gathering/gathering_controller.gd +++ b/gathering/gathering_controller.gd @@ -341,12 +341,10 @@ func _build_marker() -> void: _marker_invalid_material.albedo_color = MARKER_INVALID_COLOR _marker_invalid_material.shading_mode = BaseMaterial3D.SHADING_MODE_UNSHADED _marker_invalid_material.roughness = 1.0 - _marker_invalid_material.no_depth_test = true _marker_valid_material = StandardMaterial3D.new() _marker_valid_material.albedo_color = MARKER_VALID_COLOR _marker_valid_material.shading_mode = BaseMaterial3D.SHADING_MODE_UNSHADED _marker_valid_material.roughness = 1.0 - _marker_valid_material.no_depth_test = true var disc := CylinderMesh.new() disc.top_radius = marker_radius disc.bottom_radius = marker_radius diff --git a/gathering/world_gatherable.gd b/gathering/world_gatherable.gd index 1a71477..8a07ba0 100644 --- a/gathering/world_gatherable.gd +++ b/gathering/world_gatherable.gd @@ -29,16 +29,12 @@ func configure( entity_id = configured_entity_id data = configured_data type_id = data.type_id if data != null else StringName() - # Establish the authoritative transform before constructing transient visuals. - # Effects emitted before this point would begin at the default world origin. - apply_network_state(position, yaw, true) if data != null and data.is_stationary_hotspot(): _ensure_water_spurt_visual() _water_spurt_elapsed = ( float(abs(hash(entity_id)) % 1000) / 1000.0 * WATER_SPURT_INTERVAL_SECONDS ) - _emit_water_spurt() else: _ensure_visual() if data != null and data.catch_data != null and _sprite != null: @@ -54,6 +50,7 @@ func configure( ) ) _sprite.rotation_degrees.x = data.sprite_tilt_degrees + apply_network_state(position, yaw, true) func apply_network_state( @@ -150,6 +147,7 @@ func _ensure_water_spurt_visual() -> void: hole.mesh = hole_mesh hole.cast_shadow = GeometryInstance3D.SHADOW_CASTING_SETTING_OFF _water_spurt_root.add_child(hole) + _emit_water_spurt() func _emit_water_spurt() -> void: @@ -161,7 +159,6 @@ func _emit_water_spurt() -> void: particles.amount = 6 particles.lifetime = 0.42 particles.one_shot = true - particles.local_coords = true particles.explosiveness = 1.0 particles.direction = Vector3.UP particles.spread = 32.0 diff --git a/homes/assets/starter_motorcoach.glb b/homes/assets/starter_motorcoach.glb deleted file mode 100644 index becd54e..0000000 Binary files a/homes/assets/starter_motorcoach.glb and /dev/null differ diff --git a/homes/assets/starter_motorcoach.glb.import b/homes/assets/starter_motorcoach.glb.import deleted file mode 100644 index 5cba35b..0000000 --- a/homes/assets/starter_motorcoach.glb.import +++ /dev/null @@ -1,45 +0,0 @@ -[remap] - -importer="scene" -importer_version=1 -type="PackedScene" -uid="uid://bhph22caipcj6" -path="res://.godot/imported/starter_motorcoach.glb-153681ef1e622a556fba4df576dc6f84.scn" - -[deps] - -source_file="res://homes/assets/starter_motorcoach.glb" -dest_files=["res://.godot/imported/starter_motorcoach.glb-153681ef1e622a556fba4df576dc6f84.scn"] - -[params] - -nodes/root_type="" -nodes/root_name="" -nodes/root_script=null -mesh_library/use_node_names_as_mesh_names=false -array_mesh/deduplicate_surfaces=true -nodes/apply_root_scale=true -nodes/root_scale=1.0 -nodes/import_as_skeleton_bones=false -nodes/use_name_suffixes=true -nodes/use_node_type_suffixes=true -meshes/ensure_tangents=true -meshes/generate_lods=true -meshes/create_shadow_meshes=true -meshes/light_baking=1 -meshes/lightmap_texel_size=0.2 -meshes/force_disable_compression=false -skins/use_named_skins=true -animation/import=true -animation/fps=30 -animation/trimming=false -animation/remove_immutable_tracks=true -animation/import_rest_as_RESET=false -import_script/path="" -materials/extract=0 -materials/extract_format=0 -materials/extract_path="" -_subresources={} -gltf/naming_version=2 -gltf/embedded_image_handling=1 -gltf/texture_map_mode=1 diff --git a/homes/assets/starter_rv_interior.glb b/homes/assets/starter_rv_interior.glb deleted file mode 100644 index 21608ea..0000000 Binary files a/homes/assets/starter_rv_interior.glb and /dev/null differ diff --git a/homes/assets/starter_rv_interior.glb.import b/homes/assets/starter_rv_interior.glb.import deleted file mode 100644 index 947870a..0000000 --- a/homes/assets/starter_rv_interior.glb.import +++ /dev/null @@ -1,45 +0,0 @@ -[remap] - -importer="scene" -importer_version=1 -type="PackedScene" -uid="uid://b815y7svs3ern" -path="res://.godot/imported/starter_rv_interior.glb-9ad8a345e9e831e82874b4b276341224.scn" - -[deps] - -source_file="res://homes/assets/starter_rv_interior.glb" -dest_files=["res://.godot/imported/starter_rv_interior.glb-9ad8a345e9e831e82874b4b276341224.scn"] - -[params] - -nodes/root_type="" -nodes/root_name="" -nodes/root_script=null -mesh_library/use_node_names_as_mesh_names=false -array_mesh/deduplicate_surfaces=true -nodes/apply_root_scale=true -nodes/root_scale=1.0 -nodes/import_as_skeleton_bones=false -nodes/use_name_suffixes=true -nodes/use_node_type_suffixes=true -meshes/ensure_tangents=true -meshes/generate_lods=true -meshes/create_shadow_meshes=true -meshes/light_baking=1 -meshes/lightmap_texel_size=0.2 -meshes/force_disable_compression=false -skins/use_named_skins=true -animation/import=true -animation/fps=30 -animation/trimming=false -animation/remove_immutable_tracks=true -animation/import_rest_as_RESET=false -import_script/path="" -materials/extract=0 -materials/extract_format=0 -materials/extract_path="" -_subresources={} -gltf/naming_version=2 -gltf/embedded_image_handling=1 -gltf/texture_map_mode=1 diff --git a/homes/assets/tent_interior.glb b/homes/assets/tent_interior.glb deleted file mode 100644 index 3ba2b76..0000000 Binary files a/homes/assets/tent_interior.glb and /dev/null differ diff --git a/homes/assets/tent_interior.glb.import b/homes/assets/tent_interior.glb.import deleted file mode 100644 index fc01ba7..0000000 --- a/homes/assets/tent_interior.glb.import +++ /dev/null @@ -1,45 +0,0 @@ -[remap] - -importer="scene" -importer_version=1 -type="PackedScene" -uid="uid://dkfqs051shmxe" -path="res://.godot/imported/tent_interior.glb-576cc47c2c633f7ae635651598663518.scn" - -[deps] - -source_file="res://homes/assets/tent_interior.glb" -dest_files=["res://.godot/imported/tent_interior.glb-576cc47c2c633f7ae635651598663518.scn"] - -[params] - -nodes/root_type="" -nodes/root_name="" -nodes/root_script=null -mesh_library/use_node_names_as_mesh_names=false -array_mesh/deduplicate_surfaces=true -nodes/apply_root_scale=true -nodes/root_scale=1.0 -nodes/import_as_skeleton_bones=false -nodes/use_name_suffixes=true -nodes/use_node_type_suffixes=true -meshes/ensure_tangents=true -meshes/generate_lods=true -meshes/create_shadow_meshes=true -meshes/light_baking=1 -meshes/lightmap_texel_size=0.2 -meshes/force_disable_compression=false -skins/use_named_skins=true -animation/import=true -animation/fps=30 -animation/trimming=false -animation/remove_immutable_tracks=true -animation/import_rest_as_RESET=false -import_script/path="" -materials/extract=0 -materials/extract_format=0 -materials/extract_path="" -_subresources={} -gltf/naming_version=2 -gltf/embedded_image_handling=1 -gltf/texture_map_mode=1 diff --git a/homes/decor_catalog.gd b/homes/decor_catalog.gd deleted file mode 100644 index 14e5e29..0000000 --- a/homes/decor_catalog.gd +++ /dev/null @@ -1,59 +0,0 @@ -class_name DecorCatalog -extends RefCounted - -const BASIC_CUBE_ID: StringName = &"basic_cube" -const MAX_OWNED_PER_PRODUCT: int = 32 - -const _PRODUCTS: Dictionary = { - BASIC_CUBE_ID: { - "display_name": "basic cube", - "description": "a simple piece of decor for testing your RV layout.", - "price": 1, - "footprint": Vector2(1.0, 0.8), - "height": 0.8, - }, -} - - -static func get_product_ids() -> Array[StringName]: - var ids: Array[StringName] = [] - for value: Variant in _PRODUCTS.keys(): - ids.append(StringName(str(value))) - ids.sort_custom(func(first: StringName, second: StringName) -> bool: - return String(first) < String(second) - ) - return ids - - -static func has_product(product_id: StringName) -> bool: - return _PRODUCTS.has(product_id) - - -static func get_product(product_id: StringName) -> Dictionary: - var value: Variant = _PRODUCTS.get(product_id) - return ( - (value as Dictionary).duplicate(true) - if typeof(value) == TYPE_DICTIONARY - else {} - ) - - -static func get_display_name(product_id: StringName) -> String: - return str(get_product(product_id).get("display_name", product_id)) - - -static func get_description(product_id: StringName) -> String: - return str(get_product(product_id).get("description", "")) - - -static func get_price(product_id: StringName) -> int: - return int(get_product(product_id).get("price", -1)) - - -static func get_footprint(product_id: StringName) -> Vector2: - var value: Variant = get_product(product_id).get("footprint", Vector2.ZERO) - return value as Vector2 if value is Vector2 else Vector2.ZERO - - -static func get_height(product_id: StringName) -> float: - return float(get_product(product_id).get("height", 0.0)) diff --git a/homes/decor_catalog.gd.uid b/homes/decor_catalog.gd.uid deleted file mode 100644 index 10d2530..0000000 --- a/homes/decor_catalog.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://bvgwmexas2gps diff --git a/homes/home_decor_controller.gd b/homes/home_decor_controller.gd deleted file mode 100644 index f67207f..0000000 --- a/homes/home_decor_controller.gd +++ /dev/null @@ -1,512 +0,0 @@ -class_name HomeDecorController -extends Node - -const DecorCatalogType = preload("res://homes/decor_catalog.gd") -const DRAG_RESPONSE: float = 22.0 -const DRAG_POSITION_EPSILON: float = 0.005 - -var _player: Player -var _hotbar: PlayerHotbar -var _bag: PlayerBag -var _home_state: PlayerHomeState -var _network_home: NetworkHomeService -var _home_world: HomeWorldService -var _fishing_spot: FishingSpot -var _toolbar: HomeDecorToolbar -var _mode: PlayerHomeState.PlacementMode = PlayerHomeState.PlacementMode.GRID -var _selected_instance_id: String = "" -var _drag_instance_id: String = "" -var _drag_owner_fingerprint: String = "" -var _drag_pointer_offset: Vector3 = Vector3.ZERO -var _drag_original_position: Vector3 = Vector3.ZERO -var _drag_original_yaw: float = 0.0 -var _drag_target_position: Vector3 = Vector3.ZERO -var _drag_target_yaw: float = 0.0 -var _drag_target_valid: bool = false - - -func setup( - player: Player, - hotbar: PlayerHotbar, - bag: PlayerBag, - home_state: PlayerHomeState, - network_home: NetworkHomeService, - home_world: HomeWorldService, - fishing_spot: FishingSpot, - toolbar: HomeDecorToolbar, -) -> void: - _player = player - _hotbar = hotbar - _bag = bag - _home_state = home_state - _network_home = network_home - _home_world = home_world - _fishing_spot = fishing_spot - _toolbar = toolbar - if not _network_home.local_space_changed.is_connected( - _on_local_space_changed - ): - _network_home.local_space_changed.connect(_on_local_space_changed) - if not _network_home.local_manifest_rejected.is_connected( - _on_local_manifest_rejected - ): - _network_home.local_manifest_rejected.connect( - _on_local_manifest_rejected - ) - if not _home_state.changed.is_connected(_on_home_changed): - _home_state.changed.connect(_on_home_changed) - if not _toolbar.placement_mode_requested.is_connected( - _on_placement_mode_requested - ): - _toolbar.placement_mode_requested.connect( - _on_placement_mode_requested - ) - _toolbar.rotate_requested.connect(_rotate_selected) - _toolbar.store_requested.connect(_store_selected) - _toolbar.cancel_requested.connect(_clear_selection) - _toolbar.set_mode(_mode) - _refresh_toolbar() - - -func begin_decorating() -> void: - _refresh_toolbar() - if _toolbar.visible: - _toolbar.report_status( - "use held decor to place it; click or drag placed decor" - ) - - -func _input(event: InputEvent) -> void: - if _drag_instance_id.is_empty(): - return - var pointer_motion := event as InputEventMouseMotion - if pointer_motion != null: - _update_drag(pointer_motion.position) - get_viewport().set_input_as_handled() - return - var pointer_button := event as InputEventMouseButton - if ( - pointer_button != null - and pointer_button.button_index == MOUSE_BUTTON_LEFT - and not pointer_button.pressed - ): - # A gameplay menu can take ownership between the press and release. Do - # not let that release finalize decor behind the menu; preserve the - # original transform instead. - if _can_decorate(): - _finish_drag() - else: - _cancel_drag() - get_viewport().set_input_as_handled() - - -func _unhandled_input(event: InputEvent) -> void: - var pointer_button := event as InputEventMouseButton - if ( - pointer_button != null - and pointer_button.button_index == MOUSE_BUTTON_LEFT - ): - if not pointer_button.pressed or not _can_decorate(): - return - if _begin_drag(pointer_button.position): - get_viewport().set_input_as_handled() - return - var pointer_decor_id: StringName = _get_selected_decor_id() - if ( - not pointer_decor_id.is_empty() - and _bag.get_quantity(pointer_decor_id) > 0 - ): - _place_carried_decor(pointer_decor_id) - get_viewport().set_input_as_handled() - return - if not _can_decorate() or not event.is_action_pressed("fish_primary"): - return - if event is InputEventKey and event.echo: - return - var decor_id: StringName = _get_selected_decor_id() - if not decor_id.is_empty() and _bag.get_quantity(decor_id) > 0: - _place_carried_decor(decor_id) - get_viewport().set_input_as_handled() - - -func _process(delta: float) -> void: - if _toolbar != null and _toolbar.visible: - _toolbar.set_interactive(_can_decorate()) - if _drag_instance_id.is_empty(): - return - # Menus and other gameplay input handoffs must cancel an active drag before - # evaluating a held/released pointer. This prevents a same-frame TAB press - # followed by left-button release from committing a move behind the UI. - if not _can_decorate(): - _cancel_drag() - return - if not Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT): - _finish_drag() - return - if not _drag_target_valid: - return - var current: Dictionary = _home_world.get_decor_preview_transform( - _drag_owner_fingerprint, _drag_instance_id - ) - if current.is_empty(): - _cancel_drag() - return - var current_position: Vector3 = current["position"] - var current_yaw: float = float(current["yaw"]) - var blend: float = 1.0 - exp(-DRAG_RESPONSE * delta) - _home_world.set_decor_preview_transform( - _drag_owner_fingerprint, - _drag_instance_id, - current_position.lerp(_drag_target_position, blend), - lerp_angle(current_yaw, _drag_target_yaw, blend), - ) - - -func _begin_drag(screen_position: Vector2) -> bool: - if _network_home.has_pending_local_decor_mutation(): - _toolbar.report_status("waiting for the previous decor update") - return false - var owner_fingerprint: String = ( - _network_home.get_local_home_owner_fingerprint() - ) - var camera: Camera3D = _player.get_active_gameplay_camera() - var clicked_instance: String = _home_world.find_decor_instance_at_screen( - owner_fingerprint, camera, screen_position - ) - if clicked_instance.is_empty(): - return false - var placement: Dictionary = _home_state.get_placement(clicked_instance) - if placement.is_empty(): - return false - var original_position: Vector3 = _placement_position(placement) - if not original_position.is_finite(): - return false - if not _home_world.set_decor_manipulation_active( - owner_fingerprint, clicked_instance, true - ): - return false - var pointer_position: Vector3 = _home_world.get_floor_position_from_screen( - owner_fingerprint, camera, screen_position - ) - _drag_instance_id = clicked_instance - _drag_owner_fingerprint = owner_fingerprint - _drag_original_position = original_position - _drag_original_yaw = float(placement.get("yaw", 0.0)) - _drag_target_position = original_position - _drag_target_yaw = _drag_original_yaw - _drag_target_valid = true - _drag_pointer_offset = ( - original_position - pointer_position - if pointer_position.is_finite() - else Vector3.ZERO - ) - _drag_pointer_offset.y = 0.0 - _select_instance(clicked_instance) - _toolbar.report_status("drag decor, then release to place it") - return true - - -func _update_drag(screen_position: Vector2) -> void: - if not _can_decorate(): - _cancel_drag() - return - var camera: Camera3D = _player.get_active_gameplay_camera() - var pointer_position: Vector3 = _home_world.get_floor_position_from_screen( - _drag_owner_fingerprint, camera, screen_position - ) - if not pointer_position.is_finite(): - # Keep the most recent valid target when the pointer briefly leaves the - # RV floor. Releasing there should place at that target, not throw the - # decor all the way back to where the drag began. - _toolbar.report_status("keep the pointer over the RV floor") - return - var placement: Dictionary = _home_state.get_placement(_drag_instance_id) - if placement.is_empty(): - _clear_selection() - return - var candidate: Vector3 = pointer_position + _drag_pointer_offset - candidate.y = 0.0 - var normalized: Dictionary = _network_home.get_valid_local_decor_transform( - _drag_instance_id, - candidate, - float(placement.get("yaw", _drag_original_yaw)), - _mode, - ) - if normalized.is_empty(): - # A densely furnished area may have no nearby solution. Preserve the - # last valid preview so the interaction remains stable while the player - # moves the pointer toward open space. - _toolbar.report_status("holding at the nearest available position") - return - _drag_target_position = normalized["position"] - _drag_target_yaw = float(normalized["yaw"]) - _drag_target_valid = true - _toolbar.report_status("release to place decor") - - -func _finish_drag() -> void: - var instance_id: String = _drag_instance_id - var owner_fingerprint: String = _drag_owner_fingerprint - var original_position: Vector3 = _drag_original_position - var original_yaw: float = _drag_original_yaw - var target_position: Vector3 = _drag_target_position - var target_yaw: float = _drag_target_yaw - var target_valid: bool = _drag_target_valid - var placement: Dictionary = _home_state.get_placement(instance_id) - var decor_id := StringName(str(placement.get("decor_id", ""))) - if ( - not target_valid - or decor_id.is_empty() - or not _home_world.is_decor_placement_clear_of_players( - owner_fingerprint, decor_id, target_position, target_yaw - ) - ): - _home_world.set_decor_preview_transform( - owner_fingerprint, - instance_id, - original_position, - original_yaw, - ) - _home_world.set_decor_manipulation_active( - owner_fingerprint, instance_id, false - ) - _reset_drag_state() - _toolbar.report_status( - "a player is in the way" - if target_valid - else "that space is not available" - ) - return - _home_world.set_decor_preview_transform( - owner_fingerprint, instance_id, target_position, target_yaw - ) - if ( - original_position.distance_to(target_position) - <= DRAG_POSITION_EPSILON - and is_zero_approx(angle_difference(original_yaw, target_yaw)) - ): - _home_world.set_decor_manipulation_active( - owner_fingerprint, instance_id, false - ) - _reset_drag_state() - _select_instance(instance_id) - return - if _network_home.update_local_decor( - instance_id, target_position, target_yaw, _mode - ): - _home_world.set_decor_manipulation_active( - owner_fingerprint, instance_id, false - ) - _reset_drag_state() - _toolbar.report_status("decor moved") - return - _home_world.set_decor_preview_transform( - owner_fingerprint, - instance_id, - original_position, - original_yaw, - ) - _home_world.set_decor_manipulation_active( - owner_fingerprint, instance_id, false - ) - _reset_drag_state() - _toolbar.report_status("that space is not available") - - -func _cancel_drag() -> void: - if _drag_instance_id.is_empty(): - return - _home_world.set_decor_preview_transform( - _drag_owner_fingerprint, - _drag_instance_id, - _drag_original_position, - _drag_original_yaw, - ) - _home_world.set_decor_manipulation_active( - _drag_owner_fingerprint, _drag_instance_id, false - ) - _reset_drag_state() - - -func _reset_drag_state() -> void: - _drag_instance_id = "" - _drag_owner_fingerprint = "" - _drag_pointer_offset = Vector3.ZERO - _drag_original_position = Vector3.ZERO - _drag_original_yaw = 0.0 - _drag_target_position = Vector3.ZERO - _drag_target_yaw = 0.0 - _drag_target_valid = false - - -static func _placement_position(placement: Dictionary) -> Vector3: - if placement.is_empty(): - return Vector3.INF - var values: Array = placement.get("position", []) - if values.size() != 3: - return Vector3.INF - return Vector3( - float(values[0]), float(values[1]), float(values[2]) - ) - - -func _place_carried_decor(decor_id: StringName) -> void: - if _network_home.has_pending_local_decor_mutation(): - _toolbar.report_status("waiting for the previous decor update") - return - var owner_fingerprint: String = ( - _network_home.get_local_home_owner_fingerprint() - ) - # RV transitions keep the gameplay root axis-aligned so its transform can be - # synchronized independently from the presentation. Use the visual facing - # direction instead; otherwise carried decor is always placed along world -Z - # instead of in front of the character the player sees. - var forward: Vector3 = _player.get_facing_direction() - var global_position: Vector3 = _player.global_position + forward * 1.45 - var local_position: Vector3 = _home_world.interior_global_to_local( - owner_fingerprint, global_position - ) - var placement_yaw: float = atan2(-forward.x, -forward.z) - var instance_id: String = _network_home.place_local_decor( - decor_id, local_position, placement_yaw, _mode - ) - if instance_id.is_empty(): - _toolbar.report_status("make room in front of you to place this decor") - return - # A local host can reject its own optimistic manifest synchronously. Do not - # claim success after that rollback or leave the player looking for decor that - # was never accepted into the room. - if _home_state.get_placement(instance_id).is_empty(): - _toolbar.report_status("decor placement was not accepted") - return - _select_instance(instance_id) - _toolbar.report_status("decor placed") - - -func _select_instance(instance_id: String) -> void: - var placement: Dictionary = _home_state.get_placement(instance_id) - if placement.is_empty(): - _clear_selection() - return - _selected_instance_id = instance_id - var decor_id := StringName(str(placement.get("decor_id", ""))) - _toolbar.set_selection( - instance_id, DecorCatalogType.get_display_name(decor_id) - ) - - -func _rotate_selected() -> void: - if not _can_decorate() or _selected_instance_id.is_empty(): - return - if _network_home.has_pending_local_decor_mutation(): - _toolbar.report_status("waiting for the previous decor update") - return - var placement: Dictionary = _home_state.get_placement( - _selected_instance_id - ) - if placement.is_empty(): - _clear_selection() - return - var values: Array = placement.get("position", []) - if values.size() != 3: - return - var position := Vector3( - float(values[0]), float(values[1]), float(values[2]) - ) - if _network_home.update_local_decor( - _selected_instance_id, - position, - float(placement.get("yaw", 0.0)) + PI * 0.5, - _mode, - ): - _toolbar.report_status("decor rotated") - else: - _toolbar.report_status("not enough room to rotate here") - - -func _store_selected() -> void: - if _selected_instance_id.is_empty(): - return - if _network_home.has_pending_local_decor_mutation(): - _toolbar.report_status("waiting for the previous decor update") - return - if _network_home.remove_local_decor(_selected_instance_id): - _clear_selection() - _toolbar.report_status("decor packed into storage") - else: - _toolbar.report_status("inventory and storage are full") - - -func _clear_selection() -> void: - _cancel_drag() - _selected_instance_id = "" - if _toolbar != null: - _toolbar.set_selection("") - - -func _on_placement_mode_requested(mode: int) -> void: - _mode = mode as PlayerHomeState.PlacementMode - - -func _on_local_space_changed( - _space_id: StringName, - _owner_fingerprint: String, -) -> void: - _clear_selection() - _refresh_toolbar() - - -func _on_local_manifest_rejected(message: String) -> void: - _clear_selection() - if _toolbar != null and _toolbar.visible: - _toolbar.report_status(message) - - -func _on_home_changed() -> void: - if ( - not _selected_instance_id.is_empty() - and _home_state.get_placement(_selected_instance_id).is_empty() - ): - _clear_selection() - _refresh_toolbar() - - -func _refresh_toolbar() -> void: - if _toolbar == null: - return - var inside_home: bool = _is_inside_home_space() - _toolbar.set_active(inside_home) - _toolbar.set_interactive(_can_decorate()) - if not _toolbar.visible: - _clear_selection() - elif not _can_decorate(): - _toolbar.report_status("decor tools pause while another menu is open") - - -func _is_inside_home_space() -> bool: - return ( - _network_home != null - and String(_network_home.get_local_space()).begins_with("rv:") - ) - - -func _can_decorate() -> bool: - return ( - _player != null - and _network_home != null - and _network_home.can_local_decorate() - and _fishing_spot != null - and _fishing_spot.can_open_fishing_shop() - and _player.is_movement_enabled() - ) - - -func _get_selected_decor_id() -> StringName: - if ( - _hotbar == null - or _hotbar.get_selected_assignment_kind() - != PlayerHotbar.AssignmentKind.ITEM - ): - return StringName() - var item_id: StringName = _hotbar.get_selected_item_id() - return item_id if DecorCatalogType.has_product(item_id) else StringName() diff --git a/homes/home_decor_controller.gd.uid b/homes/home_decor_controller.gd.uid deleted file mode 100644 index 1778125..0000000 --- a/homes/home_decor_controller.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://b5j0mqcvhmi54 diff --git a/homes/home_world_service.gd b/homes/home_world_service.gd deleted file mode 100644 index 4ec0645..0000000 --- a/homes/home_world_service.gd +++ /dev/null @@ -1,1504 +0,0 @@ -class_name HomeWorldService -extends Node3D - -const NetworkHomeProtocolType = preload( - "res://network/network_home_protocol.gd" -) -const PlayerHomeStateType = preload("res://homes/player_home_state.gd") -const DecorCatalogType = preload("res://homes/decor_catalog.gd") -const STARTER_MOTORCOACH_SCENE: PackedScene = preload( - "res://homes/assets/starter_motorcoach.glb" -) -const TENT_INTERIOR_SCENE: PackedScene = preload( - "res://homes/assets/tent_interior.glb" -) -const STARTER_RV_INTERIOR_SCENE: PackedScene = preload( - "res://homes/assets/starter_rv_interior.glb" -) -const HOME_PROMPT_FONT: Font = preload("res://ui/fonts/Tuffy_Bold.otf") - -const RV_EXTERIOR_BODY_SIZE := Vector3(11.2, 5.0, 4.7) -const RV_EXTERIOR_BODY_CENTER_Y: float = 2.7 -const RV_EXTERIOR_DOOR_LOCAL := Vector3(-0.4, 1.7, 2.96) -const RV_EXTERIOR_SPAWN_LOCAL := Vector3(-0.4, 0.25, 3.95) -const TENT_EXTERIOR_BODY_SIZE := Vector3(4.6, 3.0, 4.6) -const TENT_EXTERIOR_BODY_CENTER_Y: float = 1.5 -const TENT_EXTERIOR_DOOR_LOCAL := Vector3(0.0, 1.0, 2.3) -const TENT_EXTERIOR_SPAWN_LOCAL := Vector3(0.0, 0.25, 3.3) -const RV_EXTERIOR_PROMPT_LOCAL := Vector3(-0.4, 3.72, 3.02) -const TENT_EXTERIOR_PROMPT_LOCAL := Vector3(0.0, 2.48, 2.36) -const HOME_PROMPT_SIZE := Vector2(0.95, 0.28) -const HOME_PROMPT_CORNER_RADIUS: float = 0.08 -const HOME_PROMPT_TEXT_PIXEL_SIZE: float = 0.0045 -const HOME_PROMPT_TEXT_COLOR := Color("c3dfe6") -const HOME_PROMPT_BACKGROUND_COLOR := Color("0a2d3a") -const EXTERIOR_INTERACTION_DISTANCE: float = 2.7 -const INTERIOR_EXIT_DISTANCE: float = 2.1 -const INTERIOR_ORIGIN := Vector3(1000.0, 300.0, 1000.0) -const INTERIOR_SPACING: float = 14.0 -const INTERIOR_MAX_SPAWN_SLOTS: int = 64 -const TENT_INTERIOR_SIZE := Vector2(4.0, 4.0) -const STARTER_RV_INTERIOR_SIZE := Vector2(4.0, 6.0) -const MIN_EXTERIOR_TRIANGLE_AREA: float = 1.0 -const MIN_EXTERIOR_SEPARATION: float = 14.6 -const EXTERIOR_FOOTPRINT_HALF_EXTENTS := Vector2(6.65, 3.73) -const EXTERIOR_SURFACE_INDEX_CELL_SIZE: float = 5.0 -const EXTERIOR_MAX_SURFACE_HEIGHT_DELTA: float = 0.24 -const EXTERIOR_CLEARANCE_HEIGHT: float = 5.5 -const WORLD_GEOMETRY_COLLISION_LAYER: int = 1 -const DECOR_SELECTION_COLLISION_LAYER: int = 1 << 8 -# Includes the player's 0.45 m capsule radius plus enough movement margin for -# a full low-tick-rate frame before a newly solid placement can be reached. -const PLAYER_DECOR_CLEARANCE_RADIUS: float = 0.8 -const BASIC_CUBE_SIZE := Vector3(1.0, 0.8, 0.8) - -var _world: TestWorld -var _spawn_service: PlayerSpawnService -var _session: NetworkSession -var _dedicated_runtime: bool = false -var _exteriors_root: Node3D -var _interiors_root: Node3D -var _presentations_by_fingerprint: Dictionary[String, Dictionary] = {} -var _local_space: StringName = NetworkHomeProtocolType.WORLD_SPACE -var _decor_under_manipulation: Dictionary[String, bool] = {} -var _pending_solid_decor: Dictionary[String, Dictionary] = {} - - -func setup( - world: TestWorld, - spawn_service: PlayerSpawnService, - session: NetworkSession, - dedicated_runtime: bool, -) -> void: - _world = world - _spawn_service = spawn_service - _session = session - _dedicated_runtime = dedicated_runtime - _ensure_roots() - set_process(true) - - -func is_world_ready() -> bool: - return _world != null and _world.is_world_ready() - - -func clear_presentations() -> void: - _presentations_by_fingerprint.clear() - _decor_under_manipulation.clear() - _pending_solid_decor.clear() - if is_instance_valid(_exteriors_root): - for child: Node in _exteriors_root.get_children(): - child.queue_free() - if is_instance_valid(_interiors_root): - for child: Node in _interiors_root.get_children(): - child.queue_free() - - -func remove_presentation(owner_fingerprint: String) -> void: - var presentation: Dictionary = _presentations_by_fingerprint.get( - owner_fingerprint, {} - ) - if presentation.is_empty(): - return - _clear_decor_collision_tracking(owner_fingerprint) - _free_presentation_nodes(presentation) - _presentations_by_fingerprint.erase(owner_fingerprint) - - -func apply_manifest(data: Dictionary) -> bool: - if ( - not is_world_ready() - or not NetworkHomeProtocolType.validate_manifest_broadcast(data) - ): - return false - _ensure_roots() - var fingerprint: String = str(data["owner_fingerprint"]) - var prior: Dictionary = _presentations_by_fingerprint.get(fingerprint, {}) - var prior_instance_ids: Dictionary[String, bool] = {} - if not prior.is_empty(): - var prior_home: Dictionary = prior.get("home", {}) - for value: Variant in prior_home.get("placements", []): - if typeof(value) == TYPE_DICTIONARY: - prior_instance_ids[str( - (value as Dictionary).get("instance_id", "") - )] = true - if not prior.is_empty(): - _clear_decor_collision_tracking(fingerprint) - _free_presentation_nodes(prior) - var exterior_transform := NetworkHomeProtocolType.array_to_transform( - data["exterior_transform"] - ) - var interior_index: int = int(data["interior_index"]) - var home_data: Dictionary = PlayerHomeStateType.sanitize_save_data( - data["home"] - ) - var exterior := _build_exterior( - fingerprint, exterior_transform, home_data - ) - var interior := _build_interior(fingerprint, interior_index, home_data) - var presentation: Dictionary = { - "owner_peer_id": int(data["owner_peer_id"]), - "fingerprint": fingerprint, - "home": home_data, - "exterior_transform": exterior_transform, - "interior_index": interior_index, - "exterior": exterior, - "interior": interior, - } - _presentations_by_fingerprint[fingerprint] = presentation - _refresh_local_visibility() - if not prior.is_empty(): - for value: Variant in home_data.get("placements", []): - if typeof(value) != TYPE_DICTIONARY: - continue - var instance_id: String = str( - (value as Dictionary).get("instance_id", "") - ) - if not instance_id.is_empty() and not prior_instance_ids.has( - instance_id - ): - call_deferred( - "_spawn_decor_poof", fingerprint, instance_id - ) - return true - - -func choose_exterior_transform( - owner_peer_id: int, - reserved_transforms: Array[Transform3D], -) -> Transform3D: - var spawn_transform: Transform3D = ( - _world.get_player_spawn_transform() - if _world != null else Transform3D.IDENTITY - ) - var triangles: Array[PackedVector3Array] = ( - _world.get_spawn_surface_triangles( - [&"grass_lite", &"grass", &"sand"], -0.5 - ) - if _world != null else [] - ) - if not triangles.is_empty(): - var surface_index: Dictionary = _build_surface_index(triangles) - var strict_result: Transform3D = _find_exterior_transform( - owner_peer_id, - triangles, - surface_index, - spawn_transform, - reserved_transforms, - true, - true, - ) - if strict_result != Transform3D.IDENTITY: - return strict_result - var relaxed_result: Transform3D = _find_exterior_transform( - owner_peer_id, - triangles, - surface_index, - spawn_transform, - reserved_transforms, - false, - true, - ) - if relaxed_result != Transform3D.IDENTITY: - return relaxed_result - var dry_result: Transform3D = _find_exterior_transform( - owner_peer_id, - triangles, - surface_index, - spawn_transform, - reserved_transforms, - false, - false, - ) - if dry_result != Transform3D.IDENTITY: - push_warning( - "Home exterior used a dry fallback with obstructed clearance." - ) - return dry_result - var emergency_result: Transform3D = _find_exterior_transform( - owner_peer_id, - triangles, - surface_index, - spawn_transform, - [], - false, - false, - ) - if emergency_result != Transform3D.IDENTITY: - push_warning( - "Home exterior used an accessible emergency placement." - ) - return emergency_result - push_error("No dry, level home exterior footprint was available.") - # The authored spawn is the only universally reachable point. Never strand - # a home on an unchecked elevation when malformed terrain offers no site. - return spawn_transform - - -func _find_exterior_transform( - owner_peer_id: int, - triangles: Array[PackedVector3Array], - surface_index: Dictionary, - spawn_transform: Transform3D, - reserved_transforms: Array[Transform3D], - require_spawn_clearance: bool, - require_obstacle_clearance: bool, -) -> Transform3D: - var triangle_count: int = triangles.size() - var start: int = posmod(owner_peer_id * 37, triangle_count) - var step: int = _coprime_step(triangle_count, 29) - for offset: int in triangle_count: - var triangle: PackedVector3Array = triangles[ - (start + offset * step) % triangle_count - ] - if not _is_exterior_candidate_triangle(triangle): - continue - var position: Vector3 = ( - triangle[0] + triangle[1] + triangle[2] - ) / 3.0 - if ( - require_spawn_clearance - and position.distance_to(spawn_transform.origin) < 9.0 - ): - continue - if _too_close_to_reserved(position, reserved_transforms): - continue - var yaw: float = float(posmod(owner_peer_id + offset, 4)) * PI * 0.5 - var grounded_position: Vector3 = _ground_exterior_footprint( - position, yaw, triangles, surface_index - ) - if not grounded_position.is_finite(): - continue - if ( - _world != null - and not _world.is_home_exterior_position_accessible( - grounded_position - ) - ): - continue - if ( - require_obstacle_clearance - and not _exterior_volume_is_clear(grounded_position, yaw) - ): - continue - return Transform3D(Basis(Vector3.UP, yaw), grounded_position) - return Transform3D.IDENTITY - - -func _is_exterior_candidate_triangle(triangle: PackedVector3Array) -> bool: - if triangle.size() != 3: - return false - var normal: Vector3 = (triangle[1] - triangle[0]).cross( - triangle[2] - triangle[0] - ) - var area: float = normal.length() * 0.5 - return ( - area >= MIN_EXTERIOR_TRIANGLE_AREA - and absf(normal.normalized().y) >= 0.94 - ) - - -func _ground_exterior_footprint( - position: Vector3, - yaw: float, - triangles: Array[PackedVector3Array], - surface_index: Dictionary, -) -> Vector3: - var heights: Array[float] = [] - for local_sample: Vector2 in _exterior_footprint_samples(): - var rotated_sample: Vector3 = Vector3( - local_sample.x, 0.0, local_sample.y - ).rotated(Vector3.UP, yaw) - var sample := Vector2( - position.x + rotated_sample.x, - position.z + rotated_sample.z, - ) - var height: float = _surface_height_at( - sample, position.y, triangles, surface_index - ) - if not is_finite(height): - return Vector3.INF - heights.append(height) - var minimum_height: float = heights.min() - var maximum_height: float = heights.max() - if maximum_height - minimum_height > EXTERIOR_MAX_SURFACE_HEIGHT_DELTA: - return Vector3.INF - return Vector3(position.x, maximum_height, position.z) - - -func _exterior_footprint_samples() -> Array[Vector2]: - var samples: Array[Vector2] = [] - for x_factor: float in [-1.0, -0.5, 0.0, 0.5, 1.0]: - for z_factor: float in [-1.0, 0.0, 1.0]: - samples.append(Vector2( - EXTERIOR_FOOTPRINT_HALF_EXTENTS.x * x_factor, - EXTERIOR_FOOTPRINT_HALF_EXTENTS.y * z_factor, - )) - return samples - - -func _build_surface_index( - triangles: Array[PackedVector3Array], -) -> Dictionary: - var result: Dictionary = {} - for triangle_index: int in triangles.size(): - var triangle: PackedVector3Array = triangles[triangle_index] - if triangle.size() != 3: - continue - var minimum_x: float = minf( - triangle[0].x, minf(triangle[1].x, triangle[2].x) - ) - var maximum_x: float = maxf( - triangle[0].x, maxf(triangle[1].x, triangle[2].x) - ) - var minimum_z: float = minf( - triangle[0].z, minf(triangle[1].z, triangle[2].z) - ) - var maximum_z: float = maxf( - triangle[0].z, maxf(triangle[1].z, triangle[2].z) - ) - var minimum_cell := Vector2i( - floori(minimum_x / EXTERIOR_SURFACE_INDEX_CELL_SIZE), - floori(minimum_z / EXTERIOR_SURFACE_INDEX_CELL_SIZE), - ) - var maximum_cell := Vector2i( - floori(maximum_x / EXTERIOR_SURFACE_INDEX_CELL_SIZE), - floori(maximum_z / EXTERIOR_SURFACE_INDEX_CELL_SIZE), - ) - for cell_x: int in range(minimum_cell.x, maximum_cell.x + 1): - for cell_y: int in range(minimum_cell.y, maximum_cell.y + 1): - var cell := Vector2i(cell_x, cell_y) - var bucket: Array = result.get(cell, []) - bucket.append(triangle_index) - result[cell] = bucket - return result - - -func _surface_height_at( - point: Vector2, - preferred_height: float, - triangles: Array[PackedVector3Array], - surface_index: Dictionary, -) -> float: - var cell := Vector2i( - floori(point.x / EXTERIOR_SURFACE_INDEX_CELL_SIZE), - floori(point.y / EXTERIOR_SURFACE_INDEX_CELL_SIZE), - ) - var best_height: float = INF - var best_delta: float = INF - for value: Variant in surface_index.get(cell, []): - var triangle: PackedVector3Array = triangles[int(value)] - var height: float = _triangle_height_at(point, triangle) - if not is_finite(height): - continue - var delta: float = absf(height - preferred_height) - if delta < best_delta: - best_delta = delta - best_height = height - return best_height - - -func _triangle_height_at( - point: Vector2, - triangle: PackedVector3Array, -) -> float: - var a := Vector2(triangle[0].x, triangle[0].z) - var b := Vector2(triangle[1].x, triangle[1].z) - var c := Vector2(triangle[2].x, triangle[2].z) - var denominator: float = ( - (b.y - c.y) * (a.x - c.x) - + (c.x - b.x) * (a.y - c.y) - ) - if absf(denominator) <= 0.000001: - return INF - var weight_a: float = ( - (b.y - c.y) * (point.x - c.x) - + (c.x - b.x) * (point.y - c.y) - ) / denominator - var weight_b: float = ( - (c.y - a.y) * (point.x - c.x) - + (a.x - c.x) * (point.y - c.y) - ) / denominator - var weight_c: float = 1.0 - weight_a - weight_b - const EDGE_EPSILON: float = 0.001 - if ( - weight_a < -EDGE_EPSILON - or weight_b < -EDGE_EPSILON - or weight_c < -EDGE_EPSILON - ): - return INF - return ( - weight_a * triangle[0].y - + weight_b * triangle[1].y - + weight_c * triangle[2].y - ) - - -func _exterior_volume_is_clear(position: Vector3, yaw: float) -> bool: - if not is_inside_tree() or get_world_3d() == null: - return true - var shape := BoxShape3D.new() - shape.size = Vector3( - EXTERIOR_FOOTPRINT_HALF_EXTENTS.x * 2.0, - EXTERIOR_CLEARANCE_HEIGHT, - EXTERIOR_FOOTPRINT_HALF_EXTENTS.y * 2.0, - ) - var query := PhysicsShapeQueryParameters3D.new() - query.shape = shape - query.transform = Transform3D( - Basis(Vector3.UP, yaw), - position + Vector3.UP * (EXTERIOR_CLEARANCE_HEIGHT * 0.5 + 0.2), - ) - query.collision_mask = 1 - query.collide_with_areas = false - query.collide_with_bodies = true - return get_world_3d().direct_space_state.intersect_shape(query, 1).is_empty() - - -func _coprime_step(value: int, preferred_step: int) -> int: - var step: int = mini(preferred_step, maxi(value - 1, 1)) - while step > 1 and _greatest_common_divisor(step, value) != 1: - step -= 1 - return step - - -func _greatest_common_divisor(first: int, second: int) -> int: - var a: int = absi(first) - var b: int = absi(second) - while b != 0: - var remainder: int = a % b - a = b - b = remainder - return a - - -func get_exterior_transform(owner_fingerprint: String) -> Transform3D: - var presentation: Dictionary = _presentations_by_fingerprint.get( - owner_fingerprint, {} - ) - return presentation.get("exterior_transform", Transform3D.IDENTITY) - - -func get_exterior_prompt_position(owner_fingerprint: String) -> Vector3: - return get_exterior_transform(owner_fingerprint) * ( - _exterior_prompt_local(owner_fingerprint) - ) - - -func set_exterior_prompt_visible( - owner_fingerprint: String, - requested_visible: bool, - action_text: String = "enter home", -) -> void: - for fingerprint: String in _presentations_by_fingerprint: - var presentation: Dictionary = _presentations_by_fingerprint[fingerprint] - var exterior: Node3D = presentation.get("exterior") - if not is_instance_valid(exterior): - continue - var prompt := exterior.get_node_or_null("DoorPrompt") as Node3D - if prompt == null: - continue - prompt.visible = ( - requested_visible - and fingerprint == owner_fingerprint - and not _dedicated_runtime - ) - if prompt.visible: - var label := prompt.get_node_or_null("Message") as Label3D - if label != null: - label.text = action_text - - -func get_exterior_spawn_transform(owner_fingerprint: String) -> Transform3D: - var exterior_transform: Transform3D = get_exterior_transform( - owner_fingerprint - ) - # Exterior local +Z leads away from the doorway. Player visuals face local - # -Z, so turn the authoritative spawn basis around to start the day facing - # outward instead of looking back into the home. - var outward_spawn_basis: Basis = ( - exterior_transform.basis * Basis(Vector3.UP, PI) - ) - return Transform3D( - outward_spawn_basis, - exterior_transform * _exterior_spawn_local(owner_fingerprint), - ) - - -func get_interior_spawn_transform( - owner_fingerprint: String, - visitor_offset: int = 0, -) -> Transform3D: - # `visitor_offset` is allocated by the host as a compact room-local slot. - # Keep it bounded as a last line of defense if a future caller accidentally - # supplies an engine peer ID instead of a slot. - var visitor_slot: int = posmod(visitor_offset, INTERIOR_MAX_SPAWN_SLOTS) - var exit_direction: Vector3 = get_interior_exit_direction(owner_fingerprint) - var lane_offset: float = ( - float(posmod(visitor_slot, 4)) - 1.5 - ) * 0.28 - var row_offset: float = ( - float(floori(float(visitor_slot) / 4.0)) * 0.28 - ) - # Spawn just through the authored doorway. Local presentation then walks the - # avatar farther into the room before returning movement control. - var spawn_origin: Vector3 = ( - get_interior_exit_position(owner_fingerprint) - + exit_direction * 0.42 - - exit_direction * row_offset - + Vector3(0.0, 0.0, lane_offset) - ) - spawn_origin.y = get_interior_anchor(owner_fingerprint).y - return Transform3D(Basis.IDENTITY, spawn_origin) - - -func get_interior_anchor(owner_fingerprint: String) -> Vector3: - var presentation: Dictionary = _presentations_by_fingerprint.get( - owner_fingerprint, {} - ) - var index: int = int(presentation.get("interior_index", 0)) - return INTERIOR_ORIGIN + Vector3(float(index) * INTERIOR_SPACING, 0.0, 0.0) - - -func is_avatar_near_exterior(avatar: Player, owner_fingerprint: String) -> bool: - if avatar == null or not _presentations_by_fingerprint.has(owner_fingerprint): - return false - var transform: Transform3D = get_exterior_transform(owner_fingerprint) - var door_position: Vector3 = ( - transform * _exterior_door_local(owner_fingerprint) - ) - return avatar.global_position.distance_to(door_position) <= ( - EXTERIOR_INTERACTION_DISTANCE - ) - - -func is_avatar_near_interior_exit( - avatar: Player, - owner_fingerprint: String, -) -> bool: - if avatar == null: - return false - return avatar.global_position.distance_to( - get_interior_exit_position(owner_fingerprint) - ) <= INTERIOR_EXIT_DISTANCE - - -func has_avatar_crossed_interior_exit_threshold( - avatar: Player, - owner_fingerprint: String, -) -> bool: - if avatar == null: - return false - var local_position: Vector3 = interior_global_to_local( - owner_fingerprint, - avatar.global_position, - ) - var threshold_position: Vector3 = interior_global_to_local( - owner_fingerprint, - get_interior_exit_position(owner_fingerprint), - ) - var exit_direction: Vector3 = get_interior_exit_direction( - owner_fingerprint - ) - return ( - (local_position - threshold_position).dot(exit_direction) >= 0.0 - and absf(local_position.z - threshold_position.z) <= 0.85 - and local_position.y >= -0.25 - and local_position.y <= 2.25 - ) - - -func get_interior_exit_direction(owner_fingerprint: String) -> Vector3: - return ( - Vector3.LEFT - if _home_tier(owner_fingerprint) - >= PlayerHomeStateType.STARTER_RV_TIER - else Vector3.RIGHT - ) - - -func get_interior_exit_position(owner_fingerprint: String) -> Vector3: - var tier: int = _home_tier(owner_fingerprint) - return get_interior_anchor(owner_fingerprint) + ( - Vector3(-STARTER_RV_INTERIOR_SIZE.x * 0.5 + 0.6, 0.35, 0.0) - if tier >= PlayerHomeStateType.STARTER_RV_TIER - else Vector3(TENT_INTERIOR_SIZE.x * 0.5 - 0.55, 0.35, 0.0) - ) - - -func get_interior_prompt_position(owner_fingerprint: String) -> Vector3: - return get_interior_exit_position(owner_fingerprint) + Vector3.UP * 1.2 - - -func interior_local_to_global( - owner_fingerprint: String, - local_position: Vector3, -) -> Vector3: - return get_interior_anchor(owner_fingerprint) + local_position - - -func interior_global_to_local( - owner_fingerprint: String, - global_position: Vector3, -) -> Vector3: - return global_position - get_interior_anchor(owner_fingerprint) - - -func get_floor_position_from_screen( - owner_fingerprint: String, - camera: Camera3D, - screen_position: Vector2, -) -> Vector3: - if camera == null or owner_fingerprint.is_empty(): - return Vector3.INF - var ray_origin: Vector3 = camera.project_ray_origin(screen_position) - var ray_direction: Vector3 = camera.project_ray_normal(screen_position) - if absf(ray_direction.y) <= 0.0001: - return Vector3.INF - var floor_y: float = get_interior_anchor(owner_fingerprint).y + 0.1 - var distance: float = (floor_y - ray_origin.y) / ray_direction.y - if distance <= 0.0: - return Vector3.INF - return interior_global_to_local( - owner_fingerprint, - ray_origin + ray_direction * distance, - ) - - -func find_decor_instance_at_screen( - owner_fingerprint: String, - camera: Camera3D, - screen_position: Vector2, -) -> String: - if camera == null or owner_fingerprint.is_empty(): - return "" - var ray_origin: Vector3 = camera.project_ray_origin(screen_position) - var ray_end: Vector3 = ray_origin + camera.project_ray_normal( - screen_position - ) * 50.0 - var query := PhysicsRayQueryParameters3D.create(ray_origin, ray_end) - query.collision_mask = DECOR_SELECTION_COLLISION_LAYER - query.collide_with_areas = false - var result: Dictionary = camera.get_world_3d().direct_space_state.intersect_ray( - query - ) - var collider: Object = result.get("collider") - if collider is Node and (collider as Node).has_meta(&"decor_instance_id"): - if str((collider as Node).get_meta(&"decor_owner_fingerprint")) == ( - owner_fingerprint - ): - return str((collider as Node).get_meta(&"decor_instance_id")) - return "" - - -func get_decor_preview_transform( - owner_fingerprint: String, - instance_id: String, -) -> Dictionary: - var decor: Node3D = _get_decor_presentation( - owner_fingerprint, instance_id - ) - if decor == null: - return {} - return { - "position": Vector3(decor.position.x, 0.0, decor.position.z), - "yaw": decor.rotation.y, - } - - -func set_decor_preview_transform( - owner_fingerprint: String, - instance_id: String, - position: Vector3, - yaw_radians: float, -) -> bool: - var decor: Node3D = _get_decor_presentation( - owner_fingerprint, instance_id - ) - if decor == null or not position.is_finite() or not is_finite(yaw_radians): - return false - decor.position = Vector3(position.x, 0.18, position.z) - decor.rotation.y = yaw_radians - return true - - -func set_decor_manipulation_active( - owner_fingerprint: String, - instance_id: String, - active: bool, -) -> bool: - var decor: Node3D = _get_decor_presentation( - owner_fingerprint, instance_id - ) - if decor == null: - return false - var body: StaticBody3D = decor.get_node_or_null( - "BasicCubeCollision" - ) as StaticBody3D - if body == null: - return false - var key: String = _decor_collision_key( - owner_fingerprint, instance_id - ) - if active: - _decor_under_manipulation[key] = true - _pending_solid_decor.erase(key) - body.collision_layer = DECOR_SELECTION_COLLISION_LAYER - return true - _decor_under_manipulation.erase(key) - _queue_decor_world_collision( - owner_fingerprint, - instance_id, - StringName(str(decor.get_meta(&"decor_id", ""))), - body, - ) - return true - - -func is_decor_placement_clear_of_players( - owner_fingerprint: String, - decor_id: StringName, - local_position: Vector3, - yaw_radians: float, -) -> bool: - if ( - owner_fingerprint.is_empty() - or not DecorCatalogType.has_product(decor_id) - or not local_position.is_finite() - or not is_finite(yaw_radians) - ): - return false - if _spawn_service == null: - return true - var global_center: Vector3 = interior_local_to_global( - owner_fingerprint, local_position - ) - var half_size: Vector2 = DecorCatalogType.get_footprint(decor_id) * 0.5 - for peer_id: int in _spawn_service.get_peer_ids(): - var avatar: Player = _spawn_service.get_avatar(peer_id) - if avatar == null or not is_instance_valid(avatar): - continue - var offset := Vector2( - avatar.global_position.x - global_center.x, - avatar.global_position.z - global_center.z, - ).rotated(-yaw_radians) - var nearest := Vector2( - clampf(offset.x, -half_size.x, half_size.x), - clampf(offset.y, -half_size.y, half_size.y), - ) - if offset.distance_squared_to(nearest) < ( - PLAYER_DECOR_CLEARANCE_RADIUS - * PLAYER_DECOR_CLEARANCE_RADIUS - ): - return false - return true - - -func _get_decor_presentation( - owner_fingerprint: String, - instance_id: String, -) -> Node3D: - if owner_fingerprint.is_empty() or instance_id.is_empty(): - return null - var presentation: Dictionary = _presentations_by_fingerprint.get( - owner_fingerprint, {} - ) - var interior: Node3D = presentation.get("interior") - if not is_instance_valid(interior): - return null - return interior.get_node_or_null( - "Decor/%s" % instance_id - ) as Node3D - - -func find_nearby_exterior_owner(avatar: Player) -> String: - if avatar == null: - return "" - var closest: String = "" - var closest_distance: float = EXTERIOR_INTERACTION_DISTANCE - for fingerprint: String in _presentations_by_fingerprint: - var transform: Transform3D = get_exterior_transform(fingerprint) - var distance: float = avatar.global_position.distance_to( - transform * _exterior_door_local(fingerprint) - ) - if distance <= closest_distance: - closest = fingerprint - closest_distance = distance - return closest - - -func _home_tier(owner_fingerprint: String) -> int: - var presentation: Dictionary = _presentations_by_fingerprint.get( - owner_fingerprint, {} - ) - var home_data: Dictionary = presentation.get("home", {}) - return int(home_data.get("tier", PlayerHomeStateType.STARTER_TIER)) - - -func _exterior_door_local(owner_fingerprint: String) -> Vector3: - return ( - RV_EXTERIOR_DOOR_LOCAL - if _home_tier(owner_fingerprint) - >= PlayerHomeStateType.STARTER_RV_TIER - else TENT_EXTERIOR_DOOR_LOCAL - ) - - -func _exterior_spawn_local(owner_fingerprint: String) -> Vector3: - return ( - RV_EXTERIOR_SPAWN_LOCAL - if _home_tier(owner_fingerprint) - >= PlayerHomeStateType.STARTER_RV_TIER - else TENT_EXTERIOR_SPAWN_LOCAL - ) - - -func _exterior_prompt_local(owner_fingerprint: String) -> Vector3: - return ( - RV_EXTERIOR_PROMPT_LOCAL - if _home_tier(owner_fingerprint) - >= PlayerHomeStateType.STARTER_RV_TIER - else TENT_EXTERIOR_PROMPT_LOCAL - ) - - -func set_local_space(space_id: StringName) -> void: - _local_space = space_id - _refresh_local_visibility() - - -func get_manifest(owner_fingerprint: String) -> Dictionary: - var presentation: Dictionary = _presentations_by_fingerprint.get( - owner_fingerprint, {} - ) - return (presentation.get("home", {}) as Dictionary).duplicate(true) - - -func _process(_delta: float) -> void: - _refresh_pending_decor_collisions() - if not _dedicated_runtime: - _refresh_nearest_wall() - - -func _queue_decor_world_collision( - owner_fingerprint: String, - instance_id: String, - decor_id: StringName, - body: StaticBody3D, -) -> void: - if ( - owner_fingerprint.is_empty() - or instance_id.is_empty() - or not DecorCatalogType.has_product(decor_id) - or body == null - ): - return - var key: String = _decor_collision_key( - owner_fingerprint, instance_id - ) - body.collision_layer = DECOR_SELECTION_COLLISION_LAYER - _pending_solid_decor[key] = { - "owner_fingerprint": owner_fingerprint, - "instance_id": instance_id, - "decor_id": decor_id, - "body": body, - } - - -func _refresh_pending_decor_collisions() -> void: - if _pending_solid_decor.is_empty(): - return - var keys: Array[String] = [] - keys.assign(_pending_solid_decor.keys()) - for key: String in keys: - if _decor_under_manipulation.has(key): - continue - var pending: Dictionary = _pending_solid_decor.get(key, {}) - var body: StaticBody3D = pending.get("body") as StaticBody3D - var owner_fingerprint: String = str( - pending.get("owner_fingerprint", "") - ) - var instance_id: String = str(pending.get("instance_id", "")) - var decor_id := StringName(str(pending.get("decor_id", ""))) - var decor: Node3D = _get_decor_presentation( - owner_fingerprint, instance_id - ) - if body == null or decor == null or not is_instance_valid(body): - _pending_solid_decor.erase(key) - continue - if not is_decor_placement_clear_of_players( - owner_fingerprint, - decor_id, - Vector3(decor.position.x, 0.0, decor.position.z), - decor.rotation.y, - ): - continue - body.collision_layer = ( - WORLD_GEOMETRY_COLLISION_LAYER - | DECOR_SELECTION_COLLISION_LAYER - ) - _pending_solid_decor.erase(key) - - -func _clear_decor_collision_tracking(owner_fingerprint: String) -> void: - var prefix: String = "%s/" % owner_fingerprint - for key: String in _decor_under_manipulation.keys(): - if key.begins_with(prefix): - _decor_under_manipulation.erase(key) - for key: String in _pending_solid_decor.keys(): - if key.begins_with(prefix): - _pending_solid_decor.erase(key) - - -static func _decor_collision_key( - owner_fingerprint: String, - instance_id: String, -) -> String: - return "%s/%s" % [owner_fingerprint, instance_id] - - -func _ensure_roots() -> void: - if not is_instance_valid(_exteriors_root): - _exteriors_root = Node3D.new() - _exteriors_root.name = "RVExteriors" - add_child(_exteriors_root) - if not is_instance_valid(_interiors_root): - _interiors_root = Node3D.new() - _interiors_root.name = "RVInteriors" - add_child(_interiors_root) - - -func _build_exterior( - fingerprint: String, - world_transform: Transform3D, - home_data: Dictionary, -) -> Node3D: - var root := Node3D.new() - root.name = "Home_%s" % fingerprint.left(8) - _exteriors_root.add_child(root) - root.global_transform = world_transform - var tier: int = int(home_data.get( - "tier", PlayerHomeStateType.STARTER_TIER - )) - if tier >= PlayerHomeStateType.STARTER_RV_TIER: - if not _dedicated_runtime: - var motorcoach: Node3D = ( - STARTER_MOTORCOACH_SCENE.instantiate() as Node3D - ) - if motorcoach != null: - motorcoach.name = "StarterMotorcoach" - root.add_child(motorcoach) - else: - push_error( - "The starter motorcoach exterior could not be instantiated." - ) - _add_box_collision( - root, - "Body", - RV_EXTERIOR_BODY_SIZE, - Vector3(0.0, RV_EXTERIOR_BODY_CENTER_Y, 0.0), - ) - else: - if not _dedicated_runtime: - _add_tent_exterior(root) - _add_box_collision( - root, - "Body", - TENT_EXTERIOR_BODY_SIZE, - Vector3(0.0, TENT_EXTERIOR_BODY_CENTER_Y, 0.0), - ) - if not _dedicated_runtime: - _add_exterior_prompt(root, tier) - root.visible = not _dedicated_runtime - return root - - -func _build_interior( - fingerprint: String, - interior_index: int, - home_data: Dictionary, -) -> Node3D: - var root := Node3D.new() - root.name = "HomeInterior_%s" % fingerprint.left(8) - root.position = INTERIOR_ORIGIN + Vector3( - float(interior_index) * INTERIOR_SPACING, 0.0, 0.0 - ) - _interiors_root.add_child(root) - var tier: int = int(home_data.get( - "tier", PlayerHomeStateType.STARTER_TIER - )) - var scene: PackedScene = ( - STARTER_RV_INTERIOR_SCENE - if tier >= PlayerHomeStateType.STARTER_RV_TIER - else TENT_INTERIOR_SCENE - ) - var shell: Node3D = scene.instantiate() as Node3D - if shell == null: - push_error("The home interior shell could not be instantiated.") - else: - shell.name = "InteriorShell" - root.add_child(shell) - _prepare_imported_interior(shell) - var decor := Node3D.new() - decor.name = "Decor" - root.add_child(decor) - _rebuild_decor(decor, home_data, fingerprint) - root.visible = false - if _dedicated_runtime: - _set_geometry_visible(root, false) - return root - - -func _add_tent_exterior(parent: Node3D) -> void: - var tent := MeshInstance3D.new() - tent.name = "StarterTent" - var mesh := CylinderMesh.new() - mesh.top_radius = 0.0 - mesh.bottom_radius = 3.05 - mesh.height = 3.0 - mesh.radial_segments = 4 - mesh.rings = 1 - mesh.cap_top = false - mesh.material = _material(Color("9a7049")) - tent.mesh = mesh - tent.position.y = 1.5 - tent.rotation.y = PI * 0.25 - parent.add_child(tent) - _add_box( - parent, - "TentDoor", - Vector3(1.25, 1.85, 0.04), - Vector3(0.0, 0.95, 2.18), - Color("173b32"), - false, - ) - - -func _add_exterior_prompt(parent: Node3D, tier: int) -> void: - var prompt := Node3D.new() - prompt.name = "DoorPrompt" - prompt.position = ( - RV_EXTERIOR_PROMPT_LOCAL - if tier >= PlayerHomeStateType.STARTER_RV_TIER - else TENT_EXTERIOR_PROMPT_LOCAL - ) - prompt.visible = false - parent.add_child(prompt) - - var background := MeshInstance3D.new() - background.name = "Background" - background.mesh = _rounded_rectangle_mesh( - HOME_PROMPT_SIZE, - HOME_PROMPT_CORNER_RADIUS, - ) - background.material_override = _prompt_material( - HOME_PROMPT_BACKGROUND_COLOR - ) - prompt.add_child(background) - - var label := Label3D.new() - label.name = "Message" - label.text = "enter home" - label.position.z = 0.012 - label.font = HOME_PROMPT_FONT - label.font_size = 28 - label.pixel_size = HOME_PROMPT_TEXT_PIXEL_SIZE - label.modulate = HOME_PROMPT_TEXT_COLOR - label.outline_size = 0 - label.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER - label.vertical_alignment = VERTICAL_ALIGNMENT_CENTER - label.width = HOME_PROMPT_SIZE.x / HOME_PROMPT_TEXT_PIXEL_SIZE - label.double_sided = true - prompt.add_child(label) - - -func _rounded_rectangle_mesh(size: Vector2, radius: float) -> ArrayMesh: - var half_size: Vector2 = size * 0.5 - var clamped_radius: float = minf( - radius, - minf(half_size.x, half_size.y), - ) - var corners: Array[Vector2] = [ - Vector2(half_size.x - clamped_radius, half_size.y - clamped_radius), - Vector2(-half_size.x + clamped_radius, half_size.y - clamped_radius), - Vector2(-half_size.x + clamped_radius, -half_size.y + clamped_radius), - Vector2(half_size.x - clamped_radius, -half_size.y + clamped_radius), - ] - var start_angles: Array[float] = [0.0, PI * 0.5, PI, PI * 1.5] - var perimeter: Array[Vector2] = [] - const CORNER_SEGMENTS: int = 4 - for corner_index: int in corners.size(): - for segment_index: int in range(CORNER_SEGMENTS + 1): - var angle: float = start_angles[corner_index] + ( - PI * 0.5 * float(segment_index) / float(CORNER_SEGMENTS) - ) - perimeter.append( - corners[corner_index] - + Vector2(cos(angle), sin(angle)) * clamped_radius - ) - var surface := SurfaceTool.new() - surface.begin(Mesh.PRIMITIVE_TRIANGLES) - for index: int in perimeter.size(): - var first: Vector2 = perimeter[index] - var second: Vector2 = perimeter[(index + 1) % perimeter.size()] - for point: Vector2 in [Vector2.ZERO, first, second]: - surface.set_normal(Vector3.FORWARD) - surface.add_vertex(Vector3(point.x, point.y, 0.0)) - return surface.commit() - - -func _prompt_material(color: Color) -> StandardMaterial3D: - var material := StandardMaterial3D.new() - material.albedo_color = color - material.shading_mode = BaseMaterial3D.SHADING_MODE_UNSHADED - material.roughness = 1.0 - material.metallic = 0.0 - material.cull_mode = BaseMaterial3D.CULL_DISABLED - return material - - -func _prepare_imported_interior(shell: Node3D) -> void: - for value: Node in shell.find_children("*", "MeshInstance3D", true, false): - var mesh_instance := value as MeshInstance3D - if mesh_instance == null or mesh_instance.mesh == null: - continue - for surface_index: int in mesh_instance.mesh.get_surface_count(): - var source_material: Material = mesh_instance.get_active_material( - surface_index - ) - var material := source_material as StandardMaterial3D - if material == null: - continue - var flat_material := material.duplicate() as StandardMaterial3D - flat_material.shading_mode = BaseMaterial3D.SHADING_MODE_UNSHADED - flat_material.texture_filter = BaseMaterial3D.TEXTURE_FILTER_NEAREST - flat_material.roughness = 1.0 - flat_material.metallic = 0.0 - mesh_instance.set_surface_override_material( - surface_index, flat_material - ) - _add_imported_mesh_collision(mesh_instance) - - -func _add_imported_mesh_collision(mesh_instance: MeshInstance3D) -> void: - var parent: Node = mesh_instance.get_parent() - if parent == null or mesh_instance.mesh == null: - return - var shape: ConcavePolygonShape3D = mesh_instance.mesh.create_trimesh_shape() - if shape == null: - return - var body := StaticBody3D.new() - body.name = "%sCollision" % mesh_instance.name - body.transform = mesh_instance.transform - var collision := CollisionShape3D.new() - collision.shape = shape - body.add_child(collision) - parent.add_child(body) - - -func _rebuild_decor( - parent: Node3D, - home_data: Dictionary, - owner_fingerprint: String, -) -> void: - for value: Variant in home_data.get("placements", []): - if typeof(value) != TYPE_DICTIONARY: - continue - var placement: Dictionary = value - var decor_id := StringName(str(placement["decor_id"])) - if decor_id != DecorCatalogType.BASIC_CUBE_ID: - continue - var position_values: Array = placement["position"] - var placement_root := Node3D.new() - placement_root.name = str(placement["instance_id"]) - placement_root.position = Vector3( - float(position_values[0]), 0.18, float(position_values[2]) - ) - placement_root.rotation.y = float(placement["yaw"]) - placement_root.set_meta( - &"decor_instance_id", str(placement["instance_id"]) - ) - placement_root.set_meta( - &"decor_owner_fingerprint", owner_fingerprint - ) - placement_root.set_meta(&"decor_id", String(decor_id)) - parent.add_child(placement_root) - var body := _add_box( - placement_root, "BasicCube", BASIC_CUBE_SIZE, - Vector3(0.0, BASIC_CUBE_SIZE.y * 0.5, 0.0), - Color("b77a55"), true, - ) - if body != null: - body.collision_layer = DECOR_SELECTION_COLLISION_LAYER - body.set_meta( - &"decor_instance_id", str(placement["instance_id"]) - ) - body.set_meta( - &"decor_owner_fingerprint", owner_fingerprint - ) - body.set_meta(&"decor_id", String(decor_id)) - _queue_decor_world_collision( - owner_fingerprint, - str(placement["instance_id"]), - decor_id, - body, - ) - _add_box( - placement_root, - "BasicCubeFront", - Vector3(BASIC_CUBE_SIZE.x * 0.82, BASIC_CUBE_SIZE.y * 0.68, 0.025), - Vector3( - 0.0, - BASIC_CUBE_SIZE.y * 0.5, - -BASIC_CUBE_SIZE.z * 0.5 - 0.013, - ), - Color("2897a8"), - false, - ) - - -func _add_wall( - parent: Node3D, - node_name: String, - size: Vector3, - position: Vector3, -) -> void: - _add_box(parent, node_name, size, position, Color("d6caaa"), true) - - -func _add_box( - parent: Node3D, - node_name: String, - size: Vector3, - position: Vector3, - color: Color, - with_collision: bool, - invert_faces: bool = false, -) -> StaticBody3D: - var mesh_instance := MeshInstance3D.new() - mesh_instance.name = node_name - var mesh := BoxMesh.new() - mesh.size = size - mesh.material = _material(color) - if invert_faces: - mesh.flip_faces = true - mesh_instance.mesh = mesh - mesh_instance.position = position - parent.add_child(mesh_instance) - if with_collision: - return _add_box_collision(parent, node_name, size, position) - return null - - -func _add_box_collision( - parent: Node3D, - node_name: String, - size: Vector3, - position: Vector3, -) -> StaticBody3D: - var body := StaticBody3D.new() - body.name = "%sCollision" % node_name - body.position = position - var collision := CollisionShape3D.new() - var shape := BoxShape3D.new() - shape.size = size - collision.shape = shape - body.add_child(collision) - parent.add_child(body) - return body - - -func _spawn_decor_poof( - owner_fingerprint: String, - instance_id: String, -) -> void: - var presentation: Dictionary = _presentations_by_fingerprint.get( - owner_fingerprint, {} - ) - var interior: Node3D = presentation.get("interior") - if not is_instance_valid(interior): - return - var placement_root: Node3D = interior.get_node_or_null( - "Decor/%s" % instance_id - ) - if placement_root == null: - return - var poof := CPUParticles3D.new() - poof.name = "DecorPoof" - poof.amount = 12 - poof.lifetime = 0.45 - poof.one_shot = true - poof.explosiveness = 0.9 - poof.direction = Vector3.UP - poof.spread = 80.0 - poof.initial_velocity_min = 0.7 - poof.initial_velocity_max = 1.5 - poof.scale_amount_min = 0.08 - poof.scale_amount_max = 0.16 - var particle_mesh := SphereMesh.new() - particle_mesh.radius = 0.06 - particle_mesh.height = 0.12 - particle_mesh.material = _material(Color("d9c5a3")) - poof.mesh = particle_mesh - placement_root.add_child(poof) - poof.emitting = true - get_tree().create_timer(poof.lifetime + 0.1).timeout.connect( - poof.queue_free - ) - - -func _material(color: Color) -> StandardMaterial3D: - var material := StandardMaterial3D.new() - material.albedo_color = color - material.roughness = 1.0 - material.shading_mode = BaseMaterial3D.SHADING_MODE_PER_VERTEX - return material - - -func _free_presentation_nodes(presentation: Dictionary) -> void: - for key: String in ["exterior", "interior"]: - var node: Node = presentation.get(key) - if is_instance_valid(node): - node.queue_free() - - -func _refresh_local_visibility() -> void: - var active_fingerprint: String = "" - if String(_local_space).begins_with("rv:"): - active_fingerprint = String(_local_space).trim_prefix("rv:") - if _world != null: - _world.set_local_home_interior_presentation_active( - not active_fingerprint.is_empty() - ) - for fingerprint: String in _presentations_by_fingerprint: - var presentation: Dictionary = _presentations_by_fingerprint[fingerprint] - var interior: Node3D = presentation.get("interior") - if is_instance_valid(interior): - interior.visible = ( - not _dedicated_runtime and fingerprint == active_fingerprint - ) - var exterior: Node3D = presentation.get("exterior") - if is_instance_valid(exterior): - exterior.visible = ( - not _dedicated_runtime and active_fingerprint.is_empty() - ) - var local_player: Player = ( - _spawn_service.get_local_player() - if _spawn_service != null else null - ) - if local_player == null: - return - var excluded_wall_rids: Array[RID] = [] - if not active_fingerprint.is_empty(): - var active: Dictionary = _presentations_by_fingerprint.get( - active_fingerprint, {} - ) - var active_interior: Node3D = active.get("interior") - if is_instance_valid(active_interior): - for wall_name: String in [ - "WallNorth", "WallSouth", "WallWest", "WallEast", - ]: - var body := active_interior.find_child( - "%sCollision" % wall_name, true, false - ) as StaticBody3D - if body != null: - excluded_wall_rids.append(body.get_rid()) - local_player.set_rv_interior_camera_mode( - not active_fingerprint.is_empty(), excluded_wall_rids - ) - - -func _refresh_nearest_wall() -> void: - if not String(_local_space).begins_with("rv:") or _spawn_service == null: - return - var fingerprint: String = String(_local_space).trim_prefix("rv:") - var presentation: Dictionary = _presentations_by_fingerprint.get( - fingerprint, {} - ) - var interior: Node3D = presentation.get("interior") - var player: Player = _spawn_service.get_local_player() - if not is_instance_valid(interior) or player == null: - return - var camera: Camera3D = player.get_active_gameplay_camera() - if camera == null: - return - var local_camera: Vector3 = interior.to_local(camera.global_position) - var local_view_direction: Vector3 = ( - interior.global_basis.inverse() * -camera.global_basis.z - ).normalized() - var horizontal_view_weight: float = absf(local_view_direction.x) - var depth_view_weight: float = absf(local_view_direction.z) - var tier: int = int((presentation.get("home", {}) as Dictionary).get( - "tier", PlayerHomeStateType.STARTER_TIER - )) - var interior_size: Vector2 = ( - STARTER_RV_INTERIOR_SIZE - if tier >= PlayerHomeStateType.STARTER_RV_TIER - else TENT_INTERIOR_SIZE - ) - var hidden_walls: Dictionary[String, bool] = {} - var outside_horizontal_wall: bool = ( - absf(local_camera.x) >= interior_size.x * 0.5 - 0.05 - ) - var outside_depth_wall: bool = ( - absf(local_camera.z) >= interior_size.y * 0.5 - 0.05 - ) - # At a diagonal, both near walls occupy the view. Use the camera's viewing - # direction to hide both instead of choosing only the dominant position - # axis and leaving the adjacent wall across the screen. - if ( - outside_horizontal_wall - and horizontal_view_weight >= depth_view_weight * 0.35 - ): - hidden_walls[ - "WallEast" if local_camera.x >= 0.0 else "WallWest" - ] = true - if ( - outside_depth_wall - and depth_view_weight >= horizontal_view_weight * 0.35 - ): - hidden_walls[ - "WallSouth" if local_camera.z >= 0.0 else "WallNorth" - ] = true - if hidden_walls.is_empty(): - var fallback_wall: String = ( - "WallEast" if local_camera.x >= 0.0 else "WallWest" - ) - if depth_view_weight > horizontal_view_weight: - fallback_wall = ( - "WallSouth" if local_camera.z >= 0.0 else "WallNorth" - ) - hidden_walls[fallback_wall] = true - for wall_name: String in [ - "WallNorth", "WallSouth", "WallWest", "WallEast", - ]: - var wall := interior.find_child( - wall_name, true, false - ) as MeshInstance3D - if wall != null: - wall.visible = not hidden_walls.has(wall_name) - for child: Node in interior.find_children( - "%s*" % wall_name, "GeometryInstance3D", true, false - ): - if ( - child is GeometryInstance3D - and String(child.name).begins_with(wall_name) - ): - (child as GeometryInstance3D).visible = ( - not hidden_walls.has(wall_name) - ) - - -func _too_close_to_reserved( - position: Vector3, - reserved_transforms: Array[Transform3D], -) -> bool: - for transform: Transform3D in reserved_transforms: - if position.distance_to(transform.origin) < MIN_EXTERIOR_SEPARATION: - return true - return false - - -func _set_geometry_visible(root: Node, visible: bool) -> void: - for node: Node in root.find_children("*", "GeometryInstance3D", true, false): - (node as GeometryInstance3D).visible = visible diff --git a/homes/home_world_service.gd.uid b/homes/home_world_service.gd.uid deleted file mode 100644 index 5505d06..0000000 --- a/homes/home_world_service.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://cy2kjoxhwxujd diff --git a/homes/player_home_state.gd b/homes/player_home_state.gd deleted file mode 100644 index a89d6a3..0000000 --- a/homes/player_home_state.gd +++ /dev/null @@ -1,841 +0,0 @@ -class_name PlayerHomeState -extends Node - -signal changed - -const DecorCatalogType = preload("res://homes/decor_catalog.gd") - -const HOME_SCHEMA_VERSION: int = 1 -const STARTER_TIER: int = 0 -const STARTER_EXTERIOR_ID: StringName = &"starter_tent" -const STARTER_RV_TIER: int = 1 -const STARTER_RV_EXTERIOR_ID: StringName = &"starter_motorcoach" -const MAX_TIER: int = STARTER_RV_TIER -const HOME_UPGRADE_COSTS: Array[int] = [50] -const STORAGE_CAPACITIES: Array[int] = [9, 18] -const MAX_PLACEMENTS: int = 128 -const MAX_INSTANCE_ID_LENGTH: int = 96 -const MAX_REVISION: int = 2147483647 -const GRID_SIZE: float = 0.5 -const FREE_PLACEMENT_SEARCH_STEP: float = 0.1 -const FREE_PLACEMENT_SEARCH_ANGLES: int = 24 -const NEAREST_PLACEMENT_SEARCH_DISTANCE: float = 2.0 -const TENT_INTERIOR_HALF_EXTENTS := Vector2(1.91, 1.91) -const STARTER_RV_INTERIOR_HALF_EXTENTS := Vector2(1.91, 2.91) -const PLACEMENT_EDGE_PADDING: float = 0.02 - -enum Privacy { - OPEN, - CLOSED, -} - -enum PlacementMode { - GRID, - FREE, -} - -var _tier: int = STARTER_TIER -var _exterior_id: StringName = STARTER_EXTERIOR_ID -var _privacy: Privacy = Privacy.OPEN -var _owned_decor: Dictionary[StringName, int] = {} -var _placements: Array[Dictionary] = [] -var _revision: int = 0 -var _next_instance_sequence: int = 1 - - -func get_tier() -> int: - return _tier - - -func get_exterior_id() -> StringName: - return _exterior_id - - -func get_storage_capacity() -> int: - return storage_capacity_for_tier(_tier) - - -func get_next_upgrade_cost() -> int: - if _tier >= MAX_TIER: - return -1 - return HOME_UPGRADE_COSTS[_tier] - - -func get_next_storage_capacity() -> int: - if _tier >= MAX_TIER: - return -1 - return storage_capacity_for_tier(_tier + 1) - - -func upgrade_to_next_tier() -> bool: - if _tier >= MAX_TIER: - return false - _tier += 1 - _exterior_id = exterior_id_for_tier(_tier) - _touch() - return true - - -static func exterior_id_for_tier(tier: int) -> StringName: - return ( - STARTER_RV_EXTERIOR_ID - if tier >= STARTER_RV_TIER - else STARTER_EXTERIOR_ID - ) - - -static func storage_capacity_for_tier(tier: int) -> int: - return STORAGE_CAPACITIES[clampi(tier, STARTER_TIER, MAX_TIER)] - - -static func interior_half_extents_for_tier(tier: int) -> Vector2: - return ( - STARTER_RV_INTERIOR_HALF_EXTENTS - if tier >= STARTER_RV_TIER - else TENT_INTERIOR_HALF_EXTENTS - ) - - -func get_privacy() -> Privacy: - return _privacy - - -func get_revision() -> int: - return _revision - - -func get_owned_count(decor_id: StringName) -> int: - return int(_owned_decor.get(decor_id, 0)) - - -func get_placed_count(decor_id: StringName) -> int: - var count: int = 0 - for placement: Dictionary in _placements: - if StringName(str(placement.get("decor_id", ""))) == decor_id: - count += 1 - return count - - -func get_available_count(decor_id: StringName) -> int: - return maxi( - get_owned_count(decor_id) - get_placed_count(decor_id), - 0, - ) - - -func get_owned_decor() -> Dictionary[StringName, int]: - return _owned_decor.duplicate() - - -func get_placements() -> Array[Dictionary]: - var result: Array[Dictionary] = [] - for placement: Dictionary in _placements: - result.append(placement.duplicate(true)) - return result - - -func get_placement(instance_id: String) -> Dictionary: - var index: int = _placement_index(instance_id) - return _placements[index].duplicate(true) if index >= 0 else {} - - -func can_place_decor( - decor_id: StringName, - position: Vector3, - yaw_radians: float, - mode: PlacementMode, -) -> bool: - if ( - get_available_count(decor_id) <= 0 - or _placements.size() >= MAX_PLACEMENTS - or not _valid_mode(mode) - ): - return false - return not get_nearest_valid_placement_transform( - decor_id, - position, - yaw_radians, - mode, - "", - ).is_empty() - - -func set_privacy(value: Privacy) -> bool: - if value < Privacy.OPEN or value > Privacy.CLOSED: - return false - if _privacy == value: - return true - _privacy = value - _touch() - return true - - -func add_owned_decor( - decor_id: StringName, - quantity: int = 1, -) -> bool: - if ( - not DecorCatalogType.has_product(decor_id) - or quantity <= 0 - ): - return false - var current: int = get_owned_count(decor_id) - if current + quantity > DecorCatalogType.MAX_OWNED_PER_PRODUCT: - return false - _owned_decor[decor_id] = current + quantity - _touch() - return true - - -func remove_owned_decor( - decor_id: StringName, - quantity: int = 1, -) -> bool: - if quantity <= 0: - return false - var current: int = get_owned_count(decor_id) - if current - quantity < get_placed_count(decor_id): - return false - var remaining: int = current - quantity - if remaining < 0: - return false - if remaining == 0: - _owned_decor.erase(decor_id) - else: - _owned_decor[decor_id] = remaining - _touch() - return true - - -func place_decor( - decor_id: StringName, - position: Vector3, - yaw_radians: float, - mode: PlacementMode, -) -> String: - if ( - get_available_count(decor_id) <= 0 - or _placements.size() >= MAX_PLACEMENTS - or not _valid_mode(mode) - ): - return "" - var normalized := get_nearest_valid_placement_transform( - decor_id, - position, - yaw_radians, - mode, - "", - ) - if normalized.is_empty(): - return "" - var instance_id := _make_instance_id() - var placement: Dictionary = { - "instance_id": instance_id, - "decor_id": String(decor_id), - "mode": int(mode), - "position": _vector3_to_array(normalized["position"]), - "yaw": float(normalized["yaw"]), - } - _placements.append(placement) - _touch() - return instance_id - - -func update_placement( - instance_id: String, - position: Vector3, - yaw_radians: float, - mode: PlacementMode, -) -> bool: - var index: int = _placement_index(instance_id) - var normalized: Dictionary = get_valid_update_transform( - instance_id, position, yaw_radians, mode - ) - if index < 0 or normalized.is_empty(): - return false - var placement: Dictionary = _placements[index].duplicate(true) - placement["mode"] = int(mode) - placement["position"] = _vector3_to_array(normalized["position"]) - placement["yaw"] = float(normalized["yaw"]) - _placements[index] = placement - _touch() - return true - - -func get_valid_update_transform( - instance_id: String, - position: Vector3, - yaw_radians: float, - mode: PlacementMode, - candidate_validator: Callable = Callable(), -) -> Dictionary: - var index: int = _placement_index(instance_id) - if index < 0 or not _valid_mode(mode): - return {} - var decor_id := StringName( - str(_placements[index].get("decor_id", "")) - ) - return get_nearest_valid_placement_transform( - decor_id, - position, - yaw_radians, - mode, - instance_id, - candidate_validator, - ) - - -func get_nearest_valid_placement_transform( - decor_id: StringName, - position: Vector3, - yaw_radians: float, - mode: PlacementMode, - ignored_instance_id: String = "", - candidate_validator: Callable = Callable(), -) -> Dictionary: - var normalized: Dictionary = normalized_placement_transform( - decor_id, position, yaw_radians, mode, _tier - ) - if normalized.is_empty(): - return {} - if ( - not _overlaps_existing( - decor_id, normalized, ignored_instance_id - ) - and _candidate_is_accepted(normalized, candidate_validator) - ): - return normalized - return ( - _find_nearest_grid_transform( - decor_id, - normalized, - ignored_instance_id, - candidate_validator, - ) - if mode == PlacementMode.GRID - else _find_nearest_free_transform( - decor_id, - normalized, - ignored_instance_id, - candidate_validator, - ) - ) - - -func remove_placement(instance_id: String) -> bool: - var index: int = _placement_index(instance_id) - if index < 0: - return false - _placements.remove_at(index) - _touch() - return true - - -func reset_to_defaults() -> void: - _tier = STARTER_TIER - _exterior_id = STARTER_EXTERIOR_ID - _privacy = Privacy.OPEN - _owned_decor.clear() - _placements.clear() - _revision = 0 - _next_instance_sequence = 1 - changed.emit() - - -func to_save_data() -> Dictionary: - var owned: Dictionary = {} - var ids: Array[StringName] = [] - ids.assign(_owned_decor.keys()) - ids.sort_custom(func(first: StringName, second: StringName) -> bool: - return String(first) < String(second) - ) - for decor_id: StringName in ids: - owned[String(decor_id)] = _owned_decor[decor_id] - return { - "schema_version": HOME_SCHEMA_VERSION, - "tier": _tier, - "exterior_id": String(_exterior_id), - "privacy": int(_privacy), - "owned_decor": owned, - "placements": get_placements(), - "revision": _revision, - "next_instance_sequence": _next_instance_sequence, - } - - -func restore_from_save_data(data: Dictionary) -> bool: - var sanitized: Dictionary = sanitize_save_data(data) - if sanitized.is_empty(): - return false - _tier = int(sanitized["tier"]) - _exterior_id = exterior_id_for_tier(_tier) - _privacy = int(sanitized["privacy"]) - _owned_decor.clear() - for key: Variant in (sanitized["owned_decor"] as Dictionary): - _owned_decor[StringName(str(key))] = int( - (sanitized["owned_decor"] as Dictionary)[key] - ) - _placements.clear() - for value: Variant in sanitized["placements"] as Array: - _placements.append((value as Dictionary).duplicate(true)) - _revision = int(sanitized["revision"]) - _next_instance_sequence = int(sanitized["next_instance_sequence"]) - changed.emit() - return true - - -static func default_save_data() -> Dictionary: - return { - "schema_version": HOME_SCHEMA_VERSION, - "tier": STARTER_TIER, - "exterior_id": String(STARTER_EXTERIOR_ID), - "privacy": int(Privacy.OPEN), - "owned_decor": {}, - "placements": [], - "revision": 0, - "next_instance_sequence": 1, - } - - -static func sanitize_save_data(data: Dictionary) -> Dictionary: - if ( - not _is_integer_value(data.get("schema_version")) - or int(data.get("schema_version", -1)) != HOME_SCHEMA_VERSION - or not _is_integer_value(data.get("tier")) - or typeof(data.get("exterior_id")) not in [ - TYPE_STRING, TYPE_STRING_NAME, - ] - or not _is_integer_value(data.get("privacy")) - or typeof(data.get("owned_decor")) != TYPE_DICTIONARY - or typeof(data.get("placements")) != TYPE_ARRAY - or not _is_integer_value(data.get("revision")) - or not _is_integer_value(data.get("next_instance_sequence")) - ): - return {} - var tier: int = int(data["tier"]) - var exterior_id: String = str(data["exterior_id"]) - var privacy: int = int(data["privacy"]) - var revision: int = int(data["revision"]) - var next_sequence: int = int(data["next_instance_sequence"]) - if ( - tier < STARTER_TIER - or tier > MAX_TIER - or exterior_id.is_empty() - or exterior_id.length() > 96 - or privacy < Privacy.OPEN - or privacy > Privacy.CLOSED - or revision < 0 - or revision > MAX_REVISION - or next_sequence < 1 - or next_sequence > MAX_REVISION - ): - return {} - exterior_id = String(exterior_id_for_tier(tier)) - var sanitized_owned: Dictionary = {} - var owned: Dictionary = data["owned_decor"] - for key: Variant in owned: - if typeof(key) not in [TYPE_STRING, TYPE_STRING_NAME]: - return {} - var decor_id := StringName(str(key)) - var quantity_value: Variant = owned[key] - if ( - not DecorCatalogType.has_product(decor_id) - or not _is_integer_value(quantity_value) - or int(quantity_value) <= 0 - or int(quantity_value) > DecorCatalogType.MAX_OWNED_PER_PRODUCT - ): - return {} - sanitized_owned[String(decor_id)] = int(quantity_value) - var values: Array = data["placements"] - if values.size() > MAX_PLACEMENTS: - return {} - var sanitized_placements: Array[Dictionary] = [] - var seen_instance_ids: Dictionary[String, bool] = {} - var placed_counts: Dictionary[StringName, int] = {} - for value: Variant in values: - if typeof(value) != TYPE_DICTIONARY: - return {} - var sanitized: Dictionary = sanitize_placement(value, tier) - if sanitized.is_empty(): - return {} - var instance_id: String = str(sanitized["instance_id"]) - var decor_id := StringName(str(sanitized["decor_id"])) - if seen_instance_ids.has(instance_id): - return {} - seen_instance_ids[instance_id] = true - placed_counts[decor_id] = int( - placed_counts.get(decor_id, 0) - ) + 1 - if ( - int(placed_counts[decor_id]) - > int(sanitized_owned.get(String(decor_id), 0)) - ): - return {} - for previous: Dictionary in sanitized_placements: - if placements_overlap(previous, sanitized): - return {} - sanitized_placements.append(sanitized) - return { - "schema_version": HOME_SCHEMA_VERSION, - "tier": tier, - "exterior_id": exterior_id, - "privacy": privacy, - "owned_decor": sanitized_owned, - "placements": sanitized_placements, - "revision": revision, - "next_instance_sequence": next_sequence, - } - - -static func sanitize_placement( - value: Dictionary, - home_tier: int = STARTER_TIER, -) -> Dictionary: - for key: String in [ - "instance_id", "decor_id", "mode", "position", "yaw", - ]: - if not value.has(key): - return {} - if ( - typeof(value["instance_id"]) != TYPE_STRING - or typeof(value["decor_id"]) not in [ - TYPE_STRING, TYPE_STRING_NAME, - ] - or not _is_integer_value(value["mode"]) - or typeof(value["position"]) != TYPE_ARRAY - or typeof(value["yaw"]) not in [TYPE_FLOAT, TYPE_INT] - ): - return {} - var instance_id: String = value["instance_id"] - var decor_id := StringName(str(value["decor_id"])) - var mode: int = int(value["mode"]) - var position_values: Array = value["position"] - var yaw: float = float(value["yaw"]) - if ( - instance_id.is_empty() - or instance_id.length() > MAX_INSTANCE_ID_LENGTH - or not DecorCatalogType.has_product(decor_id) - or not _valid_mode(mode) - or position_values.size() != 3 - or not is_finite(yaw) - ): - return {} - for component: Variant in position_values: - if typeof(component) not in [TYPE_FLOAT, TYPE_INT]: - return {} - var position := Vector3( - float(position_values[0]), - float(position_values[1]), - float(position_values[2]), - ) - var normalized := normalized_placement_transform( - decor_id, - position, - yaw, - mode as PlacementMode, - home_tier, - ) - if normalized.is_empty(): - return {} - return { - "instance_id": instance_id, - "decor_id": String(decor_id), - "mode": mode, - "position": _vector3_to_array(normalized["position"]), - "yaw": float(normalized["yaw"]), - } - - -static func _is_integer_value(value: Variant) -> bool: - if typeof(value) == TYPE_INT: - return true - if typeof(value) != TYPE_FLOAT: - return false - var number: float = float(value) - return is_finite(number) and is_equal_approx(number, roundf(number)) - - -static func normalized_placement_transform( - decor_id: StringName, - position: Vector3, - yaw_radians: float, - mode: PlacementMode, - home_tier: int = STARTER_TIER, -) -> Dictionary: - if ( - not DecorCatalogType.has_product(decor_id) - or not position.is_finite() - or not is_finite(yaw_radians) - or not _valid_mode(mode) - ): - return {} - var normalized_position := Vector3(position.x, 0.0, position.z) - var normalized_yaw: float = wrapf(yaw_radians, -PI, PI) - if mode == PlacementMode.GRID: - normalized_position.x = snappedf(normalized_position.x, GRID_SIZE) - normalized_position.z = snappedf(normalized_position.z, GRID_SIZE) - normalized_yaw = snappedf(normalized_yaw, PI * 0.5) - var footprint: Vector2 = DecorCatalogType.get_footprint(decor_id) - var cosine: float = absf(cos(normalized_yaw)) - var sine: float = absf(sin(normalized_yaw)) - var half_size := Vector2( - (footprint.x * cosine + footprint.y * sine) * 0.5, - (footprint.x * sine + footprint.y * cosine) * 0.5, - ) - var interior_half_extents := interior_half_extents_for_tier(home_tier) - var maximum_x: float = ( - interior_half_extents.x - half_size.x - PLACEMENT_EDGE_PADDING - ) - var maximum_z: float = ( - interior_half_extents.y - half_size.y - PLACEMENT_EDGE_PADDING - ) - if maximum_x < 0.0 or maximum_z < 0.0: - return {} - # Clamp after grid snapping so a grid-placed item can still sit flush at a - # wall even when the wall itself is not on an exact grid interval. - normalized_position.x = clampf( - normalized_position.x, -maximum_x, maximum_x - ) - normalized_position.z = clampf( - normalized_position.z, -maximum_z, maximum_z - ) - return { - "position": normalized_position, - "yaw": normalized_yaw, - } - - -func _find_nearest_grid_transform( - decor_id: StringName, - origin: Dictionary, - ignored_instance_id: String, - candidate_validator: Callable, -) -> Dictionary: - var origin_position: Vector3 = origin["position"] - var yaw: float = float(origin["yaw"]) - var maximum_ring: int = ceili( - NEAREST_PLACEMENT_SEARCH_DISTANCE / GRID_SIZE - ) - var seen: Dictionary[String, bool] = {} - for ring: int in range(1, maximum_ring + 1): - var nearest: Dictionary = {} - var nearest_distance_squared: float = INF - for x_offset: int in range(-ring, ring + 1): - for z_offset: int in range(-ring, ring + 1): - if maxi(absi(x_offset), absi(z_offset)) != ring: - continue - var candidate: Dictionary = normalized_placement_transform( - decor_id, - origin_position + Vector3( - float(x_offset) * GRID_SIZE, - 0.0, - float(z_offset) * GRID_SIZE, - ), - yaw, - PlacementMode.GRID, - _tier, - ) - if candidate.is_empty() or not _mark_candidate_unseen( - candidate, seen - ): - continue - if _overlaps_existing( - decor_id, candidate, ignored_instance_id - ) or not _candidate_is_accepted( - candidate, candidate_validator - ): - continue - var candidate_position: Vector3 = candidate["position"] - var distance_squared: float = origin_position.distance_squared_to( - candidate_position - ) - if distance_squared < nearest_distance_squared: - nearest = candidate - nearest_distance_squared = distance_squared - if not nearest.is_empty(): - return nearest - return {} - - -func _find_nearest_free_transform( - decor_id: StringName, - origin: Dictionary, - ignored_instance_id: String, - candidate_validator: Callable, -) -> Dictionary: - var origin_position: Vector3 = origin["position"] - var yaw: float = float(origin["yaw"]) - var maximum_ring: int = ceili( - NEAREST_PLACEMENT_SEARCH_DISTANCE / FREE_PLACEMENT_SEARCH_STEP - ) - var seen: Dictionary[String, bool] = {} - for ring: int in range(1, maximum_ring + 1): - var radius: float = float(ring) * FREE_PLACEMENT_SEARCH_STEP - var nearest: Dictionary = {} - var nearest_distance_squared: float = INF - for angle_index: int in FREE_PLACEMENT_SEARCH_ANGLES: - var angle: float = ( - TAU * float(angle_index) / float(FREE_PLACEMENT_SEARCH_ANGLES) - ) - var candidate: Dictionary = normalized_placement_transform( - decor_id, - origin_position + Vector3( - cos(angle) * radius, 0.0, sin(angle) * radius - ), - yaw, - PlacementMode.FREE, - _tier, - ) - if candidate.is_empty() or not _mark_candidate_unseen( - candidate, seen - ): - continue - if _overlaps_existing( - decor_id, candidate, ignored_instance_id - ) or not _candidate_is_accepted( - candidate, candidate_validator - ): - continue - var candidate_position: Vector3 = candidate["position"] - var distance_squared: float = origin_position.distance_squared_to( - candidate_position - ) - if distance_squared < nearest_distance_squared: - nearest = candidate - nearest_distance_squared = distance_squared - if not nearest.is_empty(): - return nearest - return {} - - -static func _mark_candidate_unseen( - candidate: Dictionary, - seen: Dictionary[String, bool], -) -> bool: - var position: Vector3 = candidate["position"] - var key := "%d:%d" % [ - roundi(position.x * 10000.0), - roundi(position.z * 10000.0), - ] - if seen.has(key): - return false - seen[key] = true - return true - - -static func _candidate_is_accepted( - candidate: Dictionary, - validator: Callable, -) -> bool: - return not validator.is_valid() or bool(validator.call(candidate)) - - -static func placements_overlap(first: Dictionary, second: Dictionary) -> bool: - var first_id := StringName(str(first.get("decor_id", ""))) - var second_id := StringName(str(second.get("decor_id", ""))) - if ( - not DecorCatalogType.has_product(first_id) - or not DecorCatalogType.has_product(second_id) - ): - return true - var first_position: Vector3 = _array_to_vector3(first.get("position", [])) - var second_position: Vector3 = _array_to_vector3(second.get("position", [])) - var first_yaw: float = float(first.get("yaw", 0.0)) - var second_yaw: float = float(second.get("yaw", 0.0)) - var first_half: Vector2 = ( - DecorCatalogType.get_footprint(first_id) * 0.5 - ) - var second_half: Vector2 = ( - DecorCatalogType.get_footprint(second_id) * 0.5 - ) - var first_axes: Array[Vector2] = _placement_axes(first_yaw) - var second_axes: Array[Vector2] = _placement_axes(second_yaw) - var delta := Vector2( - second_position.x - first_position.x, - second_position.z - first_position.z, - ) - for axis: Vector2 in [ - first_axes[0], first_axes[1], second_axes[0], second_axes[1], - ]: - var first_radius: float = ( - absf(axis.dot(first_axes[0])) * first_half.x - + absf(axis.dot(first_axes[1])) * first_half.y - ) - var second_radius: float = ( - absf(axis.dot(second_axes[0])) * second_half.x - + absf(axis.dot(second_axes[1])) * second_half.y - ) - if absf(delta.dot(axis)) >= ( - first_radius + second_radius - 0.001 - ): - return false - return true - - -func _make_instance_id() -> String: - var result := "decor-%d-%d" % [ - Time.get_ticks_usec(), - _next_instance_sequence, - ] - _next_instance_sequence = mini( - _next_instance_sequence + 1, - MAX_REVISION, - ) - return result - - -func _placement_index(instance_id: String) -> int: - if instance_id.is_empty(): - return -1 - for index: int in _placements.size(): - if str(_placements[index].get("instance_id", "")) == instance_id: - return index - return -1 - - -func _overlaps_existing( - decor_id: StringName, - normalized: Dictionary, - ignored_instance_id: String, -) -> bool: - var candidate: Dictionary = { - "decor_id": String(decor_id), - "position": _vector3_to_array(normalized["position"]), - "yaw": float(normalized["yaw"]), - } - for placement: Dictionary in _placements: - if str(placement.get("instance_id", "")) == ignored_instance_id: - continue - if placements_overlap(candidate, placement): - return true - return false - - -func _touch() -> void: - _revision = mini(_revision + 1, MAX_REVISION) - changed.emit() - - -static func _valid_mode(value: int) -> bool: - return value >= PlacementMode.GRID and value <= PlacementMode.FREE - - -static func _vector3_to_array(value: Vector3) -> Array[float]: - return [value.x, value.y, value.z] - - -static func _array_to_vector3(value: Variant) -> Vector3: - if typeof(value) != TYPE_ARRAY or (value as Array).size() != 3: - return Vector3.INF - var components: Array = value - return Vector3( - float(components[0]), - float(components[1]), - float(components[2]), - ) - - -static func _placement_axes(yaw: float) -> Array[Vector2]: - var cosine: float = cos(yaw) - var sine: float = sin(yaw) - return [Vector2(cosine, sine), Vector2(-sine, cosine)] diff --git a/homes/player_home_state.gd.uid b/homes/player_home_state.gd.uid deleted file mode 100644 index 37836c6..0000000 --- a/homes/player_home_state.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://ggfdoak2ixxx diff --git a/inventory/player_bag.gd b/inventory/player_bag.gd index d94845d..e33f1e4 100644 --- a/inventory/player_bag.gd +++ b/inventory/player_bag.gd @@ -60,28 +60,6 @@ func add_item(item_id: StringName, quantity: int = 1) -> bool: return true -func add_item_to_storage(item_id: StringName, quantity: int = 1) -> bool: - var existing: OwnedItemType = get_owned_item(item_id) - if existing != null: - return add_item(item_id, quantity) - var item: ItemDataType = _resolve_available_item(item_id) - if ( - item == null - or quantity <= 0 - or quantity > (item.max_stack if item.stackable else 1) - or _inventory_layout == null - or not _inventory_layout.can_accept_item_in_storage(item_id) - ): - return false - var owned := OwnedItemType.new() - owned.item_id = item_id - owned.quantity = quantity - owned.storage_slot = _first_available_storage_slot(item, _items) - _items.append(owned) - contents_changed.emit() - return true - - func can_add_item(item_id: StringName, quantity: int = 1) -> bool: var item: ItemDataType = _resolve_available_item(item_id) if item == null or quantity <= 0: diff --git a/inventory/player_hotbar.gd b/inventory/player_hotbar.gd index 36068ea..b7d5197 100644 --- a/inventory/player_hotbar.gd +++ b/inventory/player_hotbar.gd @@ -314,25 +314,6 @@ func get_fish_slots() -> Array[StringName]: return _fish_slots.duplicate() -func find_item_slot(item_id: StringName) -> int: - return _slots.find(item_id) - - -func find_first_empty_slot() -> int: - for slot_index: int in SLOT_COUNT: - if get_assignment_kind(slot_index) != AssignmentKind.EMPTY: - continue - if ( - _inventory_layout == null - or _inventory_layout.get_key_at( - PlayerInventoryLayout.InventoryContainer.HOTBAR, - slot_index, - ).is_empty() - ): - return slot_index - return -1 - - func replace_state( slots: Array[StringName], selected_slot: int, diff --git a/inventory/player_inventory_layout.gd b/inventory/player_inventory_layout.gd index bce726e..244e10b 100644 --- a/inventory/player_inventory_layout.gd +++ b/inventory/player_inventory_layout.gd @@ -37,7 +37,6 @@ var _fish_inventory: FishInventoryType var _item_catalog: ItemCatalogType var _storage_capacity: PlayerCoolerCapacityType var _placements: Dictionary[String, Dictionary] = {} -var _prepared_item_placements: Dictionary[String, Dictionary] = {} var _reconciling: bool = false var _backpack_level: int = 0 @@ -73,44 +72,7 @@ func can_accept_item(item_id: StringName) -> bool: if not is_managed_item(item_id): return true var key := item_key(item_id) - return ( - _placements.has(key) - or _is_prepared_item_placement_available(key) - or _first_free_slot(InventoryContainer.INVENTORY) >= 0 - ) - - -func prepare_new_item_placement( - item_id: StringName, - target_container: InventoryContainer, - target_slot: int, -) -> bool: - if not is_managed_item(item_id): - return false - var key := item_key(item_id) - if ( - _placements.has(key) - or not _is_slot_valid(target_container, target_slot) - or not _key_at(target_container, target_slot).is_empty() - or _prepared_slot_is_occupied(target_container, target_slot) - ): - return false - _prepared_item_placements[key] = { - "container": int(target_container), - "slot": target_slot, - } - return true - - -func cancel_prepared_item_placement(item_id: StringName) -> void: - _prepared_item_placements.erase(item_key(item_id)) - - -func can_accept_item_in_storage(item_id: StringName) -> bool: - if not is_managed_item(item_id): - return true - var key := item_key(item_id) - return _placements.has(key) or _first_free_slot(InventoryContainer.STORAGE) >= 0 + return _placements.has(key) or _first_free_slot(InventoryContainer.INVENTORY) >= 0 func can_accept_catch(catch_id: StringName = StringName()) -> bool: @@ -370,7 +332,6 @@ func restore_from_save_data(data: Dictionary) -> bool: "container": container, "slot": slot, } - _prepared_item_placements.clear() _placements = restored _reconcile(true) return true @@ -379,7 +340,6 @@ func restore_from_save_data(data: Dictionary) -> bool: func reset_to_defaults() -> void: var capacity_changed := _backpack_level != 0 _backpack_level = 0 - _prepared_item_placements.clear() _placements.clear() _reconcile(true) if capacity_changed: @@ -442,17 +402,8 @@ func _reconcile(force_signal: bool) -> void: for key: String in expected: if _placements.has(key): continue - var prepared: Dictionary = _prepared_item_placements.get(key, {}) var target_container := InventoryContainer.INVENTORY - var target_slot: int = -1 - if _is_prepared_item_placement_available(key): - target_container = int( - prepared["container"] - ) as InventoryContainer - target_slot = int(prepared["slot"]) - _prepared_item_placements.erase(key) - if target_slot < 0: - target_slot = _first_free_slot(target_container) + var target_slot := _first_free_slot(target_container) if target_slot < 0: target_container = InventoryContainer.STORAGE target_slot = _first_free_slot(target_container) @@ -533,37 +484,6 @@ func _first_free_slot(container: InventoryContainer) -> int: return -1 -func _is_prepared_item_placement_available(key: String) -> bool: - var placement: Dictionary = _prepared_item_placements.get(key, {}) - if placement.is_empty(): - return false - var container: int = int(placement.get("container", -1)) - var slot: int = int(placement.get("slot", -1)) - if ( - container not in [ - InventoryContainer.INVENTORY, - InventoryContainer.STORAGE, - InventoryContainer.HOTBAR, - ] - or not _is_slot_valid(container as InventoryContainer, slot) - ): - return false - return _key_at(container as InventoryContainer, slot).is_empty() - - -func _prepared_slot_is_occupied( - container: InventoryContainer, - slot: int, -) -> bool: - for placement: Dictionary in _prepared_item_placements.values(): - if ( - int(placement.get("container", -1)) == int(container) - and int(placement.get("slot", -1)) == slot - ): - return true - return false - - func _key_at(container: InventoryContainer, slot: int) -> String: for key: String in _placements: var placement: Dictionary = _placements[key] diff --git a/items/catalog/basic_cube.tres b/items/catalog/basic_cube.tres deleted file mode 100644 index 86a2cf9..0000000 --- a/items/catalog/basic_cube.tres +++ /dev/null @@ -1,17 +0,0 @@ -[gd_resource type="Resource" script_class="ItemData" load_steps=3 format=3] - -[ext_resource type="Script" path="res://items/item_data.gd" id="1_item"] -[ext_resource type="Texture2D" path="res://ui/icons/pictograms/x_light.png" id="2_icon"] - -[resource] -script = ExtResource("1_item") -item_id = &"basic_cube" -display_name = "basic cube" -description = "a simple piece of decor for testing your RV layout." -category = 6 -icon = ExtResource("2_icon") -stackable = true -max_stack = 32 -usable = false -equippable = true -hotbar_allowed = true diff --git a/items/catalog/item_catalog.tres b/items/catalog/item_catalog.tres index 2f15e0a..63ef3ea 100644 --- a/items/catalog/item_catalog.tres +++ b/items/catalog/item_catalog.tres @@ -1,4 +1,4 @@ -[gd_resource type="Resource" script_class="ItemCatalog" load_steps=42 format=3] +[gd_resource type="Resource" script_class="ItemCatalog" load_steps=41 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"] @@ -40,8 +40,7 @@ [ext_resource type="Resource" path="res://items/catalog/crab_net.tres" id="39_crab_net"] [ext_resource type="Resource" path="res://items/catalog/standard_shovel.tres" id="40_shovel"] [ext_resource type="Resource" path="res://items/catalog/fishing_net.tres" id="41_fishing_net"] -[ext_resource type="Resource" path="res://items/catalog/basic_cube.tres" id="42_basic_cube"] [resource] script = ExtResource("1_script") -items = [ExtResource("2_rod"), ExtResource("3_coffee"), ExtResource("4_energy"), ExtResource("5_snack"), ExtResource("6_finder"), ExtResource("8_art_kit"), ExtResource("9_worms"), ExtResource("10_snails"), ExtResource("11_shrimp"), ExtResource("12_squid"), ExtResource("14_sardine"), ExtResource("13_anchovy"), ExtResource("15_roe"), ExtResource("16_standby"), ExtResource("17_batteries"), ExtResource("18_cardboard"), ExtResource("19_pond"), ExtResource("20_river"), ExtResource("21_lake"), ExtResource("22_salt"), ExtResource("23_whisker"), ExtResource("24_reef"), ExtResource("25_moonbeam"), ExtResource("26_sun"), ExtResource("27_rain"), ExtResource("28_fog"), ExtResource("29_guide"), ExtResource("30_small"), ExtResource("31_heavy"), ExtResource("32_rocket"), ExtResource("33_lucky"), ExtResource("34_showboat"), ExtResource("35_deep"), ExtResource("36_oddity"), ExtResource("37_aurora"), ExtResource("38_magnet"), ExtResource("39_crab_net"), ExtResource("40_shovel"), ExtResource("41_fishing_net"), ExtResource("42_basic_cube")] +items = [ExtResource("2_rod"), ExtResource("3_coffee"), ExtResource("4_energy"), ExtResource("5_snack"), ExtResource("6_finder"), ExtResource("8_art_kit"), ExtResource("9_worms"), ExtResource("10_snails"), ExtResource("11_shrimp"), ExtResource("12_squid"), ExtResource("14_sardine"), ExtResource("13_anchovy"), ExtResource("15_roe"), ExtResource("16_standby"), ExtResource("17_batteries"), ExtResource("18_cardboard"), ExtResource("19_pond"), ExtResource("20_river"), ExtResource("21_lake"), ExtResource("22_salt"), ExtResource("23_whisker"), ExtResource("24_reef"), ExtResource("25_moonbeam"), ExtResource("26_sun"), ExtResource("27_rain"), ExtResource("28_fog"), ExtResource("29_guide"), ExtResource("30_small"), ExtResource("31_heavy"), ExtResource("32_rocket"), ExtResource("33_lucky"), ExtResource("34_showboat"), ExtResource("35_deep"), ExtResource("36_oddity"), ExtResource("37_aurora"), ExtResource("38_magnet"), ExtResource("39_crab_net"), ExtResource("40_shovel"), ExtResource("41_fishing_net")] diff --git a/main/main.gd b/main/main.gd index 324c268..1724bd9 100644 --- a/main/main.gd +++ b/main/main.gd @@ -37,12 +37,6 @@ const FishingShopType = preload("res://ui/fishing_shop.gd") const FishingShopInteractionType = preload( "res://world/fishing_shop_interaction.gd" ) -const DecorShopInteractionType = preload( - "res://world/decor_shop_interaction.gd" -) -const RVUpgradeInteractionType = preload( - "res://world/rv_upgrade_interaction.gd" -) const PlayerStorageInteractionType = preload( "res://world/player_storage_interaction.gd" ) @@ -76,7 +70,6 @@ const NetworkFishingServiceType = preload( "res://network/network_fishing_service.gd" ) const PlayerHotbarType = preload("res://inventory/player_hotbar.gd") -const DecorCatalogType = preload("res://homes/decor_catalog.gd") const NetworkSaleServiceType = preload( "res://network/network_sale_service.gd" ) @@ -130,14 +123,6 @@ const GatheringControllerType = preload( const NetworkWorldSpawnServiceType = preload( "res://network/network_world_spawn_service.gd" ) -const PlayerHomeStateType = preload("res://homes/player_home_state.gd") -const HomeWorldServiceType = preload("res://homes/home_world_service.gd") -const NetworkHomeServiceType = preload( - "res://network/network_home_service.gd" -) -const HomeDecorControllerType = preload( - "res://homes/home_decor_controller.gd" -) const TITLE_MUSIC_SILENCE_DB: float = -80.0 const TITLE_MUSIC_PATH: String = ( @@ -151,13 +136,6 @@ const PLAYER_MENU_PATTERN_SCROLL_VELOCITY := Vector2(-7.0, -5.0) const SHOP_PATTERN_SCALE: float = 1.75 const DEDICATED_IDLE_PHYSICS_TICKS_PER_SECOND: int = 10 const DEDICATED_ACTIVE_PHYSICS_TICKS_PER_SECOND: int = 30 -const HOME_ENTRY_INPUT_OWNER: StringName = &"home_entry_transition" -const HOME_EXIT_INPUT_OWNER: StringName = &"home_exit_transition" -const HOME_EXIT_FADE_GENERATION: int = -104729 -const HOME_ENTRY_WALK_DISTANCE: float = 1.05 -const HOME_ENTRY_WALK_DURATION: float = 0.55 -const HOME_EXIT_WALK_DISTANCE: float = 1.25 -const HOME_EXIT_WALK_DURATION: float = 0.62 @export var fish_catalog: FishPoolType @export var pelican_buyer_profile: FishBuyerProfileType @@ -175,7 +153,6 @@ const HOME_EXIT_WALK_DURATION: float = 0.62 @onready var _game_ui: GameUIType = %GameUI @onready var _water_recovery: WaterRecoveryControllerType = %WaterRecovery @onready var _save_manager: PlayerSaveManagerType = %PlayerSaveManager -@onready var _home_state: PlayerHomeStateType = %PlayerHomeState @onready var _settings_manager: PlayerSettingsManagerType = %PlayerSettingsManager @onready var _controller_mapping_manager: ControllerMappingManagerType = ( %ControllerMappingManager @@ -235,10 +212,6 @@ const HOME_EXIT_WALK_DURATION: float = 0.62 ) @onready var _network_sale: NetworkSaleServiceType = %NetworkSaleService @onready var _network_shop: NetworkShopServiceType = %NetworkShopService -@onready var _network_home: NetworkHomeServiceType = %NetworkHomeService -@onready var _home_decor_controller: HomeDecorControllerType = ( - %HomeDecorController -) @onready var _network_item_use: NetworkItemUseServiceType = ( %NetworkItemUseService ) @@ -261,7 +234,6 @@ const HOME_EXIT_WALK_DURATION: float = 0.62 @onready var _players_root: Node3D = $Players @onready var _surface_drawings_root: Node3D = $SurfaceDrawings @onready var _world_gatherables_root: Node3D = $WorldGatherables -@onready var _home_world: HomeWorldServiceType = %HomeWorldService @onready var _title_background: ColorRect = %TitleBackground @onready var _player_menu_backdrop: ColorRect = %PlayerMenuBackdrop @onready var _shop_backdrop: ColorRect = %ShopBackdrop @@ -269,8 +241,6 @@ const HOME_EXIT_WALK_DURATION: float = 0.62 var _gameplay_started: bool = false var _save_slots := PlayerSaveSlotCatalogType.new() var _shop_interaction: FishingShopInteractionType -var _decor_shop_interaction: DecorShopInteractionType -var _rv_upgrade_shop_interaction: RVUpgradeInteractionType var _storage_interaction: PlayerStorageInteractionType var _title_music_tween: Tween var _title_music_transition_generation: int = 0 @@ -301,19 +271,12 @@ var _pending_existing_root_path := "" var _local_recovery_attempt_id: String = "" var _dedicated_runtime: bool = false var _dedicated_metrics_accumulator: float = 0.0 -var _home_exit_transition_active: bool = false -var _home_exit_waiting_for_network: bool = false -var _home_exit_start_position: Vector3 = Vector3.ZERO -var _home_exit_walk_tween: Tween -var _home_entry_transition_active: bool = false -var _home_entry_walk_tween: Tween @onready var _shoreline_ambience: ShorelineAmbience = %ShorelineAmbience var _rain_ambience: RainAmbienceType func _ready() -> void: - _data_root.prepare_legacy_user_data() _performance_profile = RuntimePerformanceProfileType.from_environment() _dedicated_runtime = _is_dedicated_server_runtime() if _dedicated_runtime: @@ -331,7 +294,7 @@ func _ready() -> void: _configure_presentation_performance_profile( _performance_profile.is_light() ) - DisplayServer.window_set_title("straywild") + DisplayServer.window_set_title("NETfishing") _rain_ambience = RainAmbienceType.new() _rain_ambience.name = "RainAmbience" add_child(_rain_ambience) @@ -361,12 +324,11 @@ func _ready() -> void: func _configure_presentation_performance_profile(light_profile: bool) -> void: + _game_ui.get_title_screen().set_minimal_presentation(light_profile) _game_ui.set_light_performance_profile(light_profile) - var title_background_material := ( - _title_background.material as ShaderMaterial - ) - if title_background_material != null: - title_background_material.set_shader_parameter( + var title_water_material := _title_background.material as ShaderMaterial + if title_water_material != null: + title_water_material.set_shader_parameter( "animation_enabled", not light_profile, ) @@ -499,7 +461,7 @@ func _print_dedicated_metrics() -> void: metrics["gatherables"] = _network_world_spawns.call( "get_network_metrics" ) - print("straywild server metrics: %s" % JSON.stringify(metrics)) + print("NETfishing server metrics: %s" % JSON.stringify(metrics)) func _start_dedicated_server() -> void: @@ -508,7 +470,10 @@ func _start_dedicated_server() -> void: _fail_dedicated_server(config.error_message) return var data_path: String = config.data_directory - if not _data_root.has_data_manifest(data_path): + var manifest_path: String = data_path.path_join( + PlayerDataRoot.MANIFEST_FILENAME + ) + if not FileAccess.file_exists(manifest_path): var created: Dictionary = _data_root.create_unbound_root(data_path) if not bool(created.get("ok", false)): _fail_dedicated_server(str(created.get( @@ -591,7 +556,7 @@ func _start_dedicated_server() -> void: _fail_dedicated_server(_discovery.get_host_status_message()) return print( - "straywild dedicated server ready: %s on %s:%d (%d players, %s, timezone %s)" + "NETfishing dedicated server ready: %s on %s:%d (%d players, %s, timezone %s)" % [ config.server_name, config.bind_address, @@ -760,7 +725,6 @@ func _initialize_application(dedicated: bool) -> void: _player.wallet, _asset_reservations ) - _player.cooler_capacity.bind_home_state(_home_state) _player.bag.setup(item_catalog) _player.inventory_layout.setup( _player.bag, @@ -777,24 +741,14 @@ func _initialize_application(dedicated: bool) -> void: _player.inventory_layout, ) _shop_interaction = _test_world.get_fishing_shop() - _decor_shop_interaction = _test_world.get_decor_shop() - _rv_upgrade_shop_interaction = _test_world.get_rv_upgrade_shop() _storage_interaction = _test_world.get_player_storage() if not dedicated: - if not _home_state.changed.is_connected(_on_home_state_changed): - _home_state.changed.connect(_on_home_state_changed) _shop_interaction.setup_local_player(_player) _shop_interaction.local_player_range_changed.connect( _on_shop_range_changed ) - _refresh_shop_npc_speech_state() - _decor_shop_interaction.setup_local_player(_player) - _decor_shop_interaction.local_player_range_changed.connect( - _on_decor_shop_range_changed - ) - _rv_upgrade_shop_interaction.setup_local_player(_player) - _rv_upgrade_shop_interaction.local_player_range_changed.connect( - _on_rv_upgrade_shop_range_changed + _game_ui.set_shop_npc_player_in_range( + _shop_interaction.is_local_player_in_range() ) _storage_interaction.setup_local_player(_player) _storage_interaction.local_player_range_changed.connect( @@ -817,23 +771,6 @@ func _initialize_application(dedicated: bool) -> void: _world_weather, _player_jobs, _player, - _home_state, - ) - _home_world.setup( - _test_world, - _player_spawn_service, - _network_session, - dedicated, - ) - _network_home.setup( - _network_session, - _player_spawn_service, - _home_state, - _save_manager, - _home_world, - _player.bag, - _player.inventory_layout, - _player.hotbar, ) _player_jobs.set_save_manager(_save_manager) _save_manager.set_autosave_enabled(false) @@ -967,10 +904,6 @@ func _initialize_application(dedicated: bool) -> void: _save_manager, _asset_reservations, _player.inventory_layout, - _home_state, - _network_home, - _decor_shop_interaction, - _rv_upgrade_shop_interaction, ) _fishing_spot.setup( _player, @@ -988,7 +921,6 @@ func _initialize_application(dedicated: bool) -> void: _network_fishing, _world_time, _world_weather, - Callable(_test_world, "get_fishable_water_regions"), ) if dedicated: return @@ -1010,14 +942,11 @@ func _initialize_application(dedicated: bool) -> void: _player.fishing_upgrades, _shop_interaction, _storage_interaction, - _decor_shop_interaction, - _rv_upgrade_shop_interaction, _player.item_effects, _player.cooler_capacity, _network_session, _network_sale, _network_shop, - _home_state, _network_chat, _network_profile, _player_spawn_service, @@ -1035,27 +964,6 @@ func _initialize_application(dedicated: bool) -> void: _test_world.get_world_environment(), _test_world.get_sun(), ) - _home_decor_controller.setup( - _player, - _player.hotbar, - _player.bag, - _home_state, - _network_home, - _home_world, - _fishing_spot, - _game_ui.get_home_decor_toolbar(), - ) - _game_ui.get_player_storage().decorate_requested.connect( - _home_decor_controller.begin_decorating - ) - _network_home.local_space_changed.connect(_on_local_home_space_changed) - _network_home.local_transition_finished.connect( - _on_local_home_transition_finished - ) - _game_ui.get_screen_fade().transition_completed.connect( - _on_home_exit_fade_transition_completed - ) - _game_ui.rv_storage_requested.connect(_on_rv_storage_requested) _game_ui.setup_data_and_identity( _data_root, _identity_backups, @@ -1064,7 +972,6 @@ func _initialize_application(dedicated: bool) -> void: _network_session, _interface_fonts, ) - _game_ui.data_root_changed.connect(_on_data_root_changed) _game_ui.setup_controller_mapping(_controller_mapping_manager) _ui_pixelation.setup_controller_mapping(_controller_mapping_manager) _game_ui.setup_keyboard_mouse_mapping(_keyboard_mouse_mapping_manager) @@ -1099,8 +1006,7 @@ func _initialize_application(dedicated: bool) -> void: _game_ui, _game_ui.get_screen_fade(), _test_world.get_player_water_triggers(), - _test_world.get_safe_respawn_points(), - Callable(_test_world, "get_water_recovery_position"), + _test_world.get_safe_respawn_points() ) _ui_pixelation.effective_pixel_size_changed.connect( _on_effective_ui_pixel_size_changed @@ -1190,7 +1096,7 @@ func _initialize_application(dedicated: bool) -> void: func _show_data_root_setup() -> void: if _data_setup_dialog == null: _data_setup_dialog = ConfirmationDialog.new() - _data_setup_dialog.title = "straywild player data" + _data_setup_dialog.title = "NETfishing player data" _data_setup_dialog.ok_button_text = "Use This Folder" _data_setup_dialog.cancel_button_text = "Quit" _data_setup_dialog.confirmed.connect(_use_default_data_root) @@ -1207,14 +1113,14 @@ func _show_data_root_setup() -> void: var default_path: String = _data_root.default_visible_path() var legacy: bool = PortableDataMigration.legacy_files_present() _data_setup_dialog.dialog_text = ( - ("Move your existing straywild data to an easy-to-find folder." - if legacy else "Choose where straywild stores your player data.") + ("Move your existing NETfishing data to an easy-to-find folder." + if legacy else "Choose where NETfishing stores your player data.") + "\n\n%s\n\nYou can choose a Syncthing folder." % (default_path if not default_path.is_empty() else "Choose a folder") ) _data_setup_dialog.ok_button_text = ( ( - "Move to Documents/straywild" + "Move to Documents/NETFISHING" if legacy else "Use This Folder" ) if not default_path.is_empty() @@ -1223,7 +1129,7 @@ func _show_data_root_setup() -> void: _data_setup_current_button.visible = not default_path.is_empty() if not _data_root.error_message.is_empty(): _data_setup_dialog.dialog_text = ( - "Your straywild data folder is unavailable.\n\n%s" + "Your NETfishing data folder is unavailable.\n\n%s" % _data_root.error_message ) _data_setup_dialog.popup_centered(Vector2i(640, 360)) @@ -1359,11 +1265,11 @@ func _activate_selected_data_path(path: String, app_data: bool = false) -> void: func _show_existing_root_choice(path: String) -> void: _pending_existing_root_path = path var dialog: ConfirmationDialog = ConfirmationDialog.new() - dialog.title = "Existing straywild data" + dialog.title = "Existing NETfishing data" dialog.ok_button_text = "Use Data Already in Selected Folder" dialog.cancel_button_text = "Cancel" dialog.dialog_text = ( - "This folder already contains straywild player data.\n\n" + "This folder already contains NETfishing player data.\n\n" + "Choose which complete data set to use. Data is never merged automatically." ) dialog.add_button( @@ -1437,18 +1343,6 @@ func _on_data_root_status(message: String) -> void: _configure_popup_dialog.call_deferred(dialog, dialog.get_ok_button()) -func _on_data_root_changed() -> void: - _save_manager.set_autosave_enabled(false) - _save_manager.cancel_pending_autosave() - _configure_portable_stores() - if not _network_profile_service.reload_persisted_profile(): - push_warning("The selected data folder's player profile could not be loaded.") - _network_session.set_local_appearance_snapshot( - _appearance_store.get_snapshot() - ) - _game_ui.get_title_screen().refresh_after_data_root_change() - - func _on_server_trust_required( endpoint: String, expected_fingerprint: String, @@ -1567,12 +1461,6 @@ func _input(event: InputEvent) -> void: if _game_ui.get_player_storage().consume_escape(): get_viewport().set_input_as_handled() return - if _game_ui.get_decor_shop().consume_escape(): - get_viewport().set_input_as_handled() - return - if _game_ui.get_rv_upgrade_shop().consume_escape(): - get_viewport().set_input_as_handled() - return if fishing_shop.consume_escape(): get_viewport().set_input_as_handled() return @@ -1671,54 +1559,19 @@ func _is_pause_open_request(event: InputEvent) -> bool: func _unhandled_input(event: InputEvent) -> void: - if ( - _gameplay_started - and event.is_action_pressed("fish_primary") - and not (event is InputEventKey and event.echo) - and _fishing_spot.try_use_active_non_fishing_item() - ): - get_viewport().set_input_as_handled() - return if ( not _gameplay_started or not event.is_action_pressed("interact") or (event is InputEventKey and event.echo) ): return - var home_owner: String = _network_home.get_local_home_owner_fingerprint() - if not home_owner.is_empty(): - if ( - _network_home.can_local_decorate() - and _fishing_spot.can_open_fishing_shop() - and _game_ui.get_player_storage().open_storage_from_home(true) - ): - _refresh_home_door_prompt({}) - get_viewport().set_input_as_handled() - return - var nearby_home_owner: String = _home_world.find_nearby_exterior_owner( - _player - ) - if not nearby_home_owner.is_empty(): - if _network_home.request_enter(nearby_home_owner): - _refresh_home_door_prompt({}) - get_viewport().set_input_as_handled() - return if ( - _rv_upgrade_shop_interaction != null - and _rv_upgrade_shop_interaction.is_local_player_in_range() + _storage_interaction != null + and _storage_interaction.is_local_player_in_range() and _fishing_spot.can_open_fishing_shop() - and _game_ui.get_rv_upgrade_shop().open_shop() + and _game_ui.get_player_storage().open_storage() ): - _game_ui.set_shop_prompt_visible(false) - get_viewport().set_input_as_handled() - return - if ( - _decor_shop_interaction != null - and _decor_shop_interaction.is_local_player_in_range() - and _fishing_spot.can_open_fishing_shop() - and _game_ui.get_decor_shop().open_shop() - ): - _game_ui.set_shop_prompt_visible(false) + _game_ui.set_storage_prompt_visible(false) get_viewport().set_input_as_handled() return if ( @@ -1741,48 +1594,37 @@ func _process(delta: float) -> void: ) _print_dedicated_metrics() return - _maybe_begin_home_exit_transition() - var show_rv_upgrade_prompt := _can_show_rv_upgrade_shop_prompt() - var show_decor_shop_prompt := _can_show_decor_shop_prompt() - var show_shop_prompt := ( - show_rv_upgrade_prompt - or show_decor_shop_prompt - or _can_show_shop_prompt() - ) + var show_shop_prompt := _can_show_shop_prompt() var shop_prompt_anchor := ( - _rv_upgrade_shop_interaction.get_prompt_anchor_position() - if show_rv_upgrade_prompt - else ( - _decor_shop_interaction.get_prompt_anchor_position() - if show_decor_shop_prompt - else ( - _shop_interaction.get_prompt_anchor_position() - if _shop_interaction != null else Vector3.ZERO - ) - ) + _shop_interaction.get_prompt_anchor_position() + if _shop_interaction != null + else Vector3.ZERO ) _game_ui.set_shop_prompt_visible( show_shop_prompt, shop_prompt_anchor, ) - var home_prompt := _get_home_prompt() - _refresh_home_door_prompt(home_prompt) - _game_ui.set_rv_storage_button_visible( - _can_show_rv_storage_button() + var show_storage_prompt := _can_show_storage_prompt() + var storage_prompt_anchor := ( + _storage_interaction.get_prompt_anchor_position() + if _storage_interaction != null + else Vector3.ZERO + ) + _game_ui.set_storage_prompt_visible( + show_storage_prompt, + storage_prompt_anchor, ) func _apply_runtime_settings(settings: PlayerSettingsType) -> void: if settings == null: return - var current_window_mode: DisplayServer.WindowMode = ( - DisplayServer.window_get_mode() + var requested_window_mode: DisplayServer.WindowMode = ( + DisplayServer.WINDOW_MODE_FULLSCREEN + if settings.fullscreen_enabled + else DisplayServer.WINDOW_MODE_WINDOWED ) - var requested_window_mode: DisplayServer.WindowMode = resolve_window_mode( - settings.fullscreen_enabled, - current_window_mode, - ) - if current_window_mode != requested_window_mode: + if DisplayServer.window_get_mode() != requested_window_mode: DisplayServer.window_set_mode(requested_window_mode) _apply_world_pixelation(settings.world_pixel_size) _ui_pixelation.set_pixel_size(settings.ui_pixel_size) @@ -1809,25 +1651,6 @@ func _apply_runtime_settings(settings: PlayerSettingsType) -> void: ) -static func resolve_window_mode( - fullscreen_enabled: bool, - current_mode: DisplayServer.WindowMode, -) -> DisplayServer.WindowMode: - var is_fullscreen: bool = current_mode in [ - DisplayServer.WINDOW_MODE_FULLSCREEN, - DisplayServer.WINDOW_MODE_EXCLUSIVE_FULLSCREEN, - ] - if fullscreen_enabled: - return ( - current_mode - if is_fullscreen - else DisplayServer.WINDOW_MODE_FULLSCREEN - ) - if is_fullscreen: - return DisplayServer.WINDOW_MODE_WINDOWED - return current_mode - - func _apply_world_pixelation(pixel_size: int) -> void: var root_viewport: Viewport = get_viewport() root_viewport.scaling_3d_mode = Viewport.SCALING_3D_MODE_NEAREST @@ -2509,9 +2332,17 @@ func _on_remote_recovery_requested( peer_id, "Fishing attempt ended." ) - var target_position := _test_world.get_water_recovery_position( - entry_position - ) + var target_position: Vector3 = _test_world.get_player_spawn_transform().origin + var nearest_distance: float = INF + for point: SafeRespawnPoint in _test_world.get_safe_respawn_points(): + if point == null or not point.enabled: + continue + var distance: float = point.get_horizontal_distance_squared( + entry_position + ) + if distance < nearest_distance: + nearest_distance = distance + target_position = point.global_position target_position.y += _water_recovery.respawn_height_offset avatar.global_position = target_position avatar.velocity = Vector3.ZERO @@ -2584,13 +2415,11 @@ func _apply_world( if _application_initialized: _refresh_active_world_bindings() _network_world_spawns.refresh_world_context() - _network_home.refresh_world_presentations() if _application_initialized and not _dedicated_runtime: _water_recovery.update_world_context( spawn_transform, _test_world.get_player_water_triggers(), _test_world.get_safe_respawn_points(), - Callable(_test_world, "get_water_recovery_position"), ) _shoreline_ambience.configure( _player, @@ -2614,30 +2443,10 @@ func _refresh_active_world_bindings() -> void: _storage_interaction.local_player_range_changed.disconnect( _on_storage_range_changed ) - if is_instance_valid(_decor_shop_interaction): - if _decor_shop_interaction.local_player_range_changed.is_connected( - _on_decor_shop_range_changed - ): - _decor_shop_interaction.local_player_range_changed.disconnect( - _on_decor_shop_range_changed - ) - if is_instance_valid(_rv_upgrade_shop_interaction): - if _rv_upgrade_shop_interaction.local_player_range_changed.is_connected( - _on_rv_upgrade_shop_range_changed - ): - _rv_upgrade_shop_interaction.local_player_range_changed.disconnect( - _on_rv_upgrade_shop_range_changed - ) _shop_interaction = _test_world.get_fishing_shop() - _decor_shop_interaction = _test_world.get_decor_shop() - _rv_upgrade_shop_interaction = _test_world.get_rv_upgrade_shop() _storage_interaction = _test_world.get_player_storage() _network_sale.set_shop_interaction(_shop_interaction) _network_shop.set_shop_interaction(_shop_interaction) - _network_shop.set_decor_shop_interaction(_decor_shop_interaction) - _network_shop.set_rv_upgrade_shop_interaction( - _rv_upgrade_shop_interaction - ) if _dedicated_runtime: return if _shop_interaction != null: @@ -2650,21 +2459,9 @@ func _refresh_active_world_bindings() -> void: _storage_interaction.local_player_range_changed.connect( _on_storage_range_changed ) - if _decor_shop_interaction != null: - _decor_shop_interaction.setup_local_player(_player) - _decor_shop_interaction.local_player_range_changed.connect( - _on_decor_shop_range_changed - ) - if _rv_upgrade_shop_interaction != null: - _rv_upgrade_shop_interaction.setup_local_player(_player) - _rv_upgrade_shop_interaction.local_player_range_changed.connect( - _on_rv_upgrade_shop_range_changed - ) _game_ui.set_world_interactions( _shop_interaction, _storage_interaction, - _decor_shop_interaction, - _rv_upgrade_shop_interaction, ) _on_shop_range_changed( _shop_interaction != null @@ -2674,14 +2471,6 @@ func _refresh_active_world_bindings() -> void: _storage_interaction != null and _storage_interaction.is_local_player_in_range() ) - _on_decor_shop_range_changed( - _decor_shop_interaction != null - and _decor_shop_interaction.is_local_player_in_range() - ) - _on_rv_upgrade_shop_range_changed( - _rv_upgrade_shop_interaction != null - and _rv_upgrade_shop_interaction.is_local_player_in_range() - ) func _on_water_recovery_starting() -> void: @@ -2695,8 +2484,6 @@ func _on_water_recovery_starting() -> void: _game_ui.close_player_menu_for_water_recovery() _game_ui.get_pause_menu().close_for_water_recovery() _game_ui.get_fishing_shop().close_for_water_recovery() - _game_ui.get_decor_shop().close_for_water_recovery() - _game_ui.get_rv_upgrade_shop().close_for_water_recovery() _game_ui.get_player_storage().close_for_water_recovery() @@ -2745,7 +2532,6 @@ func _on_active_hotbar_item_changed( and item != null and item.is_available() and _player.bag.owns_item(item_id) - and not String(_network_home.get_local_space()).begins_with("rv:") ) var active_is_catching_net: bool = ( item_id == FishingShopStockType.CRAB_NET_ID @@ -2759,12 +2545,6 @@ func _on_active_hotbar_item_changed( and item.is_available() and _player.bag.owns_item(item_id) ) - var active_is_decor: bool = ( - DecorCatalogType.has_product(item_id) - and item != null - and item.is_available() - and _player.bag.owns_item(item_id) - ) _player.set_active_fishing_rod( item as FishingRodDataType if active_is_rod else null, true, @@ -2775,7 +2555,6 @@ func _on_active_hotbar_item_changed( ) _player.set_active_catching_net(active_is_catching_net) _player.set_active_shovel(active_is_shovel) - _player.set_active_decor_package(active_is_decor) _game_ui.set_surface_drawing_hotbar_selected(active_is_art_kit) _network_item_use.submit_local_equipped(item_id, active_is_rod or ( item != null and _player.bag.owns_item(item_id) @@ -2895,8 +2674,6 @@ func _finish_quit() -> void: func _exit_tree() -> void: - _cancel_home_entry_transition() - _cancel_home_exit_transition(true) if _dedicated_runtime and _network_session != null: _network_session.disconnect_session("Dedicated server stopping.") if _title_music_tween != null: @@ -2914,224 +2691,16 @@ func _exit_tree() -> void: func _on_shop_range_changed(in_range: bool) -> void: - _refresh_shop_npc_speech_state() + _game_ui.set_shop_npc_player_in_range(in_range) if not in_range: _game_ui.get_fishing_shop().close_for_range_exit() - _game_ui.set_shop_prompt_visible(_can_show_any_shop_prompt()) + _game_ui.set_shop_prompt_visible(_can_show_shop_prompt()) func _on_storage_range_changed(in_range: bool) -> void: if not in_range: _game_ui.get_player_storage().close_for_range_exit() - var prompt := _get_home_prompt() - _refresh_home_door_prompt(prompt) - _game_ui.set_rv_storage_button_visible( - _can_show_rv_storage_button() - ) - - -func _on_decor_shop_range_changed(in_range: bool) -> void: - _refresh_shop_npc_speech_state() - if not in_range: - _game_ui.get_decor_shop().close_for_range_exit() - _game_ui.set_shop_prompt_visible(_can_show_any_shop_prompt()) - - -func _on_rv_upgrade_shop_range_changed(in_range: bool) -> void: - _refresh_shop_npc_speech_state() - if not in_range: - _game_ui.get_rv_upgrade_shop().close_for_range_exit() - _game_ui.set_shop_prompt_visible(_can_show_any_shop_prompt()) - - -func _on_home_state_changed() -> void: - _refresh_shop_npc_speech_state() - - -func _on_local_home_space_changed( - space_id: StringName, - owner_fingerprint: String, -) -> void: - var inside_rv: bool = String(space_id).begins_with("rv:") - _refresh_active_hotbar_item() - _fishing_spot.set_fishing_environment_enabled(not inside_rv) - _game_ui.set_rv_interior_camera_mode( - inside_rv - ) - _game_ui.set_rv_storage_button_visible( - _can_show_rv_storage_button() - ) - if inside_rv and not _home_exit_transition_active: - _begin_home_entry_transition(owner_fingerprint) - elif not inside_rv and _home_entry_transition_active: - _cancel_home_entry_transition() - - -func _begin_home_entry_transition(owner_fingerprint: String) -> void: - if owner_fingerprint.is_empty() or _home_entry_transition_active: - return - _home_entry_transition_active = true - _refresh_home_door_prompt({}) - _player.set_local_input_suppressed(HOME_ENTRY_INPUT_OWNER, true) - _player.set_camera_input_suppressed(HOME_ENTRY_INPUT_OWNER, true) - var inward_direction: Vector3 = ( - -_home_world.get_interior_exit_direction(owner_fingerprint) - ) - _player.face_world_direction(inward_direction) - _player.begin_animation_action(PlayerType.CHARACTER_WALKING_ANIMATION) - _home_entry_walk_tween = create_tween() - _home_entry_walk_tween.set_trans(Tween.TRANS_SINE) - _home_entry_walk_tween.set_ease(Tween.EASE_IN_OUT) - _home_entry_walk_tween.tween_property( - _player, - "global_position", - _player.global_position + inward_direction * HOME_ENTRY_WALK_DISTANCE, - HOME_ENTRY_WALK_DURATION, - ) - _home_entry_walk_tween.finished.connect( - _cancel_home_entry_transition, - CONNECT_ONE_SHOT, - ) - - -func _cancel_home_entry_transition() -> void: - if _home_entry_walk_tween != null and _home_entry_walk_tween.is_valid(): - _home_entry_walk_tween.kill() - _home_entry_walk_tween = null - if is_instance_valid(_player): - _player.end_animation_action() - _player.set_local_input_suppressed(HOME_ENTRY_INPUT_OWNER, false) - _player.set_camera_input_suppressed(HOME_ENTRY_INPUT_OWNER, false) - _home_entry_transition_active = false - - -func _maybe_begin_home_exit_transition() -> void: - if ( - _home_exit_transition_active - or _home_entry_transition_active - or not _gameplay_started - or _water_recovery.is_recovery_active() - or not _fishing_spot.can_open_fishing_shop() - or _game_ui.get_player_storage().visible - or _game_ui.get_fishing_shop().visible - or _game_ui.get_decor_shop().visible - or _game_ui.get_rv_upgrade_shop().visible - ): - return - var owner_fingerprint: String = ( - _network_home.get_local_home_owner_fingerprint() - ) - if ( - owner_fingerprint.is_empty() - or not _home_world.has_avatar_crossed_interior_exit_threshold( - _player, - owner_fingerprint, - ) - ): - return - _begin_home_exit_transition(owner_fingerprint) - - -func _begin_home_exit_transition(owner_fingerprint: String) -> void: - _home_exit_transition_active = true - _home_exit_waiting_for_network = false - _home_exit_start_position = _player.global_position - _refresh_home_door_prompt({}) - _player.set_local_input_suppressed(HOME_EXIT_INPUT_OWNER, true) - _player.set_camera_input_suppressed(HOME_EXIT_INPUT_OWNER, true) - var exit_direction: Vector3 = _home_world.get_interior_exit_direction( - owner_fingerprint - ) - _player.face_world_direction(exit_direction) - _player.begin_animation_action(PlayerType.CHARACTER_WALKING_ANIMATION) - _home_exit_walk_tween = create_tween() - _home_exit_walk_tween.set_trans(Tween.TRANS_SINE) - _home_exit_walk_tween.set_ease(Tween.EASE_IN_OUT) - _home_exit_walk_tween.tween_property( - _player, - "global_position", - _player.global_position + exit_direction * HOME_EXIT_WALK_DISTANCE, - HOME_EXIT_WALK_DURATION, - ) - _home_exit_walk_tween.finished.connect( - _on_home_exit_walk_finished, - CONNECT_ONE_SHOT, - ) - - -func _on_home_exit_walk_finished() -> void: - _home_exit_walk_tween = null - if not _home_exit_transition_active: - return - # End the walking action on the same frame translation ends. The fade and - # authoritative relocation may take longer, but a stationary avatar must - # never keep cycling its walk animation during that wait. - _player.end_animation_action() - _game_ui.get_screen_fade().fade_to_black(HOME_EXIT_FADE_GENERATION) - - -func _on_home_exit_fade_transition_completed( - generation: int, - faded_to_black: bool, -) -> void: - if ( - generation != HOME_EXIT_FADE_GENERATION - or not _home_exit_transition_active - ): - return - if faded_to_black: - # A local host can apply the authoritative transition synchronously from - # request_exit(). Mark this first so its completion signal is not lost. - _home_exit_waiting_for_network = true - var request_started: bool = _network_home.request_exit() - if not request_started: - _home_exit_waiting_for_network = false - _player.global_position = _home_exit_start_position - _game_ui.get_screen_fade().fade_from_black( - HOME_EXIT_FADE_GENERATION - ) - return - _cancel_home_exit_transition(false) - - -func _on_local_home_transition_finished( - accepted: bool, - _message: String, -) -> void: - if ( - not _home_exit_transition_active - or not _home_exit_waiting_for_network - ): - return - _home_exit_waiting_for_network = false - if not accepted: - _player.global_position = _home_exit_start_position - _game_ui.get_screen_fade().fade_from_black(HOME_EXIT_FADE_GENERATION) - - -func _cancel_home_exit_transition(reset_fade: bool) -> void: - if _home_exit_walk_tween != null and _home_exit_walk_tween.is_valid(): - _home_exit_walk_tween.kill() - _home_exit_walk_tween = null - if is_instance_valid(_player): - _player.end_animation_action() - _player.set_local_input_suppressed(HOME_EXIT_INPUT_OWNER, false) - _player.set_camera_input_suppressed(HOME_EXIT_INPUT_OWNER, false) - if ( - reset_fade - and is_instance_valid(_game_ui) - and is_instance_valid(_game_ui.get_screen_fade()) - ): - _game_ui.get_screen_fade().reset_immediately() - _home_exit_transition_active = false - _home_exit_waiting_for_network = false - _home_exit_start_position = Vector3.ZERO - - -func _on_rv_storage_requested() -> void: - if not _can_show_rv_storage_button(): - return - _game_ui.get_player_storage().open_storage_from_home(true) + _game_ui.set_storage_prompt_visible(_can_show_storage_prompt()) func _can_show_shop_prompt() -> bool: @@ -3140,141 +2709,18 @@ func _can_show_shop_prompt() -> bool: and _shop_interaction != null and _shop_interaction.is_local_player_in_range() and not _game_ui.get_fishing_shop().visible - and not _game_ui.get_decor_shop().visible - and not _game_ui.get_rv_upgrade_shop().visible and not _water_recovery.is_recovery_active() and _fishing_spot.can_open_fishing_shop() ) -func _can_show_decor_shop_prompt() -> bool: - return ( - _gameplay_started - and _decor_shop_interaction != null - and _decor_shop_interaction.is_local_player_in_range() - and not _game_ui.get_decor_shop().visible - and not _game_ui.get_fishing_shop().visible - and not _game_ui.get_rv_upgrade_shop().visible - and not _water_recovery.is_recovery_active() - and _fishing_spot.can_open_fishing_shop() - ) - - -func _can_show_rv_upgrade_shop_prompt() -> bool: - return ( - _gameplay_started - and _rv_upgrade_shop_interaction != null - and _rv_upgrade_shop_interaction.is_local_player_in_range() - and not _game_ui.get_rv_upgrade_shop().visible - and not _game_ui.get_fishing_shop().visible - and not _game_ui.get_decor_shop().visible - and not _water_recovery.is_recovery_active() - and _fishing_spot.can_open_fishing_shop() - ) - - -func _can_show_any_shop_prompt() -> bool: - return ( - _can_show_shop_prompt() - or _can_show_decor_shop_prompt() - or _can_show_rv_upgrade_shop_prompt() - ) - - -func _is_any_shop_npc_in_range() -> bool: - return ( - ( - _shop_interaction != null - and _shop_interaction.is_local_player_in_range() - ) - or ( - _decor_shop_interaction != null - and _decor_shop_interaction.is_local_player_in_range() - ) - or ( - _rv_upgrade_shop_interaction != null - and _rv_upgrade_shop_interaction.is_local_player_in_range() - ) - ) - - -func _refresh_shop_npc_speech_state() -> void: - var interaction := _get_active_shop_npc_interaction() - var dialogue_text: String = "" - if interaction != null: - dialogue_text = interaction.get_dialogue_text(_home_state.get_tier()) - _game_ui.set_shop_npc_player_in_range( - interaction != null, - dialogue_text, - ) - - -func _get_active_shop_npc_interaction() -> FishingShopInteractionType: - # Match the interaction and prompt priority used above: RV, decor, fishing. - if ( - _rv_upgrade_shop_interaction != null - and _rv_upgrade_shop_interaction.is_local_player_in_range() - ): - return _rv_upgrade_shop_interaction - if ( - _decor_shop_interaction != null - and _decor_shop_interaction.is_local_player_in_range() - ): - return _decor_shop_interaction - if ( - _shop_interaction != null - and _shop_interaction.is_local_player_in_range() - ): - return _shop_interaction - return null - - func _can_show_storage_prompt() -> bool: - return not _get_home_prompt().is_empty() - - -func _refresh_home_door_prompt(prompt: Dictionary) -> void: - # Home entry belongs to the doorway in world space. Keep the retired HUD - # prompt hidden so it cannot overlap the compact door-mounted sign. - _game_ui.set_storage_prompt_visible(false) - _home_world.set_exterior_prompt_visible( - str(prompt.get("owner_fingerprint", "")), - not prompt.is_empty(), - str(prompt.get("label", "enter home")), - ) - - -func _can_show_rv_storage_button() -> bool: return ( _gameplay_started - and not _network_home.get_local_home_owner_fingerprint().is_empty() - and _network_home.can_local_decorate() + and _storage_interaction != null + and _storage_interaction.is_local_player_in_range() + and not _game_ui.get_player_storage().visible + and not _game_ui.get_fishing_shop().visible and not _water_recovery.is_recovery_active() and _fishing_spot.can_open_fishing_shop() ) - - -func _get_home_prompt() -> Dictionary: - if ( - not _gameplay_started - or _game_ui.get_player_storage().visible - or _game_ui.get_fishing_shop().visible - or _game_ui.get_decor_shop().visible - or _game_ui.get_rv_upgrade_shop().visible - or _water_recovery.is_recovery_active() - or not _fishing_spot.can_open_fishing_shop() - ): - return {} - var owner_fingerprint: String = ( - _network_home.get_local_home_owner_fingerprint() - ) - if not owner_fingerprint.is_empty(): - return {} - var nearby_owner: String = _home_world.find_nearby_exterior_owner(_player) - if nearby_owner.is_empty(): - return {} - return { - "label": "enter home", - "anchor": _home_world.get_exterior_prompt_position(nearby_owner), - "owner_fingerprint": nearby_owner, - } diff --git a/main/main.tscn b/main/main.tscn index 778a1d4..b9ad6fb 100644 --- a/main/main.tscn +++ b/main/main.tscn @@ -38,7 +38,7 @@ [ext_resource type="Script" uid="uid://dpiv6wttry0j4" path="res://network/player_data_root.gd" id="37_data_root"] [ext_resource type="Script" uid="uid://bu5q4a8jfvxkf" path="res://network/identity_backup_service.gd" id="38_identity_backup"] [ext_resource type="Script" uid="uid://djmxy6jibi5y3" path="res://ui/interface_font_controller.gd" id="39_fonts"] -[ext_resource type="Texture2D" uid="uid://doju2lbj2ghwa" path="res://world/generation/chunks/assets/chunk_0000_grass_lite.png" id="40_title_grass"] +[ext_resource type="Shader" uid="uid://c8s1g7tn771du" path="res://ui/title_water_background.gdshader" id="40_title_water"] [ext_resource type="Texture2D" uid="uid://f8a0cs0s7ler" path="res://art/patterns/pattern_tealdot.png" id="41_menu_pattern"] [ext_resource type="Shader" uid="uid://byw3iub66qvog" path="res://ui/player_menu_pattern.gdshader" id="42_menu_pattern"] [ext_resource type="Texture2D" uid="uid://b6xws1d2dnbnn" path="res://art/patterns/pattern_moneyfish.png" id="43_shop_pattern"] @@ -58,17 +58,19 @@ [ext_resource type="Resource" path="res://gathering/catalog/gatherable_catalog.tres" id="58_gatherable_catalog"] [ext_resource type="Script" path="res://network/network_world_spawn_service.gd" id="59_world_spawns"] [ext_resource type="Script" path="res://gathering/gathering_controller.gd" id="60_gathering_controller"] -[ext_resource type="Script" path="res://homes/player_home_state.gd" id="61_home_state"] -[ext_resource type="Script" path="res://homes/home_world_service.gd" id="62_home_world"] -[ext_resource type="Script" path="res://network/network_home_service.gd" id="63_network_home"] -[ext_resource type="Script" path="res://homes/home_decor_controller.gd" id="64_home_decor_controller"] -[sub_resource type="ShaderMaterial" id="ShaderMaterial_title_grass_native"] -shader = ExtResource("42_menu_pattern") -shader_parameter/pattern_texture = ExtResource("40_title_grass") -shader_parameter/source_tile_size = Vector2(128, 128) -shader_parameter/display_scale = 1.0 -shader_parameter/scroll_velocity_pixels = Vector2(-7.5, -7.5) +[sub_resource type="ShaderMaterial" id="ShaderMaterial_title_water_native"] +shader = ExtResource("40_title_water") +shader_parameter/surface_color = Color(0.1, 0.45, 0.62, 1) +shader_parameter/middle_color = Color(0.055, 0.285, 0.4, 1) +shader_parameter/depth_color = Color(0.02, 0.16, 0.27, 1) +shader_parameter/virtual_pixel_density = Vector2(320, 180) +shader_parameter/color_step_count = 14.0 +shader_parameter/continuous_depth_blend = 0.12 +shader_parameter/wave_speed = 0.1 +shader_parameter/wave_scale = 2.4 +shader_parameter/wave_strength = 0.012 +shader_parameter/caustic_strength = 0.018 [sub_resource type="ShaderMaterial" id="ShaderMaterial_player_menu_pattern"] shader = ExtResource("42_menu_pattern") @@ -137,7 +139,7 @@ layer = -1 [node name="TitleBackground" type="ColorRect" parent="TitleBackgroundLayer" unique_id=1768697365] unique_name_in_owner = true -material = SubResource("ShaderMaterial_title_grass_native") +material = SubResource("ShaderMaterial_title_water_native") anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 @@ -263,14 +265,6 @@ script = ExtResource("22_network_sale") unique_name_in_owner = true script = ExtResource("23_network_shop") -[node name="NetworkHomeService" type="Node" parent="."] -unique_name_in_owner = true -script = ExtResource("63_network_home") - -[node name="HomeDecorController" type="Node" parent="."] -unique_name_in_owner = true -script = ExtResource("64_home_decor_controller") - [node name="NetworkItemUseService" type="Node" parent="." unique_id=255154670] unique_name_in_owner = true script = ExtResource("24_network_item") @@ -334,10 +328,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.3999481, 12.07081) [node name="WorldGatherables" type="Node3D" parent="."] -[node name="HomeWorldService" type="Node3D" parent="."] -unique_name_in_owner = true -script = ExtResource("62_home_world") - [node name="GatheringController" type="Node3D" parent="."] unique_name_in_owner = true script = ExtResource("60_gathering_controller") @@ -354,10 +344,6 @@ script = ExtResource("8_recovery") unique_name_in_owner = true script = ExtResource("9_save") -[node name="PlayerHomeState" type="Node" parent="."] -unique_name_in_owner = true -script = ExtResource("61_home_state") - [node name="PlayerSettingsManager" type="Node" parent="." unique_id=906991991] unique_name_in_owner = true script = ExtResource("10_settings") diff --git a/main/runtime_performance_profile.gd b/main/runtime_performance_profile.gd index f18e63a..ee2581d 100644 --- a/main/runtime_performance_profile.gd +++ b/main/runtime_performance_profile.gd @@ -2,13 +2,9 @@ class_name RuntimePerformanceProfile extends RefCounted const PROFILE_ENVIRONMENT_VARIABLE: String = ( - "straywild_PERFORMANCE_PROFILE" -) -const LEGACY_LIGHT_ENVIRONMENT_VARIABLE: String = "straywild_LOW_END" -const NETFISHING_PROFILE_ENVIRONMENT_VARIABLE := ( "NETFISHING_PERFORMANCE_PROFILE" ) -const NETFISHING_LIGHT_ENVIRONMENT_VARIABLE := "NETFISHING_LOW_END" +const LEGACY_LIGHT_ENVIRONMENT_VARIABLE: String = "NETFISHING_LOW_END" const NORMAL_PROFILE: StringName = &"normal" const LIGHT_PROFILE: StringName = &"light" const NORMAL_WORLD_RENDER_SCALE: float = 1.0 @@ -18,19 +14,9 @@ var _profile_name: StringName = NORMAL_PROFILE static func from_environment() -> RuntimePerformanceProfile: - var profile_name: String = OS.get_environment( - PROFILE_ENVIRONMENT_VARIABLE - ) - if profile_name.is_empty(): - profile_name = OS.get_environment( - NETFISHING_PROFILE_ENVIRONMENT_VARIABLE - ) return from_name( - StringName(profile_name), - ( - OS.get_environment(LEGACY_LIGHT_ENVIRONMENT_VARIABLE) == "1" - or OS.get_environment(NETFISHING_LIGHT_ENVIRONMENT_VARIABLE) == "1" - ), + StringName(OS.get_environment(PROFILE_ENVIRONMENT_VARIABLE)), + OS.get_environment(LEGACY_LIGHT_ENVIRONMENT_VARIABLE) == "1", ) diff --git a/main/texture_sampling_policy.gd b/main/texture_sampling_policy.gd index 35a92a0..3d041d0 100644 --- a/main/texture_sampling_policy.gd +++ b/main/texture_sampling_policy.gd @@ -1,6 +1,6 @@ extends Node -## Enforces straywild's nearest-neighbor-only artwork policy at runtime. +## Enforces NETfishing's nearest-neighbor-only artwork policy at runtime. ## ## Godot uses separate texture-filter enums for CanvasItem and 3D materials. ## Applying both here prevents imported models, dynamically created controls, @@ -15,12 +15,8 @@ func _enter_tree() -> void: func _on_node_added(node: Node) -> void: enforce_node(node) # Some runtime presenters assign their mesh or material immediately after - # add_child(). Recheck those 3D resource owners once deferred so the newly - # assigned resources are covered too. CanvasItems keep their filter setting - # when their texture changes, so deferring every dynamic UI node only floods - # the message queue during large inventory and catalog refreshes. - if _needs_deferred_resource_check(node): - call_deferred("_enforce_deferred_node", weakref(node)) + # add_child(). Recheck once deferred so those resources are covered too. + call_deferred("_enforce_deferred_node", weakref(node)) func _enforce_existing_tree() -> void: @@ -33,15 +29,6 @@ func _enforce_deferred_node(node_ref: WeakRef) -> void: enforce_node(node) -static func _needs_deferred_resource_check(node: Node) -> bool: - return ( - node is GeometryInstance3D - or node is MultiMeshInstance3D - or node is GPUParticles3D - or node is CPUParticles3D - ) - - static func enforce_subtree(node: Node) -> void: enforce_node(node) for child: Node in node.get_children(): diff --git a/network/discovery_client.gd b/network/discovery_client.gd index d8e602a..31b8054 100644 --- a/network/discovery_client.gd +++ b/network/discovery_client.gd @@ -20,13 +20,12 @@ signal friend_invite_received( signal friend_invite_finished(success: bool, message: String) const BASE_URL_SETTING: String = "network/discovery/base_url" -const BASE_URL_ENVIRONMENT: String = "straywild_DISCOVERY_URL" -const LEGACY_BASE_URL_ENVIRONMENT: String = "NETFISHING_DISCOVERY_URL" +const BASE_URL_ENVIRONMENT: String = "NETFISHING_DISCOVERY_URL" const SETTINGS_PATH: String = "user://network_discovery.cfg" const DEFAULT_ROOM_NAME: String = "Player's Server" -const LEGACY_DEFAULT_ROOM_NAME: String = "straywild Room" +const LEGACY_DEFAULT_ROOM_NAME: String = "NETfishing Room" const LEGACY_DEDICATED_DEFAULT_ROOM_NAME: String = ( - "straywild Dedicated Server" + "NETfishing Dedicated Server" ) const ROOM_NAME_SUFFIX: String = "'s Server" const MAX_ROOM_NAME_LENGTH: int = 48 @@ -34,7 +33,7 @@ const HEARTBEAT_INTERVAL_SECONDS: float = 15.0 const REQUEST_TIMEOUT_SECONDS: float = 8.0 const TRAVERSAL_POLL_INTERVAL_SECONDS: float = 1.0 const JOIN_PROBE_INTERVAL_SECONDS: float = 0.35 -const TRAVERSAL_PACKET_PREFIX: String = "straywild_TRAVERSAL_V1 " +const TRAVERSAL_PACKET_PREFIX: String = "NETFISHING_TRAVERSAL_V1 " const UPNP_MAPPING_DURATION_SECONDS: int = 3600 const UPNP_RENEW_INTERVAL_SECONDS: float = 2700.0 const UPNP_RETRY_INTERVAL_SECONDS: float = 300.0 @@ -554,10 +553,6 @@ func is_own_room(room: Dictionary) -> bool: func _configured_base_url() -> String: var value: String = OS.get_environment(BASE_URL_ENVIRONMENT).strip_edges() - if value.is_empty(): - value = OS.get_environment( - LEGACY_BASE_URL_ENVIRONMENT - ).strip_edges() if value.is_empty(): value = str(ProjectSettings.get_setting(BASE_URL_SETTING, "")).strip_edges() while value.ends_with("/"): @@ -565,7 +560,7 @@ func _configured_base_url() -> String: if not value.is_empty() and not ( value.begins_with("https://") or value.begins_with("http://") ): - push_warning("Ignored invalid straywild discovery URL.") + push_warning("Ignored invalid NETfishing discovery URL.") return "" return value @@ -814,7 +809,7 @@ func _on_traversal_request_completed( var port: int = int(endpoint.get("port", 0)) if address.is_empty() or port < 1 or port > 65535: continue - var punch: PackedByteArray = "straywild_PUNCH_V1".to_utf8_buffer() + var punch: PackedByteArray = "NETFISHING_PUNCH_V1".to_utf8_buffer() for _attempt: int in 3: _session.send_traversal_packet(address, port, punch) @@ -900,13 +895,13 @@ func _configure_upnp_mapping(port: int) -> Dictionary: var mapping_result: int = upnp.add_port_mapping( port, port, - "straywild", + "NETfishing", "UDP", UPNP_MAPPING_DURATION_SECONDS, ) if mapping_result == UPNP.UPNP_RESULT_ONLY_PERMANENT_LEASE_SUPPORTED: mapping_result = upnp.add_port_mapping( - port, port, "straywild", "UDP", 0 + port, port, "NETfishing", "UDP", 0 ) return { "success": mapping_result == UPNP.UPNP_RESULT_SUCCESS, @@ -1379,18 +1374,18 @@ func _discovery_version_mismatch_message(required_version: String) -> String: match rejection: NetworkProtocol.RejectionCode.CLIENT_OUTDATED: return ( - "Your straywild version is out of date. Update to %s to " + "Your NETfishing version is out of date. Update to %s to " + "enable public discovery. This room will not be listed " + "until you update." ) % required_version NetworkProtocol.RejectionCode.SERVER_OUTDATED: return ( - "Public discovery is still on straywild %s. This room " + "Public discovery is still on NETfishing %s. This room " + "will not be listed until discovery is updated for %s." ) % [required_version, local_version] _: return ( - "Public discovery requires straywild %s. This room will " + "Public discovery requires NETfishing %s. This room will " + "not be listed until both versions match." ) % required_version @@ -1582,4 +1577,4 @@ func _save_settings() -> void: config.set_value("social", "share_presence", _presence_sharing) var error: Error = config.save(SETTINGS_PATH) if error != OK: - push_warning("Could not save local straywild discovery settings.") + push_warning("Could not save local NETfishing discovery settings.") diff --git a/network/host_ban_store.gd b/network/host_ban_store.gd index 1251846..f8c4bf9 100644 --- a/network/host_ban_store.gd +++ b/network/host_ban_store.gd @@ -17,10 +17,6 @@ var _data_root: PlayerDataRoot func configure_storage(path: String, data_root: PlayerDataRoot) -> void: _store_path = path _data_root = data_root - _namespaces.clear() - _loaded = false - _write_blocked = false - _expected_hash = "" func is_banned(host_fingerprint: String, target_fingerprint: String) -> bool: diff --git a/network/identity_backup_service.gd b/network/identity_backup_service.gd index c383e7b..ff7396c 100644 --- a/network/identity_backup_service.gd +++ b/network/identity_backup_service.gd @@ -3,8 +3,7 @@ extends Node signal operation_finished(success: bool, message: String) -const MAGIC := "straywild_IDENTITY_BACKUP" -const LEGACY_MAGIC := "NETFISHING_IDENTITY_BACKUP" +const MAGIC := "NETFISHING_IDENTITY_BACKUP" const FORMAT_VERSION := 1 const MAX_BACKUP_BYTES := 256 * 1024 const MIN_PASSPHRASE_LENGTH := 12 @@ -111,9 +110,8 @@ func inspect_backup( if json.parse(text) != OK or typeof(json.data) != TYPE_DICTIONARY: return {"ok": false} var data: Dictionary = json.data - var legacy_backup: bool = data.get("magic") == LEGACY_MAGIC if ( - data.get("magic") not in [MAGIC, LEGACY_MAGIC] + data.get("magic") != MAGIC or data.get("format_version") != FORMAT_VERSION or data.get("identity_type") != expected_type or data.get("algorithm") != NetworkIdentityCrypto.ALGORITHM @@ -136,23 +134,12 @@ func inspect_backup( var signature: PackedByteArray = Marshalls.base64_to_raw( str(data.get("self_signature", "")) ) - var public_key: CryptoKey = NetworkIdentityCrypto.load_public_key(public_pem) - var backup_signature_valid: bool = ( - NetworkIdentityCrypto.verify_legacy_fields( - public_key, - "identity_backup_self_test", - [expected_type, fingerprint], - signature, - ) - if legacy_backup - else NetworkIdentityCrypto.verify_fields( - public_key, - "identity_backup_self_test", - [expected_type, fingerprint], - signature, - ) - ) - if not backup_signature_valid: + if not NetworkIdentityCrypto.verify_fields( + NetworkIdentityCrypto.load_public_key(public_pem), + "identity_backup_self_test", + [expected_type, fingerprint], + signature, + ): return {"ok": false} var fresh: PackedByteArray = NetworkIdentityCrypto.sign_fields( key, "identity_import_self_test", [fingerprint] @@ -202,7 +189,7 @@ func import_backup( ) _finish( bool(result.get("ok", false)), - "Identity imported. Restart straywild before multiplayer." + "Identity imported. Restart NETfishing before multiplayer." if bool(result.get("ok", false)) else "Could not install this identity backup.", ) diff --git a/network/known_player_store.gd b/network/known_player_store.gd index 1118656..0c6b859 100644 --- a/network/known_player_store.gd +++ b/network/known_player_store.gd @@ -15,10 +15,6 @@ var _data_root: PlayerDataRoot func configure_storage(path: String, data_root: PlayerDataRoot) -> void: _store_path = path _data_root = data_root - _records.clear() - _loaded = false - _write_blocked = false - _expected_hash = "" func observe(fingerprint: String, display_name: String) -> String: diff --git a/network/network_home_protocol.gd b/network/network_home_protocol.gd deleted file mode 100644 index 96756e9..0000000 --- a/network/network_home_protocol.gd +++ /dev/null @@ -1,188 +0,0 @@ -class_name NetworkHomeProtocol -extends RefCounted - -const PlayerHomeStateType = preload("res://homes/player_home_state.gd") - -const CAPABILITY: StringName = &"portable_home_v1" -const RELIABLE_CHANNEL: int = NetworkProtocol.HOME_RELIABLE_CHANNEL -const MAX_ID_LENGTH: int = 96 -const MAX_MESSAGE_LENGTH: int = 160 -const MAX_TRANSITION_COORDINATE: float = 10000.0 -const WORLD_SPACE: StringName = &"world" - -enum TransitionAction { - ENTER, - EXIT, -} - - -static func make_space_id(owner_fingerprint: String) -> StringName: - return StringName("rv:%s" % owner_fingerprint) - - -static func manifest_digest(home_data: Dictionary) -> String: - var sanitized: Dictionary = PlayerHomeStateType.sanitize_save_data(home_data) - if sanitized.is_empty(): - return "" - var canonical_owned: Array[Dictionary] = [] - var owned: Dictionary = sanitized["owned_decor"] - var owned_ids: Array[String] = [] - for value: Variant in owned.keys(): - owned_ids.append(str(value)) - owned_ids.sort() - for decor_id: String in owned_ids: - canonical_owned.append({ - "id": decor_id, - "quantity": int(owned[decor_id]), - }) - var placements: Array[Dictionary] = [] - for value: Variant in sanitized["placements"]: - placements.append((value as Dictionary).duplicate(true)) - placements.sort_custom(func(first: Dictionary, second: Dictionary) -> bool: - return str(first["instance_id"]) < str(second["instance_id"]) - ) - var canonical: Dictionary = { - "schema_version": int(sanitized["schema_version"]), - "tier": int(sanitized["tier"]), - "exterior_id": str(sanitized["exterior_id"]), - "privacy": int(sanitized["privacy"]), - "owned": canonical_owned, - "placements": placements, - "revision": int(sanitized["revision"]), - "next_instance_sequence": int(sanitized["next_instance_sequence"]), - } - return JSON.stringify(canonical).sha256_text() - - -static func manifest_signature_fields(data: Dictionary) -> Array: - return [ - str(data.get("session_id", "")), - str(data.get("request_id", "")), - str(data.get("owner_fingerprint", "")), - int((data.get("home", {}) as Dictionary).get("revision", -1)), - str(data.get("digest", "")), - ] - - -static func validate_manifest_request(value: Variant) -> bool: - if typeof(value) != TYPE_DICTIONARY: - return false - var data: Dictionary = value - if ( - not _valid_id(data.get("request_id")) - or not _valid_id(data.get("session_id")) - or not NetworkIdentityCrypto.valid_fingerprint( - data.get("owner_fingerprint") - ) - or typeof(data.get("home")) != TYPE_DICTIONARY - or typeof(data.get("digest")) != TYPE_STRING - or str(data["digest"]).length() != 64 - or typeof(data.get("sender_signature")) != TYPE_PACKED_BYTE_ARRAY - ): - return false - var sanitized: Dictionary = PlayerHomeStateType.sanitize_save_data( - data["home"] - ) - return ( - not sanitized.is_empty() - and manifest_digest(sanitized) == str(data["digest"]) - ) - - -static func validate_manifest_broadcast(value: Variant) -> bool: - if typeof(value) != TYPE_DICTIONARY: - return false - var data: Dictionary = value - return ( - typeof(data.get("owner_peer_id")) == TYPE_INT - and int(data["owner_peer_id"]) > 0 - and NetworkIdentityCrypto.valid_fingerprint( - data.get("owner_fingerprint") - ) - and typeof(data.get("home")) == TYPE_DICTIONARY - and not PlayerHomeStateType.sanitize_save_data(data["home"]).is_empty() - and _valid_transform(data.get("exterior_transform")) - and typeof(data.get("interior_index")) == TYPE_INT - and int(data["interior_index"]) >= 0 - and int(data["interior_index"]) < 128 - ) - - -static func transition_signature_fields(data: Dictionary) -> Array: - return [ - str(data.get("session_id", "")), - str(data.get("request_id", "")), - int(data.get("action", -1)), - str(data.get("owner_fingerprint", "")), - ] - - -static func validate_transition_request(value: Variant) -> bool: - if typeof(value) != TYPE_DICTIONARY: - return false - var data: Dictionary = value - return ( - _valid_id(data.get("request_id")) - and _valid_id(data.get("session_id")) - and typeof(data.get("action")) == TYPE_INT - and int(data["action"]) >= TransitionAction.ENTER - and int(data["action"]) <= TransitionAction.EXIT - and NetworkIdentityCrypto.valid_fingerprint( - data.get("owner_fingerprint") - ) - and typeof(data.get("sender_signature")) == TYPE_PACKED_BYTE_ARRAY - ) - - -static func transform_to_array(value: Transform3D) -> Array[float]: - return [ - value.basis.x.x, value.basis.x.y, value.basis.x.z, - value.basis.y.x, value.basis.y.y, value.basis.y.z, - value.basis.z.x, value.basis.z.y, value.basis.z.z, - value.origin.x, value.origin.y, value.origin.z, - ] - - -static func array_to_transform(value: Variant) -> Transform3D: - if not validate_transition_transform(value): - return Transform3D() - var fields: Array = value - return Transform3D( - Basis( - Vector3(float(fields[0]), float(fields[1]), float(fields[2])), - Vector3(float(fields[3]), float(fields[4]), float(fields[5])), - Vector3(float(fields[6]), float(fields[7]), float(fields[8])), - ), - Vector3(float(fields[9]), float(fields[10]), float(fields[11])), - ) - - -static func validate_transition_transform(value: Variant) -> bool: - if not _valid_transform(value): - return false - var fields: Array = value - return ( - absf(float(fields[9])) <= MAX_TRANSITION_COORDINATE - and absf(float(fields[10])) <= MAX_TRANSITION_COORDINATE - and absf(float(fields[11])) <= MAX_TRANSITION_COORDINATE - ) - - -static func _valid_transform(value: Variant) -> bool: - if typeof(value) != TYPE_ARRAY or (value as Array).size() != 12: - return false - for component: Variant in value: - if ( - typeof(component) not in [TYPE_FLOAT, TYPE_INT] - or not is_finite(float(component)) - ): - return false - return true - - -static func _valid_id(value: Variant) -> bool: - return ( - typeof(value) == TYPE_STRING - and not str(value).is_empty() - and str(value).length() <= MAX_ID_LENGTH - ) diff --git a/network/network_home_protocol.gd.uid b/network/network_home_protocol.gd.uid deleted file mode 100644 index 24b6aae..0000000 --- a/network/network_home_protocol.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://fl3qwiluejhm diff --git a/network/network_home_service.gd b/network/network_home_service.gd deleted file mode 100644 index 4885961..0000000 --- a/network/network_home_service.gd +++ /dev/null @@ -1,1450 +0,0 @@ -class_name NetworkHomeService -extends Node - -const NetworkHomeProtocolType = preload( - "res://network/network_home_protocol.gd" -) -const PlayerHomeStateType = preload("res://homes/player_home_state.gd") -const DecorCatalogType = preload("res://homes/decor_catalog.gd") -const OwnedItemType = preload("res://items/owned_item.gd") - -signal local_transition_finished(accepted: bool, message: String) -signal local_space_changed(space_id: StringName, owner_fingerprint: String) -signal local_manifest_rejected(message: String) - -const MAX_MANIFESTS: int = 128 -const MAX_PENDING_LOCAL_DECOR_TRANSACTIONS: int = 16 - -var _session: NetworkSession -var _spawn_service: PlayerSpawnService -var _local_home: PlayerHomeStateType -var _save_manager: PlayerSaveManager -var _world_service: HomeWorldService -var _bag: PlayerBag -var _inventory_layout: PlayerInventoryLayout -var _hotbar: PlayerHotbar -var _manifests_by_fingerprint: Dictionary[String, Dictionary] = {} -var _fingerprint_by_peer: Dictionary[int, String] = {} -var _authorized_owned_counts: Dictionary[int, Dictionary] = {} -var _authorization_result_owner: Dictionary[String, int] = {} -var _authorized_home_tiers: Dictionary[int, int] = {} -var _home_upgrade_result_owner: Dictionary[String, int] = {} -var _interior_slots_by_space: Dictionary[StringName, Dictionary] = {} -var _next_interior_index: int = 0 -var _suppress_local_submission: bool = false -var _publish_queued: bool = false -var _last_submitted_local_home_revision: int = -1 -var _pending_local_decor_transactions: Dictionary[int, Dictionary] = {} - - -func setup( - session: NetworkSession, - spawn_service: PlayerSpawnService, - local_home: PlayerHomeStateType, - save_manager: PlayerSaveManager, - world_service: HomeWorldService, - bag: PlayerBag, - inventory_layout: PlayerInventoryLayout, - hotbar: PlayerHotbar, -) -> void: - _session = session - _spawn_service = spawn_service - _local_home = local_home - _save_manager = save_manager - _world_service = world_service - _bag = bag - _inventory_layout = inventory_layout - _hotbar = hotbar - if not _session.state_changed.is_connected(_on_session_state_changed): - _session.state_changed.connect(_on_session_state_changed) - if not _session.join_authenticated.is_connected(_on_join_authenticated): - _session.join_authenticated.connect(_on_join_authenticated) - if not _session.peer_authenticated.is_connected(_on_peer_authenticated): - _session.peer_authenticated.connect(_on_peer_authenticated) - if not _session.peer_removed.is_connected(_on_peer_removed): - _session.peer_removed.connect(_on_peer_removed) - if not _local_home.changed.is_connected(_on_local_home_changed): - _local_home.changed.connect(_on_local_home_changed) - - -func get_local_space() -> StringName: - if _session == null or not _session.is_gameplay_session_active(): - return NetworkHomeProtocolType.WORLD_SPACE - return _session.get_peer_space(_session.get_local_peer_id()) - - -func get_local_home_owner_fingerprint() -> String: - var space_id: String = String(get_local_space()) - return space_id.trim_prefix("rv:") if space_id.begins_with("rv:") else "" - - -func can_local_decorate() -> bool: - return ( - get_local_home_owner_fingerprint() - == _session.get_local_identity_fingerprint() - ) - - -func has_pending_local_decor_mutation() -> bool: - return not _pending_local_decor_transactions.is_empty() - - -func get_authoritative_owned_count( - peer_id: int, - decor_id: StringName, -) -> int: - var authorized: Dictionary = _authorized_owned_counts.get(peer_id, {}) - if authorized.has(String(decor_id)): - return int(authorized[String(decor_id)]) - var fingerprint: String = _fingerprint_for_peer(peer_id) - var manifest: Dictionary = _manifests_by_fingerprint.get(fingerprint, {}) - if manifest.is_empty(): - return -1 - var home: Dictionary = manifest.get("home", {}) - var owned: Dictionary = home.get("owned_decor", {}) - return int(owned.get(String(decor_id), 0)) - - -func get_authoritative_home_tier(peer_id: int) -> int: - if _authorized_home_tiers.has(peer_id): - return int(_authorized_home_tiers[peer_id]) - var fingerprint: String = _fingerprint_for_peer(peer_id) - var manifest: Dictionary = _manifests_by_fingerprint.get(fingerprint, {}) - if manifest.is_empty(): - return -1 - var home: Dictionary = manifest.get("home", {}) - return int(home.get("tier", -1)) - - -func place_local_decor( - decor_id: StringName, - position: Vector3, - yaw_radians: float, - mode: PlayerHomeStateType.PlacementMode, -) -> String: - if ( - not can_local_decorate() - or has_pending_local_decor_mutation() - or _bag == null - or _bag.get_quantity(decor_id) <= 0 - or _world_service == null - ): - return "" - var owner_fingerprint: String = ( - _session.get_local_identity_fingerprint() - ) - var normalized: Dictionary = ( - _local_home.get_nearest_valid_placement_transform( - decor_id, - position, - yaw_radians, - mode, - "", - Callable( - self, "_candidate_clear_of_players" - ).bind(owner_fingerprint, decor_id), - ) - ) - if normalized.is_empty(): - return "" - var transaction: Dictionary = _capture_local_decor_transaction() - if transaction.is_empty(): - return "" - _suppress_local_submission = true - var instance_id: String = _local_home.place_decor( - decor_id, - normalized["position"], - float(normalized["yaw"]), - mode, - ) - if instance_id.is_empty(): - _suppress_local_submission = false - return "" - if not _bag.remove_item(decor_id, 1): - _local_home.remove_placement(instance_id) - _suppress_local_submission = false - return "" - _suppress_local_submission = false - if not _commit_local_decor_transaction(transaction): - return "" - return instance_id - - -func remove_local_decor(instance_id: String) -> bool: - if ( - not can_local_decorate() - or has_pending_local_decor_mutation() - or _bag == null - or _inventory_layout == null - or _hotbar == null - ): - return false - var placement: Dictionary = _local_home.get_placement(instance_id) - if placement.is_empty(): - return false - var transaction: Dictionary = _capture_local_decor_transaction() - if transaction.is_empty(): - return false - var decor_id := StringName(str(placement["decor_id"])) - var target_hotbar_slot: int = _hotbar.find_item_slot(decor_id) - if target_hotbar_slot < 0: - target_hotbar_slot = _hotbar.find_first_empty_slot() - var prepared_hotbar_placement: bool = false - if ( - target_hotbar_slot >= 0 - and _inventory_layout.get_container( - PlayerInventoryLayout.EntryKind.ITEM, - decor_id, - ) < 0 - ): - prepared_hotbar_placement = ( - _inventory_layout.prepare_new_item_placement( - decor_id, - PlayerInventoryLayout.InventoryContainer.HOTBAR, - target_hotbar_slot, - ) - ) - var returned_to_inventory: bool = _bag.add_item(decor_id, 1) - if not returned_to_inventory: - if prepared_hotbar_placement: - _inventory_layout.cancel_prepared_item_placement(decor_id) - returned_to_inventory = _bag.add_item_to_storage(decor_id, 1) - if not returned_to_inventory: - if prepared_hotbar_placement: - _inventory_layout.cancel_prepared_item_placement(decor_id) - return false - if target_hotbar_slot >= 0: - _hotbar.assign_item(target_hotbar_slot, decor_id) - _hotbar.select_slot(target_hotbar_slot) - _suppress_local_submission = true - if not _local_home.remove_placement(instance_id): - _suppress_local_submission = false - _restore_local_decor_transaction(transaction) - return false - _suppress_local_submission = false - if not _commit_local_decor_transaction(transaction): - return false - return true - - -func update_local_decor( - instance_id: String, - position: Vector3, - yaw_radians: float, - mode: PlayerHomeStateType.PlacementMode, -) -> bool: - if has_pending_local_decor_mutation(): - return false - var normalized: Dictionary = get_valid_local_decor_transform( - instance_id, position, yaw_radians, mode - ) - if normalized.is_empty(): - return false - var transaction: Dictionary = _capture_local_decor_transaction() - if transaction.is_empty(): - return false - _suppress_local_submission = true - if not _local_home.update_placement( - instance_id, - normalized["position"], - float(normalized["yaw"]), - mode, - ): - _suppress_local_submission = false - return false - _suppress_local_submission = false - if not _commit_local_decor_transaction(transaction): - return false - return true - - -func get_valid_local_decor_transform( - instance_id: String, - position: Vector3, - yaw_radians: float, - mode: PlayerHomeStateType.PlacementMode, -) -> Dictionary: - if not can_local_decorate() or _world_service == null: - return {} - var placement: Dictionary = _local_home.get_placement(instance_id) - if placement.is_empty(): - return {} - var decor_id := StringName(str(placement.get("decor_id", ""))) - return _local_home.get_valid_update_transform( - instance_id, - position, - yaw_radians, - mode, - Callable( - self, "_candidate_clear_of_players" - ).bind( - _session.get_local_identity_fingerprint(), decor_id - ), - ) - - -func _candidate_clear_of_players( - candidate: Dictionary, - owner_fingerprint: String, - decor_id: StringName, -) -> bool: - return ( - _world_service != null - and _world_service.is_decor_placement_clear_of_players( - owner_fingerprint, - decor_id, - candidate["position"], - float(candidate["yaw"]), - ) - ) - - -func request_enter(owner_fingerprint: String) -> bool: - if ( - _session == null - or not _session.is_gameplay_session_active() - or not _manifests_by_fingerprint.has(owner_fingerprint) - or get_local_space() != NetworkHomeProtocolType.WORLD_SPACE - ): - return false - return _submit_transition( - NetworkHomeProtocolType.TransitionAction.ENTER, - owner_fingerprint, - ) - - -func request_exit() -> bool: - var owner_fingerprint: String = get_local_home_owner_fingerprint() - if owner_fingerprint.is_empty(): - return false - return _submit_transition( - NetworkHomeProtocolType.TransitionAction.EXIT, - owner_fingerprint, - ) - - -func authorize_decor_purchase( - peer_id: int, - product_id: StringName, - resulting_count: int, - result_id: String, -) -> void: - if not _session.is_host() or peer_id <= 0 or result_id.is_empty(): - return - var counts: Dictionary = _authorized_owned_counts.get(peer_id, {}) - counts[String(product_id)] = resulting_count - _authorized_owned_counts[peer_id] = counts - _authorization_result_owner[result_id] = peer_id - - -func finalize_decor_purchase( - peer_id: int, - result_id: String, - applied: bool, -) -> void: - if _authorization_result_owner.get(result_id, 0) != peer_id: - return - _authorization_result_owner.erase(result_id) - if applied: - return - _authorized_owned_counts.erase(peer_id) - - -func authorize_home_upgrade( - peer_id: int, - resulting_tier: int, - result_id: String, -) -> void: - if ( - not _session.is_host() - or peer_id <= 0 - or result_id.is_empty() - or resulting_tier < PlayerHomeStateType.STARTER_TIER - or resulting_tier > PlayerHomeStateType.MAX_TIER - ): - return - _authorized_home_tiers[peer_id] = resulting_tier - _home_upgrade_result_owner[result_id] = peer_id - - -func finalize_home_upgrade( - peer_id: int, - result_id: String, - applied: bool, -) -> void: - if _home_upgrade_result_owner.get(result_id, 0) != peer_id: - return - _home_upgrade_result_owner.erase(result_id) - if not applied: - _authorized_home_tiers.erase(peer_id) - - -func refresh_world_presentations() -> void: - if _world_service == null: - return - _world_service.clear_presentations() - if not _world_service.is_world_ready(): - return - if not _session.is_host(): - for manifest: Dictionary in _manifests_by_fingerprint.values(): - _world_service.apply_manifest(manifest) - return - var local_fingerprint: String = _session.get_local_identity_fingerprint() - if ( - not _session.is_dedicated_host() - and not _manifests_by_fingerprint.has(local_fingerprint) - ): - publish_local_home() - var fingerprints: Array[String] = [] - fingerprints.assign(_manifests_by_fingerprint.keys()) - fingerprints.sort() - var reserved: Array[Transform3D] = [] - for fingerprint: String in fingerprints: - var manifest: Dictionary = _manifests_by_fingerprint[fingerprint] - var transform: Transform3D = _world_service.choose_exterior_transform( - int(manifest["owner_peer_id"]), reserved - ) - reserved.append(transform) - manifest["exterior_transform"] = ( - NetworkHomeProtocolType.transform_to_array(transform) - ) - _manifests_by_fingerprint[fingerprint] = manifest - _broadcast_manifest(manifest) - for fingerprint: String in fingerprints: - var manifest: Dictionary = _manifests_by_fingerprint[fingerprint] - _spawn_peer_at_exterior( - int(manifest["owner_peer_id"]), fingerprint - ) - - -func publish_local_home( - allow_pending_decor_transaction: bool = false, -) -> bool: - if ( - _session == null - or not _session.is_gameplay_session_active() - or _session.is_dedicated_host() - or _local_home == null - ): - return false - # A purchase can update the owned decor count while an optimistic placement - # is waiting on the host. Hold that follow-up manifest until the placement is - # accepted or rolled back; otherwise it can carry the still-unverified - # placement and turn one rejection into a second stale rejection. - if ( - not allow_pending_decor_transaction - and has_pending_local_decor_mutation() - ): - _publish_queued = true - return true - if _session.is_host() and ( - _world_service == null or not _world_service.is_world_ready() - ): - return false - var home_data: Dictionary = _local_home.to_save_data() - var revision: int = int(home_data.get("revision", -1)) - if revision >= 0 and revision == _last_submitted_local_home_revision: - return true - var request: Dictionary = { - "request_id": _new_id("home"), - "session_id": _session.get_session_id(), - "owner_fingerprint": _session.get_local_identity_fingerprint(), - "home": home_data, - "digest": NetworkHomeProtocolType.manifest_digest(home_data), - } - request["sender_signature"] = _session.sign_local_action( - "portable_home_manifest", - NetworkHomeProtocolType.manifest_signature_fields(request), - ) - _last_submitted_local_home_revision = revision - if _session.is_host(): - _process_manifest_request(_session.get_local_peer_id(), request) - else: - submit_home_manifest.rpc_id(1, request) - return true - - -@rpc( - "any_peer", "call_remote", "reliable", - NetworkHomeProtocolType.RELIABLE_CHANNEL, -) -func submit_home_manifest(data: Dictionary) -> void: - var sender_id: int = multiplayer.get_remote_sender_id() - if ( - _session == null - or not _session.is_host() - or not _session.is_authenticated_peer(sender_id) - ): - return - _process_manifest_request(sender_id, data) - - -func _process_manifest_request(peer_id: int, data: Dictionary) -> void: - if ( - not NetworkHomeProtocolType.validate_manifest_request(data) - or str(data["session_id"]) != _session.get_session_id() - ): - _reject_manifest(peer_id, "The home update was invalid.") - return - var record := _session.get_peer_record(peer_id) - var fingerprint: String = str(data["owner_fingerprint"]) - if ( - record == null - or record.identity_fingerprint != fingerprint - or not _session.verify_peer_action( - peer_id, - "portable_home_manifest", - NetworkHomeProtocolType.manifest_signature_fields(data), - data["sender_signature"], - ) - ): - _reject_manifest(peer_id, "The home owner could not be verified.") - return - var home_data: Dictionary = PlayerHomeStateType.sanitize_save_data( - data["home"] - ) - var prior: Dictionary = _manifests_by_fingerprint.get(fingerprint, {}) - var is_first_manifest: bool = prior.is_empty() - if not _valid_manifest_revision(peer_id, prior, home_data): - _reject_manifest(peer_id, "The home update was rejected by the host.") - return - if not _moved_decor_clear_of_players(fingerprint, prior, home_data): - _reject_manifest(peer_id, "A player is in the way of that decor.") - return - var manifest: Dictionary - if prior.is_empty(): - if _manifests_by_fingerprint.size() >= MAX_MANIFESTS: - _reject_manifest(peer_id, "This room cannot place another home.") - return - var reserved: Array[Transform3D] = [] - for existing: Dictionary in _manifests_by_fingerprint.values(): - reserved.append(NetworkHomeProtocolType.array_to_transform( - existing["exterior_transform"] - )) - var exterior_transform: Transform3D = ( - _world_service.choose_exterior_transform(peer_id, reserved) - ) - manifest = { - "owner_peer_id": peer_id, - "owner_fingerprint": fingerprint, - "home": home_data, - "exterior_transform": ( - NetworkHomeProtocolType.transform_to_array(exterior_transform) - ), - "interior_index": _next_interior_index, - } - _next_interior_index += 1 - else: - manifest = prior.duplicate(true) - manifest["home"] = home_data - manifest["owner_peer_id"] = peer_id - _manifests_by_fingerprint[fingerprint] = manifest - _fingerprint_by_peer[peer_id] = fingerprint - _consume_owned_authorizations(peer_id, home_data) - if peer_id == _session.get_local_peer_id(): - _discard_local_decor_transactions_through( - int(home_data.get("revision", -1)) - ) - if _last_submitted_local_home_revision == int( - home_data.get("revision", -1) - ): - _last_submitted_local_home_revision = -1 - _flush_queued_local_home_publish() - _broadcast_manifest(manifest) - if is_first_manifest: - _spawn_peer_at_exterior(peer_id, fingerprint) - - -func _valid_manifest_revision( - peer_id: int, - prior_manifest: Dictionary, - home_data: Dictionary, -) -> bool: - if prior_manifest.is_empty(): - # A portable RV is owned by the player's signed local save. A new host has - # no prior room ledger with which to compare its first manifest. - return true - var prior_home: Dictionary = prior_manifest["home"] - var prior_tier: int = int(prior_home["tier"]) - var next_tier: int = int(home_data["tier"]) - var tier_is_authorized: bool = ( - next_tier != prior_tier - and int(_authorized_home_tiers.get(peer_id, -1)) == next_tier - ) - if ( - int(home_data["revision"]) <= int(prior_home["revision"]) - or (next_tier != prior_tier and not tier_is_authorized) - or str(home_data["exterior_id"]) - != str(PlayerHomeStateType.exterior_id_for_tier(next_tier)) - ): - return false - var prior_owned: Dictionary = prior_home["owned_decor"] - var next_owned: Dictionary = home_data["owned_decor"] - var all_ids: Dictionary[String, bool] = {} - for value: Variant in prior_owned.keys(): - all_ids[str(value)] = true - for value: Variant in next_owned.keys(): - all_ids[str(value)] = true - var authorized: Dictionary = _authorized_owned_counts.get(peer_id, {}) - for product_id: String in all_ids: - var prior_count: int = int(prior_owned.get(product_id, 0)) - var next_count: int = int(next_owned.get(product_id, 0)) - if prior_count == next_count: - continue - if next_count < prior_count or int(authorized.get(product_id, -1)) != next_count: - return false - return true - - -func _moved_decor_clear_of_players( - owner_fingerprint: String, - prior_manifest: Dictionary, - home_data: Dictionary, -) -> bool: - if _world_service == null: - return false - var prior_by_instance: Dictionary[String, Dictionary] = {} - if not prior_manifest.is_empty(): - var prior_home: Dictionary = prior_manifest.get("home", {}) - for value: Variant in prior_home.get("placements", []): - if typeof(value) != TYPE_DICTIONARY: - continue - var prior_placement: Dictionary = value - prior_by_instance[str( - prior_placement.get("instance_id", "") - )] = prior_placement - for value: Variant in home_data.get("placements", []): - if typeof(value) != TYPE_DICTIONARY: - return false - var placement: Dictionary = value - var instance_id: String = str(placement.get("instance_id", "")) - var prior_placement: Dictionary = prior_by_instance.get( - instance_id, {} - ) - if ( - not prior_placement.is_empty() - and _same_decor_transform(prior_placement, placement) - ): - continue - var decor_id := StringName(str(placement.get("decor_id", ""))) - var position: Vector3 = _placement_position(placement) - if ( - not position.is_finite() - or not _world_service.is_decor_placement_clear_of_players( - owner_fingerprint, - decor_id, - position, - float(placement.get("yaw", 0.0)), - ) - ): - return false - return true - - -static func _same_decor_transform( - first: Dictionary, - second: Dictionary, -) -> bool: - if str(first.get("decor_id", "")) != str(second.get("decor_id", "")): - return false - var first_position: Vector3 = _placement_position(first) - var second_position: Vector3 = _placement_position(second) - return ( - first_position.is_equal_approx(second_position) - and is_equal_approx( - float(first.get("yaw", 0.0)), - float(second.get("yaw", 0.0)), - ) - ) - - -static func _placement_position(placement: Dictionary) -> Vector3: - var values: Array = placement.get("position", []) - if values.size() != 3: - return Vector3.INF - return Vector3( - float(values[0]), float(values[1]), float(values[2]) - ) - - -func _consume_owned_authorizations(peer_id: int, home_data: Dictionary) -> void: - if ( - _authorized_home_tiers.has(peer_id) - and int(home_data["tier"]) == int(_authorized_home_tiers[peer_id]) - ): - _authorized_home_tiers.erase(peer_id) - var authorized: Dictionary = _authorized_owned_counts.get(peer_id, {}) - if authorized.is_empty(): - return - var owned: Dictionary = home_data["owned_decor"] - for product_id: String in authorized.keys(): - if int(owned.get(product_id, -1)) == int(authorized[product_id]): - authorized.erase(product_id) - if authorized.is_empty(): - _authorized_owned_counts.erase(peer_id) - else: - _authorized_owned_counts[peer_id] = authorized - - -func _broadcast_manifest(manifest: Dictionary) -> void: - if _world_service != null and _world_service.is_world_ready(): - _world_service.apply_manifest(manifest) - for peer_id: int in _session.get_authenticated_peer_ids(): - if peer_id == 1: - continue - receive_home_manifest.rpc_id(peer_id, manifest) - - -@rpc( - "authority", "call_remote", "reliable", - NetworkHomeProtocolType.RELIABLE_CHANNEL, -) -func receive_home_manifest(data: Dictionary) -> void: - if not NetworkHomeProtocolType.validate_manifest_broadcast(data): - return - var fingerprint: String = str(data["owner_fingerprint"]) - _manifests_by_fingerprint[fingerprint] = data.duplicate(true) - _fingerprint_by_peer[int(data["owner_peer_id"])] = fingerprint - if fingerprint == _session.get_local_identity_fingerprint(): - var home: Dictionary = data.get("home", {}) - _discard_local_decor_transactions_through( - int(home.get("revision", -1)) - ) - if _last_submitted_local_home_revision == int( - home.get("revision", -1) - ): - _last_submitted_local_home_revision = -1 - _flush_queued_local_home_publish() - if _world_service != null and _world_service.is_world_ready(): - _world_service.apply_manifest(data) - - -func _reject_manifest(peer_id: int, message: String) -> void: - var fingerprint: String = _fingerprint_for_peer(peer_id) - var canonical: Dictionary = _manifests_by_fingerprint.get(fingerprint, {}) - if peer_id == _session.get_local_peer_id(): - _apply_manifest_rejection(message, canonical) - else: - receive_home_manifest_rejection.rpc_id(peer_id, message, canonical) - - -@rpc( - "authority", "call_remote", "reliable", - NetworkHomeProtocolType.RELIABLE_CHANNEL, -) -func receive_home_manifest_rejection( - message: String, - canonical: Dictionary, -) -> void: - _apply_manifest_rejection(message, canonical) - - -func _apply_manifest_rejection(message: String, canonical: Dictionary) -> void: - _last_submitted_local_home_revision = -1 - var canonical_home: Dictionary = canonical.get("home", {}) - var canonical_revision: int = int(canonical_home.get("revision", -1)) - var transaction: Dictionary = _get_local_decor_rejection_transaction( - canonical_revision - ) - if canonical.is_empty() or not NetworkHomeProtocolType.validate_manifest_broadcast(canonical): - if not transaction.is_empty(): - _restore_local_decor_transaction(transaction) - _pending_local_decor_transactions.clear() - if _save_manager != null and not _save_manager.save_if_dirty(): - push_warning("Unable to save the restored RV decor state.") - _flush_queued_local_home_publish() - local_manifest_rejected.emit(message) - return - # A shop result can be accepted locally while its own home manifest is still - # in flight. A delayed rejection for an earlier placement must not erase that - # accepted purchase just because the host's canonical manifest predates it. - var locally_owned_decor: Dictionary[StringName, int] = ( - _capture_local_owned_decor_counts() - ) - # Only carry ownership forward across an actual pending decor-action - # rejection. A standalone rejected manifest must remain authoritative rather - # than repeatedly re-submitting an unverified owned-count increase. - var has_owned_decor_increase: bool = ( - not transaction.is_empty() - and _has_local_owned_decor_increase( - locally_owned_decor, - canonical_home, - ) - ) - _suppress_local_submission = true - var restored: bool = _local_home.restore_from_save_data(canonical_home) - var owned_decor_restored: bool = ( - restored - and ( - not has_owned_decor_increase - or _restore_local_owned_decor_increases(locally_owned_decor) - ) - ) - var reconciled: bool = ( - restored - and owned_decor_restored - and _reconcile_local_decor_inventory(transaction) - ) - _suppress_local_submission = false - _discard_local_decor_transactions_after(canonical_revision) - if not reconciled: - push_error("Unable to reconcile RV decor after a host rejection.") - elif _save_manager != null and not _save_manager.save_if_dirty(): - push_warning("Unable to save the restored RV decor state.") - receive_home_manifest(canonical) - if reconciled and has_owned_decor_increase: - # Submit the preserved purchase as a fresh revision after applying the - # canonical placement rollback. This is deliberately separate from the - # rejected action, so the host can validate the already-authorized count. - if not publish_local_home(): - push_warning("Unable to publish the restored RV decor ownership.") - local_manifest_rejected.emit(message) - - -func _capture_local_decor_transaction() -> Dictionary: - if ( - _local_home == null - or _bag == null - or _inventory_layout == null - or _hotbar == null - ): - return {} - var saved_items: Array[OwnedItemType] = [] - for item: OwnedItemType in _bag.get_all_items(): - saved_items.append(item.duplicate_record()) - return { - "home": _local_home.to_save_data(), - "bag_items": saved_items, - "layout": _inventory_layout.to_save_data(), - "hotbar_slots": _hotbar.get_slots(), - "hotbar_fish_slots": _hotbar.get_fish_slots(), - "selected_hotbar_slot": _hotbar.get_selected_slot(), - } - - -func _capture_local_owned_decor_counts() -> Dictionary[StringName, int]: - var counts: Dictionary[StringName, int] = {} - if _local_home == null: - return counts - for decor_id: StringName in DecorCatalogType.get_product_ids(): - counts[decor_id] = _local_home.get_owned_count(decor_id) - return counts - - -func _has_local_owned_decor_increase( - local_counts: Dictionary[StringName, int], - canonical_home: Dictionary, -) -> bool: - var canonical_owned: Dictionary = canonical_home.get("owned_decor", {}) - for decor_id: StringName in DecorCatalogType.get_product_ids(): - if int(local_counts.get(decor_id, 0)) > int( - canonical_owned.get(String(decor_id), 0) - ): - return true - return false - - -func _restore_local_owned_decor_increases( - local_counts: Dictionary[StringName, int], -) -> bool: - if _local_home == null: - return false - for decor_id: StringName in DecorCatalogType.get_product_ids(): - var local_count: int = int(local_counts.get(decor_id, 0)) - var canonical_count: int = _local_home.get_owned_count(decor_id) - while canonical_count < local_count: - if not _local_home.add_owned_decor(decor_id, 1): - return false - canonical_count += 1 - return true - - -func _commit_local_decor_transaction(transaction: Dictionary) -> bool: - if _save_manager == null or not _save_manager.save_if_dirty(): - _restore_local_decor_transaction(transaction) - return false - var revision: int = _local_home.get_revision() - _pending_local_decor_transactions[revision] = transaction.duplicate(true) - _trim_pending_local_decor_transactions() - if publish_local_home(true): - return true - _pending_local_decor_transactions.erase(revision) - _restore_local_decor_transaction(transaction) - _flush_queued_local_home_publish() - # The optimistic mutation was already written before we attempted to publish - # it. If the session ended or could not accept the manifest, immediately - # persist the restored state so a restart cannot resurrect the rejected - # placement or consume its decor item. - if _save_manager != null and not _save_manager.save_if_dirty(): - push_warning("Unable to save the restored RV decor state.") - return false - - -func _restore_local_decor_transaction(transaction: Dictionary) -> bool: - if ( - transaction.is_empty() - or _local_home == null - or _bag == null - or _inventory_layout == null - or _hotbar == null - ): - return false - var home_data: Variant = transaction.get("home", {}) - var layout_data: Variant = transaction.get("layout", {}) - var stored_items: Variant = transaction.get("bag_items", []) - var stored_slots: Variant = transaction.get("hotbar_slots", []) - var stored_fish_slots: Variant = transaction.get("hotbar_fish_slots", []) - if ( - typeof(home_data) != TYPE_DICTIONARY - or typeof(layout_data) != TYPE_DICTIONARY - or typeof(stored_items) != TYPE_ARRAY - or typeof(stored_slots) != TYPE_ARRAY - or typeof(stored_fish_slots) != TYPE_ARRAY - ): - return false - var items: Array[OwnedItemType] = [] - for value: Variant in stored_items as Array: - if not value is OwnedItemType: - return false - items.append((value as OwnedItemType).duplicate_record()) - var slots: Array[StringName] = [] - for value: Variant in stored_slots as Array: - slots.append(StringName(str(value))) - var fish_slots: Array[StringName] = [] - for value: Variant in stored_fish_slots as Array: - fish_slots.append(StringName(str(value))) - var was_suppressed: bool = _suppress_local_submission - _suppress_local_submission = true - var home_restored: bool = _local_home.restore_from_save_data( - home_data as Dictionary - ) - var bag_restored: bool = _bag.replace_all_items(items) - var layout_restored: bool = _inventory_layout.restore_from_save_data( - layout_data as Dictionary - ) - var hotbar_restored: bool = _hotbar.replace_state( - slots, - int(transaction.get("selected_hotbar_slot", 0)), - fish_slots, - false, - ) - _suppress_local_submission = was_suppressed - return home_restored and bag_restored and layout_restored and hotbar_restored - - -func _reconcile_local_decor_inventory(transaction: Dictionary) -> bool: - if _bag == null or _local_home == null: - return false - var preferred_slots: Dictionary[StringName, int] = ( - _decor_hotbar_slots_from_transaction(transaction) - ) - for decor_id: StringName in DecorCatalogType.get_product_ids(): - var target_quantity: int = _local_home.get_available_count(decor_id) - var current_quantity: int = _bag.get_quantity(decor_id) - if current_quantity > target_quantity: - if not _bag.remove_item( - decor_id, current_quantity - target_quantity - ): - return false - continue - while current_quantity < target_quantity: - var preferred_slot: int = int( - preferred_slots.get(decor_id, -1) - ) - if not _restore_decor_item_to_bag(decor_id, preferred_slot): - return false - current_quantity += 1 - return true - - -func _decor_hotbar_slots_from_transaction( - transaction: Dictionary, -) -> Dictionary[StringName, int]: - var result: Dictionary[StringName, int] = {} - var stored_slots: Variant = transaction.get("hotbar_slots", []) - if typeof(stored_slots) != TYPE_ARRAY: - return result - for slot_index: int in range((stored_slots as Array).size()): - var decor_id := StringName(str((stored_slots as Array)[slot_index])) - if DecorCatalogType.has_product(decor_id): - result[decor_id] = slot_index - return result - - -func _restore_decor_item_to_bag( - decor_id: StringName, - preferred_hotbar_slot: int, -) -> bool: - if _bag == null: - return false - var prepared_slot: int = -1 - if ( - _inventory_layout != null - and _hotbar != null - and _inventory_layout.get_container( - PlayerInventoryLayout.EntryKind.ITEM, decor_id - ) < 0 - ): - var candidate_slot: int = preferred_hotbar_slot - if candidate_slot < 0: - candidate_slot = _hotbar.find_first_empty_slot() - if candidate_slot >= 0 and _inventory_layout.prepare_new_item_placement( - decor_id, - PlayerInventoryLayout.InventoryContainer.HOTBAR, - candidate_slot, - ): - prepared_slot = candidate_slot - var restored: bool = _bag.add_item(decor_id, 1) - if not restored: - if prepared_slot >= 0: - _inventory_layout.cancel_prepared_item_placement(decor_id) - if _bag.get_owned_item(decor_id) == null: - restored = _bag.add_item_to_storage(decor_id, 1) - if restored and prepared_slot >= 0: - _hotbar.assign_item(prepared_slot, decor_id) - _hotbar.select_slot(prepared_slot) - return restored - - -func _get_local_decor_rejection_transaction( - canonical_revision: int, -) -> Dictionary: - var revisions: Array[int] = [] - revisions.assign(_pending_local_decor_transactions.keys()) - revisions.sort() - for revision: int in revisions: - if canonical_revision < 0 or revision > canonical_revision: - return _pending_local_decor_transactions[revision].duplicate(true) - return {} - - -func _discard_local_decor_transactions_through(revision: int) -> void: - for pending_revision: int in _pending_local_decor_transactions.keys(): - if pending_revision <= revision: - _pending_local_decor_transactions.erase(pending_revision) - - -func _discard_local_decor_transactions_after(revision: int) -> void: - for pending_revision: int in _pending_local_decor_transactions.keys(): - if pending_revision > revision: - _pending_local_decor_transactions.erase(pending_revision) - - -func _trim_pending_local_decor_transactions() -> void: - var revisions: Array[int] = [] - revisions.assign(_pending_local_decor_transactions.keys()) - revisions.sort() - while revisions.size() > MAX_PENDING_LOCAL_DECOR_TRANSACTIONS: - _pending_local_decor_transactions.erase(revisions.pop_front()) - - -func _submit_transition(action: int, owner_fingerprint: String) -> bool: - var request: Dictionary = { - "request_id": _new_id("home_transition"), - "session_id": _session.get_session_id(), - "action": action, - "owner_fingerprint": owner_fingerprint, - } - request["sender_signature"] = _session.sign_local_action( - "portable_home_transition", - NetworkHomeProtocolType.transition_signature_fields(request), - ) - if _session.is_host(): - _process_transition_request(_session.get_local_peer_id(), request) - else: - submit_home_transition.rpc_id(1, request) - return true - - -@rpc( - "any_peer", "call_remote", "reliable", - NetworkHomeProtocolType.RELIABLE_CHANNEL, -) -func submit_home_transition(data: Dictionary) -> void: - var sender_id: int = multiplayer.get_remote_sender_id() - if ( - not _session.is_host() - or not _session.is_authenticated_peer(sender_id) - ): - return - _process_transition_request(sender_id, data) - - -func _process_transition_request(peer_id: int, data: Dictionary) -> void: - if ( - not NetworkHomeProtocolType.validate_transition_request(data) - or str(data["session_id"]) != _session.get_session_id() - or not _session.verify_peer_action( - peer_id, - "portable_home_transition", - NetworkHomeProtocolType.transition_signature_fields(data), - data["sender_signature"], - ) - ): - _send_transition_rejection(peer_id, "The home transition was invalid.") - return - var owner_fingerprint: String = str(data["owner_fingerprint"]) - var action: int = int(data["action"]) - var avatar: Player = _spawn_service.get_avatar(peer_id) - var manifest: Dictionary = _manifests_by_fingerprint.get( - owner_fingerprint, {} - ) - if avatar == null or manifest.is_empty(): - _send_transition_rejection(peer_id, "That home is unavailable.") - return - if action == NetworkHomeProtocolType.TransitionAction.ENTER: - var record := _session.get_peer_record(peer_id) - var owner_is_local: bool = ( - record != null and record.identity_fingerprint == owner_fingerprint - ) - var privacy: int = int((manifest["home"] as Dictionary)["privacy"]) - if ( - (not owner_is_local and privacy != PlayerHomeStateType.Privacy.OPEN) - or _session.get_peer_space(peer_id) - != NetworkHomeProtocolType.WORLD_SPACE - or not _world_service.is_avatar_near_exterior( - avatar, owner_fingerprint - ) - ): - _send_transition_rejection(peer_id, "You cannot enter that home.") - return - var interior_space: StringName = ( - NetworkHomeProtocolType.make_space_id(owner_fingerprint) - ) - var visitor_slot: int = _reserve_interior_slot( - interior_space, peer_id - ) - _apply_host_transition( - peer_id, - interior_space, - owner_fingerprint, - _world_service.get_interior_spawn_transform( - owner_fingerprint, visitor_slot - ), - ) - return - if ( - _session.get_peer_space(peer_id) - != NetworkHomeProtocolType.make_space_id(owner_fingerprint) - or not _world_service.is_avatar_near_interior_exit( - avatar, owner_fingerprint - ) - ): - _send_transition_rejection(peer_id, "Move closer to the home door.") - return - _apply_host_transition( - peer_id, - NetworkHomeProtocolType.WORLD_SPACE, - owner_fingerprint, - _world_service.get_exterior_spawn_transform(owner_fingerprint), - ) - - -func _spawn_peer_at_exterior( - peer_id: int, - owner_fingerprint: String, -) -> void: - if ( - not _session.is_host() - or _session.get_peer_space(peer_id) - != NetworkHomeProtocolType.WORLD_SPACE - or _spawn_service.get_avatar(peer_id) == null - ): - return - _apply_host_transition( - peer_id, - NetworkHomeProtocolType.WORLD_SPACE, - owner_fingerprint, - _world_service.get_exterior_spawn_transform(owner_fingerprint), - ) - - -func _apply_host_transition( - peer_id: int, - space_id: StringName, - owner_fingerprint: String, - transform: Transform3D, -) -> void: - var avatar: Player = _spawn_service.get_avatar(peer_id) - var movement_sequence: int = 0 - if avatar != null: - movement_sequence = int( - avatar.make_network_snapshot(peer_id).get( - "acknowledged_input", 0 - ) - ) - var transform_data: Array[float] = ( - NetworkHomeProtocolType.transform_to_array(transform) - ) - if not NetworkHomeProtocolType.validate_transition_transform( - transform_data - ): - push_error("Refused an out-of-bounds RV transition transform.") - return - var previous_space: StringName = _session.get_peer_space(peer_id) - if ( - String(previous_space).begins_with("rv:") - and previous_space != space_id - ): - _release_interior_slot(previous_space, peer_id) - var result: Dictionary = { - "peer_id": peer_id, - "space_id": String(space_id), - "owner_fingerprint": owner_fingerprint, - "transform": transform_data, - "movement_sequence": movement_sequence, - } - _apply_transition_result(result) - for recipient_id: int in _session.get_authenticated_peer_ids(): - if recipient_id == 1: - continue - receive_home_transition.rpc_id(recipient_id, result) - - -@rpc( - "authority", "call_remote", "reliable", - NetworkHomeProtocolType.RELIABLE_CHANNEL, -) -func receive_home_transition(data: Dictionary) -> void: - if ( - typeof(data.get("peer_id")) != TYPE_INT - or typeof(data.get("space_id")) not in [TYPE_STRING, TYPE_STRING_NAME] - or typeof(data.get("movement_sequence", 0)) != TYPE_INT - or int(data.get("movement_sequence", 0)) < 0 - or not NetworkIdentityCrypto.valid_fingerprint( - data.get("owner_fingerprint") - ) - or not NetworkHomeProtocolType.validate_transition_transform( - data.get("transform") - ) - ): - return - _apply_transition_result(data) - - -func _apply_transition_result(data: Dictionary) -> void: - var peer_id: int = int(data["peer_id"]) - var space_id := StringName(str(data["space_id"])) - if not NetworkHomeProtocolType.validate_transition_transform( - data.get("transform") - ): - return - var target_transform: Transform3D = ( - NetworkHomeProtocolType.array_to_transform(data["transform"]) - ) - if not _session.set_peer_space(peer_id, space_id): - return - if not _session.apply_authoritative_space_transition( - peer_id, - target_transform, - int(data.get("movement_sequence", 0)), - ): - return - if peer_id == _session.get_local_peer_id(): - _world_service.set_local_space(space_id) - local_space_changed.emit(space_id, str(data["owner_fingerprint"])) - local_transition_finished.emit(true, "") - _refresh_peer_visibility() - - -func _send_transition_rejection(peer_id: int, message: String) -> void: - if peer_id == _session.get_local_peer_id(): - local_transition_finished.emit(false, message) - else: - receive_home_transition_rejection.rpc_id(peer_id, message) - - -@rpc( - "authority", "call_remote", "reliable", - NetworkHomeProtocolType.RELIABLE_CHANNEL, -) -func receive_home_transition_rejection(message: String) -> void: - local_transition_finished.emit( - false, message.left(NetworkHomeProtocolType.MAX_MESSAGE_LENGTH) - ) - - -func _refresh_peer_visibility() -> void: - var local_peer_id: int = _session.get_local_peer_id() - if local_peer_id <= 0: - return - for peer_id: int in _spawn_service.get_peer_ids(): - if peer_id == local_peer_id: - continue - _spawn_service.set_peer_presentation_visible( - peer_id, _session.peers_share_space(local_peer_id, peer_id) - ) - - -func _on_local_home_changed() -> void: - if _suppress_local_submission or _publish_queued: - return - _publish_queued = true - call_deferred("_publish_queued_home") - - -func _publish_queued_home() -> void: - if has_pending_local_decor_mutation(): - return - _publish_queued = false - if _save_manager != null: - _save_manager.save_if_dirty() - publish_local_home() - - -func _flush_queued_local_home_publish() -> void: - if not _publish_queued or has_pending_local_decor_mutation(): - return - call_deferred("_publish_queued_home") - - -func _on_join_authenticated() -> void: - publish_local_home() - - -func _on_peer_authenticated(peer_id: int, _display_name: String) -> void: - if not _session.is_host(): - return - for manifest: Dictionary in _manifests_by_fingerprint.values(): - receive_home_manifest.rpc_id(peer_id, manifest) - for existing_peer_id: int in _session.get_authenticated_peer_ids(): - if existing_peer_id == peer_id: - continue - var avatar: Player = _spawn_service.get_avatar(existing_peer_id) - if avatar == null: - continue - var space_id: StringName = _session.get_peer_space(existing_peer_id) - var owner_fingerprint: String = ( - String(space_id).trim_prefix("rv:") - if String(space_id).begins_with("rv:") - else _fingerprint_for_peer(existing_peer_id) - ) - if owner_fingerprint.is_empty(): - continue - receive_home_transition.rpc_id(peer_id, { - "peer_id": existing_peer_id, - "space_id": String(space_id), - "owner_fingerprint": owner_fingerprint, - "transform": NetworkHomeProtocolType.transform_to_array( - avatar.global_transform - ), - }) - - -func _on_peer_removed(peer_id: int) -> void: - _release_peer_interior_slots(peer_id) - var fingerprint: String = _fingerprint_by_peer.get(peer_id, "") - _fingerprint_by_peer.erase(peer_id) - _authorized_owned_counts.erase(peer_id) - _authorized_home_tiers.erase(peer_id) - for result_id: String in _home_upgrade_result_owner.keys(): - if int(_home_upgrade_result_owner[result_id]) == peer_id: - _home_upgrade_result_owner.erase(result_id) - if fingerprint.is_empty(): - return - if _session.is_host(): - for occupant_id: int in _session.get_authenticated_peer_ids(): - if ( - occupant_id == peer_id - or _session.get_peer_space(occupant_id) - != NetworkHomeProtocolType.make_space_id(fingerprint) - ): - continue - _apply_host_transition( - occupant_id, - NetworkHomeProtocolType.WORLD_SPACE, - fingerprint, - _world_service.get_exterior_spawn_transform(fingerprint), - ) - _manifests_by_fingerprint.erase(fingerprint) - _world_service.remove_presentation(fingerprint) - if _session.is_host(): - for recipient_id: int in _session.get_authenticated_peer_ids(): - if recipient_id != 1: - receive_home_removed.rpc_id(recipient_id, fingerprint) - - -@rpc( - "authority", "call_remote", "reliable", - NetworkHomeProtocolType.RELIABLE_CHANNEL, -) -func receive_home_removed(owner_fingerprint: String) -> void: - if not NetworkIdentityCrypto.valid_fingerprint(owner_fingerprint): - return - _manifests_by_fingerprint.erase(owner_fingerprint) - _world_service.remove_presentation(owner_fingerprint) - - -func _on_session_state_changed(state: NetworkSession.State) -> void: - if state in [NetworkSession.State.PRIVATE_HOST, NetworkSession.State.OPEN_HOST]: - if ( - not _session.is_dedicated_host() - and _world_service != null - and _world_service.is_world_ready() - ): - publish_local_home() - return - if state in [ - NetworkSession.State.INACTIVE, - NetworkSession.State.DISCONNECTING, - NetworkSession.State.CONNECTION_FAILED, - NetworkSession.State.SERVER_LOST, - ]: - _manifests_by_fingerprint.clear() - _fingerprint_by_peer.clear() - _authorized_owned_counts.clear() - _authorization_result_owner.clear() - _authorized_home_tiers.clear() - _home_upgrade_result_owner.clear() - _publish_queued = false - _last_submitted_local_home_revision = -1 - _pending_local_decor_transactions.clear() - _interior_slots_by_space.clear() - _next_interior_index = 0 - _world_service.clear_presentations() - _world_service.set_local_space(NetworkHomeProtocolType.WORLD_SPACE) - local_space_changed.emit(NetworkHomeProtocolType.WORLD_SPACE, "") - - -func _fingerprint_for_peer(peer_id: int) -> String: - if _fingerprint_by_peer.has(peer_id): - return _fingerprint_by_peer[peer_id] - var record := _session.get_peer_record(peer_id) - return record.identity_fingerprint if record != null else "" - - -func _reserve_interior_slot(space_id: StringName, peer_id: int) -> int: - var slots: Dictionary = _interior_slots_by_space.get(space_id, {}) - if slots.has(peer_id): - return int(slots[peer_id]) - var used_slots: Dictionary[int, bool] = {} - for value: Variant in slots.values(): - used_slots[int(value)] = true - var slot: int = 0 - while used_slots.has(slot): - slot += 1 - slots[peer_id] = slot - _interior_slots_by_space[space_id] = slots - return slot - - -func _release_interior_slot(space_id: StringName, peer_id: int) -> void: - var slots: Dictionary = _interior_slots_by_space.get(space_id, {}) - if slots.is_empty(): - return - slots.erase(peer_id) - if slots.is_empty(): - _interior_slots_by_space.erase(space_id) - else: - _interior_slots_by_space[space_id] = slots - - -func _release_peer_interior_slots(peer_id: int) -> void: - for space_id: StringName in _interior_slots_by_space.keys(): - _release_interior_slot(space_id, peer_id) - - -func _new_id(prefix: String) -> String: - return "%s:%s" % [ - prefix, Crypto.new().generate_random_bytes(16).hex_encode(), - ] diff --git a/network/network_home_service.gd.uid b/network/network_home_service.gd.uid deleted file mode 100644 index be233ed..0000000 --- a/network/network_home_service.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://ong8kug36ku7 diff --git a/network/network_identity_crypto.gd b/network/network_identity_crypto.gd index 9d4f09c..4886cca 100644 --- a/network/network_identity_crypto.gd +++ b/network/network_identity_crypto.gd @@ -5,8 +5,7 @@ const ALGORITHM: String = "RSA-3072-SHA256" const FINGERPRINT_LENGTH: int = 64 const MAX_PUBLIC_KEY_BYTES: int = 8192 const MAX_SIGNATURE_BYTES: int = 1024 -const DOMAIN_PREFIX: String = "straywild" -const LEGACY_DOMAIN_PREFIX: String = "NETFISHING" +const DOMAIN_PREFIX: String = "NETFISHING" const IDENTITY_VERSION: String = "identity_v1" @@ -51,16 +50,8 @@ static func secure_id(byte_count: int = 16) -> String: static func canonical_bytes(domain: String, fields: Array) -> PackedByteArray: - return canonical_bytes_for_prefix(DOMAIN_PREFIX, domain, fields) - - -static func canonical_bytes_for_prefix( - prefix: String, - domain: String, - fields: Array, -) -> PackedByteArray: var output := PackedByteArray() - _append_string(output, prefix) + _append_string(output, DOMAIN_PREFIX) _append_string(output, IDENTITY_VERSION) _append_string(output, domain) for value: Variant in fields: @@ -126,37 +117,6 @@ static func verify_fields( ) -static func verify_legacy_fields( - public_key: CryptoKey, - domain: String, - fields: Array, - signature: PackedByteArray, -) -> bool: - if ( - public_key == null - or signature.is_empty() - or signature.size() > MAX_SIGNATURE_BYTES - ): - return false - var bytes: PackedByteArray = canonical_bytes_for_prefix( - LEGACY_DOMAIN_PREFIX, - domain, - fields, - ) - if bytes.is_empty(): - return false - var context := HashingContext.new() - if context.start(HashingContext.HASH_SHA256) != OK: - return false - context.update(bytes) - return Crypto.new().verify( - HashingContext.HASH_SHA256, - context.finish(), - signature, - public_key, - ) - - static func load_public_key(public_pem: String) -> CryptoKey: var normalized := normalize_public_pem(public_pem) if normalized.is_empty() or normalized.to_utf8_buffer().size() > MAX_PUBLIC_KEY_BYTES: diff --git a/network/network_item_use_service.gd b/network/network_item_use_service.gd index 024eca9..cf2d5f9 100644 --- a/network/network_item_use_service.gd +++ b/network/network_item_use_service.gd @@ -5,7 +5,6 @@ const FishingRodDataType = preload("res://items/fishing_rod_data.gd") const ArtShopStockType = preload("res://economy/art_shop_stock.gd") const FishingShopStockType = preload("res://economy/fishing_shop_stock.gd") -const DecorCatalogType = preload("res://homes/decor_catalog.gd") const MAX_LEDGER_ENTRIES: int = 64 @@ -395,10 +394,6 @@ func _apply_equipped(data: Dictionary) -> void: item_id == FishingShopStockType.STANDARD_SHOVEL_ID and bool(data["owns_item"]), ) - avatar.set_active_decor_package( - DecorCatalogType.has_product(item_id) - and bool(data["owns_item"]), - ) equipped_state_changed.emit( peer_id, StringName(str(data["item_id"])), int(data["category"]) ) diff --git a/network/network_profile_preferences.gd b/network/network_profile_preferences.gd index b6cac63..3c4996b 100644 --- a/network/network_profile_preferences.gd +++ b/network/network_profile_preferences.gd @@ -21,8 +21,6 @@ var _future_version := false func configure_storage(path: String, data_root: PlayerDataRoot) -> void: _profile_path = path _data_root = data_root - _expected_hash = "" - _future_version = false func _temp_path() -> String: diff --git a/network/network_profile_service.gd b/network/network_profile_service.gd index ff967f1..e4732a9 100644 --- a/network/network_profile_service.gd +++ b/network/network_profile_service.gd @@ -51,17 +51,6 @@ func setup( _apply_local_voice_to_avatar() -func reload_persisted_profile() -> bool: - if ( - not _preferences.load_or_create() - or not _appearance_store.load_preferences() - ): - return false - _apply_to_avatar(1, _appearance_store.get_snapshot()) - _apply_local_voice_to_avatar() - return true - - func get_persisted_name() -> String: return _preferences.display_name diff --git a/network/network_protocol.gd b/network/network_protocol.gd index 5b3ca89..6bbbf9b 100644 --- a/network/network_protocol.gd +++ b/network/network_protocol.gd @@ -3,7 +3,7 @@ extends RefCounted const WorldLayoutType = preload("res://world/world_layout.gd") -const PROTOCOL_VERSION: int = 12 +const PROTOCOL_VERSION: int = 10 const GAME_BUILD: String = "prealpha" const MAX_GAME_VERSION_LENGTH: int = 64 const MAX_DISPLAY_NAME_LENGTH: int = 24 @@ -17,9 +17,9 @@ const MAX_SIGNATURE_LENGTH: int = 2048 # 8 reliable ordered session chat, 9 reliable private session mail, # 10 observer-only fishing summaries, 11 reliable movement animation state, # 12 reliable fish showcase state, 13 reliable world-spawn events, -# 14 reliable artwork state, 15 world-spawn snapshots, 16 reliable fishing -# lifecycle, and 17 reliable portable-home state. Bulk world/art payloads must -# not head-of-line block held items, fishing, animation, or home transitions. +# 14 reliable artwork state, 15 world-spawn snapshots, and 16 reliable +# fishing lifecycle. Bulk world/art payloads must not head-of-line block held +# items, fishing, or animation presentation. const SALE_RELIABLE_CHANNEL: int = 5 const SHOP_RELIABLE_CHANNEL: int = 6 const ITEM_RELIABLE_CHANNEL: int = 7 @@ -30,8 +30,7 @@ const SHOWCASE_RELIABLE_CHANNEL: int = 12 const WORLD_SPAWN_RELIABLE_CHANNEL: int = 13 const DRAWING_RELIABLE_CHANNEL: int = 14 const FISHING_RELIABLE_CHANNEL: int = 16 -const HOME_RELIABLE_CHANNEL: int = 17 -const ENET_CHANNEL_COUNT: int = 18 +const ENET_CHANNEL_COUNT: int = 17 const SURFACE_DRAWING_CAPABILITY: String = "surface_drawing_v2" const ART_SHOP_CAPABILITY: String = "art_shop_v1" const BACKPACK_SHOP_CAPABILITY: String = "backpack_shop_v1" @@ -46,8 +45,6 @@ const WORLD_LAYOUT_CAPABILITY: String = "world_layout_v1" const FRIENDS_CAPABILITY: String = "friends_v1" const MOVEMENT_RECONCILIATION_CAPABILITY: String = "movement_reconciliation_v2" const FISHING_REPLICATION_CAPABILITY: String = "fishing_replication_v2" -const HOME_CAPABILITY: String = "portable_home_v1" -const HOME_UPGRADE_CAPABILITY: String = "home_upgrade_v1" const DEFAULT_WORLD_SEED: int = 13001 const MAX_WORLD_SEED: int = 2147483646 @@ -205,8 +202,6 @@ static func make_client_hello( FRIENDS_CAPABILITY, MOVEMENT_RECONCILIATION_CAPABILITY, FISHING_REPLICATION_CAPABILITY, - HOME_CAPABILITY, - HOME_UPGRADE_CAPABILITY, ]), "cosmetic_snapshot": cosmetic_snapshot, "identity_fingerprint": identity_fingerprint, @@ -309,7 +304,7 @@ static func make_server_hello( assigned_peer_id: int, player_count: int, max_players: int, - server_display_name: String = "straywild", + server_display_name: String = "NETfishing", world_seed: int = DEFAULT_WORLD_SEED, world_layout: StringName = WorldLayoutType.GENERATED, ) -> Dictionary: @@ -347,8 +342,6 @@ static func make_server_hello( FRIENDS_CAPABILITY, MOVEMENT_RECONCILIATION_CAPABILITY, FISHING_REPLICATION_CAPABILITY, - HOME_CAPABILITY, - HOME_UPGRADE_CAPABILITY, "chat_v1", "mail_v1", "profile_v1", @@ -379,17 +372,17 @@ static func rejection_text(code: int) -> String: return "You are not permitted to join this server." RejectionCode.CLIENT_OUTDATED: return ( - "Your straywild version is out of date. " + "Your NETfishing version is out of date. " + "Update the game to join this server." ) RejectionCode.SERVER_OUTDATED: return ( "This server is out of date. " - + "The host needs to update straywild." + + "The host needs to update NETfishing." ) RejectionCode.VERSION_MISMATCH: return ( - "This game and server use different straywild versions. " + "This game and server use different NETfishing versions. " + "Update both to the latest release." ) _: diff --git a/network/network_session.gd b/network/network_session.gd index 7c259e0..11217d7 100644 --- a/network/network_session.gd +++ b/network/network_session.gd @@ -13,7 +13,6 @@ const ENET_TIMEOUT_MAXIMUM_MS: int = 120000 const INPUT_INTERVAL: float = 1.0 / 30.0 const IDLE_INPUT_INTERVAL: float = 1.0 / 5.0 const SNAPSHOT_INTERVAL: float = 1.0 / 30.0 -const OWNER_SNAPSHOT_DIVISOR: int = 3 const NEAR_REMOTE_SNAPSHOT_DIVISOR: int = 2 const FAR_REMOTE_SNAPSHOT_DIVISOR: int = 6 const DISTANT_REMOTE_SNAPSHOT_DIVISOR: int = 8 @@ -28,7 +27,6 @@ const MAX_PENDING_MOVEMENT_INPUTS: int = 96 const ANIMATION_REFRESH_INTERVAL: float = 1.0 const MAX_MOVEMENT_INPUT_SEQUENCE: int = 2147483647 const MAX_MOVEMENT_ONE_WAY_TRANSIT_SECONDS: float = 0.25 -const SPACE_TRANSITION_SNAPSHOT_GUARD_DISTANCE: float = 12.0 const MOVEMENT_FLAG_JUMP: int = 1 << 0 const MOVEMENT_FLAG_SPRINT: int = 1 << 1 @@ -124,10 +122,6 @@ var _last_input_state_hash: int = 0 var _pending_movement_inputs: Array[Dictionary] = [] var _snapshot_accumulator: float = 0.0 var _movement_snapshot_tick: int = 0 -var _last_local_snapshot_received_msec: int = 0 -var _local_space_transition_guard_active: bool = false -var _local_space_transition_guard_position: Vector3 = Vector3.ZERO -var _local_space_transition_minimum_ack: int = 0 var _animation_refresh_accumulator: float = 0.0 var _last_animation_state_by_peer: Dictionary[int, Dictionary] = {} var _pending_animation_state_by_peer: Dictionary[int, Dictionary] = {} @@ -145,7 +139,6 @@ var _last_server_protocol_version: int = 0 var _last_server_world_seed: int = NetworkProtocol.DEFAULT_WORLD_SEED var _last_server_world_layout: StringName = WorldLayout.GENERATED var _server_capabilities: PackedStringArray = PackedStringArray() -var _peer_space_ids: Dictionary[int, StringName] = {} var _profile_ready: bool = false var _player_identity: PlayerIdentityStore var _host_identity: HostIdentityStore @@ -165,7 +158,7 @@ var _local_appearance_snapshot: Dictionary = ( ) var _moderation_disconnect_message := "" var _host_port: int = 0 -var _session_display_name: String = "straywild Room" +var _session_display_name: String = "NETfishing Room" var _dedicated_host: bool = false var _configured_operator_fingerprints: Dictionary[String, bool] = {} var _session_operator_fingerprints: Dictionary[String, bool] = {} @@ -339,8 +332,6 @@ func _register_player_host() -> void: NetworkProtocol.FRIENDS_CAPABILITY, NetworkProtocol.MOVEMENT_RECONCILIATION_CAPABILITY, NetworkProtocol.FISHING_REPLICATION_CAPABILITY, - NetworkProtocol.HOME_CAPABILITY, - NetworkProtocol.HOME_UPGRADE_CAPABILITY, ]), ) _registry.update_appearance(1, _local_appearance_snapshot) @@ -439,7 +430,7 @@ func set_peer_operator( func set_session_display_name(value: String) -> void: var cleaned: String = value.strip_edges().left(48) if cleaned.is_empty(): - cleaned = "straywild Room" + cleaned = "NETfishing Room" if cleaned == _session_display_name: return _session_display_name = cleaned @@ -668,8 +659,6 @@ func supports_server_capability(capability: StringName) -> bool: NetworkProtocol.FRIENDS_CAPABILITY, NetworkProtocol.MOVEMENT_RECONCILIATION_CAPABILITY, NetworkProtocol.FISHING_REPLICATION_CAPABILITY, - NetworkProtocol.HOME_CAPABILITY, - NetworkProtocol.HOME_UPGRADE_CAPABILITY, "chat_v1", "mail_v1", "profile_v1", @@ -694,55 +683,6 @@ func get_authenticated_peer_ids() -> Array[int]: return _registry.get_peer_ids() -func set_peer_space(peer_id: int, space_id: StringName) -> bool: - if not _registry.has_peer(peer_id) or space_id.is_empty(): - return false - _peer_space_ids[peer_id] = space_id - return true - - -func get_peer_space(peer_id: int) -> StringName: - return _peer_space_ids.get(peer_id, &"world") - - -func peers_share_space(first_peer_id: int, second_peer_id: int) -> bool: - return get_peer_space(first_peer_id) == get_peer_space(second_peer_id) - - -func apply_authoritative_space_transition( - peer_id: int, - target_transform: Transform3D, - acknowledged_input: int, -) -> bool: - if not target_transform.origin.is_finite(): - return false - var local_peer_id: int = get_local_peer_id() - var local_transition: bool = peer_id == local_peer_id - var avatar: Player = _spawn_service.get_avatar(peer_id) - # Remote home transitions can arrive before their player-spawn message. Keep - # the new space assignment so the later spawn inherits correct visibility; - # only a missing local avatar is a transition failure. - if avatar == null: - return not local_transition - avatar.apply_network_space_transition(target_transform, local_transition) - if ( - local_transition - and state == State.JOINED_CLIENT - ): - # Movement snapshots use another ENet channel and a pre-transition audit - # can therefore arrive after the reliable home transition. Clear local - # prediction and reject those old-world snapshots until the host publishes - # its first audit from the new space. - _pending_movement_inputs.clear() - _last_local_snapshot_received_msec = 0 - _last_input_state_hash = 0 - _idle_input_accumulator = IDLE_INPUT_INTERVAL - _local_space_transition_guard_active = true - _local_space_transition_guard_position = target_transform.origin - _local_space_transition_minimum_ack = maxi(acknowledged_input, 0) - return true - - func get_peer_rtt_ms(peer_id: int) -> int: if peer_id == 1: return 0 @@ -1088,7 +1028,6 @@ func _on_peer_disconnected(peer_id: int) -> void: _pending_identity_challenges.erase(peer_id) _authenticated_identity_cache.erase(peer_id) _operator_peer_ids.erase(peer_id) - _peer_space_ids.erase(peer_id) _last_animation_state_by_peer.erase(peer_id) _pending_animation_state_by_peer.erase(peer_id) var recovery_attempt: String = _recovery_attempts.get(peer_id, "") @@ -1246,7 +1185,7 @@ func resolve_server_trust(accepted: bool) -> void: if not _server_trust.trust( get_current_endpoint(), str(_pending_server_proof["server_fingerprint"]), - "straywild", + "NETfishing", ): _fail_identity("The server identity could not be pinned.") return @@ -1372,7 +1311,6 @@ func submit_client_hello(data: Dictionary) -> void: for required_capability: String in [ NetworkProtocol.MOVEMENT_RECONCILIATION_CAPABILITY, NetworkProtocol.FISHING_REPLICATION_CAPABILITY, - NetworkProtocol.HOME_CAPABILITY, ]: if required_capability not in client_capabilities: _reject_peer( @@ -1606,7 +1544,6 @@ func receive_server_hello(data: Dictionary) -> void: for required_capability: String in [ NetworkProtocol.MOVEMENT_RECONCILIATION_CAPABILITY, NetworkProtocol.FISHING_REPLICATION_CAPABILITY, - NetworkProtocol.HOME_CAPABILITY, ]: if required_capability not in _server_capabilities: _teardown_peer() @@ -1639,8 +1576,6 @@ func receive_server_hello(data: Dictionary) -> void: NetworkProtocol.FRIENDS_CAPABILITY, NetworkProtocol.MOVEMENT_RECONCILIATION_CAPABILITY, NetworkProtocol.FISHING_REPLICATION_CAPABILITY, - NetworkProtocol.HOME_CAPABILITY, - NetworkProtocol.HOME_UPGRADE_CAPABILITY, ]), ) _registry.update_appearance(local_peer_id, _local_appearance_snapshot) @@ -1686,7 +1621,6 @@ func receive_peer_despawn(peer_id: int) -> void: if state != State.JOINED_CLIENT: return _operator_peer_ids.erase(peer_id) - _peer_space_ids.erase(peer_id) _last_animation_state_by_peer.erase(peer_id) _pending_animation_state_by_peer.erase(peer_id) _registry.remove_peer(peer_id) @@ -2133,13 +2067,13 @@ func _maybe_send_local_animation_action() -> void: str(action["id"]), int(action["sequence"]), bool(action.get("paused", false)), - avatar.get_network_sitting_intent(), + avatar.get_network_sitting_state(), ] if signature == _last_local_animation_action_signature: return var encoded: Array = _encode_movement_animation_action( action, - avatar.get_network_sitting_intent(), + avatar.get_network_sitting_state(), ) if encoded.is_empty(): return @@ -2311,21 +2245,16 @@ func _broadcast_movement_snapshots() -> void: continue var snapshots: Array = [] for subject_id: int in peer_ids: - if not peers_share_space(recipient_id, subject_id): - continue var subject_avatar: Player = _spawn_service.get_avatar(subject_id) if subject_avatar == null: continue - if subject_id == recipient_id: - # The owner already simulates locally. Its authoritative state is - # an audit and acknowledgement, not a presentation stream, so it - # does not need the full 30 Hz observer snapshot rate. - if _movement_snapshot_tick % OWNER_SNAPSHOT_DIVISOR != 0: - continue - elif not _should_send_remote_snapshot( + if ( + subject_id != recipient_id + and not _should_send_remote_snapshot( recipient_avatar.global_position, subject_avatar.global_position, - ): + ) + ): continue var encoded: Array = _encode_movement_snapshot( subject_avatar.make_network_snapshot(subject_id) @@ -2381,7 +2310,7 @@ func _broadcast_movement_animation_updates(peer_ids: Array[int]) -> void: _animation_refresh_accumulator, ANIMATION_REFRESH_INTERVAL, ) - var updates_by_subject: Dictionary[int, Array] = {} + var updates: Array = [] for subject_id: int in peer_ids: var avatar: Player = _spawn_service.get_avatar(subject_id) if avatar == null: @@ -2399,18 +2328,12 @@ func _broadcast_movement_animation_updates(peer_ids: Array[int]) -> void: _last_animation_state_by_peer[subject_id] = state.duplicate(true) var encoded: Array = _encode_movement_animation(subject_id, state) if not encoded.is_empty(): - updates_by_subject[subject_id] = encoded - if updates_by_subject.is_empty(): + updates.append(encoded) + if updates.is_empty(): return for recipient_id: int in peer_ids: if recipient_id == 1: continue - var updates: Array = [] - for subject_id: int in updates_by_subject: - if peers_share_space(recipient_id, subject_id): - updates.append(updates_by_subject[subject_id]) - if updates.is_empty(): - continue receive_movement_animations.rpc_id(recipient_id, updates) _movement_animation_packets_sent += 1 _movement_animation_states_sent += updates.size() @@ -2610,17 +2533,13 @@ func receive_movement_snapshots(encoded_snapshots: Array) -> void: if avatar == null: continue if peer_id == local_peer_id: - if _reject_stale_space_transition_snapshot(snapshot): - continue _discard_acknowledged_movement_inputs( int(snapshot.get("acknowledged_input", 0)) ) avatar.apply_local_prediction_correction( snapshot, - _input_sequence, + _pending_movement_inputs, INPUT_INTERVAL, - estimated_transit_seconds, - _local_snapshot_delta_seconds(), ) else: avatar.push_network_snapshot( @@ -2629,33 +2548,6 @@ func receive_movement_snapshots(encoded_snapshots: Array) -> void: ) -func _reject_stale_space_transition_snapshot(snapshot: Dictionary) -> bool: - if not _local_space_transition_guard_active: - return false - var position_values: Array = snapshot.get("position", []) - if position_values.size() != 3: - return true - var position := Vector3( - float(position_values[0]), - float(position_values[1]), - float(position_values[2]), - ) - var acknowledged_input: int = int( - snapshot.get("acknowledged_input", 0) - ) - if acknowledged_input < _local_space_transition_minimum_ack: - return true - if acknowledged_input > _local_space_transition_minimum_ack: - _local_space_transition_guard_active = false - return false - if position.distance_to(_local_space_transition_guard_position) > ( - SPACE_TRANSITION_SNAPSHOT_GUARD_DISTANCE - ): - return true - _local_space_transition_guard_active = false - return false - - func _discard_acknowledged_movement_inputs(acknowledged_sequence: int) -> void: while ( not _pending_movement_inputs.is_empty() @@ -2665,20 +2557,6 @@ func _discard_acknowledged_movement_inputs(acknowledged_sequence: int) -> void: _pending_movement_inputs.pop_front() -func _local_snapshot_delta_seconds() -> float: - var now_msec: int = Time.get_ticks_msec() - if _last_local_snapshot_received_msec <= 0: - _last_local_snapshot_received_msec = now_msec - return 0.0 - var elapsed_seconds: float = clampf( - float(now_msec - _last_local_snapshot_received_msec) / 1000.0, - 0.0, - Player.LOCAL_PREDICTION_MAX_AUDIT_DELTA_SECONDS, - ) - _last_local_snapshot_received_msec = now_msec - return elapsed_seconds - - @rpc( "authority", "call_remote", @@ -2983,16 +2861,11 @@ func _teardown_peer() -> void: _pending_movement_inputs.clear() _snapshot_accumulator = 0.0 _movement_snapshot_tick = 0 - _last_local_snapshot_received_msec = 0 - _local_space_transition_guard_active = false - _local_space_transition_guard_position = Vector3.ZERO - _local_space_transition_minimum_ack = 0 _animation_refresh_accumulator = 0.0 _last_animation_state_by_peer.clear() _pending_animation_state_by_peer.clear() _last_local_animation_action_signature.clear() _server_capabilities = PackedStringArray() - _peer_space_ids.clear() _server_identity_fingerprint = "" _server_identity_public_key = "" _session_identity_keys.clear() diff --git a/network/network_shop_protocol.gd b/network/network_shop_protocol.gd index e58556e..2de9cc1 100644 --- a/network/network_shop_protocol.gd +++ b/network/network_shop_protocol.gd @@ -4,8 +4,6 @@ extends RefCounted const CAPABILITY: StringName = &"shop_v1" const ART_CAPABILITY: StringName = &"art_shop_v1" const BACKPACK_CAPABILITY: StringName = &"backpack_shop_v1" -const DECOR_CAPABILITY: StringName = &"portable_home_v1" -const HOME_UPGRADE_CAPABILITY: StringName = &"home_upgrade_v1" const RELIABLE_CHANNEL: int = NetworkProtocol.SHOP_RELIABLE_CHANNEL const MAX_ID_LENGTH: int = 96 const MAX_MESSAGE_LENGTH: int = 160 @@ -16,11 +14,10 @@ enum ProductCategory { ROD, REEL_SPEED_UPGRADE, BARRIER_POWER_UPGRADE, - HOME_UPGRADE, + COOLER_CAPACITY_UPGRADE, ART_KIT, ART_UPGRADE, BACKPACK_CAPACITY_UPGRADE, - DECOR, } diff --git a/network/network_shop_service.gd b/network/network_shop_service.gd index e4d6f9c..6f31c40 100644 --- a/network/network_shop_service.gd +++ b/network/network_shop_service.gd @@ -8,14 +8,11 @@ const ItemDataType = preload("res://items/item_data.gd") const FishingRodDataType = preload("res://items/fishing_rod_data.gd") const OwnedItemType = preload("res://items/owned_item.gd") const ArtShopStockType = preload("res://economy/art_shop_stock.gd") -const DecorCatalogType = preload("res://homes/decor_catalog.gd") -const FISHING_SHOP_ID: StringName = &"main_fishing_shop" -const DECOR_SHOP_ID: StringName = &"rv_decor_shop" -const RV_UPGRADE_SHOP_ID: StringName = &"rv_upgrade_shop" +const SHOP_ID: StringName = &"main_fishing_shop" const REEL_PRODUCT_ID: StringName = &"reel_speed_upgrade" const BARRIER_PRODUCT_ID: StringName = &"barrier_power_upgrade" -const HOME_UPGRADE_PRODUCT_ID: StringName = &"starter_rv_upgrade" +const COOLER_PRODUCT_ID: StringName = &"cooler_capacity_upgrade" const BACKPACK_PRODUCT_ID: StringName = &"backpack_capacity_upgrade" const MAX_LEDGER_ENTRIES_PER_PEER: int = 64 @@ -34,8 +31,6 @@ var _session: NetworkSession var _spawn_service: PlayerSpawnService var _network_fishing: NetworkFishingService var _interaction: FishingShopInteraction -var _decor_interaction: DecorShopInteraction -var _rv_upgrade_interaction: FishingShopInteraction var _wallet: PlayerWallet var _bag: PlayerBag var _item_catalog: ItemCatalog @@ -52,8 +47,6 @@ var _received_results: Dictionary[String, bool] = {} var _applied_results: Dictionary[String, bool] = {} var _pending_local_request: Dictionary = {} var _reservations: PlayerAssetReservationService -var _home_state: PlayerHomeState -var _network_home: NetworkHomeService func setup( @@ -70,10 +63,6 @@ func setup( save_manager: PlayerSaveManager, reservations: PlayerAssetReservationService, inventory_layout: PlayerInventoryLayout = null, - home_state: PlayerHomeState = null, - network_home: NetworkHomeService = null, - decor_interaction: DecorShopInteraction = null, - rv_upgrade_interaction: FishingShopInteraction = null, ) -> void: _session = session _spawn_service = spawn_service @@ -88,10 +77,6 @@ func setup( _save_manager = save_manager _reservations = reservations _inventory_layout = inventory_layout - _home_state = home_state - _network_home = network_home - _decor_interaction = decor_interaction - _rv_upgrade_interaction = rv_upgrade_interaction if not _session.peer_removed.is_connected(_on_peer_removed): _session.peer_removed.connect(_on_peer_removed) if not _session.state_changed.is_connected(_on_session_state_changed): @@ -102,18 +87,6 @@ func set_shop_interaction(interaction: FishingShopInteraction) -> void: _interaction = interaction -func set_decor_shop_interaction( - interaction: DecorShopInteraction, -) -> void: - _decor_interaction = interaction - - -func set_rv_upgrade_shop_interaction( - interaction: FishingShopInteraction, -) -> void: - _rv_upgrade_interaction = interaction - - func can_request_purchase() -> bool: return ( _session != null @@ -151,32 +124,6 @@ func can_request_backpack_purchase() -> bool: ) -func can_request_decor_purchase() -> bool: - return ( - can_request_purchase() - and _home_state != null - and ( - _session.is_host() - or _session.supports_server_capability( - NetworkShopProtocol.DECOR_CAPABILITY - ) - ) - ) - - -func can_request_home_upgrade() -> bool: - return ( - can_request_purchase() - and _home_state != null - and ( - _session.is_host() - or _session.supports_server_capability( - NetworkShopProtocol.HOME_UPGRADE_CAPABILITY - ) - ) - ) - - func is_local_purchase_pending() -> bool: return not _pending_local_request.is_empty() @@ -227,12 +174,12 @@ func request_barrier_power_upgrade() -> String: ) -func request_home_upgrade() -> String: +func request_cooler_capacity_upgrade() -> String: return _request_purchase( - HOME_UPGRADE_PRODUCT_ID, - NetworkShopProtocol.ProductCategory.HOME_UPGRADE, + COOLER_PRODUCT_ID, + NetworkShopProtocol.ProductCategory.COOLER_CAPACITY_UPGRADE, 1, - _home_state.get_tier() if _home_state != null else 0 + _cooler_capacity.get_level() if _cooler_capacity != null else 0 ) @@ -246,15 +193,6 @@ func request_backpack_capacity_upgrade() -> String: ) -func request_decor(product_id: StringName) -> String: - return _request_purchase( - product_id, - NetworkShopProtocol.ProductCategory.DECOR, - 1, - _home_state.get_owned_count(product_id) if _home_state != null else 0, - ) - - func request_art_kit() -> String: return _request_purchase( ArtShopStockType.ART_KIT_ITEM_ID, @@ -331,30 +269,11 @@ func _request_purchase( product_id, category, 0, 0, ) return "" - if ( - category == NetworkShopProtocol.ProductCategory.HOME_UPGRADE - and not can_request_home_upgrade() - ): - local_purchase_finished.emit( - "", false, "RV upgrades require a newer server.", - product_id, category, 0, 0, - ) - return "" - if ( - category == NetworkShopProtocol.ProductCategory.DECOR - and not can_request_decor_purchase() - ): - local_purchase_finished.emit( - "", false, "Decor require a newer server.", - product_id, category, 0, 0, - ) - return "" var request_id: String = _new_id("shop") - var shop_id: StringName = _shop_id_for_category(category) var request: Dictionary = { "request_id": request_id, "session_id": _session.get_session_id(), - "shop_id": str(shop_id), + "shop_id": str(SHOP_ID), "product_id": str(product_id), "category": category, "quantity": quantity, @@ -426,38 +345,16 @@ func _handle_purchase_request(peer_id: int, data: Dictionary) -> void: _rejected_result(data, "A purchase is already pending.") ) return - var requested_shop_id := StringName(str(data["shop_id"])) - if not _is_shop_available_for_peer(peer_id, requested_shop_id): + if not _is_shop_available_for_peer(peer_id): var avatar: Player = _spawn_service.get_avatar(peer_id) - var requested_interaction: FishingShopInteraction = ( - _interaction_for_shop(requested_shop_id) - ) var message: String = ( "The shop is unavailable." - if avatar == null or requested_interaction == null + if avatar == null or _interaction == null else "Move closer to the shop." ) _record_and_send(peer_id, _rejected_result(data, message)) return var result: Dictionary = _build_authoritative_result(peer_id, data) - if ( - bool(result.get("accepted", false)) - and _network_home != null - ): - match int(result.get("category", -1)): - NetworkShopProtocol.ProductCategory.DECOR: - _network_home.authorize_decor_purchase( - peer_id, - StringName(str(result["product_id"])), - int(result["resulting_state"]), - str(result["result_id"]), - ) - NetworkShopProtocol.ProductCategory.HOME_UPGRADE: - _network_home.authorize_home_upgrade( - peer_id, - int(result["resulting_state"]), - str(result["result_id"]), - ) _pending_by_peer[peer_id] = request_id _record_and_send(peer_id, result) @@ -471,29 +368,10 @@ func _build_authoritative_result( var quantity: int = request["quantity"] var wallet_balance: int = request["wallet_balance"] var current_state: int = request["current_state"] - if ( - category == NetworkShopProtocol.ProductCategory.DECOR - and _network_home != null - ): - var authoritative_count: int = ( - _network_home.get_authoritative_owned_count(peer_id, product_id) - ) - if authoritative_count >= 0: - current_state = authoritative_count - elif ( - category == NetworkShopProtocol.ProductCategory.HOME_UPGRADE - and _network_home != null - ): - var authoritative_tier: int = ( - _network_home.get_authoritative_home_tier(peer_id) - ) - if authoritative_tier >= 0: - current_state = authoritative_tier var cost: int = -1 var resulting_state: int = current_state var rejection: String = "" - var expected_shop_id: StringName = _shop_id_for_category(category) - if StringName(str(request["shop_id"])) != expected_shop_id: + if StringName(str(request["shop_id"])) != SHOP_ID: rejection = "The shop is unavailable." elif quantity < 1: rejection = "Purchase could not be completed." @@ -606,14 +484,18 @@ func _build_authoritative_result( ] ) resulting_state = current_state + 1 - NetworkShopProtocol.ProductCategory.HOME_UPGRADE: + NetworkShopProtocol.ProductCategory.COOLER_CAPACITY_UPGRADE: if ( - product_id != HOME_UPGRADE_PRODUCT_ID - or current_state >= PlayerHomeState.MAX_TIER + product_id != COOLER_PRODUCT_ID + or current_state >= PlayerCoolerCapacity.MAX_LEVEL ): rejection = "Upgrade is already at maximum." else: - cost = PlayerHomeState.HOME_UPGRADE_COSTS[current_state] + cost = ( + PlayerCoolerCapacity.EXPANSION_COSTS[ + current_state + ] + ) resulting_state = current_state + 1 NetworkShopProtocol.ProductCategory.BACKPACK_CAPACITY_UPGRADE: if ( @@ -663,19 +545,6 @@ func _build_authoritative_result( resulting_state = PlayerArtUnlocks.resulting_mask( current_state, product_id ) - NetworkShopProtocol.ProductCategory.DECOR: - cost = DecorCatalogType.get_price(product_id) - if ( - not DecorCatalogType.has_product(product_id) - or quantity != 1 - or current_state < 0 - or current_state - >= DecorCatalogType.MAX_OWNED_PER_PRODUCT - or cost < 0 - ): - rejection = "Decor is unavailable." - else: - resulting_state = current_state + 1 if rejection.is_empty() and (cost < 0 or wallet_balance < cost): rejection = "Insufficient funds." if not rejection.is_empty(): @@ -798,9 +667,6 @@ func _apply_purchase_result(data: Dictionary) -> void: if _inventory_layout != null else 0 ) var art_snapshot: int = _art_unlocks.get_unlock_mask() - var home_snapshot: Dictionary = ( - _home_state.to_save_data() if _home_state != null else {} - ) var applied: bool = _apply_local_product(data) if not applied or not _save_manager.save_if_dirty(): _bag.replace_all_items(bag_snapshot) @@ -810,8 +676,6 @@ func _apply_purchase_result(data: Dictionary) -> void: if _inventory_layout != null: _inventory_layout.restore_backpack_level(backpack_snapshot) _art_unlocks.restore_mask(art_snapshot) - if _home_state != null and not home_snapshot.is_empty(): - _home_state.restore_from_save_data(home_snapshot) _wallet.restore_balance(wallet_snapshot) _save_manager.save_if_dirty() _fail_local_apply(data, "Purchase could not be completed.") @@ -832,7 +696,6 @@ func _validate_local_result(data: Dictionary) -> String: or _cooler_capacity == null or _art_unlocks == null or _save_manager == null - or _home_state == null or _wallet.get_balance() != int(data["expected_wallet"]) or str(data["product_id"]) != str(_pending_local_request.get("product_id", "")) @@ -907,12 +770,10 @@ func _validate_local_result(data: Dictionary) -> String: return "Purchase could not be completed." if _upgrades.get_next_barrier_power_cost() != cost: return "Purchase could not be completed." - NetworkShopProtocol.ProductCategory.HOME_UPGRADE: - if ( - product_id != HOME_UPGRADE_PRODUCT_ID - or _home_state.get_tier() != expected_state - or _home_state.get_next_upgrade_cost() != cost - ): + NetworkShopProtocol.ProductCategory.COOLER_CAPACITY_UPGRADE: + if _cooler_capacity.get_level() != expected_state: + return "Purchase could not be completed." + if _cooler_capacity.get_next_cost() != cost: return "Purchase could not be completed." NetworkShopProtocol.ProductCategory.BACKPACK_CAPACITY_UPGRADE: if ( @@ -945,20 +806,6 @@ func _validate_local_result(data: Dictionary) -> String: or cost != ArtShopStockType.UPGRADE_PRICE ): return "Purchase could not be completed." - NetworkShopProtocol.ProductCategory.DECOR: - if ( - not DecorCatalogType.has_product(product_id) - or _home_state.get_owned_count(product_id) != expected_state - or resulting_state != expected_state + 1 - or cost != DecorCatalogType.get_price(product_id) - or expected_state >= DecorCatalogType.MAX_OWNED_PER_PRODUCT - or not _bag.can_add_item(product_id, 1) - ): - return ( - "Your inventory is full." - if not _bag.can_add_item(product_id, 1) - else "Purchase could not be completed." - ) _: return "Purchase could not be completed." return "" @@ -982,11 +829,8 @@ func _apply_local_product(data: Dictionary) -> bool: return _upgrades.purchase_reel_speed(_wallet) NetworkShopProtocol.ProductCategory.BARRIER_POWER_UPGRADE: return _upgrades.purchase_barrier_power(_wallet) - NetworkShopProtocol.ProductCategory.HOME_UPGRADE: - return ( - _wallet.debit(int(data["total_cost"])) - and _home_state.upgrade_to_next_tier() - ) + NetworkShopProtocol.ProductCategory.COOLER_CAPACITY_UPGRADE: + return _cooler_capacity.purchase(_wallet) NetworkShopProtocol.ProductCategory.BACKPACK_CAPACITY_UPGRADE: return ( _inventory_layout != null @@ -1001,12 +845,6 @@ func _apply_local_product(data: Dictionary) -> bool: return _art_unlocks.purchase_product( product_id, _wallet, int(data["total_cost"]) ) - NetworkShopProtocol.ProductCategory.DECOR: - return ( - _wallet.debit(int(data["total_cost"])) - and _bag.add_item(product_id, 1) - and _home_state.add_owned_decor(product_id, 1) - ) return false @@ -1083,7 +921,7 @@ func _handle_acknowledgement( peer_id: int, result_id: String, request_id: String, - applied: bool, + _applied: bool, message: String, ) -> void: if ( @@ -1095,31 +933,20 @@ func _handle_acknowledgement( or _result_owners.get(result_id, 0) != peer_id ): return - if _network_home != null: - _network_home.finalize_decor_purchase( - peer_id, result_id, applied - ) - _network_home.finalize_home_upgrade( - peer_id, result_id, applied - ) _acknowledged_results[result_id] = true _bound_dictionary(_acknowledged_results) if _pending_by_peer.get(peer_id, "") == request_id: _pending_by_peer.erase(peer_id) -func _is_shop_available_for_peer( - peer_id: int, - shop_id: StringName, -) -> bool: - var interaction: FishingShopInteraction = _interaction_for_shop(shop_id) +func _is_shop_available_for_peer(peer_id: int) -> bool: if ( _session == null or not _session.is_host() or not _session.is_gameplay_session_active() or _spawn_service == null - or interaction == null - or not is_instance_valid(interaction) + or _interaction == null + or not is_instance_valid(_interaction) ): return false var avatar: Player = _spawn_service.get_avatar(peer_id) @@ -1130,28 +957,10 @@ func _is_shop_available_for_peer( _network_fishing == null or not _network_fishing.has_peer_attempt(peer_id) ) - and interaction.is_avatar_in_range(avatar) + and _interaction.is_avatar_in_range(avatar) ) -func _shop_id_for_category(category: int) -> StringName: - match category: - NetworkShopProtocol.ProductCategory.DECOR: - return DECOR_SHOP_ID - NetworkShopProtocol.ProductCategory.HOME_UPGRADE: - return RV_UPGRADE_SHOP_ID - return FISHING_SHOP_ID - - -func _interaction_for_shop(shop_id: StringName) -> FishingShopInteraction: - match shop_id: - DECOR_SHOP_ID: - return _decor_interaction - RV_UPGRADE_SHOP_ID: - return _rv_upgrade_interaction - return _interaction - - func _on_peer_removed(peer_id: int) -> void: _request_ledgers.erase(peer_id) _pending_by_peer.erase(peer_id) diff --git a/network/network_surface_drawing_service.gd b/network/network_surface_drawing_service.gd index 485dfaa..4edc234 100644 --- a/network/network_surface_drawing_service.gd +++ b/network/network_surface_drawing_service.gd @@ -250,11 +250,7 @@ func activate( _pointer_screen_position = _clamped_pointer_position( initial_pointer_position ) - # Art-kit activation can occur while the prior right-click camera drag is - # still held. Stop that drag before recording a return mode, then restore - # normal camera availability so right-click continues to work while drawing. - _stop_camera_drag_for_art_kit() - _prior_mouse_mode = _get_restorable_mouse_mode(Input.mouse_mode) + _prior_mouse_mode = Input.mouse_mode Input.mouse_mode = Input.MOUSE_MODE_VISIBLE _update_aim() _refresh_stencil_visibility() @@ -270,10 +266,6 @@ func deactivate() -> void: _eraser_mode = false _clear_armed_guide_action(false) _camera_look_active = false - # Do not leave a drag captured when drawing is closed by a menu, hotbar - # change, or session transition. The next camera drag must start on a fresh - # physical right-click press. - _stop_camera_drag_for_art_kit() _reset_stroke() _selected_canvas_id = "" _hovered_canvas_id = "" @@ -281,24 +273,10 @@ func deactivate() -> void: _aim_hit.clear() _hide_previews() _refresh_stencil_visibility() - Input.mouse_mode = _get_restorable_mouse_mode(_prior_mouse_mode) + Input.mouse_mode = _prior_mouse_mode _emit_hud_state("") -func _stop_camera_drag_for_art_kit() -> void: - if _local_player == null or not is_instance_valid(_local_player): - return - var camera_input_enabled: bool = _local_player.is_camera_input_enabled() - _local_player.set_camera_input_enabled(false) - _local_player.set_camera_input_enabled(camera_input_enabled) - - -func _get_restorable_mouse_mode(mouse_mode: Input.MouseMode) -> Input.MouseMode: - if mouse_mode == Input.MOUSE_MODE_CAPTURED: - return Input.MOUSE_MODE_VISIBLE - return mouse_mode - - func is_active() -> bool: return _active @@ -901,7 +879,7 @@ func export_canvas_png(canvas_id: String) -> String: _emit_hud_state("paint something before exporting") return "" if _data_root == null or _data_root.root_path.is_empty(): - _emit_hud_state("choose a straywild data folder before exporting") + _emit_hud_state("choose a NETfishing data folder before exporting") return "" var export_directory: String = _artwork_directory() if DirAccess.make_dir_recursive_absolute(export_directory) != OK: @@ -1012,7 +990,7 @@ func _stamp_entry_is_unlocked(entry: Dictionary) -> bool: func _next_artwork_export_path(directory: String) -> String: var date_time: Dictionary = Time.get_datetime_dict_from_system() - var stem: String = "straywild-artwork-%04d%02d%02d-%02d%02d%02d" % [ + var stem: String = "netfishing-artwork-%04d%02d%02d-%02d%02d%02d" % [ int(date_time.get("year", 0)), int(date_time.get("month", 0)), int(date_time.get("day", 0)), diff --git a/network/network_world_spawn_service.gd b/network/network_world_spawn_service.gd index 8981237..87814ee 100644 --- a/network/network_world_spawn_service.gd +++ b/network/network_world_spawn_service.gd @@ -43,7 +43,6 @@ var _entity_revisions: Dictionary = {} var _surface_triangles: Dictionary = {} var _surface_areas: Dictionary = {} var _surface_total_areas: Dictionary = {} -var _surface_height_ranges: Dictionary = {} var _spawn_anchor_positions: Dictionary = {} var _respawns: Array[Dictionary] = [] var _next_respawn_by_type: Dictionary[StringName, float] = {} @@ -295,7 +294,7 @@ func _begin_population_if_ready() -> void: _current_season() ): _cache_spawn_surface(entry) - for _spawn_index: int in _target_population(entry): + for _spawn_index: int in entry.population: _spawn_entity(entry) @@ -323,14 +322,10 @@ func _cache_spawn_surface(entry: GatherableDataType) -> void: if not entry.diggable_area_id.is_empty(): triangles = _world.get_diggable_area_triangles(entry.diggable_area_id) else: - var height_range := _resolved_surface_height_range(entry) triangles = _world.get_spawn_surface_triangles( entry.surface_materials, - height_range.x, - 0.6, - height_range.y, + entry.minimum_surface_y, ) - _surface_height_ranges[entry.type_id] = height_range var areas := PackedFloat32Array() var total_area: float = 0.0 for triangle: PackedVector3Array in triangles: @@ -523,21 +518,7 @@ func _sample_surface_position( ) if triangles.is_empty() or total_area <= 0.0: return Vector3(INF, INF, INF) - var validates_diggable_surface := not entry.diggable_area_id.is_empty() - var height_range: Vector2 = _surface_height_ranges.get( - entry.type_id, - Vector2(entry.minimum_surface_y, entry.maximum_surface_y), - ) - var validates_height_range := _surface_height_ranges.has(entry.type_id) - var attempts: int = ( - 48 - if ( - validates_diggable_surface - or validates_height_range - or is_finite(maximum_distance) - ) - else 1 - ) + var attempts: int = 48 if is_finite(maximum_distance) else 1 var fallback: Vector3 = Vector3(INF, INF, INF) for _attempt: int in attempts: var roll: float = _rng.randf() * total_area @@ -553,33 +534,12 @@ func _sample_surface_position( + triangle[2] * barycentric_c ) fallback = point - var within_requested_distance := ( + if ( not is_finite(maximum_distance) or Vector2(point.x - origin.x, point.z - origin.z).length() <= maximum_distance - ) - var valid_diggable_surface := ( - not validates_diggable_surface - or _world.is_diggable_surface_point_valid( - entry.diggable_area_id, - point, - ) - ) - var valid_height := ( - not validates_height_range - or ( - point.y > height_range.x - and point.y < height_range.y - ) - ) - if ( - within_requested_distance - and valid_diggable_surface - and valid_height ): return point - if validates_diggable_surface or validates_height_range: - return Vector3(INF, INF, INF) if origin.is_finite() and is_finite(maximum_distance): return origin return fallback @@ -1423,45 +1383,11 @@ func _reconcile_seasonal_population() -> void: for entry: GatherableDataType in _catalog.get_available_entries(season): _cache_spawn_surface(entry) var current_population: int = _population_for_type(entry.type_id) - var target_population := _target_population(entry) - while current_population < target_population: + while current_population < entry.population: _spawn_entity(entry) current_population += 1 -func _target_population(entry: GatherableDataType) -> int: - if entry == null: - return 0 - if entry.spawn_anchor_set_id.is_empty(): - return entry.target_population_for_surface_area( - float(_surface_total_areas.get(entry.type_id, 0.0)) - ) - var anchors: PackedVector3Array = _spawn_anchor_positions.get( - entry.type_id, - PackedVector3Array(), - ) - return entry.target_population_for_anchor_count(anchors.size()) - - -func _resolved_surface_height_range(entry: GatherableDataType) -> Vector2: - var minimum_y := entry.minimum_surface_y - var maximum_y := entry.maximum_surface_y - var saltwater_height := _world.get_saltwater_surface_height() - if is_finite(saltwater_height): - match entry.surface_water_relation: - GatherableDataType.SurfaceWaterRelation.ABOVE_SALT_WATER: - minimum_y = maxf( - minimum_y, - saltwater_height + entry.waterline_margin, - ) - GatherableDataType.SurfaceWaterRelation.BELOW_SALT_WATER: - maximum_y = minf( - maximum_y, - saltwater_height - entry.waterline_margin, - ) - return Vector2(minimum_y, maximum_y) - - func _population_for_type(type_id: StringName) -> int: var count: int = 0 for state: Dictionary in _entities.values(): @@ -1493,7 +1419,6 @@ func _clear_world() -> void: _surface_triangles.clear() _surface_areas.clear() _surface_total_areas.clear() - _surface_height_ranges.clear() _spawn_anchor_positions.clear() _respawns.clear() _next_respawn_by_type.clear() diff --git a/network/player_data_root.gd b/network/player_data_root.gd index e173577..9416db3 100644 --- a/network/player_data_root.gd +++ b/network/player_data_root.gd @@ -9,42 +9,12 @@ const BOOTSTRAP_TEMP_PATH := "user://data_root_bootstrap.json.tmp" const BOOTSTRAP_VERSION := 1 const MANIFEST_VERSION := 1 const LAYOUT_VERSION := 1 -const MANIFEST_FILENAME := "straywild_data.json" -const LEGACY_MANIFEST_FILENAME := "netfishing_data.json" +const MANIFEST_FILENAME := "netfishing_data.json" const README_FILENAME := "README.txt" -const ENVIRONMENT_VARIABLE := "straywild_DATA_DIR" -const CREATE_ENVIRONMENT_VARIABLE := "straywild_CREATE_DATA_DIR" -const LEGACY_ENVIRONMENT_VARIABLE := "NETFISHING_DATA_DIR" -const LEGACY_CREATE_ENVIRONMENT_VARIABLE := "NETFISHING_CREATE_DATA_DIR" -const APPLICATION_ID := "straywild" -const LEGACY_APPLICATION_ID := "netfishing" +const ENVIRONMENT_VARIABLE := "NETFISHING_DATA_DIR" +const CREATE_ENVIRONMENT_VARIABLE := "NETFISHING_CREATE_DATA_DIR" +const APPLICATION_ID := "netfishing" const APP_DATA_PORTABLE_PATH := "user://portable-data" -const LEGACY_USER_DIRECTORY_NAME := "NETFISHING" -const LEGACY_USER_FILES := [ - "data_root_bootstrap.json", - "data_root_bootstrap.json.backup", - "network_discovery.cfg", - "player_settings.json", - "player_settings.json.backup", - "controller_mappings.json", - "controller_mappings.json.backup", - "keyboard_mouse_bindings.json", - "keyboard_mouse_bindings.json.backup", - "player_save.json", - "network_profile.json", - "player_appearance.json", - "saved_servers.json", - "known_players.json", - "player_relationships.json", - "server_trust.json", - "host_bans.json", - "player_identity.key", - "player_identity.pub", - "player_identity.json", - "host_identity.key", - "host_identity.pub", - "host_identity.json", -] const PATH_ALLOWED: StringName = &"allowed" const PATH_SOURCE_PROJECT: StringName = &"source_project" const PATH_INSTALLATION: StringName = &"installation" @@ -67,29 +37,23 @@ var override_active := false func resolve() -> bool: - prepare_legacy_user_data() _load_bootstrap_identity() var command_line: String = _command_line_override() if not command_line.is_empty(): override_active = true mode = Mode.COMMAND_LINE_OVERRIDE return _activate_existing(command_line, "", false) - var environment_variable: String = _available_environment_variable( - ENVIRONMENT_VARIABLE, - LEGACY_ENVIRONMENT_VARIABLE, - ) - if not environment_variable.is_empty(): + if OS.has_environment(ENVIRONMENT_VARIABLE): override_active = true mode = Mode.ENVIRONMENT_OVERRIDE - var environment_path: String = OS.get_environment(environment_variable) + var environment_path: String = OS.get_environment(ENVIRONMENT_VARIABLE) if not environment_path.is_absolute_path(): - return _fail("straywild_DATA_DIR must be an absolute path.") + return _fail("NETFISHING_DATA_DIR must be an absolute path.") if ( - _environment_flag( - CREATE_ENVIRONMENT_VARIABLE, - LEGACY_CREATE_ENVIRONMENT_VARIABLE, + OS.get_environment(CREATE_ENVIRONMENT_VARIABLE) == "1" + and not FileAccess.file_exists( + environment_path.path_join(MANIFEST_FILENAME) ) - and not has_data_manifest(environment_path) ): var created: Dictionary = create_unbound_root(environment_path) if not bool(created.get("ok", false)): @@ -116,35 +80,11 @@ func resolve() -> bool: return false -func prepare_legacy_user_data() -> void: - var current_root: String = _normalize( - ProjectSettings.globalize_path("user://") - ) - if current_root.is_empty(): - return - var legacy_root: String = _normalize( - current_root.get_base_dir().path_join(LEGACY_USER_DIRECTORY_NAME) - ) - if legacy_root == current_root or not DirAccess.dir_exists_absolute(legacy_root): - return - for filename: String in LEGACY_USER_FILES: - var destination: String = current_root.path_join(filename) - if FileAccess.file_exists(destination): - continue - var source: String = legacy_root.path_join(filename) - if FileAccess.file_exists(source): - _copy_legacy_user_file(source, destination) - - -func has_data_manifest(path: String) -> bool: - return not _existing_manifest_path(_normalize(path)).is_empty() - - func default_visible_path() -> String: var documents: String = OS.get_system_dir(OS.SYSTEM_DIR_DOCUMENTS) if documents.is_empty(): return "" - var candidate: String = _normalize(documents.path_join("straywild")) + var candidate: String = _normalize(documents.path_join("NETFISHING")) if not candidate.is_absolute_path(): return "" var classification: StringName = classify_candidate_path( @@ -165,22 +105,20 @@ func select_new_root(path: String, app_data: bool = false) -> bool: normalized = ProjectSettings.globalize_path(APP_DATA_PORTABLE_PATH) if not _validate_candidate(normalized, true): return false - var manifest_path: String = _existing_manifest_path(normalized) - if not manifest_path.is_empty(): + var manifest_path: String = normalized.path_join(MANIFEST_FILENAME) + if FileAccess.file_exists(manifest_path): var manifest: Dictionary = _read_json(manifest_path) if not _valid_manifest(manifest): - return _fail("The selected folder has a malformed straywild manifest.") + return _fail("The selected folder has a malformed NETfishing manifest.") root_id = str(manifest["root_id"]) - if not _upgrade_legacy_manifest(normalized, manifest, manifest_path): - return _fail("The legacy data-folder manifest could not be upgraded.") else: if not _directory_is_empty(normalized) and not app_data: return _fail( - "Choose an empty folder or an existing straywild data folder." + "Choose an empty folder or an existing NETfishing data folder." ) root_id = Crypto.new().generate_random_bytes(16).hex_encode() if not _create_layout(normalized, root_id): - return _fail("The straywild data folder could not be created.") + return _fail("The NETfishing data folder could not be created.") if not _write_bootstrap(normalized, root_id): return _fail("The data-folder pointer could not be saved.") root_path = normalized @@ -207,14 +145,14 @@ func create_app_data_layout_for_migration(path: String) -> Dictionary: var normalized: String = _normalize(path) if not _validate_candidate(normalized, false): return {"ok": false, "message": error_message} - var manifest_path: String = _existing_manifest_path(normalized) - if not manifest_path.is_empty(): + var manifest_path: String = normalized.path_join(MANIFEST_FILENAME) + if FileAccess.file_exists(manifest_path): var manifest: Dictionary = _read_json(manifest_path) - if not _valid_manifest(manifest): - return {"ok": false, "message": "The app-data manifest is malformed."} - if not _upgrade_legacy_manifest(normalized, manifest, manifest_path): - return {"ok": false, "message": "The app-data manifest could not be upgraded."} - return {"ok": true, "root_id": str(manifest.get("root_id", ""))} + return ( + {"ok": true, "root_id": str(manifest.get("root_id", ""))} + if _valid_manifest(manifest) + else {"ok": false, "message": "The app-data manifest is malformed."} + ) var id: String = Crypto.new().generate_random_bytes(16).hex_encode() if not _create_layout(normalized, id): return {"ok": false, "message": "The app-data layout could not be created."} @@ -298,19 +236,17 @@ func _activate_existing(path: String, expected_id: String, permit_creation: bool var normalized: String = _normalize(path) if not _validate_candidate(normalized, permit_creation): return false - var manifest_path: String = _existing_manifest_path(normalized) - if manifest_path.is_empty(): - return _fail("The selected folder is not a straywild data folder.") + var manifest_path: String = normalized.path_join(MANIFEST_FILENAME) + if not FileAccess.file_exists(manifest_path): + return _fail("The selected folder is not a NETfishing data folder.") var manifest: Dictionary = _read_json(manifest_path) if not _valid_manifest(manifest): - return _fail("The straywild data-folder manifest is malformed.") - if not _upgrade_legacy_manifest(normalized, manifest, manifest_path): - return _fail("The legacy data-folder manifest could not be upgraded.") + return _fail("The NETfishing data-folder manifest is malformed.") var found_id: String = str(manifest["root_id"]) if not expected_id.is_empty() and expected_id != found_id: return _fail("The selected data folder does not match this device pointer.") if not _test_writable(normalized): - return _fail("The straywild data folder is unavailable or unwritable.") + return _fail("The NETfishing data folder is unavailable or unwritable.") root_path = normalized root_id = found_id requires_selection = false @@ -403,7 +339,7 @@ static func _is_same_or_child_path(candidate: String, reference: String) -> bool func _test_writable(path: String) -> bool: var probe: String = path.path_join( - ".straywild-write-%s.tmp" % device_id.left(12) + ".netfishing-write-%s.tmp" % device_id.left(12) ) var file: FileAccess = FileAccess.open(probe, FileAccess.WRITE) if file == null: @@ -434,7 +370,7 @@ func _create_layout(path: String, id: String) -> bool: ): return false var readme: String = ( - "straywild player data\n\n" + "NETfishing player data\n\n" + "This folder is safe to synchronize with tools such as Syncthing.\n" + "Active private identity keys remain device-local.\n" + "Encrypted identity backups require their passphrase.\n" @@ -486,71 +422,12 @@ func _valid_manifest(data: Dictionary) -> bool: return ( data.get("format_version") == MANIFEST_VERSION and data.get("layout_version") == LAYOUT_VERSION - and data.get("application") in [APPLICATION_ID, LEGACY_APPLICATION_ID] + and data.get("application") == APPLICATION_ID and typeof(data.get("root_id")) == TYPE_STRING and str(data["root_id"]).length() == 32 ) -func _existing_manifest_path(path: String) -> String: - var current: String = path.path_join(MANIFEST_FILENAME) - if FileAccess.file_exists(current): - return current - var legacy: String = path.path_join(LEGACY_MANIFEST_FILENAME) - return legacy if FileAccess.file_exists(legacy) else "" - - -func _upgrade_legacy_manifest( - path: String, - manifest: Dictionary, - manifest_path: String, -) -> bool: - if ( - manifest_path.get_file() == MANIFEST_FILENAME - and manifest.get("application") == APPLICATION_ID - ): - return true - var upgraded: Dictionary = manifest.duplicate(true) - upgraded["application"] = APPLICATION_ID - upgraded["last_opened_at_unix"] = int(Time.get_unix_time_from_system()) - return _write_text_atomic( - path.path_join(MANIFEST_FILENAME), - JSON.stringify(upgraded, "\t"), - ) - - -func _available_environment_variable(primary: String, legacy: String) -> String: - if OS.has_environment(primary): - return primary - return legacy if OS.has_environment(legacy) else "" - - -func _environment_flag(primary: String, legacy: String) -> bool: - var variable: String = _available_environment_variable(primary, legacy) - return not variable.is_empty() and OS.get_environment(variable) == "1" - - -func _copy_legacy_user_file(source: String, destination: String) -> bool: - var bytes: PackedByteArray = PortableFileGuard.read_bytes( - source, - 16 * 1024 * 1024, - ) - if bytes.is_empty() and FileAccess.get_open_error() != OK: - return false - if DirAccess.make_dir_recursive_absolute(destination.get_base_dir()) != OK: - return false - var file: FileAccess = FileAccess.open(destination, FileAccess.WRITE) - if file == null: - return false - file.store_buffer(bytes) - file.flush() - var copied: bool = file.get_error() == OK - file.close() - if copied and source.ends_with(".key"): - FileAccess.set_unix_permissions(destination, 384) - return copied - - func _directory_is_empty(path: String) -> bool: var access: DirAccess = DirAccess.open(path) if access == null: diff --git a/network/player_relationship_store.gd b/network/player_relationship_store.gd index de04d49..2452315 100644 --- a/network/player_relationship_store.gd +++ b/network/player_relationship_store.gd @@ -7,8 +7,8 @@ const FORMAT_VERSION := 2 const MAX_RECORDS := 500 const MAX_FRIENDS := 200 const SOCIAL_TOKEN_LENGTH := 64 -const PRESENCE_CHANNEL_DOMAIN := "straywild_PRESENCE_V1:" -const INVITE_INBOX_DOMAIN := "straywild_INVITE_V1:" +const PRESENCE_CHANNEL_DOMAIN := "NETFISHING_PRESENCE_V1:" +const INVITE_INBOX_DOMAIN := "NETFISHING_INVITE_V1:" var _records: Dictionary = {} var _loaded := false @@ -21,10 +21,6 @@ var _data_root: PlayerDataRoot func configure_storage(path: String, data_root: PlayerDataRoot) -> void: _store_path = path _data_root = data_root - _records.clear() - _loaded = false - _write_blocked = false - _expected_hash = "" func is_muted(fingerprint: String) -> bool: diff --git a/network/portable_data_migration.gd b/network/portable_data_migration.gd index 2de0acb..430fba8 100644 --- a/network/portable_data_migration.gd +++ b/network/portable_data_migration.gd @@ -26,16 +26,19 @@ static func migrate_legacy_to( ) -> Dictionary: var normalized: String = destination.simplify_path().trim_suffix("/") if DirAccess.dir_exists_absolute(normalized): - if data_root.has_data_manifest(normalized): + var existing_manifest: String = normalized.path_join( + PlayerDataRoot.MANIFEST_FILENAME + ) + if FileAccess.file_exists(existing_manifest): return { "ok": false, "requires_existing_root_decision": true, - "message": "The selected folder already contains straywild data.", + "message": "The selected folder already contains NETfishing data.", } if not _directory_empty(normalized): return { "ok": false, - "message": "Choose an empty folder or create a straywild subfolder.", + "message": "Choose an empty folder or create a NETfishing subfolder.", } var staging: String = "%s.migration-%s" % [ normalized, Crypto.new().generate_random_bytes(8).hex_encode() @@ -97,22 +100,18 @@ static func migrate_active_to( ) -> Dictionary: var normalized: String = destination.simplify_path().trim_suffix("/") if normalized == data_root.root_path: - return { - "ok": true, - "changed": false, - "message": "This data folder is already active.", - } + return {"ok": true, "message": "This data folder is already active."} if DirAccess.dir_exists_absolute(normalized) and not _directory_empty(normalized): - if data_root.has_data_manifest(normalized): + if FileAccess.file_exists(normalized.path_join(PlayerDataRoot.MANIFEST_FILENAME)): return { "ok": false, "requires_existing_root_decision": true, "message": ( - "The selected folder already contains straywild data. " + "The selected folder already contains NETfishing data. " + "Choose it through the existing-data recovery flow." ), } - return {"ok": false, "message": "Choose an empty folder or a straywild subfolder."} + return {"ok": false, "message": "Choose an empty folder or a NETfishing subfolder."} var staging: String = "%s.migration-%s" % [ normalized, Crypto.new().generate_random_bytes(8).hex_encode() ] @@ -164,7 +163,6 @@ static func migrate_active_to( return {"ok": false, "message": "Migration copied data but did not change the pointer."} return { "ok": true, - "changed": true, "message": "Data folder changed. Previous data was preserved.", "previous_root": old_root, } @@ -204,8 +202,9 @@ static func replace_existing_with_legacy( destination: String, ) -> Dictionary: var normalized: String = destination.simplify_path().trim_suffix("/") - if not data_root.has_data_manifest(normalized): - return {"ok": false, "message": "The selected folder is not a straywild data root."} + var manifest: String = normalized.path_join(PlayerDataRoot.MANIFEST_FILENAME) + if not FileAccess.file_exists(manifest): + return {"ok": false, "message": "The selected folder is not a NETfishing data root."} var recovery: String = ProjectSettings.globalize_path( "user://migration-recovery" ).path_join( @@ -225,8 +224,8 @@ static func replace_existing_with_active( destination: String, ) -> Dictionary: var normalized: String = destination.simplify_path().trim_suffix("/") - if not data_root.has_data_manifest(normalized): - return {"ok": false, "message": "The selected folder is not a straywild data root."} + if not FileAccess.file_exists(normalized.path_join(PlayerDataRoot.MANIFEST_FILENAME)): + return {"ok": false, "message": "The selected folder is not a NETfishing data root."} var recovery: String = ProjectSettings.globalize_path( "user://migration-recovery" ).path_join( diff --git a/network/saved_server_store.gd b/network/saved_server_store.gd index 4e00259..de48c2c 100644 --- a/network/saved_server_store.gd +++ b/network/saved_server_store.gd @@ -22,12 +22,6 @@ var _data_root: PlayerDataRoot func configure_storage(path: String, data_root: PlayerDataRoot) -> void: _store_path = path _data_root = data_root - _saved_entries.clear() - _recent_entries.clear() - _loaded = false - _recovery_warning = "" - _write_blocked = false - _expected_hash = "" func _temp_path() -> String: diff --git a/network/server_trust_store.gd b/network/server_trust_store.gd index 1d4dd29..fda774b 100644 --- a/network/server_trust_store.gd +++ b/network/server_trust_store.gd @@ -19,10 +19,6 @@ var _data_root: PlayerDataRoot func configure_storage(path: String, data_root: PlayerDataRoot) -> void: _store_path = path _data_root = data_root - _records.clear() - _loaded = false - _write_blocked = false - _expected_hash = "" func verify(endpoint: ConnectionEndpoint, fingerprint: String) -> Verification: diff --git a/player/net_attachment.gd b/player/net_attachment.gd index 3c7843a..8938a13 100644 --- a/player/net_attachment.gd +++ b/player/net_attachment.gd @@ -1,88 +1,7 @@ extends "res://player/tool_socket_attachment.gd" -const TextureSamplingPolicyScript := preload( - "res://main/texture_sampling_policy.gd" -) -const SPRING_ROOT_BONE: StringName = &"net_mid" -const SPRING_END_BONE: StringName = &"net_tip" -const IMPACT_BONE: StringName = &"net_rim" - -@export_range(0.0, 10.0, 0.05) var spring_stiffness: float = 1.8 -@export_range(0.0, 1.0, 0.01) var spring_drag: float = 0.68 -@export_range(0.0, 10.0, 0.05) var spring_gravity: float = 0.3 -@export_range(0.01, 0.5, 0.01) var spring_end_length: float = 0.1 - -@onready var _catching_net: Node3D = %CatchingNet -@onready var _net_model: Node3D = %NetModel - -var _spring: SpringBoneSimulator3D -var _spring_was_visible: bool = false -var _net_skeleton: Skeleton3D - - -func _ready() -> void: - super._ready() - TextureSamplingPolicyScript.enforce_subtree(_net_model) - _configure_spring() - _sync_spring_activity() - - -func _process(_delta: float) -> void: - _sync_spring_activity() - - -func _configure_spring() -> void: - _net_skeleton = _net_model.find_child( - "Skeleton3D", true, false - ) as Skeleton3D - if _net_skeleton == null: - push_error("Imported net model is missing its Skeleton3D.") - return - if _net_skeleton.find_bone(SPRING_ROOT_BONE) < 0: - push_error("Imported net model is missing bone %s." % SPRING_ROOT_BONE) - return - if _net_skeleton.find_bone(SPRING_END_BONE) < 0: - push_error("Imported net model is missing bone %s." % SPRING_END_BONE) - return - if _net_skeleton.find_bone(IMPACT_BONE) < 0: - push_error("Imported net model is missing bone %s." % IMPACT_BONE) - return - - _spring = SpringBoneSimulator3D.new() - _spring.name = "NetSpring" - _spring.set_setting_count(1) - _spring.set_root_bone_name(0, SPRING_ROOT_BONE) - _spring.set_end_bone_name(0, SPRING_END_BONE) - _spring.set_extend_end_bone(0, true) - _spring.set_end_bone_direction( - 0, SkeletonModifier3D.BONE_DIRECTION_FROM_PARENT - ) - _spring.set_end_bone_length(0, spring_end_length) - _spring.set_stiffness(0, spring_stiffness) - _spring.set_drag(0, spring_drag) - _spring.set_gravity(0, spring_gravity) - _spring.set_gravity_direction(0, Vector3.DOWN) - _net_skeleton.add_child(_spring) +@onready var _impact_marker: Marker3D = %ImpactMarker func get_impact_world_position() -> Vector3: - if _net_skeleton == null: - return _catching_net.global_position - var impact_bone_index := _net_skeleton.find_bone(IMPACT_BONE) - if impact_bone_index < 0: - return _catching_net.global_position - return _net_skeleton.global_transform * ( - _net_skeleton.get_bone_global_pose(impact_bone_index).origin - ) - - -func _sync_spring_activity() -> void: - if _spring == null: - return - var is_visible := _catching_net.is_visible_in_tree() - if is_visible and not _spring_was_visible: - _spring.active = true - _spring.reset() - elif not is_visible: - _spring.active = false - _spring_was_visible = is_visible + return _impact_marker.global_position diff --git a/player/net_attachment.tscn b/player/net_attachment.tscn index da49a88..246e71c 100644 --- a/player/net_attachment.tscn +++ b/player/net_attachment.tscn @@ -1,7 +1,42 @@ -[gd_scene load_steps=3 format=3] +[gd_scene load_steps=8 format=3] [ext_resource type="Script" path="res://player/net_attachment.gd" id="1_script"] -[ext_resource type="PackedScene" path="res://art/exported/items/equipment/net.glb" id="2_model"] + +[sub_resource type="StandardMaterial3D" id="HandleMaterial"] +albedo_color = Color(0.25, 0.13, 0.055, 1) +roughness = 0.9 + +[sub_resource type="CylinderMesh" id="HandleMesh"] +material = SubResource("HandleMaterial") +top_radius = 0.025 +bottom_radius = 0.035 +height = 1.25 + +[sub_resource type="StandardMaterial3D" id="HoopMaterial"] +albedo_color = Color(0.34, 0.39, 0.4, 1) +metallic = 0.25 +roughness = 0.65 + +[sub_resource type="TorusMesh" id="HoopMesh"] +material = SubResource("HoopMaterial") +inner_radius = 0.24 +outer_radius = 0.29 +rings = 12 +ring_segments = 18 + +[sub_resource type="StandardMaterial3D" id="NetMaterial"] +transparency = 1 +albedo_color = Color(0.65, 0.78, 0.75, 0.42) +shading_mode = 0 +cull_mode = 2 + +[sub_resource type="CylinderMesh" id="NetMesh"] +material = SubResource("NetMaterial") +top_radius = 0.24 +bottom_radius = 0.08 +height = 0.34 +radial_segments = 12 +rings = 1 [node name="NetAttachment" type="BoneAttachment3D"] bone_name = "rod_socket" @@ -12,9 +47,18 @@ aligned_mount_path = NodePath("CatchingNet") unique_name_in_owner = true visible = false -[node name="ModelMount" type="Node3D" parent="CatchingNet"] -position = Vector3(-0.000217, -0.098636, -0.020218) -rotation = Vector3(0, 3.1415927, 0) +[node name="Handle" type="MeshInstance3D" parent="CatchingNet"] +position = Vector3(0, 0.55, 0) +mesh = SubResource("HandleMesh") -[node name="NetModel" parent="CatchingNet/ModelMount" unique_id=1627767240 instance=ExtResource("2_model")] +[node name="Hoop" type="MeshInstance3D" parent="CatchingNet"] +position = Vector3(0, 1.17, 0) +mesh = SubResource("HoopMesh") + +[node name="Bag" type="MeshInstance3D" parent="CatchingNet"] +position = Vector3(0, 1, 0) +mesh = SubResource("NetMesh") + +[node name="ImpactMarker" type="Marker3D" parent="CatchingNet"] unique_name_in_owner = true +position = Vector3(0, 1.17, 0) diff --git a/player/player.gd b/player/player.gd index 78dac3d..6ec490f 100644 --- a/player/player.gd +++ b/player/player.gd @@ -90,7 +90,6 @@ const CATCH_SHOWCASE_INPUT_OWNER: StringName = &"catch_showcase" # safe IDs so newer clients can extend it, but Player only presents actions # explicitly approved by this catalog. const NETWORK_ANIMATION_ACTION_IDS: Array[StringName] = [ - CHARACTER_WALKING_ANIMATION, CHARACTER_CASTING_ANIMATION, CHARACTER_NET_DRAW_ANIMATION, CHARACTER_NET_STRIKE_ANIMATION, @@ -146,14 +145,9 @@ const NETWORK_MOVEMENT_HISTORY_SECONDS: float = 1.25 const NETWORK_MAX_LAG_COMPENSATION_SECONDS: float = 0.75 const LOCAL_PREDICTION_EXTRAPOLATION_LIMIT_SECONDS: float = 0.25 const LOCAL_PREDICTION_FALLBACK_TRANSIT_RATIO: float = 0.5 -const LOCAL_PREDICTION_CORRECTION_THRESHOLD: float = 1.5 -const LOCAL_PREDICTION_SNAP_DISTANCE: float = 6.0 -const LOCAL_PREDICTION_CORRECTION_DELAY_SECONDS: float = 0.35 -const LOCAL_PREDICTION_MIN_CORRECTION_AUDITS: int = 3 -const LOCAL_PREDICTION_SOFT_CORRECTION_RATE: float = 2.5 -const LOCAL_PREDICTION_MAX_SOFT_CORRECTION_STEP: float = 0.15 -const LOCAL_PREDICTION_MAX_AUDIT_DELTA_SECONDS: float = 0.15 -const LOCAL_RECONCILIATION_PRESENTATION_RECENTER_RATE: float = 5.0 +const LOCAL_PREDICTION_CORRECTION_THRESHOLD: float = 0.12 +const LOCAL_PREDICTION_SNAP_DISTANCE: float = 2.0 +const LOCAL_PREDICTION_CORRECTION_WEIGHT: float = 0.18 # The target Android handheld exposes its physical right trigger through # Godot's left-trigger axis. Keep the role named here so the platform mapping # remains isolated from camera behavior. @@ -428,20 +422,12 @@ class ShowcaseCameraSnapshot: @export_range(0.0, 1.0, 0.01) var controller_camera_deadzone: float = 0.2 @export var invert_camera_y: bool = false var _swap_hotbar_camera_scroll: bool = false -var _rv_interior_camera_mode: bool = false -var _rv_interior_environment: Environment -var _rv_previous_camera_environment: Environment @export_range(-89.0, 0.0, 0.5) var minimum_pitch_degrees: float = -65.0 @export_range(0.0, 89.0, 0.5) var maximum_pitch_degrees: float = 45.0 @export var minimum_zoom: float = 2.0 @export var maximum_zoom: float = 8.0 @export var zoom_step: float = 0.75 @export var zoom_smoothing: float = 12.0 -@export_range(0.0, 1.0, 0.01) var fishing_reel_zoom_amount: float = 0.22 -@export_range(0.0, 1.5, 0.01) var fishing_barrier_break_zoom: float = 0.38 -@export_range(0.05, 1.0, 0.01) var fishing_break_zoom_decay: float = 0.34 -@export_range(0.0, 0.2, 0.005) var fishing_barrier_hit_shake: float = 0.018 -@export_range(0.0, 0.3, 0.005) var fishing_barrier_break_shake: float = 0.045 @export_range(0.1, 12.0, 0.1) var controller_zoom_speed: float = 4.0 @export_range(0.0, 1.0, 0.01) var controller_trigger_threshold: float = 0.55 @export_range(1.0, 40.0, 0.5) var free_camera_speed: float = 10.0 @@ -480,8 +466,6 @@ var _held_fish_attachment_offset: Vector3 = Vector3(0.0, 0.08, 0.04) var _held_fish_sprite: Sprite3D var _held_art_kit_display: Node3D var _held_art_kit_sprite: Sprite3D -var _held_decor_package_display: Node3D -var _held_decor_package_visible: bool = false var _catch_attachment_offset: Vector3 = Vector3(0.0, 0.08, 0.04) var _gravity: float = float(ProjectSettings.get_setting("physics/3d/default_gravity")) @@ -503,12 +487,6 @@ var _remote_recovery_presentation_active: bool = false var _remote_recovery_visual_origin: Vector3 var _remote_recovery_elapsed: float = 0.0 var _target_zoom: float = 5.0 -var _fishing_reel_camera_active: bool = false -var _fishing_break_zoom_offset: float = 0.0 -var _fishing_camera_shake_remaining: float = 0.0 -var _fishing_camera_shake_duration: float = 0.0 -var _fishing_camera_shake_strength: float = 0.0 -var _fishing_camera_shake_phase: float = 0.0 var _showcase_rod_visibility: bool = true var _showcase_net_visibility: bool = false var _showcase_shovel_visibility: bool = false @@ -551,13 +529,6 @@ var _network_snapshot_age: float = 0.0 var _network_snapshot_jitter: float = 0.0 var _network_simulation_only: bool = false var _local_reconciliation_visual_offset: Vector3 = Vector3.ZERO -var _local_reconciliation_camera_offset: Vector3 = Vector3.ZERO -var _local_prediction_error_seconds: float = 0.0 -var _local_prediction_error_audits: int = 0 -var _local_prediction_error_direction: Vector3 = Vector3.ZERO -var _local_prediction_soft_corrections: int = 0 -var _local_prediction_hard_corrections: int = 0 -var _local_prediction_largest_error: float = 0.0 var _authoritative_movement_history: Array[Dictionary] = [] var _local_network_jump_intent_pending: bool = false var _local_network_jump_intent_sequence: int = -1 @@ -1009,7 +980,6 @@ func _initialize_held_item_attachment() -> void: _held_art_kit_sprite = attachment.get_node( "HeldArtKitDisplay/HeldArtKitSprite" ) as Sprite3D - _held_decor_package_display = _build_decor_package_display(attachment) _catch_display = attachment.get_node("CatchDisplay") as Node3D _catch_attachment_offset = _catch_display.position _catch_sprite = attachment.get_node("CatchDisplay/CatchSprite") as Sprite3D @@ -1054,15 +1024,7 @@ func _simulate_movement_physics(delta: float) -> void: or (_network_authoritative_simulation and _network_jump_pending) ) ) - if jump_requested: - _cancel_sitting_for_jump() - # Sitting deliberately stops movement processing, so never allow a stale - # grounded flag or a reconciled network state to leave an airborne avatar in - # that early-return path. Preserve the intent and sit once landing is real. - if _sitting and not _can_begin_sitting(): - _sit_after_landing = true - _set_sitting(false) - if _sit_after_landing and not jump_requested and _can_begin_sitting(): + if _sit_after_landing and is_on_floor(): _sit_after_landing = false _set_sitting(true, local_control_enabled) if _sitting: @@ -1174,7 +1136,6 @@ func _process(delta: float) -> void: ) if not local_control_enabled: return - _update_fishing_camera_effects(delta) if _free_camera_active: if _is_camera_input_enabled(): _rotate_free_camera( @@ -1203,68 +1164,13 @@ func _process(delta: float) -> void: ) var zoom_weight: float = 1.0 - exp(-zoom_smoothing * delta) - var fishing_zoom_offset: float = ( - fishing_reel_zoom_amount - if _fishing_reel_camera_active - else 0.0 - ) + _fishing_break_zoom_offset - var effective_target_zoom: float = clampf( - _target_zoom - fishing_zoom_offset, - 1.25 if _rv_interior_camera_mode else minimum_zoom, - 16.0 if _rv_interior_camera_mode else maximum_zoom, - ) _spring_arm.spring_length = lerpf( _spring_arm.spring_length, - effective_target_zoom, + _target_zoom, zoom_weight ) -func set_fishing_reel_camera_active(active: bool) -> void: - _fishing_reel_camera_active = active - - -func play_fishing_barrier_camera_feedback(barrier_broken: bool) -> void: - if not local_control_enabled or _free_camera_active: - return - _fishing_camera_shake_strength = ( - fishing_barrier_break_shake - if barrier_broken - else fishing_barrier_hit_shake - ) - _fishing_camera_shake_duration = 0.20 if barrier_broken else 0.10 - _fishing_camera_shake_remaining = _fishing_camera_shake_duration - if barrier_broken: - _fishing_break_zoom_offset = fishing_barrier_break_zoom - - -func _update_fishing_camera_effects(delta: float) -> void: - _fishing_break_zoom_offset = move_toward( - _fishing_break_zoom_offset, - 0.0, - ( - fishing_barrier_break_zoom - / maxf(fishing_break_zoom_decay, 0.05) - ) * delta, - ) - if _fishing_camera_shake_remaining <= 0.0: - _camera.h_offset = 0.0 - _camera.v_offset = 0.0 - return - _fishing_camera_shake_remaining = maxf( - _fishing_camera_shake_remaining - delta, - 0.0, - ) - _fishing_camera_shake_phase += delta * 92.0 - var decay: float = ( - _fishing_camera_shake_remaining - / maxf(_fishing_camera_shake_duration, 0.001) - ) - var strength: float = _fishing_camera_shake_strength * decay - _camera.h_offset = sin(_fishing_camera_shake_phase) * strength - _camera.v_offset = cos(_fishing_camera_shake_phase * 1.31) * strength * 0.7 - - func _update_blink(delta: float) -> void: if _fighting_visual_active: return @@ -1396,7 +1302,9 @@ func _update_character_animation() -> void: and supports_network_animation_action(animation_action_id) and _character_animation_player.has_animation(animation_action_id) ) - var held_show_item_visible: bool = _has_held_show_item() + var held_show_item_visible: bool = ( + _held_fish_visible or _held_art_kit_visible + ) var requested_animation: Array[StringName] = [] if _pocket_visual_active: requested_animation = [_pocket_visual_animation] @@ -1569,20 +1477,8 @@ func _update_character_animation() -> void: _presented_animation_action_id = &"" _presented_animation_action_sequence = -1 _presented_animation_action_paused = false - if ( - _character_animation_playback_matches( - next_animation, - action_selected and animation_action_paused, - ) - and not action_changed - ): + if _character_animation_name == next_animation and not action_changed: return - # The animation name is only a selection cache. A remote player's - # AnimationPlayer can occasionally stop or lose its assigned animation while - # its replicated locomotion state remains valid. Reassert the selected - # presentation here instead of waiting for another network state transition; - # movement simulation and replication remain untouched. - _character_animation_player.active = true _character_animation_player.play(next_animation) _character_animation_name = next_animation if action_selected: @@ -1605,26 +1501,6 @@ func _update_character_animation() -> void: _character_animation_player.pause() -func _character_animation_playback_matches( - animation_name: StringName, - paused_action_selected: bool, -) -> bool: - if ( - _character_animation_name != animation_name - or _character_animation_player.assigned_animation != animation_name - or not _character_animation_player.active - ): - return false - if paused_action_selected: - return true - var animation := _character_animation_player.get_animation(animation_name) - if animation == null or animation.loop_mode == Animation.LOOP_NONE: - # Completed one-shot actions deliberately keep their final pose until the - # authoritative action state advances; they must not be restarted here. - return true - return _character_animation_player.is_playing() - - func _on_character_animation_finished(animation_name: StringName) -> void: if animation_name == CHARACTER_NET_STRIKE_ANIMATION: if local_control_enabled: @@ -1709,7 +1585,6 @@ func _complete_retract_animation() -> void: func toggle_sitting() -> void: if _sit_after_landing: _sit_after_landing = false - _set_sitting(false, local_control_enabled) return var should_sit: bool = not _sitting if should_sit: @@ -1723,7 +1598,7 @@ func toggle_sitting() -> void: ]) ): return - if not _can_begin_sitting(): + if not is_on_floor(): _sit_after_landing = true return _set_sitting(should_sit, local_control_enabled) @@ -1742,12 +1617,12 @@ func _set_sitting( should_sit: bool, is_local_intent: bool = false, ) -> void: - if is_local_intent: - _sitting_intent_pending = true - _sitting_intent_sequence = -1 if _sitting == should_sit: return _sitting = should_sit + if is_local_intent: + _sitting_intent_pending = true + _sitting_intent_sequence = -1 if _sitting: velocity = Vector3.ZERO _character_animation_name = &"" @@ -1758,27 +1633,7 @@ func is_sitting() -> bool: return _sitting -func _can_begin_sitting() -> bool: - return is_on_floor() and velocity.y <= 0.0 - - -func _cancel_sitting_for_jump() -> void: - if not _sitting and not _sit_after_landing: - return - _sit_after_landing = false - _set_sitting(false, local_control_enabled) - - func get_network_sitting_state() -> bool: - return _sitting - - -func get_network_sitting_intent() -> bool: - # Jumping is an explicit cancellation of both a current sit and a deferred - # sit. Input capture can run before the matching physics frame, so suppress - # the stale seated bit as soon as the reliable jump intent is queued. - if _local_network_jump_intent_pending: - return false return _sitting or _sit_after_landing @@ -1787,9 +1642,7 @@ func apply_network_sitting_state(should_sit: bool) -> void: func apply_authoritative_network_sitting_state(should_sit: bool) -> void: - if should_sit and ( - not _can_begin_sitting() or _network_jump_pending - ): + if should_sit and not is_on_floor(): _sit_after_landing = true _set_sitting(false) return @@ -1838,11 +1691,7 @@ func _unhandled_input(event: InputEvent) -> void: var mouse_zoom_in: bool = ( event is InputEventMouseButton - and ( - (not event.shift_pressed) - if _rv_interior_camera_mode - else event.shift_pressed != _swap_hotbar_camera_scroll - ) + and event.shift_pressed != _swap_hotbar_camera_scroll and event.is_action_pressed("camera_zoom_in") ) var controller_zoom_in: bool = ( @@ -1851,11 +1700,7 @@ func _unhandled_input(event: InputEvent) -> void: ) var mouse_zoom_out: bool = ( event is InputEventMouseButton - and ( - (not event.shift_pressed) - if _rv_interior_camera_mode - else event.shift_pressed != _swap_hotbar_camera_scroll - ) + and event.shift_pressed != _swap_hotbar_camera_scroll and event.is_action_pressed("camera_zoom_out") ) var controller_zoom_out: bool = ( @@ -2043,11 +1888,7 @@ func get_active_gameplay_camera() -> Camera3D: func _set_target_zoom(value: float) -> void: - _target_zoom = clampf( - value, - 1.25 if _rv_interior_camera_mode else minimum_zoom, - 16.0 if _rv_interior_camera_mode else maximum_zoom, - ) + _target_zoom = clampf(value, minimum_zoom, maximum_zoom) func _apply_axis_deadzone(value: float) -> float: @@ -2154,42 +1995,6 @@ func reset_network_movement_state() -> void: _network_input_stale_timeout_seconds = NETWORK_INPUT_STALE_TIMEOUT_SECONDS _network_jump_intent_active = false _last_network_input_sequence = 0 - _reset_local_prediction_error() - _clear_local_reconciliation_offsets() - _local_prediction_soft_corrections = 0 - _local_prediction_hard_corrections = 0 - _local_prediction_largest_error = 0.0 - - -func apply_network_space_transition( - target_transform: Transform3D, - align_local_camera: bool, -) -> void: - if not target_transform.origin.is_finite(): - return - # A room transition is a discontinuity, not ordinary movement. Preserve the - # host's input acknowledgement while clearing every motion, animation, and - # reconciliation state that could pull the avatar toward the previous space. - var acknowledged_input: int = _last_network_input_sequence - reset_network_movement_state() - _last_network_input_sequence = acknowledged_input - _apply_network_casting(false) - velocity = Vector3.ZERO - global_transform = Transform3D(Basis.IDENTITY, target_transform.origin) - var target_yaw: float = target_transform.basis.get_euler().y - _visuals.rotation.y = target_yaw - _network_camera_yaw = target_yaw - _network_target_position = global_position - _network_target_velocity = Vector3.ZERO - _network_target_visual_yaw = target_yaw - _network_snapshot_age = 0.0 - _network_snapshot_ready = true - _authoritative_movement_history.clear() - if align_local_camera: - _set_camera_dragging(false) - if _free_camera_active: - _set_free_camera_active(false) - _camera_yaw.rotation.y = target_yaw func capture_network_input(sequence: int) -> Dictionary: @@ -2216,7 +2021,7 @@ func capture_network_input(sequence: int) -> Dictionary: "sprint": false, "sneak": false, "slow_walk": false, - "sitting": get_network_sitting_intent(), + "sitting": get_network_sitting_state(), "casting": ( _fishing_visual_phase == FishingVisualPhase.CASTING ), @@ -2241,7 +2046,7 @@ func capture_network_input(sequence: int) -> Dictionary: "sprint": Input.is_action_pressed("sprint"), "sneak": Input.is_action_pressed("sneak"), "slow_walk": Input.is_action_pressed("slow_walk"), - "sitting": get_network_sitting_intent(), + "sitting": get_network_sitting_state(), "casting": _fishing_visual_phase == FishingVisualPhase.CASTING, "animation_action": _make_animation_action_state(), } @@ -2289,7 +2094,7 @@ func get_network_input_state_hash() -> int: Input.is_action_pressed("sprint"), Input.is_action_pressed("sneak"), Input.is_action_pressed("slow_walk"), - get_network_sitting_intent(), + get_network_sitting_state(), _fishing_visual_phase == FishingVisualPhase.CASTING, _animation_action_id, _animation_action_sequence, @@ -2430,10 +2235,8 @@ func push_network_snapshot( func apply_local_prediction_correction( snapshot: Dictionary, - latest_input_sequence: int = 0, + pending_inputs: Array[Dictionary] = [], input_interval_seconds: float = 0.0, - estimated_transit_seconds: float = -1.0, - audit_delta_seconds: float = 0.0, ) -> void: var parsed: Dictionary = _parse_network_snapshot(snapshot) if parsed.is_empty(): @@ -2455,171 +2258,92 @@ func apply_local_prediction_correction( _clear_local_network_jump_intent() if not _sitting_intent_pending: _set_sitting(bool(parsed["sitting"])) - var authoritative_position: Vector3 = parsed["position"] - var transit_seconds: float = resolve_local_prediction_transit_seconds( - acknowledged_input, - latest_input_sequence, - input_interval_seconds, - estimated_transit_seconds, - ) - if transit_seconds > 0.0: - authoritative_position += ( - (parsed["velocity"] as Vector3) * transit_seconds - ) - var error_offset: Vector3 = authoritative_position - global_position - var error_distance: float = error_offset.length() - _local_prediction_largest_error = maxf( - _local_prediction_largest_error, - error_distance, - ) - if error_distance <= LOCAL_PREDICTION_CORRECTION_THRESHOLD: - _reset_local_prediction_error() - return - if error_distance >= LOCAL_PREDICTION_SNAP_DISTANCE: - _clear_local_reconciliation_offsets() - global_position = authoritative_position - velocity = parsed["velocity"] - _local_prediction_hard_corrections += 1 - _reset_local_prediction_error() - return - if _should_defer_local_prediction_correction(parsed): - # A host and its client do not reach the apex or landing on the same - # frame. Correcting that expected vertical disagreement while either - # side is airborne can pull the local body off narrow platforms. - _reset_local_prediction_error() - return - # Both simulations agree the player is standing. Let ordinary floor motion - # and gravity resolve the vertical component; a stale height sample must not - # press a locally controlled player down or turn a horizontal correction - # into an early floor collision. - error_offset.y = 0.0 - error_distance = error_offset.length() - if error_distance <= LOCAL_PREDICTION_CORRECTION_THRESHOLD: - _reset_local_prediction_error() - return - var error_direction: Vector3 = error_offset.normalized() - if ( - not _local_prediction_error_direction.is_zero_approx() - and _local_prediction_error_direction.dot(error_direction) < 0.5 - ): - _reset_local_prediction_error() - _local_prediction_error_direction = error_direction - _local_prediction_error_audits += 1 - _local_prediction_error_seconds += clampf( - audit_delta_seconds, - 0.0, - LOCAL_PREDICTION_MAX_AUDIT_DELTA_SECONDS, - ) - if ( - _local_prediction_error_audits - < LOCAL_PREDICTION_MIN_CORRECTION_AUDITS - or _local_prediction_error_seconds - < LOCAL_PREDICTION_CORRECTION_DELAY_SECONDS - ): - return - var correction_weight: float = 1.0 - exp( - -LOCAL_PREDICTION_SOFT_CORRECTION_RATE - * clampf( - audit_delta_seconds, - 0.0, - LOCAL_PREDICTION_MAX_AUDIT_DELTA_SECONDS, - ) - ) - var correction: Vector3 = error_offset * correction_weight - if correction.length() > LOCAL_PREDICTION_MAX_SOFT_CORRECTION_STEP: - correction = ( - correction.normalized() - * LOCAL_PREDICTION_MAX_SOFT_CORRECTION_STEP - ) - if _apply_camera_safe_local_correction(correction): - _local_prediction_soft_corrections += 1 - - -func _should_defer_local_prediction_correction(parsed: Dictionary) -> bool: - if not bool(parsed.get("grounded", true)): - return true - return _local_network_jump_intent_pending or not is_on_floor() - - -func _apply_camera_safe_local_correction(correction: Vector3) -> bool: - if correction.is_zero_approx(): - return false var previous_visual_position: Vector3 = _visuals.global_position - var previous_camera_position: Vector3 = _camera_yaw.global_position - var previous_body_position: Vector3 = global_position var base_visual_local_position: Vector3 = ( _visuals.position - _local_reconciliation_visual_offset ) - var base_camera_local_position: Vector3 = ( - _camera_yaw.position - _local_reconciliation_camera_offset + var previous_position: Vector3 = global_position + global_position = parsed["position"] + velocity = parsed["velocity"] + if input_interval_seconds > 0.0: + for input: Dictionary in pending_inputs: + _replay_network_movement_input(input, input_interval_seconds) + var correction_distance: float = previous_position.distance_to( + global_position ) - # Reconciliation is still physical movement. Going through the physics - # server prevents a delayed host audit from placing the capsule through a - # tree, cliff, or stepping stone on the way to the authoritative position. - move_and_collide(correction) - if global_position.is_equal_approx(previous_body_position): - return false - _visuals.global_position = previous_visual_position - _camera_yaw.global_position = previous_camera_position - _local_reconciliation_visual_offset = ( - _visuals.position - base_visual_local_position + if correction_distance <= LOCAL_PREDICTION_SNAP_DISTANCE: + _visuals.global_position = previous_visual_position + _local_reconciliation_visual_offset = ( + _visuals.position - base_visual_local_position + ) + else: + _local_reconciliation_visual_offset = Vector3.ZERO + + +func _replay_network_movement_input( + data: Dictionary, + delta: float, +) -> void: + var axis_value: Variant = data.get("axis", []) + if typeof(axis_value) != TYPE_ARRAY or axis_value.size() != 2: + return + if bool(data.get("sitting", false)) or _water_recovery_active: + velocity = Vector3.ZERO + return + var input_vector := Vector2( + float(axis_value[0]), + float(axis_value[1]), + ).limit_length(1.0) + var camera_basis := Basis( + Vector3.UP, + float(data.get("camera_yaw", 0.0)), ) - _local_reconciliation_camera_offset = ( - _camera_yaw.position - base_camera_local_position + var move_direction: Vector3 = ( + camera_basis.x * input_vector.x + + camera_basis.z * input_vector.y ) - return true - - -func _reset_local_prediction_error() -> void: - _local_prediction_error_seconds = 0.0 - _local_prediction_error_audits = 0 - _local_prediction_error_direction = Vector3.ZERO - - -func _clear_local_reconciliation_offsets() -> void: - if not _local_reconciliation_visual_offset.is_zero_approx(): - _visuals.position -= _local_reconciliation_visual_offset - if not _local_reconciliation_camera_offset.is_zero_approx(): - _camera_yaw.position -= _local_reconciliation_camera_offset - _local_reconciliation_visual_offset = Vector3.ZERO - _local_reconciliation_camera_offset = Vector3.ZERO + move_direction.y = 0.0 + move_direction = move_direction.normalized() + _network_sprint = bool(data.get("sprint", false)) + _network_sneak = bool(data.get("sneak", false)) + _network_slow_walk = bool(data.get("slow_walk", false)) + # Replay the speed authored by this exact pending input. Consulting the + # current InputMap here would make an older walk replay as a sprint (or the + # reverse) whenever the local button changed while a snapshot was in flight. + var replay_speed: float = walk_speed + if _network_sneak: + replay_speed = sneak_speed + elif _network_slow_walk: + replay_speed = slow_walk_speed + elif _network_sprint: + replay_speed = sprint_speed + if item_effects != null: + replay_speed *= item_effects.get_movement_multiplier() + var input_strength: float = minf(input_vector.length(), 1.0) + velocity.x = move_direction.x * replay_speed * input_strength + velocity.z = move_direction.z * replay_speed * input_strength + if not is_on_floor(): + var gravity_multiplier: float = ( + upward_gravity_multiplier + if velocity.y > 0.0 + else fall_gravity_multiplier + ) + velocity.y -= _gravity * gravity_multiplier * delta + elif bool(data.get("jump", false)): + velocity.y = jump_velocity + move_and_slide() func _update_local_reconciliation_visuals(delta: float) -> void: - if ( - _local_reconciliation_visual_offset.is_zero_approx() - and _local_reconciliation_camera_offset.is_zero_approx() - ): + if _local_reconciliation_visual_offset.is_zero_approx(): _local_reconciliation_visual_offset = Vector3.ZERO - _local_reconciliation_camera_offset = Vector3.ZERO return - var retained_ratio: float = exp( - -LOCAL_RECONCILIATION_PRESENTATION_RECENTER_RATE * delta - ) - var retained_visual_offset: Vector3 = ( + var retained_ratio: float = exp(-14.0 * delta) + var retained_offset: Vector3 = ( _local_reconciliation_visual_offset * retained_ratio ) - var retained_camera_offset: Vector3 = ( - _local_reconciliation_camera_offset * retained_ratio - ) - _visuals.position += ( - retained_visual_offset - _local_reconciliation_visual_offset - ) - _camera_yaw.position += ( - retained_camera_offset - _local_reconciliation_camera_offset - ) - _local_reconciliation_visual_offset = retained_visual_offset - _local_reconciliation_camera_offset = retained_camera_offset - - -func get_local_prediction_metrics() -> Dictionary: - return { - "soft_corrections": _local_prediction_soft_corrections, - "hard_corrections": _local_prediction_hard_corrections, - "largest_error": _local_prediction_largest_error, - "out_of_bounds_audits": _local_prediction_error_audits, - "out_of_bounds_seconds": _local_prediction_error_seconds, - } + _visuals.position += retained_offset - _local_reconciliation_visual_offset + _local_reconciliation_visual_offset = retained_offset static func resolve_network_input_stale_timeout_seconds( @@ -2783,9 +2507,6 @@ func _parse_network_snapshot(snapshot: Dictionary) -> Dictionary: if snapshot.has("casting") and typeof(snapshot.get("casting")) != TYPE_BOOL: return {} var casting: bool = bool(snapshot.get("casting", false)) - if snapshot.has("grounded") and typeof(snapshot.get("grounded")) != TYPE_BOOL: - return {} - var grounded: bool = bool(snapshot.get("grounded", true)) if ( not parsed_position.is_finite() or not parsed_velocity.is_finite() @@ -2797,7 +2518,6 @@ func _parse_network_snapshot(snapshot: Dictionary) -> Dictionary: "velocity": parsed_velocity, "visual_yaw": visual_yaw, "animation_state": animation_state, - "grounded": grounded, "acknowledged_input": acknowledged_input, "sitting": sitting, "casting": casting, @@ -3120,19 +2840,6 @@ func set_camera_active(active: bool) -> void: _camera.current = active -func face_world_direction(direction: Vector3) -> void: - var horizontal_direction := Vector3(direction.x, 0.0, direction.z) - if horizontal_direction.is_zero_approx() or _visuals == null: - return - horizontal_direction = horizontal_direction.normalized() - var target_world_yaw: float = atan2( - -horizontal_direction.x, - -horizontal_direction.z, - ) - _visuals.rotation.y = target_world_yaw - global_rotation.y - _network_target_visual_yaw = _visuals.rotation.y - - func apply_camera_settings( new_mouse_sensitivity: float, new_controller_sensitivity: float, @@ -3149,49 +2856,6 @@ func apply_camera_settings( _swap_hotbar_camera_scroll = swap_hotbar_camera_scroll -func set_rv_interior_camera_mode( - enabled: bool, - excluded_wall_rids: Array[RID] = [], -) -> void: - if enabled != _rv_interior_camera_mode: - if enabled: - _rv_previous_camera_environment = _camera.environment - _camera.environment = _get_rv_interior_environment() - if _free_camera != null: - _free_camera.environment = _camera.environment - else: - _camera.environment = _rv_previous_camera_environment - if _free_camera != null: - _free_camera.environment = _camera.environment - _rv_previous_camera_environment = null - _rv_interior_camera_mode = enabled - if _spring_arm == null: - return - _spring_arm.clear_excluded_objects() - if enabled: - for collider_rid: RID in excluded_wall_rids: - if collider_rid.is_valid(): - _spring_arm.add_excluded_object(collider_rid) - _set_target_zoom(_target_zoom) - - -func _get_rv_interior_environment() -> Environment: - if _rv_interior_environment != null: - return _rv_interior_environment - _rv_interior_environment = Environment.new() - _rv_interior_environment.background_mode = Environment.BG_COLOR - _rv_interior_environment.background_color = Color("020506") - _rv_interior_environment.ambient_light_source = ( - Environment.AMBIENT_SOURCE_COLOR - ) - _rv_interior_environment.ambient_light_color = Color("d6caaa") - _rv_interior_environment.ambient_light_energy = 1.0 - _rv_interior_environment.reflected_light_source = ( - Environment.REFLECTION_SOURCE_DISABLED - ) - return _rv_interior_environment - - func is_camera_input_enabled() -> bool: return _camera_input_enabled @@ -3318,23 +2982,6 @@ func set_active_shovel(should_show: bool) -> void: ) -func set_active_decor_package(should_show: bool) -> void: - var changed: bool = _held_decor_package_visible != should_show - _held_decor_package_visible = should_show - if _held_decor_package_display != null: - _held_decor_package_display.visible = should_show - if should_show: - _fishing_rod.visible = false - if _catching_net != null: - _catching_net.visible = false - if _shovel != null: - _shovel.visible = false - elif changed: - _apply_active_rod_visibility() - if changed: - _update_character_animation() - - func _apply_fishing_rod_model(rod: FishingRodDataType) -> void: var next_id: StringName = rod.item_id if rod != null else StringName() if next_id == _active_fishing_rod_id: @@ -3507,52 +3154,7 @@ func set_held_fish( func _has_held_show_item() -> bool: - return ( - _held_fish_visible - or _held_art_kit_visible - or _held_decor_package_visible - ) - - -func _build_decor_package_display(parent: Node3D) -> Node3D: - var display := Node3D.new() - display.name = "HeldDecorPackageDisplay" - display.position = Vector3(0.0, 0.1, 0.04) - display.rotation = Vector3(0.15, 0.0, -0.55) - display.visible = false - parent.add_child(display) - - var sack := MeshInstance3D.new() - sack.name = "Sack" - var sack_mesh := SphereMesh.new() - sack_mesh.radius = 0.22 - sack_mesh.height = 0.48 - sack_mesh.radial_segments = 8 - sack_mesh.rings = 4 - sack_mesh.material = _decor_package_material(Color("a87843")) - sack.mesh = sack_mesh - display.add_child(sack) - - var tie := MeshInstance3D.new() - tie.name = "Tie" - var tie_mesh := CylinderMesh.new() - tie_mesh.top_radius = 0.1 - tie_mesh.bottom_radius = 0.12 - tie_mesh.height = 0.08 - tie_mesh.radial_segments = 8 - tie_mesh.material = _decor_package_material(Color("513829")) - tie.mesh = tie_mesh - tie.position = Vector3(0.0, 0.22, 0.0) - display.add_child(tie) - return display - - -func _decor_package_material(color: Color) -> StandardMaterial3D: - var material := StandardMaterial3D.new() - material.albedo_color = color - material.roughness = 1.0 - material.shading_mode = BaseMaterial3D.SHADING_MODE_PER_VERTEX - return material + return _held_fish_visible or _held_art_kit_visible func _clear_held_fish() -> void: diff --git a/player/player.tscn b/player/player.tscn index 3288d2d..4a2d897 100644 --- a/player/player.tscn +++ b/player/player.tscn @@ -12,7 +12,7 @@ [ext_resource type="Script" path="res://progression/player_cooler_capacity.gd" id="10_capacity"] [ext_resource type="Script" path="res://player/player_ground_shadow.gd" id="11_ground_shadow"] [ext_resource type="Material" path="res://player/materials/player_blob_shadow.tres" id="12_blob_shadow"] -[ext_resource type="PackedScene" path="res://art/exported/characters/base/straywild_base_character.glb" id="13_character"] +[ext_resource type="PackedScene" path="res://art/exported/characters/base/netfishing_base_character.glb" id="13_character"] [ext_resource type="Script" path="res://progression/player_art_unlocks.gd" id="14_art_unlocks"] [ext_resource type="Script" path="res://progression/player_experience.gd" id="15_experience"] [ext_resource type="Script" path="res://player/sprint_dust_trail.gd" id="16_sprint_dust"] diff --git a/player/player_visual_presenter.gd b/player/player_visual_presenter.gd index b071b2c..745fc3c 100644 --- a/player/player_visual_presenter.gd +++ b/player/player_visual_presenter.gd @@ -3,9 +3,9 @@ extends RefCounted const PlayerScene: PackedScene = preload("res://player/player.tscn") const FurPatternShader: Shader = preload("res://player/fur_pattern.gdshader") -const RUNTIME_MATERIAL_META: StringName = &"straywild_runtime_material" +const RUNTIME_MATERIAL_META: StringName = &"netfishing_runtime_material" const RUNTIME_FUR_PATTERN_MATERIAL_META: StringName = ( - &"straywild_runtime_fur_pattern_material" + &"netfishing_runtime_fur_pattern_material" ) const EAR_MESH_NAMES: Array[String] = [ "ears_antlers_round", diff --git a/progression/player_appearance_store.gd b/progression/player_appearance_store.gd index febe43d..7ac8767 100644 --- a/progression/player_appearance_store.gd +++ b/progression/player_appearance_store.gd @@ -13,10 +13,6 @@ var _data_root: PlayerDataRoot func configure_storage(path: String, data_root: PlayerDataRoot) -> void: _profile_path = path _data_root = data_root - _snapshot = CharacterCustomizationCatalog.default_snapshot() - _loaded = false - _future_version = false - _expected_hash = "" func _temp_path() -> String: diff --git a/progression/player_cooler_capacity.gd b/progression/player_cooler_capacity.gd index bbd0b87..b8c62be 100644 --- a/progression/player_cooler_capacity.gd +++ b/progression/player_cooler_capacity.gd @@ -2,77 +2,62 @@ class_name PlayerCoolerCapacity extends Node const PlayerWalletType = preload("res://economy/player_wallet.gd") -const PlayerHomeStateType = preload("res://homes/player_home_state.gd") signal capacity_changed(level: int, capacity: int) -## Compatibility adapter for saves and systems that still refer to the old -## cooler-capacity object. Storage is now derived exclusively from the player's -## home tier; this object is not independently purchasable. +## Kept under the historical class name so existing saves and network product +## identifiers migrate without losing their purchased level. This progression +## now controls the player's private storage box rather than carried catches. const CAPACITIES: Array[int] = [9, 18, 27, 36, 45, 54, 63, 72] const EXPANSION_COSTS: Array[int] = [75, 175, 400, 850, 1500, 2500, 4000] const MAX_LEVEL: int = 7 const MAX_CAPACITY: int = 72 -var _home_state: PlayerHomeStateType -var _legacy_capacity_level: int = 0 - - -func bind_home_state(home_state: PlayerHomeStateType) -> void: - if _home_state == home_state: - return - if ( - _home_state != null - and _home_state.changed.is_connected(_on_home_changed) - ): - _home_state.changed.disconnect(_on_home_changed) - _home_state = home_state - if ( - _home_state != null - and not _home_state.changed.is_connected(_on_home_changed) - ): - _home_state.changed.connect(_on_home_changed) - _on_home_changed() +var _capacity_level: int = 0 func get_level() -> int: - return _legacy_capacity_level + return _capacity_level func get_capacity() -> int: - if _home_state != null: - # A new home upgrade grants its authored capacity. Older saves retain any - # separately purchased storage level so reducing the first RV tier cannot - # hide or discard items that were already placed in later slots. - return maxi( - _home_state.get_storage_capacity(), - CAPACITIES[clampi(_legacy_capacity_level, 0, MAX_LEVEL)], - ) - return CAPACITIES[clampi(_legacy_capacity_level, 0, MAX_LEVEL)] + return CAPACITIES[_capacity_level] func get_next_capacity() -> int: - return -1 + if _capacity_level >= MAX_LEVEL: + return -1 + return CAPACITIES[_capacity_level + 1] func get_next_cost() -> int: - return -1 + if _capacity_level >= MAX_LEVEL: + return -1 + return EXPANSION_COSTS[_capacity_level] -func can_purchase(_wallet: PlayerWalletType) -> bool: - return false +func can_purchase(wallet: PlayerWalletType) -> bool: + var cost: int = get_next_cost() + return wallet != null and cost >= 0 and wallet.can_afford(cost) -func purchase(_wallet: PlayerWalletType) -> bool: - return false +func purchase(wallet: PlayerWalletType) -> bool: + if not can_purchase(wallet): + return false + var cost: int = get_next_cost() + if not wallet.debit(cost): + return false + _capacity_level += 1 + capacity_changed.emit(_capacity_level, get_capacity()) + return true func restore_level(level: int) -> bool: var validated: int = clampi(level, 0, MAX_LEVEL) - var changed: bool = _legacy_capacity_level != validated - _legacy_capacity_level = validated + var changed: bool = _capacity_level != validated + _capacity_level = validated if changed: - capacity_changed.emit(get_level(), get_capacity()) + capacity_changed.emit(_capacity_level, get_capacity()) return true @@ -81,8 +66,4 @@ func reset_to_defaults() -> void: func to_save_data() -> Dictionary: - return {"capacity_level": get_level()} - - -func _on_home_changed() -> void: - capacity_changed.emit(get_level(), get_capacity()) + return {"capacity_level": _capacity_level} diff --git a/project.godot b/project.godot index 5bcbb4d..3b69d42 100644 --- a/project.godot +++ b/project.godot @@ -10,11 +10,11 @@ config_version=5 [application] -config/name="straywild" -config/version="0.20.2-alpha" +config/name="NETFISHING" +config/version="0.17.0-alpha" run/main_scene="res://main/main.tscn" config/features=PackedStringArray("4.7", "GL Compatibility") -config/icon="res://art/exported/system_icons/straywild_256.png" +config/icon="res://art/exported/system_icons/netfishing_256.png" [autoload] @@ -26,12 +26,12 @@ window/stretch/aspect="expand" [editor_plugins] -enabled=PackedStringArray("res://addons/straywild_shoreline_baker/plugin.cfg") +enabled=PackedStringArray("res://addons/netfishing_shoreline_baker/plugin.cfg") [gui] -timers/tooltip_delay_sec=0.0 theme/custom="res://ui/game_theme.tres" +timers/tooltip_delay_sec=0.0 [input] @@ -260,7 +260,7 @@ alternate_fishing={ [network] -discovery/base_url="https://discovery.straywild.io/patron-test" +discovery/base_url="https://discovery.netfishing.org" [physics] diff --git a/save/player_save_manager.gd b/save/player_save_manager.gd index c41f861..1ad74a1 100644 --- a/save/player_save_manager.gd +++ b/save/player_save_manager.gd @@ -34,9 +34,8 @@ const WorldWeatherServiceType = preload( const WorldLayoutType = preload("res://world/world_layout.gd") const PlayerJobServiceType = preload("res://jobs/player_job_service.gd") const PlayerType = preload("res://player/player.gd") -const PlayerHomeStateType = preload("res://homes/player_home_state.gd") -const SAVE_VERSION: int = 11 +const SAVE_VERSION: int = 10 const LEGACY_SAVE_FILENAME := "player_save.json" const ARCHIVE_EXTENSION := ".nfsave" const BASIC_ROD_ID: StringName = &"basic_fishing_rod" @@ -77,7 +76,6 @@ class LoadSnapshot: WorldWeatherServiceType.SUNNY_DURATION_RANGE.x ) var jobs_data: Dictionary = PlayerJobServiceType.default_save_data() - var home_data: Dictionary = PlayerHomeStateType.default_save_data() @export_range(0.05, 5.0, 0.05) var autosave_delay: float = 0.5 @@ -98,7 +96,6 @@ var _world_time: WorldTimeServiceType var _world_weather: WorldWeatherServiceType var _jobs: PlayerJobServiceType var _player: PlayerType -var _home_state: PlayerHomeStateType var _autosave_timer: Timer var _is_configured: bool = false var _is_restoring: bool = false @@ -178,7 +175,6 @@ func setup( world_weather: WorldWeatherServiceType, jobs: PlayerJobServiceType, player: PlayerType, - home_state: PlayerHomeStateType, ) -> void: _inventory = inventory _collection_log = collection_log @@ -196,7 +192,6 @@ func setup( _world_weather = world_weather _jobs = jobs _player = player - _home_state = home_state _is_configured = ( _inventory != null and _collection_log != null @@ -214,7 +209,6 @@ func setup( and _world_weather != null and _jobs != null and _player != null - and _home_state != null ) if not _is_configured: push_error("PlayerSaveManager setup is missing required references.") @@ -261,8 +255,6 @@ func setup( _player.active_bait_changed.connect(_on_active_tackle_changed) if not _player.active_lure_changed.is_connected(_on_active_tackle_changed): _player.active_lure_changed.connect(_on_active_tackle_changed) - if not _home_state.changed.is_connected(_mark_dirty): - _home_state.changed.connect(_mark_dirty) func load_player_data() -> bool: @@ -338,11 +330,6 @@ func load_player_data() -> bool: snapshot.reel_speed_level, snapshot.barrier_power_level ) - # Home tier is now the authority for private-storage capacity, so restore it - # before the compatibility capacity adapter and inventory layout. - var home_restored: bool = _home_state.restore_from_save_data( - snapshot.home_data - ) var cooler_restored: bool = _cooler_capacity.restore_level( snapshot.cooler_capacity_level ) @@ -389,14 +376,13 @@ func load_player_data() -> bool: or not world_time_restored or not world_weather_restored or not jobs_restored - or not home_restored ): push_error( ( "Validated player save could not be restored: " + "inventory=%s collection=%s wallet=%s bag=%s tackle=%s hotbar=%s " + "upgrades=%s cooler=%s layout=%s art=%s experience=%s " - + "time=%s weather=%s jobs=%s home=%s" + + "time=%s weather=%s jobs=%s" ) % [ inventory_restored, @@ -413,7 +399,6 @@ func load_player_data() -> bool: world_time_restored, world_weather_restored, jobs_restored, - home_restored, ] ) return false @@ -914,7 +899,6 @@ func _build_save_dictionary() -> Dictionary: ), }, "jobs": _jobs.to_save_data(), - "home": _home_state.to_save_data(), } @@ -929,7 +913,6 @@ func _build_load_snapshot(save_data: Dictionary) -> LoadSnapshot: or typeof(save_data.get("inventory_layout")) != TYPE_DICTIONARY or typeof(save_data.get("experience")) != TYPE_DICTIONARY or typeof(save_data.get("jobs")) != TYPE_DICTIONARY - or typeof(save_data.get("home")) != TYPE_DICTIONARY ): return null var wallet_data: Dictionary = save_data["wallet"] @@ -941,7 +924,6 @@ func _build_load_snapshot(save_data: Dictionary) -> LoadSnapshot: var inventory_layout_data: Dictionary = save_data["inventory_layout"] var experience_data: Dictionary = save_data["experience"] var jobs_data: Dictionary = save_data["jobs"] - var home_data: Dictionary = save_data["home"] var world_data: Dictionary = {} if typeof(save_data.get("world")) == TYPE_DICTIONARY: world_data = save_data["world"] @@ -1024,12 +1006,6 @@ func _build_load_snapshot(save_data: Dictionary) -> LoadSnapshot: if not PlayerJobServiceType.validate_save_data(jobs_data): return null snapshot.jobs_data = jobs_data.duplicate(true) - var sanitized_home: Dictionary = PlayerHomeStateType.sanitize_save_data( - home_data - ) - if sanitized_home.is_empty(): - return null - snapshot.home_data = sanitized_home if world_data.has("time_hours"): snapshot.world_time_hours = _read_world_time_hours( world_data["time_hours"] @@ -1326,26 +1302,6 @@ func _build_load_snapshot(save_data: Dictionary) -> LoadSnapshot: PlayerCoolerCapacityType.MAX_LEVEL, "cooler.capacity_level" ) - # Before homes had upgrade tiers, storage was purchased separately. Preserve - # those saves by granting the starter RV to anybody who owned at least one - # legacy expansion. PlayerCoolerCapacity also retains the purchased legacy - # capacity so entries beyond the new RV's first 18 slots remain accessible. - if ( - snapshot.cooler_capacity_level > 0 - and int(snapshot.home_data.get("tier", 0)) - == PlayerHomeStateType.STARTER_TIER - ): - var migrated_home: Dictionary = home_data.duplicate(true) - migrated_home["tier"] = PlayerHomeStateType.STARTER_RV_TIER - migrated_home["exterior_id"] = String( - PlayerHomeStateType.STARTER_RV_EXTERIOR_ID - ) - var sanitized_migrated_home := ( - PlayerHomeStateType.sanitize_save_data(migrated_home) - ) - if sanitized_migrated_home.is_empty(): - return null - snapshot.home_data = sanitized_migrated_home snapshot.art_unlock_mask = _read_integer( art_data.get("unlock_mask"), 0, @@ -1384,8 +1340,6 @@ func _migrate_save( migrated = _migrate_version_8_to_9(migrated) 9: migrated = _migrate_version_9_to_10(migrated) - 10: - migrated = _migrate_version_10_to_11(migrated) _: return {} if migrated.is_empty(): @@ -1643,13 +1597,6 @@ func _migrate_version_9_to_10(data: Dictionary) -> Dictionary: return migrated -func _migrate_version_10_to_11(data: Dictionary) -> Dictionary: - var migrated: Dictionary = data.duplicate(true) - migrated["home"] = PlayerHomeStateType.default_save_data() - migrated["save_version"] = 11 - return migrated - - func _mark_dirty() -> void: if ( _is_restoring @@ -1919,7 +1866,6 @@ func _restore_defaults() -> void: _world_layout = WorldLayoutType.GENERATED _world_seed = DEFAULT_WORLD_SEED _jobs.reset_to_defaults() - _home_state.reset_to_defaults() _is_restoring = false _is_dirty = false diff --git a/save/progression_save_codec.gd b/save/progression_save_codec.gd index 4d0ba33..7844e16 100644 --- a/save/progression_save_codec.gd +++ b/save/progression_save_codec.gd @@ -1,8 +1,7 @@ class_name ProgressionSaveCodec extends RefCounted -const MAGIC := "straywild_PROGRESSION_CONTAINER" -const LEGACY_MAGIC := "NETFISHING_PROGRESSION_CONTAINER" +const MAGIC := "NETFISHING_PROGRESSION_CONTAINER" const FORMAT_VERSION := 1 const LOCAL_KIND := "local_save" const ARCHIVE_KIND := "portable_archive" @@ -10,8 +9,6 @@ const MAX_CONTAINER_BYTES := 16 * 1024 * 1024 # This key keeps routine progression files opaque to casual editing. Since the # client is open source, it is intentionally not treated as a security secret. -# Its original value is a stable file-format detail so released saves remain -# readable after the Straywild rebrand. const CONTAINER_PASSPHRASE := ( "NETfishing progression container v1 / not an identity credential" ) @@ -105,9 +102,15 @@ static func _read_container(path: String, expected_kind: String) -> Dictionary: or FileAccess.get_size(path) > MAX_CONTAINER_BYTES ): return {"ok": false, "message": "progression file is unavailable."} - var envelope_text: String = _read_encrypted_text(path) - if envelope_text.is_empty(): + var file: FileAccess = FileAccess.open_encrypted_with_pass( + path, + FileAccess.READ, + CONTAINER_PASSPHRASE, + ) + if file == null: return {"ok": false, "message": "progression file could not be opened."} + var envelope_text: String = file.get_as_text() + file.close() var envelope_json := JSON.new() if ( envelope_json.parse(envelope_text) != OK @@ -115,9 +118,8 @@ static func _read_container(path: String, expected_kind: String) -> Dictionary: ): return {"ok": false, "message": "progression container is malformed."} var envelope: Dictionary = envelope_json.data - var legacy_container: bool = envelope.get("magic") == LEGACY_MAGIC if ( - envelope.get("magic") not in [MAGIC, LEGACY_MAGIC] + envelope.get("magic") != MAGIC or int(envelope.get("format_version", -1)) != FORMAT_VERSION or str(envelope.get("kind", "")) != expected_kind ): @@ -142,23 +144,9 @@ static func _read_container(path: String, expected_kind: String) -> Dictionary: "game_version": str(envelope.get("game_version", "")), "created_at_unix": int(envelope.get("created_at_unix", 0)), "legacy_plaintext": false, - "legacy_container": legacy_container, } -static func _read_encrypted_text(path: String) -> String: - var file: FileAccess = FileAccess.open_encrypted_with_pass( - path, - FileAccess.READ, - CONTAINER_PASSPHRASE, - ) - if file == null: - return "" - var text: String = file.get_as_text() - file.close() - return text - - static func _read_plaintext_dictionary(path: String) -> Dictionary: var bytes: PackedByteArray = PortableFileGuard.read_bytes( path, diff --git a/scripts/build_android_debug.sh b/scripts/build_android_debug.sh index f68eb32..8f856f8 100755 --- a/scripts/build_android_debug.sh +++ b/scripts/build_android_debug.sh @@ -4,7 +4,7 @@ set -euo pipefail readonly SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" readonly PROJECT_ROOT="$(cd -- "${SCRIPT_DIR}/.." && pwd)" -readonly OUTPUT_PATH="${PROJECT_ROOT}/builds/android/straywild-debug.apk" +readonly OUTPUT_PATH="${PROJECT_ROOT}/builds/android/NETfishing-debug.apk" readonly GODOT_BIN="${GODOT_BIN:-godot}" mkdir -p -- "$(dirname -- "${OUTPUT_PATH}")" diff --git a/scripts/build_playtest.sh b/scripts/build_playtest.sh index d54ba70..74a0c8c 100755 --- a/scripts/build_playtest.sh +++ b/scripts/build_playtest.sh @@ -4,14 +4,14 @@ set -euo pipefail readonly SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" readonly PROJECT_ROOT="$(cd -- "${SCRIPT_DIR}/.." && pwd)" -readonly BUILD_ROOT="${PROJECT_ROOT}/builds/v0.20.2-alpha" +readonly BUILD_ROOT="${PROJECT_ROOT}/builds/v0.17.0-alpha" readonly WINDOWS_DIR="${BUILD_ROOT}/windows-x86_64" readonly LINUX_DIR="${BUILD_ROOT}/linux-x86_64" readonly README_SOURCE="${PROJECT_ROOT}/docs/README-PLAYTEST.txt" readonly SOURCE_COMMIT="$(git -C "${PROJECT_ROOT}" rev-parse HEAD)" -readonly SOURCE_URL="https://forge.makearmy.io/woofmeow/straywild" -readonly WINDOWS_ZIP="${BUILD_ROOT}/straywild-v0.20.2-alpha-windows-x86_64.zip" -readonly LINUX_ZIP="${BUILD_ROOT}/straywild-v0.20.2-alpha-linux-x86_64.zip" +readonly SOURCE_URL="https://forge.makearmy.io/woofmeow/netfishing" +readonly WINDOWS_ZIP="${BUILD_ROOT}/NETfishing-v0.17.0-alpha-windows-x86_64.zip" +readonly LINUX_ZIP="${BUILD_ROOT}/NETfishing-v0.17.0-alpha-linux-x86_64.zip" readonly GODOT_BIN="${GODOT_BIN:-godot}" if [[ ! -f "${PROJECT_ROOT}/project.godot" ]]; then @@ -31,26 +31,26 @@ mkdir -p -- "${WINDOWS_DIR}" "${LINUX_DIR}" --headless \ --path "${PROJECT_ROOT}" \ --export-release "Windows Desktop" \ - "${WINDOWS_DIR}/straywild.exe" + "${WINDOWS_DIR}/NETfishing.exe" "${GODOT_BIN}" \ --headless \ --path "${PROJECT_ROOT}" \ --export-release "Linux Desktop" \ - "${LINUX_DIR}/straywild.x86_64" + "${LINUX_DIR}/NETfishing.x86_64" for required_file in \ - "${WINDOWS_DIR}/straywild.exe" \ - "${WINDOWS_DIR}/straywild.pck" \ - "${LINUX_DIR}/straywild.x86_64" \ - "${LINUX_DIR}/straywild.pck"; do + "${WINDOWS_DIR}/NETfishing.exe" \ + "${WINDOWS_DIR}/NETfishing.pck" \ + "${LINUX_DIR}/NETfishing.x86_64" \ + "${LINUX_DIR}/NETfishing.pck"; do if [[ ! -s "${required_file}" ]]; then echo "error: expected export output is missing: ${required_file}" >&2 exit 1 fi done -chmod +x -- "${LINUX_DIR}/straywild.x86_64" +chmod +x -- "${LINUX_DIR}/NETfishing.x86_64" cp -- "${README_SOURCE}" "${WINDOWS_DIR}/README-PLAYTEST.txt" cp -- "${README_SOURCE}" "${LINUX_DIR}/README-PLAYTEST.txt" @@ -60,7 +60,7 @@ stage_licenses() { install -m 0644 "${PROJECT_ROOT}/LICENSE" \ "${destination}/GPL-3.0-or-later.txt" install -m 0644 "${PROJECT_ROOT}/ASSET-LICENSE.md" \ - "${destination}/straywild-ASSET-LICENSE.md" + "${destination}/NETFISHING-ASSET-LICENSE.md" install -m 0644 "${PROJECT_ROOT}/docs/ATTRIBUTION.md" \ "${destination}/ATTRIBUTION.md" install -m 0644 "${PROJECT_ROOT}/TRADEMARKS.md" \ @@ -72,14 +72,11 @@ stage_licenses() { cat >"${destination}/SOURCE-CODE.md" <&2 exit 1 fi -if [[ "${straywild_ALLOW_DIRTY_RELEASE:-0}" != "1" ]]; then +if [[ "${NETFISHING_ALLOW_DIRTY_RELEASE:-0}" != "1" ]]; then dirty_tree=0 git -C "${PROJECT_ROOT}" diff --quiet || dirty_tree=1 git -C "${PROJECT_ROOT}" diff --cached --quiet || dirty_tree=1 @@ -97,7 +97,7 @@ done mkdir -p -- "${ARM64_ROOT}" "${RELEASE_ROOT}" if [[ ${PACKAGE_ONLY} -eq 0 ]]; then readonly EXPORT_PROJECT_ROOT="$( - mktemp -d -t straywild-portmaster-export.XXXXXX + mktemp -d -t netfishing-portmaster-export.XXXXXX )" cleanup_export_project() { rm -rf -- "${EXPORT_PROJECT_ROOT}" @@ -108,9 +108,9 @@ if [[ ${PACKAGE_ONLY} -eq 0 ]]; then --exclude '/.git/' \ --exclude '/.godot/' \ --exclude '/art/source/' \ - --exclude '/art/exported/system_icons/straywild.ico' \ - --exclude '/art/exported/system_icons/straywild_1024.png' \ - --exclude '/art/exported/system_icons/straywild_1024.png.import' \ + --exclude '/art/exported/system_icons/netfishing.ico' \ + --exclude '/art/exported/system_icons/netfishing_1024.png' \ + --exclude '/art/exported/system_icons/netfishing_1024.png.import' \ --exclude '/audio/ambience/' \ --exclude '/builds/' \ --exclude '/docs/design/' \ @@ -141,14 +141,14 @@ rm -f -- \ "${OBSOLETE_LOWERCASE_ARCHIVE}" mkdir -p -- "${GAME_ROOT}/licenses" -install -m 0755 "${TEMPLATE_ROOT}/straywild.sh" "${STAGE_ROOT}/straywild.sh" +install -m 0755 "${TEMPLATE_ROOT}/NETfishing.sh" "${STAGE_ROOT}/NETfishing.sh" install -m 0644 "${TEMPLATE_ROOT}/port.json" "${GAME_ROOT}/port.json" -install -m 0644 "${TEMPLATE_ROOT}/straywild.gptk" \ - "${GAME_ROOT}/straywild.gptk" -install -m 0755 "${TEMPLATE_ROOT}/launch-straywild.sh" \ - "${GAME_ROOT}/launch-straywild.sh" -install -m 0755 "${ARM64_EXECUTABLE}" "${GAME_ROOT}/straywild.aarch64" -install -m 0644 "${ARM64_PCK}" "${GAME_ROOT}/straywild.pck" +install -m 0644 "${TEMPLATE_ROOT}/netfishing.gptk" \ + "${GAME_ROOT}/netfishing.gptk" +install -m 0755 "${TEMPLATE_ROOT}/launch-netfishing.sh" \ + "${GAME_ROOT}/launch-netfishing.sh" +install -m 0755 "${ARM64_EXECUTABLE}" "${GAME_ROOT}/NETfishing.aarch64" +install -m 0644 "${ARM64_PCK}" "${GAME_ROOT}/NETfishing.pck" install -m 0644 "${TEMPLATE_ROOT}/gameinfo.xml" "${GAME_ROOT}/gameinfo.xml" install -m 0644 "${TEMPLATE_ROOT}/screenshot.png" "${GAME_ROOT}/screenshot.png" install -m 0644 \ @@ -159,7 +159,7 @@ install -m 0644 \ "${GAME_ROOT}/licenses/GPL-3.0-or-later.txt" install -m 0644 \ "${PROJECT_ROOT}/ASSET-LICENSE.md" \ - "${GAME_ROOT}/licenses/straywild-ASSET-LICENSE.md" + "${GAME_ROOT}/licenses/NETFISHING-ASSET-LICENSE.md" install -m 0644 \ "${PROJECT_ROOT}/TRADEMARKS.md" \ "${GAME_ROOT}/licenses/TRADEMARKS.md" @@ -171,7 +171,7 @@ install -m 0644 \ "${GAME_ROOT}/licenses/Seattle-Avenue-LICENSE.txt" cat >"${GAME_ROOT}/BUILD-INFO.txt" <"${GAME_ROOT}/licenses/SOURCE-CODE.md" <"${GAME_ROOT}/README.md" </dev/null readonly TOP_LEVELS="$( unzip -Z1 "${ARCHIVE}" | cut -d/ -f1 | sort -u )" -readonly EXPECTED_TOP_LEVELS="$(printf '%s\n' straywild straywild.sh)" +readonly EXPECTED_TOP_LEVELS="$(printf '%s\n' NETfishing.sh netfishing)" if [[ "${TOP_LEVELS}" != "${EXPECTED_TOP_LEVELS}" ]]; then echo "Unexpected PortMaster archive roots:" >&2 printf '%s\n' "${TOP_LEVELS}" >&2 exit 1 fi grep -q '"version": 4' "${GAME_ROOT}/port.json" -grep -q '"name": "straywild.zip"' "${GAME_ROOT}/port.json" +grep -q '"name": "netfishing.zip"' "${GAME_ROOT}/port.json" grep -q '"rtr": true' "${GAME_ROOT}/port.json" if unzip -Z1 "${ARCHIVE}" | grep -qx 'port.json'; then - echo "port.json must be inside straywild/, not at the archive root." >&2 + echo "port.json must be inside netfishing/, not at the archive root." >&2 exit 1 fi if grep -Eq '^[[:space:]]*#[[:space:]]*PORTMASTER:' \ - "${STAGE_ROOT}/straywild.sh"; then + "${STAGE_ROOT}/NETfishing.sh"; then echo "The distributable launcher contains an installed PortMaster signature." >&2 exit 1 fi grep -Fq 'PROFILE_PATH="$CONFDIR/performance_profile"' \ - "${STAGE_ROOT}/straywild.sh" -grep -Fq 'straywild_PERFORMANCE_PROFILE=light' \ - "${STAGE_ROOT}/straywild.sh" + "${STAGE_ROOT}/NETfishing.sh" +grep -Fq 'NETFISHING_PERFORMANCE_PROFILE=light' \ + "${STAGE_ROOT}/NETfishing.sh" grep -Fq 'CONTROLLER_MAPPING_FILE="$CONFDIR/cache/controller_mapping.txt"' \ - "${STAGE_ROOT}/straywild.sh" -grep -Fq 'SAVEDIR="$PORTS_ROOT/saves/straywild"' \ - "${STAGE_ROOT}/straywild.sh" -grep -Fq 'LEGACY_SAVEDIR="$PORTS_ROOT/saves/netfishing"' \ - "${STAGE_ROOT}/straywild.sh" -grep -Fq 'cp -a "$LEGACY_CONFDIR/." "$CONFDIR/"' \ - "${STAGE_ROOT}/straywild.sh" -grep -Fq '"straywild_DATA_DIR=$SAVEDIR"' \ - "${STAGE_ROOT}/straywild.sh" -grep -Fq '"straywild_CREATE_DATA_DIR=1"' \ - "${STAGE_ROOT}/straywild.sh" -grep -Fq 'printf '\''%s\n'\'' "$straywild_controllerconfig" > "$CONTROLLER_MAPPING_FILE"' \ - "${STAGE_ROOT}/straywild.sh" -grep -Fq '"$GAME_LAUNCHER"' "${STAGE_ROOT}/straywild.sh" -grep -Fq '"$CONTROLLER_MAPPING_FILE"' "${STAGE_ROOT}/straywild.sh" -if grep -Fq 'SDL_GAMECONTROLLERCONFIG="$straywild_controllerconfig"' \ - "${STAGE_ROOT}/straywild.sh"; then + "${STAGE_ROOT}/NETfishing.sh" +grep -Fq 'SAVEDIR="$PORTS_ROOT/saves/netfishing"' \ + "${STAGE_ROOT}/NETfishing.sh" +grep -Fq '"NETFISHING_DATA_DIR=$SAVEDIR"' \ + "${STAGE_ROOT}/NETfishing.sh" +grep -Fq '"NETFISHING_CREATE_DATA_DIR=1"' \ + "${STAGE_ROOT}/NETfishing.sh" +grep -Fq 'printf '\''%s\n'\'' "$netfishing_controllerconfig" > "$CONTROLLER_MAPPING_FILE"' \ + "${STAGE_ROOT}/NETfishing.sh" +grep -Fq '"$GAME_LAUNCHER"' "${STAGE_ROOT}/NETfishing.sh" +grep -Fq '"$CONTROLLER_MAPPING_FILE"' "${STAGE_ROOT}/NETfishing.sh" +if grep -Fq 'SDL_GAMECONTROLLERCONFIG="$netfishing_controllerconfig"' \ + "${STAGE_ROOT}/NETfishing.sh"; then echo "Raw controller mappings must not be passed through westonwrap.sh." >&2 exit 1 fi grep -Fq 'SDL_GAMECONTROLLERCONFIG="$(<"$CONTROLLER_MAPPING_FILE")"' \ - "${GAME_ROOT}/launch-straywild.sh" + "${GAME_ROOT}/launch-netfishing.sh" grep -Fq 'export SDL_GAMECONTROLLERCONFIG' \ - "${GAME_ROOT}/launch-straywild.sh" -grep -Fq 'exec "$@"' "${GAME_ROOT}/launch-straywild.sh" -grep -Fq 'GPTOKEYB_CONFIG="$GAMEDIR/straywild.gptk"' \ - "${STAGE_ROOT}/straywild.sh" -grep -Fq '$GPTOKEYB "straywild.aarch64" -c "$GPTOKEYB_CONFIG" &' \ - "${STAGE_ROOT}/straywild.sh" + "${GAME_ROOT}/launch-netfishing.sh" +grep -Fq 'exec "$@"' "${GAME_ROOT}/launch-netfishing.sh" +grep -Fq 'GPTOKEYB_CONFIG="$GAMEDIR/netfishing.gptk"' \ + "${STAGE_ROOT}/NETfishing.sh" +grep -Fq '$GPTOKEYB "NETfishing.aarch64" -c "$GPTOKEYB_CONFIG" &' \ + "${STAGE_ROOT}/NETfishing.sh" grep -Fq 'pm_platform_helper "$GAME_EXECUTABLE"' \ - "${STAGE_ROOT}/straywild.sh" -grep -Fq 'pm_finish' "${STAGE_ROOT}/straywild.sh" + "${STAGE_ROOT}/NETfishing.sh" +grep -Fq 'pm_finish' "${STAGE_ROOT}/NETfishing.sh" if [[ "$(grep -Ec '^[[:space:]]*\$GPTOKEYB[[:space:]]' \ - "${STAGE_ROOT}/straywild.sh")" -ne 1 ]]; then - echo "straywild must start exactly one GPTOKEYB exit handler." >&2 + "${STAGE_ROOT}/NETfishing.sh")" -ne 1 ]]; then + echo "NETfishing must start exactly one GPTOKEYB exit handler." >&2 exit 1 fi readonly GPTOKEYB_NOOP_KEYS=( @@ -307,13 +303,13 @@ readonly GPTOKEYB_NOOP_KEYS=( for noop_key in "${GPTOKEYB_NOOP_KEYS[@]}"; do if ! grep -Eq \ "^[[:space:]]*${noop_key}[[:space:]]*=[[:space:]]*\\\\\"[[:space:]]*$" \ - "${GAME_ROOT}/straywild.gptk"; then + "${GAME_ROOT}/netfishing.gptk"; then echo "GPTOKEYB no-op mapping is missing: ${noop_key}" >&2 exit 1 fi done if [[ "$(grep -Ec '^[[:space:]]*[a-z0-9_]+[[:space:]]*=' \ - "${GAME_ROOT}/straywild.gptk")" -ne "${#GPTOKEYB_NOOP_KEYS[@]}" ]]; then + "${GAME_ROOT}/netfishing.gptk")" -ne "${#GPTOKEYB_NOOP_KEYS[@]}" ]]; then echo "GPTOKEYB no-op mapping contains an unexpected assignment." >&2 exit 1 fi diff --git a/scripts/import_animalese_voice.sh b/scripts/import_animalese_voice.sh index b9076ca..cb7eded 100755 --- a/scripts/import_animalese_voice.sh +++ b/scripts/import_animalese_voice.sh @@ -35,10 +35,10 @@ if [[ ! "$SAMPLE_SET_DIRECTORY" =~ ^[a-z0-9_-]+$ ]]; then fi readonly DESTINATION_DIRECTORY="$PROJECT_ROOT/sound/dialogue/animalese/$SAMPLE_SET_DIRECTORY" -readonly WORK_DIRECTORY="$(mktemp -d -t straywild-animalese-import.XXXXXX)" +readonly WORK_DIRECTORY="$(mktemp -d -t netfishing-animalese-import.XXXXXX)" cleanup() { - if [[ "$WORK_DIRECTORY" == /tmp/straywild-animalese-import.* ]]; then + if [[ "$WORK_DIRECTORY" == /tmp/netfishing-animalese-import.* ]]; then find "$WORK_DIRECTORY" -depth -delete fi } diff --git a/scripts/normalize_texture_imports.gd b/scripts/normalize_texture_imports.gd index e7b2406..5b78ec1 100644 --- a/scripts/normalize_texture_imports.gd +++ b/scripts/normalize_texture_imports.gd @@ -31,11 +31,6 @@ const FACIAL_FEATURE_IMPORT_PATH: String = ( "art/exported/characters/faces/" ) const FACIAL_FEATURE_SIZE_LIMIT: int = 512 -const PROJECTED_TERRAIN_TEXTURE_IMPORTS: Array[String] = [ - "res://world/generation/chunks/assets/chunk_0000_grass_lite.png.import", - "res://world/generation/chunks/assets/chunk_0001_sand.png.import", - "res://world/generation/chunks/assets/chunk_0031_dirt.png.import", -] var apply_changes: bool = false var verbose: bool = false @@ -158,8 +153,6 @@ func _handle_import_file(import_path: String) -> void: var desired: Variant = section_data[section_key] if section_key == "process/size_limit": desired = _size_limit_for(import_path) - elif section_key == "mipmaps/generate": - desired = _generates_mipmaps(import_path) var existing: Variant = null if cfg.has_section(section_name) and cfg.has_section_key(section_name, section_key): existing = cfg.get_value(section_name, section_key) @@ -194,11 +187,6 @@ func _size_limit_for(import_path: String) -> int: return int(DEFAULT_PROFILE["params"]["process/size_limit"]) -func _generates_mipmaps(import_path: String) -> bool: - var normalized_path := import_path.replace("\\", "/") - return normalized_path in PROJECTED_TERRAIN_TEXTURE_IMPORTS - - func print_summary() -> void: if apply_changes: _print( diff --git a/scripts/normalize_texture_profiles.sh b/scripts/normalize_texture_profiles.sh index 0551efd..1483a61 100755 --- a/scripts/normalize_texture_profiles.sh +++ b/scripts/normalize_texture_profiles.sh @@ -13,7 +13,7 @@ fi readonly ROOT_PATH="$1" -readonly WORK_ROOT="$(mktemp -d -t straywild-godot-data.XXXXXX)" +readonly WORK_ROOT="$(mktemp -d -t netfishing-godot-data.XXXXXX)" trap 'rm -rf -- "${WORK_ROOT}"' EXIT cd "${PROJECT_ROOT}" diff --git a/scripts/portmaster/straywild.sh b/scripts/portmaster/NETfishing.sh similarity index 58% rename from scripts/portmaster/straywild.sh rename to scripts/portmaster/NETfishing.sh index d4e56a7..8e118da 100755 --- a/scripts/portmaster/straywild.sh +++ b/scripts/portmaster/NETfishing.sh @@ -16,56 +16,35 @@ source "$controlfolder/control.txt" [ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt" get_controls -GAMEDIR="/${directory}/ports/straywild" +GAMEDIR="/${directory}/ports/netfishing" CONFDIR="$GAMEDIR/conf" -PORTS_ROOT="${GAMEDIR%/straywild}" -SAVEDIR="$PORTS_ROOT/saves/straywild" -LEGACY_GAMEDIR="$PORTS_ROOT/netfishing" -LEGACY_CONFDIR="$LEGACY_GAMEDIR/conf" -LEGACY_SAVEDIR="$PORTS_ROOT/saves/netfishing" -DATA_BOOTSTRAP_DIR="$CONFDIR/data/godot/app_userdata/straywild" -LEGACY_DATA_BOOTSTRAP_DIR="$CONFDIR/data/godot/app_userdata/NETFISHING" -GAME_EXECUTABLE="$GAMEDIR/straywild.aarch64" -GAME_LAUNCHER="$GAMEDIR/launch-straywild.sh" -GPTOKEYB_CONFIG="$GAMEDIR/straywild.gptk" +PORTS_ROOT="${GAMEDIR%/netfishing}" +SAVEDIR="$PORTS_ROOT/saves/netfishing" +DATA_BOOTSTRAP_DIR="$CONFDIR/data/godot/app_userdata/NETFISHING" +GAME_EXECUTABLE="$GAMEDIR/NETfishing.aarch64" +GAME_LAUNCHER="$GAMEDIR/launch-netfishing.sh" +GPTOKEYB_CONFIG="$GAMEDIR/netfishing.gptk" CONTROLLER_MAPPING_FILE="$CONFDIR/cache/controller_mapping.txt" -WESTON_DIR="/tmp/straywild-weston" +WESTON_DIR="/tmp/netfishing-weston" WESTON_RUNTIME="weston_pkg_0.2" HARBOURMASTER="$controlfolder/harbourmaster" mkdir -p "$CONFDIR/data" "$CONFDIR/config" "$CONFDIR/cache" "$WESTON_DIR" chmod +x "$GAME_EXECUTABLE" -# A renamed PortMaster entry installs beside the former NETfishing port. Copy -# its device-local configuration once and continue using its established save -# root when present. New installations use straywild paths exclusively. -if [ -d "$LEGACY_CONFDIR" ] && [ ! -f "$CONFDIR/.netfishing-imported" ]; then - cp -a "$LEGACY_CONFDIR/." "$CONFDIR/" - touch "$CONFDIR/.netfishing-imported" -fi -if [ ! -f "$SAVEDIR/straywild_data.json" ] \ - && [ ! -f "$SAVEDIR/netfishing_data.json" ] \ - && { [ -f "$LEGACY_SAVEDIR/straywild_data.json" ] \ - || [ -f "$LEGACY_SAVEDIR/netfishing_data.json" ]; }; then - SAVEDIR="$LEGACY_SAVEDIR" -fi - -# straywild uses a predictable save directory beside the port instead of +# NETfishing uses a predictable save directory beside the port instead of # presenting a folder picker on a small screen. Preserve an established # data-root choice when upgrading an existing installation. -straywild_DATA_ENVIRONMENT=() -if [ -f "$SAVEDIR/straywild_data.json" ] \ - || [ -f "$SAVEDIR/netfishing_data.json" ] || { +NETFISHING_DATA_ENVIRONMENT=() +if [ -f "$SAVEDIR/netfishing_data.json" ] || { [ ! -f "$DATA_BOOTSTRAP_DIR/data_root_bootstrap.json" ] && - [ ! -f "$DATA_BOOTSTRAP_DIR/data_root_bootstrap.json.backup" ] && - [ ! -f "$LEGACY_DATA_BOOTSTRAP_DIR/data_root_bootstrap.json" ] && - [ ! -f "$LEGACY_DATA_BOOTSTRAP_DIR/data_root_bootstrap.json.backup" ] + [ ! -f "$DATA_BOOTSTRAP_DIR/data_root_bootstrap.json.backup" ] }; then mkdir -p "$SAVEDIR" - straywild_DATA_ENVIRONMENT+=( - "straywild_DATA_DIR=$SAVEDIR" - "straywild_CREATE_DATA_DIR=1" + NETFISHING_DATA_ENVIRONMENT+=( + "NETFISHING_DATA_DIR=$SAVEDIR" + "NETFISHING_CREATE_DATA_DIR=1" ) fi @@ -73,7 +52,7 @@ fi if [ ! -f "$controlfolder/libs/${WESTON_RUNTIME}.squashfs" ]; then if [ ! -x "$HARBOURMASTER" ]; then - pm_message "straywild requires the latest PortMaster and WestonPack runtime." + pm_message "NETfishing requires the latest PortMaster and WestonPack runtime." sleep 5 exit 1 fi @@ -99,17 +78,17 @@ cd "$GAMEDIR" || exit 1 GODOT_MUOS_MAPPING="19004ca6010000000100000000010000,muOS-Keys,a:b0,b:b1,x:b3,y:b2,leftshoulder:b4,rightshoulder:b5,lefttrigger:b10,righttrigger:b11,guide:b8,start:b7,back:b6,dpup:h0.1,dpleft:h0.8,dpright:h0.2,dpdown:h0.4,leftx:a0,lefty:a1,leftstick:b9,rightx:a2,righty:a3,rightstick:b12,platform:Linux," MUOS_SDL2_GUID="19000000010000000100000000010000" if [[ "$sdl_controllerconfig" == "${MUOS_SDL2_GUID},"* ]]; then - straywild_controllerconfig="$GODOT_MUOS_MAPPING" + netfishing_controllerconfig="$GODOT_MUOS_MAPPING" elif [ -n "$sdl_controllerconfig" ]; then - straywild_controllerconfig="$sdl_controllerconfig" + netfishing_controllerconfig="$sdl_controllerconfig" else - straywild_controllerconfig="$GODOT_MUOS_MAPPING" + netfishing_controllerconfig="$GODOT_MUOS_MAPPING" fi -printf '%s\n' "$straywild_controllerconfig" > "$CONTROLLER_MAPPING_FILE" +printf '%s\n' "$netfishing_controllerconfig" > "$CONTROLLER_MAPPING_FILE" -straywild_GODOT_OPTIONS=() -straywild_GAME_ENVIRONMENT=() -PERFORMANCE_PROFILE="${straywild_PERFORMANCE_PROFILE:-}" +NETFISHING_GODOT_OPTIONS=() +NETFISHING_GAME_ENVIRONMENT=() +PERFORMANCE_PROFILE="${NETFISHING_PERFORMANCE_PROFILE:-}" PROFILE_PATH="$CONFDIR/performance_profile" if [[ -z "$PERFORMANCE_PROFILE" && -r "$PROFILE_PATH" ]]; then IFS= read -r PERFORMANCE_PROFILE < "$PROFILE_PATH" || true @@ -117,16 +96,16 @@ if [[ -z "$PERFORMANCE_PROFILE" && -r "$PROFILE_PATH" ]]; then fi case "$PERFORMANCE_PROFILE" in normal) - straywild_GAME_ENVIRONMENT+=( - "straywild_PERFORMANCE_PROFILE=normal" + NETFISHING_GAME_ENVIRONMENT+=( + "NETFISHING_PERFORMANCE_PROFILE=normal" ) ;; light|"") - straywild_GAME_ENVIRONMENT+=( - "straywild_PERFORMANCE_PROFILE=light" - "straywild_LOW_END=1" + NETFISHING_GAME_ENVIRONMENT+=( + "NETFISHING_PERFORMANCE_PROFILE=light" + "NETFISHING_LOW_END=1" ) - straywild_GODOT_OPTIONS+=( + NETFISHING_GODOT_OPTIONS+=( --single-window --disable-vsync --max-fps 30 @@ -135,11 +114,11 @@ case "$PERFORMANCE_PROFILE" in ;; *) echo "Unknown performance profile '$PERFORMANCE_PROFILE'; using light." >&2 - straywild_GAME_ENVIRONMENT+=( - "straywild_PERFORMANCE_PROFILE=light" - "straywild_LOW_END=1" + NETFISHING_GAME_ENVIRONMENT+=( + "NETFISHING_PERFORMANCE_PROFILE=light" + "NETFISHING_LOW_END=1" ) - straywild_GODOT_OPTIONS+=( + NETFISHING_GODOT_OPTIONS+=( --single-window --disable-vsync --max-fps 30 @@ -148,10 +127,10 @@ case "$PERFORMANCE_PROFILE" in ;; esac -# straywild reads gameplay input natively. The explicit no-op map prevents +# NETfishing reads gameplay input natively. The explicit no-op map prevents # GPTOKEYB from injecting duplicate keyboard or mouse input while retaining # its device-specific force-quit chord, including on ROCKNIX. -$GPTOKEYB "straywild.aarch64" -c "$GPTOKEYB_CONFIG" & +$GPTOKEYB "NETfishing.aarch64" -c "$GPTOKEYB_CONFIG" & pm_platform_helper "$GAME_EXECUTABLE" $ESUDO env CRUSTY_RESOLUTION="${DISPLAY_WIDTH}x${DISPLAY_HEIGHT}" \ @@ -160,12 +139,12 @@ $ESUDO env CRUSTY_RESOLUTION="${DISPLAY_WIDTH}x${DISPLAY_HEIGHT}" \ XDG_CONFIG_HOME="$CONFDIR/config" \ XDG_CACHE_HOME="$CONFDIR/cache" \ GODOT_SILENCE_ROOT_WARNING=1 \ - "${straywild_DATA_ENVIRONMENT[@]}" \ - "${straywild_GAME_ENVIRONMENT[@]}" \ + "${NETFISHING_DATA_ENVIRONMENT[@]}" \ + "${NETFISHING_GAME_ENVIRONMENT[@]}" \ "$GAME_LAUNCHER" \ "$CONTROLLER_MAPPING_FILE" \ "$GAME_EXECUTABLE" \ - "${straywild_GODOT_OPTIONS[@]}" \ + "${NETFISHING_GODOT_OPTIONS[@]}" \ --resolution "${DISPLAY_WIDTH}x${DISPLAY_HEIGHT}" \ --fullscreen \ --rendering-driver opengl3_es \ diff --git a/scripts/portmaster/gameinfo.xml b/scripts/portmaster/gameinfo.xml index 1b0a1c7..ef608bd 100755 --- a/scripts/portmaster/gameinfo.xml +++ b/scripts/portmaster/gameinfo.xml @@ -1,13 +1,13 @@ - ./straywild.sh - straywild + ./NETfishing.sh + NETfishing A relaxed multiplayer fishing game about exploring a small island, catching and collecting fish, customizing your character, and spending time by the water. 20260804T000000 - straywild project + NETfishing project Independent adventure, simulation - ./straywild/screenshot.png + ./netfishing/screenshot.png diff --git a/scripts/portmaster/launch-straywild.sh b/scripts/portmaster/launch-netfishing.sh similarity index 100% rename from scripts/portmaster/launch-straywild.sh rename to scripts/portmaster/launch-netfishing.sh diff --git a/scripts/portmaster/straywild.gptk b/scripts/portmaster/netfishing.gptk similarity index 87% rename from scripts/portmaster/straywild.gptk rename to scripts/portmaster/netfishing.gptk index 2e8602e..ff1ad36 100644 --- a/scripts/portmaster/straywild.gptk +++ b/scripts/portmaster/netfishing.gptk @@ -1,4 +1,4 @@ -# straywild reads the controller directly. GPTOKEYB is retained only for its +# NETfishing reads the controller directly. GPTOKEYB is retained only for its # device-specific force-quit chord, so every keyboard and mouse binding is # disabled to prevent duplicate input. diff --git a/scripts/portmaster/port.json b/scripts/portmaster/port.json index 4c36648..affc601 100644 --- a/scripts/portmaster/port.json +++ b/scripts/portmaster/port.json @@ -1,13 +1,13 @@ { "version": 4, - "name": "straywild.zip", + "name": "netfishing.zip", "items": [ - "straywild.sh", - "straywild/" + "NETfishing.sh", + "netfishing/" ], "items_opt": null, "attr": { - "title": "straywild", + "title": "NETfishing", "porter": [ "Voyager" ], diff --git a/scripts/run_validations.sh b/scripts/run_validations.sh index ff108a8..2ebaeff 100755 --- a/scripts/run_validations.sh +++ b/scripts/run_validations.sh @@ -6,9 +6,9 @@ readonly SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" readonly PROJECT_ROOT="$(cd -- "${SCRIPT_DIR}/.." && pwd)" readonly GODOT_BIN="${GODOT_BIN:-godot}" readonly TEST_TIMEOUT_SECONDS="${TEST_TIMEOUT_SECONDS:-120}" -readonly RUN_ROOT="$(mktemp -d -t straywild-validations.XXXXXX)" +readonly RUN_ROOT="$(mktemp -d -t netfishing-validations.XXXXXX)" -export straywild_ISOLATED_VALIDATION_STORAGE=1 +export NETFISHING_ISOLATED_VALIDATION_STORAGE=1 readonly -a QUICK_TESTS=( "scripts/validate_animalese_samples.gd" @@ -87,7 +87,6 @@ readonly -a NETWORK_TESTS=( "tests/fish_showcase_multiplayer_validation.gd" "tests/friend_multiplayer_validation.gd" "tests/fishing_multiplayer_validation.gd" - "tests/home_spawn_multiplayer_validation.gd" "tests/job_multiplayer_validation.gd" "tests/movement_multiplayer_validation.gd" "tests/operator_multiplayer_validation.gd" diff --git a/scripts/setup_android_build.sh b/scripts/setup_android_build.sh index bc96083..c1cebdc 100755 --- a/scripts/setup_android_build.sh +++ b/scripts/setup_android_build.sh @@ -336,8 +336,8 @@ check_editor_settings() { run_export_hint() { echo echo "Example export commands:" - echo " ${GODOT} --headless --path \"$PROJECT_ROOT\" --export-release \"Android\" builds/${PROJECT_VERSION}/android/straywild.apk" - echo " ${GODOT} --headless --path \"$PROJECT_ROOT\" --export-debug \"Android\" builds/android/straywild-debug.apk" + echo " ${GODOT} --headless --path \"$PROJECT_ROOT\" --export-release \"Android\" builds/${PROJECT_VERSION}/android/NETfishing.apk" + echo " ${GODOT} --headless --path \"$PROJECT_ROOT\" --export-debug \"Android\" builds/android/NETfishing-debug.apk" } print_status INFO "Starting Android dependency preflight..." diff --git a/scripts/test_player_data_root_paths.gd b/scripts/test_player_data_root_paths.gd index f357b9a..69a2485 100644 --- a/scripts/test_player_data_root_paths.gd +++ b/scripts/test_player_data_root_paths.gd @@ -1,36 +1,36 @@ extends SceneTree -const PROJECT_PATH := "/tmp/straywild" -const INSTALL_PATH := "/opt/straywild" +const PROJECT_PATH := "/tmp/netfishing" +const INSTALL_PATH := "/opt/NETfishing" func _initialize() -> void: - var root_to_create: String = OS.get_environment("straywild_TEST_CREATE_ROOT") + var root_to_create: String = OS.get_environment("NETFISHING_TEST_CREATE_ROOT") if not root_to_create.is_empty(): _create_validation_root(root_to_create) return var failures: PackedStringArray = [] _expect( "external temporary directory", - "/tmp/straywild-test-data", + "/tmp/NETfishing-test-data", PlayerDataRoot.PATH_ALLOWED, failures, ) _expect( "external trailing slash", - "/tmp/straywild-test-data/", + "/tmp/NETfishing-test-data/", PlayerDataRoot.PATH_ALLOWED, failures, ) _expect( "similar project-name sibling", - "/tmp/straywild-data", + "/tmp/netfishing-data", PlayerDataRoot.PATH_ALLOWED, failures, ) _expect( "documents directory", - "/home/player/Documents/straywild", + "/home/player/Documents/NETfishing", PlayerDataRoot.PATH_ALLOWED, failures, ) @@ -55,7 +55,7 @@ func _initialize() -> void: ) _expect_with_references( "empty project reference", - "/tmp/straywild-test-data", + "/tmp/NETfishing-test-data", "", INSTALL_PATH, PlayerDataRoot.PATH_ALLOWED, @@ -63,7 +63,7 @@ func _initialize() -> void: ) _expect_with_references( "root project reference", - "/tmp/straywild-test-data", + "/tmp/NETfishing-test-data", "/", INSTALL_PATH, PlayerDataRoot.PATH_ALLOWED, @@ -71,9 +71,9 @@ func _initialize() -> void: ) _expect_with_references( "Windows component and case normalization", - "C:\\Games\\straywild Data", - "C:\\Games\\straywild", - "C:\\Program Files\\straywild", + "C:\\Games\\NETfishing Data", + "C:\\Games\\NETfishing", + "C:\\Program Files\\NETfishing", PlayerDataRoot.PATH_ALLOWED, failures, true, diff --git a/server/dedicated_server_config.gd b/server/dedicated_server_config.gd index 3370457..2f515c4 100644 --- a/server/dedicated_server_config.gd +++ b/server/dedicated_server_config.gd @@ -1,7 +1,7 @@ class_name DedicatedServerConfig extends RefCounted -const DEFAULT_NAME: String = "straywild Dedicated Server" +const DEFAULT_NAME: String = "NETfishing Dedicated Server" const DEFAULT_BIND_ADDRESS: String = "*" const DEFAULT_PORT: int = 7777 const DEFAULT_MAX_PLAYERS: int = 8 @@ -31,10 +31,8 @@ static func from_runtime() -> DedicatedServerConfig: result.discovery_url = str(ProjectSettings.get_setting( "network/discovery/base_url", "" )).strip_edges() - var config_path: String = _environment_string( - "straywild_SERVER_CONFIG", - "NETFISHING_SERVER_CONFIG", - "", + var config_path: String = OS.get_environment( + "NETFISHING_SERVER_CONFIG" ).strip_edges() for argument: String in OS.get_cmdline_user_args(): if argument.begins_with("--config="): @@ -89,44 +87,36 @@ func _load_file(path: String) -> bool: func _apply_environment() -> void: server_name = _environment_string( - "straywild_SERVER_NAME", "NETFISHING_SERVER_NAME", server_name + "NETFISHING_SERVER_NAME", server_name ) bind_address = _environment_string( - "straywild_SERVER_BIND", "NETFISHING_SERVER_BIND", bind_address - ) - port = _environment_int( - "straywild_SERVER_PORT", "NETFISHING_SERVER_PORT", port + "NETFISHING_SERVER_BIND", bind_address ) + port = _environment_int("NETFISHING_SERVER_PORT", port) max_players = _environment_int( - "straywild_SERVER_MAX_PLAYERS", - "NETFISHING_SERVER_MAX_PLAYERS", - max_players, + "NETFISHING_SERVER_MAX_PLAYERS", max_players ) world_seed = _environment_int( - "straywild_WORLD_SEED", "NETFISHING_WORLD_SEED", world_seed + "NETFISHING_WORLD_SEED", world_seed ) public_listing = _environment_bool( - "straywild_SERVER_PUBLIC", "NETFISHING_SERVER_PUBLIC", public_listing + "NETFISHING_SERVER_PUBLIC", public_listing ) discovery_url = _environment_string( - "straywild_DISCOVERY_URL", "NETFISHING_DISCOVERY_URL", discovery_url + "NETFISHING_DISCOVERY_URL", discovery_url ) data_directory = _environment_string( - "straywild_DATA_DIR", "NETFISHING_DATA_DIR", data_directory + "NETFISHING_DATA_DIR", data_directory ) chat_logging = _environment_bool( - "straywild_CHAT_LOGGING", "NETFISHING_CHAT_LOGGING", chat_logging + "NETFISHING_CHAT_LOGGING", chat_logging ) chat_log_path = _environment_string( - "straywild_CHAT_LOG_PATH", "NETFISHING_CHAT_LOG_PATH", chat_log_path + "NETFISHING_CHAT_LOG_PATH", chat_log_path ) - var operators_variable: String = _available_environment_variable( - "straywild_SERVER_OPERATORS", - "NETFISHING_SERVER_OPERATORS", - ) - if not operators_variable.is_empty(): + if OS.has_environment("NETFISHING_SERVER_OPERATORS"): operator_fingerprints = _parse_fingerprint_list( - OS.get_environment(operators_variable) + OS.get_environment("NETFISHING_SERVER_OPERATORS") ) @@ -221,45 +211,21 @@ static func _safe_text(value: String) -> bool: return true -static func _available_environment_variable( - name: String, - legacy_name: String, -) -> String: - if OS.has_environment(name): - return name - return legacy_name if OS.has_environment(legacy_name) else "" +static func _environment_string(name: String, fallback: String) -> String: + return OS.get_environment(name) if OS.has_environment(name) else fallback -static func _environment_string( - name: String, - legacy_name: String, - fallback: String, -) -> String: - var variable: String = _available_environment_variable(name, legacy_name) - return OS.get_environment(variable) if not variable.is_empty() else fallback - - -static func _environment_int( - name: String, - legacy_name: String, - fallback: int, -) -> int: - var variable: String = _available_environment_variable(name, legacy_name) +static func _environment_int(name: String, fallback: int) -> int: return ( - _parse_int(OS.get_environment(variable), fallback) - if not variable.is_empty() else fallback + _parse_int(OS.get_environment(name), fallback) + if OS.has_environment(name) else fallback ) -static func _environment_bool( - name: String, - legacy_name: String, - fallback: bool, -) -> bool: - var variable: String = _available_environment_variable(name, legacy_name) - if variable.is_empty(): +static func _environment_bool(name: String, fallback: bool) -> bool: + if not OS.has_environment(name): return fallback - var value: String = OS.get_environment(variable).strip_edges().to_lower() + var value: String = OS.get_environment(name).strip_edges().to_lower() return value in ["1", "true", "yes", "on"] diff --git a/settings/controller_mapping_manager.gd b/settings/controller_mapping_manager.gd index 278022e..8c17e7f 100644 --- a/settings/controller_mapping_manager.gd +++ b/settings/controller_mapping_manager.gd @@ -84,7 +84,7 @@ const ROLE_LABELS: Dictionary = { ROLE_LB: "focus chat or world", ROLE_RB: "primary action", ROLE_POINTER_MODIFIER: "virtual mouse modifier", - ROLE_CAMERA_ZOOM: "zoom modifier (+RT)", + ROLE_CAMERA_ZOOM: "camera zoom", ROLE_SELECT: "chat", ROLE_START: "pause", ROLE_LEFT_STICK_CLICK: "sprint", @@ -96,7 +96,7 @@ const ROLE_LABELS: Dictionary = { ROLE_LEFT_STICK_X: "move left / right", ROLE_LEFT_STICK_Y: "move up / down", ROLE_RIGHT_STICK_X: "camera left / right", - ROLE_RIGHT_STICK_Y: "camera up / down (+RT to zoom)", + ROLE_RIGHT_STICK_Y: "camera up / down", } const ROLE_PROMPTS: Dictionary = { diff --git a/settings/keyboard_mouse_mapping_manager.gd b/settings/keyboard_mouse_mapping_manager.gd index 54dacc8..591bc52 100644 --- a/settings/keyboard_mouse_mapping_manager.gd +++ b/settings/keyboard_mouse_mapping_manager.gd @@ -86,8 +86,8 @@ const ROLE_LABELS: Dictionary = { ROLE_PRIMARY_ACTION: "primary action", ROLE_ALTERNATE_REEL: "alternate reel", ROLE_CAMERA_DRAG: "rotate camera", - ROLE_CAMERA_ZOOM_IN: "hotbar select (+SHIFT to zoom)", - ROLE_CAMERA_ZOOM_OUT: "hotbar select (+SHIFT to zoom)", + ROLE_CAMERA_ZOOM_IN: "camera zoom in", + ROLE_CAMERA_ZOOM_OUT: "camera zoom out", ROLE_PLAYER_MENU: "player menu", ROLE_TACKLE_BOX: "tackle box", ROLE_PROP_BOOK: "prop book", diff --git a/settings/player_settings_manager.gd b/settings/player_settings_manager.gd index 362abc9..3fd2a35 100644 --- a/settings/player_settings_manager.gd +++ b/settings/player_settings_manager.gd @@ -7,7 +7,7 @@ const TEMP_PATH: String = "user://player_settings.json.tmp" const BACKUP_PATH: String = "user://player_settings.json.backup" const SILENT_VOLUME_DB: float = -80.0 const HEADLESS_WRITE_ENVIRONMENT: String = ( - "straywild_ISOLATED_VALIDATION_STORAGE" + "NETFISHING_ISOLATED_VALIDATION_STORAGE" ) signal settings_changed(settings: PlayerSettings) diff --git a/tests/art_tools_validation.gd b/tests/art_tools_validation.gd index 146fb4e..3bc4633 100644 --- a/tests/art_tools_validation.gd +++ b/tests/art_tools_validation.gd @@ -19,15 +19,9 @@ func _run() -> void: for _frame: int in 8: await process_frame assert(bool(main.get("_application_initialized"))) - assert(bool(main.call( - "_apply_world", WorldLayout.STARTER_ISLAND, 1, true - ))) - assert(bool(main.call( - "_prepare_host_world", WorldLayout.STARTER_ISLAND, 1 - ))) assert(bool(main.call("_prepare_private_host"))) var save_manager := main.get("_save_manager") as PlayerSaveManager - assert(save_manager.initialize_new_game(1, WorldLayout.STARTER_ISLAND)) + assert(save_manager.initialize_new_game()) main.call("_enter_gameplay") await physics_frame await physics_frame @@ -100,7 +94,11 @@ func _run() -> void: assert(keyboard_mapping.reset_mapping()) await process_frame var shop_prompt_key := game_ui.get_node("%ShopPromptKey") as Label + var storage_prompt_message := game_ui.get_node( + "%StoragePromptMessage" + ) as Label assert(shop_prompt_key.text == "E") + assert(storage_prompt_message.text == "E open storage") var remapped_interact := InputEventKey.new() remapped_interact.physical_keycode = KEY_F remapped_interact.pressed = true @@ -110,6 +108,7 @@ func _run() -> void: )) await process_frame assert(shop_prompt_key.text == "F") + assert(storage_prompt_message.text == "F open storage") assert(keyboard_mapping.reset_mapping()) await process_frame assert(toolbar.get_parent() == chat_ui.get_parent()) @@ -306,17 +305,6 @@ func _run() -> void: assert(on_screen_keyboard.is_open()) on_screen_keyboard.call("_close_keyboard", true) assert(typed_chat_entry.has_focus()) - - # A deferred Standby bite has not started the fishing minigame yet. It must - # release fishing's input ownership so chat remains available until the - # player confirms the bite. - chat_fishing_spot.call("_set_fishing_input_priority", true) - chat_fishing_spot.call("_set_bite_confirmation_pending", true) - for _frame: int in 4: - await process_frame - assert(not chat_fishing_spot.is_fishing_input_priority_active()) - assert(chat_ui.is_open()) - chat_fishing_spot.call("_set_bite_confirmation_pending", false) var left_bumper := InputEventJoypadButton.new() left_bumper.button_index = JOY_BUTTON_LEFT_SHOULDER left_bumper.pressed = true @@ -417,12 +405,6 @@ func _run() -> void: ) assert(normal_camera.is_position_behind(chat_anchor)) assert(not free_camera.is_position_behind(chat_anchor)) - var shop_prompt := game_ui.get_node("%ShopPrompt") as Control - var storage_prompt := game_ui.get_node("%StoragePrompt") as Control - game_ui.set_shop_prompt_visible(true, chat_anchor) - game_ui.set_storage_prompt_visible(true, chat_anchor) - assert(shop_prompt.visible) - assert(storage_prompt.visible) chat_ui.show_local_speech("hello there friend") await process_frame assert(bool(player.get("_speech_mouth_active"))) diff --git a/tests/character_rig_validation.gd b/tests/character_rig_validation.gd index 2aece2b..c8fc57d 100644 --- a/tests/character_rig_validation.gd +++ b/tests/character_rig_validation.gd @@ -2,7 +2,7 @@ extends SceneTree const CHARACTER_SCENE: PackedScene = preload( - "res://art/exported/characters/base/straywild_base_character.glb" + "res://art/exported/characters/base/netfishing_base_character.glb" ) const EXPECTED_ANIMATIONS: Array[StringName] = [ diff --git a/tests/controller_mapping_validation.gd b/tests/controller_mapping_validation.gd index a5938d6..b93d475 100644 --- a/tests/controller_mapping_validation.gd +++ b/tests/controller_mapping_validation.gd @@ -14,22 +14,6 @@ func _init() -> void: func _run() -> void: - if ( - ControllerMappingManagerType.ROLE_LABELS[ - ControllerMappingManagerType.ROLE_CAMERA_ZOOM - ] != "zoom modifier (+RT)" - ): - push_error("controller zoom modifier label is misleading") - quit(1) - return - if ( - ControllerMappingManagerType.ROLE_LABELS[ - ControllerMappingManagerType.ROLE_RIGHT_STICK_Y - ] != "camera up / down (+RT to zoom)" - ): - push_error("controller vertical camera label omits the RT zoom chord") - quit(1) - return var manager := ControllerMappingManagerType.new() root.add_child(manager) await process_frame @@ -278,7 +262,7 @@ func _validate_manager(manager: ControllerMappingManagerType) -> String: func _validate_portmaster_launcher() -> String: - const launcher_path: String = "res://scripts/portmaster/straywild.sh" + const launcher_path: String = "res://scripts/portmaster/NETfishing.sh" if not FileAccess.file_exists(launcher_path): return "PortMaster launcher template is missing" var launcher: String = FileAccess.get_file_as_string(launcher_path) @@ -291,9 +275,9 @@ func _validate_portmaster_launcher() -> String: "guide:b8,start:b7,back:b6", "leftstick:b9", "rightstick:b12", - "straywild_controllerconfig=\"$GODOT_MUOS_MAPPING\"", - "GPTOKEYB_CONFIG=\"$GAMEDIR/straywild.gptk\"", - "$GPTOKEYB \"straywild.aarch64\" -c \"$GPTOKEYB_CONFIG\" &", + "netfishing_controllerconfig=\"$GODOT_MUOS_MAPPING\"", + "GPTOKEYB_CONFIG=\"$GAMEDIR/netfishing.gptk\"", + "$GPTOKEYB \"NETfishing.aarch64\" -c \"$GPTOKEYB_CONFIG\" &", "pm_platform_helper \"$GAME_EXECUTABLE\"", "\"$GAME_LAUNCHER\"", "\"$CONTROLLER_MAPPING_FILE\"", @@ -304,7 +288,7 @@ func _validate_portmaster_launcher() -> String: if "$'\\n'" in launcher: return "PortMaster launcher appends mappings across a Weston-unsafe newline" const game_launcher_path: String = ( - "res://scripts/portmaster/launch-straywild.sh" + "res://scripts/portmaster/launch-netfishing.sh" ) if not FileAccess.file_exists(game_launcher_path): return "PortMaster game launcher wrapper is missing" diff --git a/tests/controller_menu_accessibility_validation.gd b/tests/controller_menu_accessibility_validation.gd index 37e43d5..bf856d3 100644 --- a/tests/controller_menu_accessibility_validation.gd +++ b/tests/controller_menu_accessibility_validation.gd @@ -122,71 +122,15 @@ func _validate_primary_menu_navigation() -> void: _expect( play_button.icon != null and play_button.icon.resource_path - == "res://ui/icons/new_menu/play.png" - and play_button.text.is_empty(), - "The Play action is not presented as the large square icon button.", - ) - _expect( - is_equal_approx(play_button.size.x, play_button.size.y), - "The Play action is not square.", - ) - var online_button := title.get_node("%JoinGameButton") as Button - var settings_button := title.get_node("%SettingsButton") as Button - var credits_button := title.get_node("%CreditsButton") as Button - var close_button := title.get_node("%QuitButton") as Button - for secondary_button: Button in [ - online_button, - settings_button, - credits_button, - close_button, - ]: - _expect( - is_equal_approx( - secondary_button.size.x, - secondary_button.size.y, - ), - "A secondary title action is not square.", - ) - _expect( - is_equal_approx( - close_button.position.y + close_button.size.y - - online_button.position.y, - play_button.size.y, - ), - "The secondary title-action stack does not match Play's height.", + == "res://ui/icons/main_menu/continue.png", + "The Play action does not use the original Continue icon.", ) _expect( not (title.get_node("%NewGameButton") as Control).visible and not (title.get_node("%DeleteSaveButton") as Control).visible, "Legacy New/Delete title bubbles are still visible.", ) - _assert_neighbor( - play_button, - &"focus_neighbor_right", - title.get_node("%JoinGameButton") as Control, - ) - _assert_neighbor( - title.get_node("%JoinGameButton") as Control, - &"focus_neighbor_left", - play_button, - ) - _assert_neighbor( - title.get_node("%JoinGameButton") as Control, - &"focus_neighbor_bottom", - title.get_node("%SettingsButton") as Control, - ) - _assert_neighbor( - title.get_node("%SettingsButton") as Control, - &"focus_neighbor_bottom", - title.get_node("%CreditsButton") as Control, - ) - _assert_neighbor( - title.get_node("%CreditsButton") as Control, - &"focus_neighbor_bottom", - title.get_node("%QuitButton") as Control, - ) - for title_control: Control in title_controls: - _assert_directionally_reachable(title_control, title_controls) + _assert_directionally_reachable(title_controls.front(), title_controls) title.queue_free() await process_frame @@ -251,13 +195,6 @@ func _validate_save_slots_navigation() -> void: page.call("_select_page", &"saves", false) await process_frame var import_button := page.get_node("%ImportSlotButton") as Button - var actions := page.get_node("%Actions") as VBoxContainer - var secondary_actions := page.get_node("%SecondaryActions") as GridContainer - var play_slot := page.get_node("%PlaySlotButton") as Button - var rename_slot := page.get_node("%RenameSlotButton") as Button - var duplicate_slot := page.get_node("%DuplicateSlotButton") as Button - var export_slot := page.get_node("%ExportSlotButton") as Button - var delete_slot := page.get_node("%DeleteSlotButton") as Button _expect( saves_tab.find_valid_focus_neighbor(SIDE_BOTTOM) == import_button, "An empty Save Slots page does not lead from its tab to Import Save.", @@ -267,29 +204,6 @@ func _validate_save_slots_navigation() -> void: == page.get_node("%BackButton"), "An empty Save Slots page does not lead from Import Save to Back.", ) - _expect( - is_equal_approx(play_slot.size.x, actions.size.x), - "Save-slot Play does not span the full action width.", - ) - _expect( - secondary_actions.columns == 2 - and is_equal_approx(rename_slot.size.x, duplicate_slot.size.x) - and is_equal_approx(export_slot.size.x, delete_slot.size.x) - and is_equal_approx(rename_slot.position.y, duplicate_slot.position.y) - and is_equal_approx(export_slot.position.y, delete_slot.position.y) - and export_slot.position.y > rename_slot.position.y, - "Save-slot secondary actions are not arranged as a 2 by 2 grid.", - ) - var play_style := play_slot.get_theme_stylebox("normal") as StyleBoxFlat - _expect( - play_style != null and play_style.bg_color == UtilityPageStyle.GREEN, - "Save-slot Play does not use the green primary-action style.", - ) - _assert_neighbor(play_slot, &"focus_neighbor_bottom", rename_slot) - _assert_neighbor(rename_slot, &"focus_neighbor_right", duplicate_slot) - _assert_neighbor(rename_slot, &"focus_neighbor_bottom", export_slot) - _assert_neighbor(duplicate_slot, &"focus_neighbor_bottom", delete_slot) - _assert_neighbor(export_slot, &"focus_neighbor_right", delete_slot) page.queue_free() await process_frame @@ -308,9 +222,6 @@ func _validate_join_game_navigation() -> void: var address := page.get_node("%Address") as LineEdit var name_edit := page.get_node("%NameEdit") as LineEdit var server_list := page.get_node("%ServerList") as ItemList - var presence := page.get_node("%PresenceButton") as Button - var room_open := page.get_node("%RoomOpenButton") as Button - var room_listing := page.get_node("%RoomListingButton") as Button var refresh := page.get_node("%RefreshButton") as Button var join := page.get_node("%JoinButton") as Button var save := page.get_node("%SaveButton") as Button @@ -322,7 +233,6 @@ func _validate_join_game_navigation() -> void: var direct_content := page.get_node("%DirectContent") as Control var list_content := page.get_node("%ListContent") as Control var content_panel := page.get_node("%ContentPanel") as PanelContainer - var actions := page.get_node("%Actions") as HBoxContainer var modes: Array[Control] = [discover, friends, direct, saved, recent] var tab_overlap: float = ( discover.get_global_rect().end.y @@ -355,36 +265,9 @@ func _validate_join_game_navigation() -> void: _assert_neighbor(refresh, &"focus_neighbor_right", join) _assert_neighbor(join, &"focus_neighbor_bottom", back) _assert_neighbor(back, &"focus_neighbor_top", join) - _expect( - is_equal_approx( - join.get_global_rect().end.x, - actions.get_global_rect().end.x, - ), - "Discover Refresh and Join are not right-justified.", - ) var discover_controls: Array[Control] = modes.duplicate() discover_controls.append_array([server_list, refresh, join, back]) _assert_directionally_reachable(discover, discover_controls) - room_open.show() - room_listing.show() - _set_button_state(room_open, true) - _set_button_state(room_listing, true) - page.call("_configure_controller_navigation") - await process_frame - _assert_neighbor(room_open, &"focus_neighbor_right", room_listing) - _assert_neighbor(room_open, &"focus_neighbor_left", room_open) - _assert_neighbor(room_listing, &"focus_neighbor_left", room_open) - _assert_neighbor(room_listing, &"focus_neighbor_bottom", server_list) - var hosted_discover_controls: Array[Control] = modes.duplicate() - hosted_discover_controls.append_array([ - room_open, - room_listing, - server_list, - refresh, - join, - back, - ]) - _assert_directionally_reachable(discover, hosted_discover_controls) var rooms: Array[Dictionary] = [ { "room_id": "controller-default-room", @@ -410,36 +293,16 @@ func _validate_join_game_navigation() -> void: ) page.set("_mode", JoinGamePage.Mode.FRIENDS) - (page.get_node("%OnlineControls") as Control).hide() - presence.show() page.call("_configure_controller_navigation") await process_frame _assert_neighbor(friends, &"focus_neighbor_bottom", server_list) _assert_neighbor(server_list, &"focus_neighbor_top", friends) - _assert_neighbor(server_list, &"focus_neighbor_bottom", presence) - _assert_neighbor(presence, &"focus_neighbor_right", refresh) - _assert_neighbor(refresh, &"focus_neighbor_right", join) - _expect( - is_equal_approx( - presence.get_global_rect().position.x, - actions.get_global_rect().position.x, - ), - "Friend presence is not left-justified in the action row.", - ) - _expect( - is_equal_approx( - join.get_global_rect().end.x, - actions.get_global_rect().end.x, - ), - "Friends Refresh and Join are not right-justified.", - ) var friend_controls: Array[Control] = modes.duplicate() - friend_controls.append_array([server_list, presence, refresh, join, back]) + friend_controls.append_array([server_list, refresh, join, back]) _assert_directionally_reachable(friends, friend_controls) list_content.hide() direct_content.show() - presence.hide() address.show() address.editable = true server_list.hide() @@ -1231,12 +1094,12 @@ func _validate_profile_voice_navigation() -> void: kat_down != null and pitch_grid.is_ancestor_of(kat_down), "Down from the voice-set row does not enter the pitch row.", ) - if OS.has_environment("straywild_PROFILE_VOICE_CAPTURE"): + if OS.has_environment("NETFISHING_PROFILE_VOICE_CAPTURE"): await RenderingServer.frame_post_draw var capture := root.get_viewport().get_texture().get_image() _expect( capture.save_png(OS.get_environment( - "straywild_PROFILE_VOICE_CAPTURE" + "NETFISHING_PROFILE_VOICE_CAPTURE" )) == OK, "The profile voice-page capture could not be saved.", ) @@ -1356,24 +1219,6 @@ func _validate_player_menu_nested_controller_back() -> void: == LogbookPageType.ControllerZone.ENTRIES, "Global player-menu Back did not return Logbook to creature selection.", ) - logbook_page.call("_set_index_open", true, false) - logbook_page.set( - "_controller_zone", - LogbookPageType.ControllerZone.INDEX, - ) - _expect( - bool(menu.call("consume_escape")), - "Global player-menu Back did not consume the Logbook index zone.", - ) - _expect( - menu.visible and not bool(logbook_page.get("_index_open")), - "Global player-menu Back did not return from the Logbook index page.", - ) - _expect( - int(logbook_page.get("_controller_zone")) - == LogbookPageType.ControllerZone.TABS, - "Global player-menu Back did not return Logbook index focus to tabs.", - ) var net_page := menu.get("_the_net_page") as Control net_page.set("_active", true) diff --git a/tests/controller_ui_navigation_validation.gd b/tests/controller_ui_navigation_validation.gd index 24f39f9..e1169f9 100644 --- a/tests/controller_ui_navigation_validation.gd +++ b/tests/controller_ui_navigation_validation.gd @@ -266,22 +266,22 @@ func _validate_four_by_three_centering() -> void: func _validate_low_end_profile_contract() -> void: var launcher: String = FileAccess.get_file_as_string( - "res://scripts/portmaster/straywild.sh" + "res://scripts/portmaster/NETfishing.sh" ) - assert(launcher.contains("straywild_PERFORMANCE_PROFILE:-")) + assert(launcher.contains("NETFISHING_PERFORMANCE_PROFILE:-")) assert(launcher.contains("$CONFDIR/performance_profile")) assert(launcher.contains("normal)")) assert(launcher.contains("light|\"\")")) - assert(launcher.contains("straywild_PERFORMANCE_PROFILE=normal")) - assert(launcher.contains("straywild_PERFORMANCE_PROFILE=light")) - assert(launcher.contains("straywild_LOW_END=1")) + assert(launcher.contains("NETFISHING_PERFORMANCE_PROFILE=normal")) + assert(launcher.contains("NETFISHING_PERFORMANCE_PROFILE=light")) + assert(launcher.contains("NETFISHING_LOW_END=1")) assert(launcher.contains("--max-fps 30")) assert(launcher.contains("--audio-output-latency 40")) var builder: String = FileAccess.get_file_as_string( "res://scripts/build_portmaster.sh" ) assert(builder.contains("prepare_portmaster_assets.sh")) - assert(builder.contains("straywild-portmaster-export")) + assert(builder.contains("netfishing-portmaster-export")) var asset_profile: String = FileAccess.get_file_as_string( "res://scripts/prepare_portmaster_assets.sh" ) diff --git a/tests/controller_world_interaction_validation.gd b/tests/controller_world_interaction_validation.gd index 3d684cb..d9e77a5 100644 --- a/tests/controller_world_interaction_validation.gd +++ b/tests/controller_world_interaction_validation.gd @@ -23,24 +23,13 @@ func _run() -> void: bool(main.get("_application_initialized")), "application initialization failed", ) - var save_manager := main.get("_save_manager") as PlayerSaveManager - var world_layout: StringName = WorldLayout.GENERATED - var world_seed: int = PlayerSaveManager.DEFAULT_WORLD_SEED - _expect( - bool(main.call("_apply_world", world_layout, world_seed, true)), - "generated-world preparation failed", - ) - _expect( - bool(main.call("_prepare_host_world", world_layout, world_seed)), - "host-world preparation failed", - ) _expect( bool(main.call("_prepare_private_host")), "private host preparation failed", ) + var save_manager := main.get("_save_manager") as PlayerSaveManager _expect( - save_manager != null - and save_manager.initialize_new_game(world_seed, world_layout), + save_manager != null and save_manager.initialize_new_game(), "new-game initialization failed", ) main.call("_enter_gameplay") diff --git a/tests/dedicated_server_config_validation.gd b/tests/dedicated_server_config_validation.gd index 2125220..02a881d 100644 --- a/tests/dedicated_server_config_validation.gd +++ b/tests/dedicated_server_config_validation.gd @@ -15,7 +15,7 @@ func _initialize() -> void: func _run() -> void: var defaults := ConfigType.new() - defaults.set("data_directory", "/tmp/straywild-server") + defaults.set("data_directory", "/tmp/netfishing-server") defaults.call("_validate") assert(defaults.is_valid()) assert(not bool(defaults.get("public_listing"))) @@ -37,7 +37,7 @@ func _run() -> void: file.set_value("world", "seed", 928374) file.set_value("server", "public", true) file.set_value("server", "data_directory", "/tmp/configured-server") - file.set_value("discovery", "url", "https://discovery.straywild.io/") + file.set_value("discovery", "url", "https://discovery.netfishing.org/") file.set_value("privacy", "chat_logging", true) file.set_value( "privacy", @@ -59,7 +59,7 @@ func _run() -> void: assert(int(configured.get("max_players")) == 12) assert(int(configured.get("world_seed")) == 928374) assert(bool(configured.get("public_listing"))) - assert(str(configured.get("discovery_url")) == "https://discovery.straywild.io") + assert(str(configured.get("discovery_url")) == "https://discovery.netfishing.org") assert(bool(configured.get("chat_logging"))) assert( str(configured.get("chat_log_path")) diff --git a/tests/digging_prototype_validation.gd b/tests/digging_prototype_validation.gd index 95917a0..c19bf0b 100644 --- a/tests/digging_prototype_validation.gd +++ b/tests/digging_prototype_validation.gd @@ -11,15 +11,6 @@ const Gatherables: GatherableCatalog = preload( "res://gathering/catalog/gatherable_catalog.tres" ) -class PrimaryTerrainProvider: - extends Node3D - - var primary_meshes: Array[MeshInstance3D] = [] - - - func get_primary_terrain_meshes() -> Array[MeshInstance3D]: - return primary_meshes - func _initialize() -> void: call_deferred("_run") @@ -29,7 +20,6 @@ func _run() -> void: _validate_catalog_content() _validate_flat_shovel() await _validate_beach_authoring() - _validate_primary_terrain_provider() print("Digging prototype validation: PASS") quit() @@ -91,66 +81,6 @@ func _validate_beach_authoring() -> void: region.queue_free() -func _validate_primary_terrain_provider() -> void: - var fixture := Node3D.new() - fixture.name = "PrimaryTerrainFixture" - root.add_child(fixture) - var provider := PrimaryTerrainProvider.new() - provider.name = "Provider" - fixture.add_child(provider) - var clear_sand := _flat_surface_triangle(0.0, 0.0, &"sand") - var covered_sand := _flat_surface_triangle(10.0, 0.0, &"sand") - var covering_grass := _flat_surface_triangle(10.0, 0.01, &"grass_lite") - for mesh_instance: MeshInstance3D in [ - clear_sand, - covered_sand, - covering_grass, - ]: - provider.add_child(mesh_instance) - provider.primary_meshes.append(mesh_instance) - var buried_base := _flat_surface_triangle(20.0, 0.0, &"sand") - buried_base.name = "BuriedSandBase" - provider.add_child(buried_base) - var area := DiggableArea3D.new() - area.name = "DiggableArea" - area.area_id = &"provider_test" - area.terrain_source = NodePath("../Provider") - area.surface_materials = [&"sand"] - area.generation_bounds = Rect2(-20.0, -20.0, 40.0, 40.0) - fixture.add_child(area) - var triangles := area.get_surface_triangles() - assert(triangles.size() == 2) - var clear_center := Vector3(1.0 / 3.0, 0.0, 1.0 / 3.0) - var covered_center := Vector3(10.0 + 1.0 / 3.0, 0.0, 1.0 / 3.0) - assert(area.is_surface_point_valid(clear_center)) - assert(not area.is_surface_point_valid(covered_center)) - fixture.free() - - -func _flat_surface_triangle( - x_offset: float, - height: float, - material_name: StringName, -) -> MeshInstance3D: - var arrays: Array = [] - arrays.resize(Mesh.ARRAY_MAX) - arrays[Mesh.ARRAY_VERTEX] = PackedVector3Array([ - Vector3(x_offset, height, 0.0), - Vector3(x_offset, height, 1.0), - Vector3(x_offset + 1.0, height, 0.0), - ]) - arrays[Mesh.ARRAY_INDEX] = PackedInt32Array([0, 1, 2]) - var mesh := ArrayMesh.new() - mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, arrays) - var material := StandardMaterial3D.new() - material.resource_name = str(material_name) - mesh.surface_set_material(0, material) - var mesh_instance := MeshInstance3D.new() - mesh_instance.name = "Primary%s" % str(material_name).capitalize() - mesh_instance.mesh = mesh - return mesh_instance - - func _collect_meshes( root_node: Node, result: Array[MeshInstance3D], diff --git a/tests/economy_regression_validation.gd b/tests/economy_regression_validation.gd index 0728d82..523dbb3 100644 --- a/tests/economy_regression_validation.gd +++ b/tests/economy_regression_validation.gd @@ -31,14 +31,9 @@ func _run() -> void: for _frame: int in 8: await process_frame assert(bool(main.get("_application_initialized"))) - var session := main.get_node("%NetworkSession") as NetworkSession - assert(bool(main.call( - "_apply_world", WorldLayout.STARTER_ISLAND, 1, true - ))) - assert(session.set_host_world(WorldLayout.STARTER_ISLAND, 1)) assert(bool(main.call("_prepare_private_host"))) var save_manager := main.get("_save_manager") as PlayerSaveManager - assert(save_manager.initialize_new_game(1, WorldLayout.STARTER_ISLAND)) + assert(save_manager.initialize_new_game()) main.call("_enter_gameplay") for _frame: int in 8: await process_frame @@ -47,13 +42,14 @@ func _run() -> void: var catalog := main.get("fish_catalog") as FishPool var sale_service := main.get_node("%NetworkSaleService") as NetworkSaleService var shop_service := main.get_node("%NetworkShopService") as NetworkShopService + var session := main.get_node("%NetworkSession") as NetworkSession var reservations := ( main.get_node("%PlayerAssetReservationService") as PlayerAssetReservationService ) assert(player != null) assert(catalog != null and catalog.candidates.size() == 316) - assert(LogbookCatalog.ordered_species(catalog.candidates).size() == 314) + assert(LogbookCatalog.ordered_species(catalog.candidates).size() == 63) assert(sale_service != null) assert(shop_service != null) assert(session != null and session.is_host()) @@ -82,7 +78,7 @@ func _run() -> void: main, player, catalog, sale_service, reservations ) _test_host_backpack_purchase(player, shop_service) - await _test_host_home_upgrade(main, player, shop_service) + _test_host_storage_purchase(player, shop_service) assert(not sale_service.is_local_sale_pending()) assert(not shop_service.is_local_purchase_pending()) @@ -175,6 +171,7 @@ func _run_multiplayer_client() -> void: assert(player.inventory_layout.restore_backpack_level( PlayerInventoryLayout.MAX_BACKPACK_LEVEL )) + assert(player.cooler_capacity.restore_level(PlayerCoolerCapacity.MAX_LEVEL)) player.inventory.set_inventory_layout(null) var catch_ids: Array[StringName] = [] for fish: FishData in catalog.candidates: @@ -183,9 +180,6 @@ func _run_multiplayer_client() -> void: var fish_catch := _make_catch(fish) assert(player.inventory.add_catch(fish_catch)) catch_ids.append(fish_catch.catch_id) - if catch_ids.size() == NetworkSaleProtocol.MAX_CATCHES_PER_REQUEST: - break - assert(catch_ids.size() == NetworkSaleProtocol.MAX_CATCHES_PER_REQUEST) player.inventory.set_inventory_layout(player.inventory_layout) await create_timer(1.0).timeout _sale_result.clear() @@ -201,6 +195,7 @@ func _run_multiplayer_client() -> void: assert(not player.inventory.contains_catch_id(catch_id)) assert(not sale_service.is_local_sale_pending()) assert(player.inventory_layout.restore_backpack_level(0)) + assert(player.cooler_capacity.restore_level(0)) var interaction := main.get("_shop_interaction") as FishingShopInteraction player.global_position = interaction.global_position @@ -556,58 +551,30 @@ func _test_host_backpack_purchase( for expected_capacity: int in [18, 27, 36]: _shop_result.clear() assert(not shop_service.request_backpack_capacity_upgrade().is_empty()) - assert( - not _shop_result.is_empty() and bool(_shop_result[1]), - "Backpack purchase failed: %s" % [_shop_result], - ) + assert(not _shop_result.is_empty() and bool(_shop_result[1])) assert(layout.get_inventory_capacity() == expected_capacity) assert(player.wallet.get_balance() == balance_before - total_cost) assert(layout.get_next_backpack_cost() == -1) -func _test_host_home_upgrade( - main: Node, +func _test_host_storage_purchase( player: Player, shop_service: NetworkShopService, ) -> void: - var interaction := main.get( - "_rv_upgrade_shop_interaction" - ) as RVUpgradeInteraction - var home_state := main.get("_home_state") as PlayerHomeState var capacity := player.cooler_capacity - assert(interaction != null and home_state != null) - player.global_position = interaction.global_position - for _frame: int in 4: - await physics_frame - assert(interaction.is_avatar_in_range(player)) - assert(home_state.get_tier() == PlayerHomeState.STARTER_TIER) - assert( - interaction.get_dialogue_text(home_state.get_tier()) - == RVUpgradeInteraction.TENT_DIALOGUE_TEXT - ) assert(capacity.get_capacity() == 9) - var upgrade_cost: int = home_state.get_next_upgrade_cost() - assert(upgrade_cost == PlayerHomeState.HOME_UPGRADE_COSTS.front()) - assert(upgrade_cost == 50) - if player.wallet.get_balance() < upgrade_cost: - assert(player.wallet.credit( - upgrade_cost - player.wallet.get_balance() - )) + var total_cost: int = 0 + for cost: int in PlayerCoolerCapacity.EXPANSION_COSTS: + total_cost += cost + if player.wallet.get_balance() < total_cost: + assert(player.wallet.credit(total_cost - player.wallet.get_balance())) var balance_before := player.wallet.get_balance() - _shop_result.clear() - assert(not shop_service.request_home_upgrade().is_empty()) - assert( - not _shop_result.is_empty() and bool(_shop_result[1]), - "Home purchase failed: %s" % [_shop_result], - ) - assert(home_state.get_tier() == PlayerHomeState.STARTER_RV_TIER) - assert( - interaction.get_dialogue_text(home_state.get_tier()) - == RVUpgradeInteraction.RV_DIALOGUE_TEXT - ) - assert(capacity.get_capacity() == 18) - assert(player.wallet.get_balance() == balance_before - upgrade_cost) - assert(home_state.get_next_upgrade_cost() == -1) + for expected_capacity: int in [18, 27, 36, 45, 54, 63, 72]: + _shop_result.clear() + assert(not shop_service.request_cooler_capacity_upgrade().is_empty()) + assert(not _shop_result.is_empty() and bool(_shop_result[1])) + assert(capacity.get_capacity() == expected_capacity) + assert(player.wallet.get_balance() == balance_before - total_cost) assert(capacity.get_next_cost() == -1) @@ -1001,21 +968,12 @@ func _test_fishing_shop_sale_ui( reserved_catch.catch_id, ) assert(staged.is_empty()) - var sell_button := sell_inventory.get("_sell_button") as Button - var all_button := sell_inventory.get("_all_button") as Button - assert(sell_button != null and sell_button.text == "sell") - assert(all_button != null and all_button.text == "all") - assert(sell_button.get_parent() == all_button.get_parent()) - assert( - sell_button.size_flags_horizontal == Control.SIZE_EXPAND_FILL - and all_button.size_flags_horizontal == Control.SIZE_EXPAND_FILL + sell_inventory.call( + "_stage", + PlayerInventoryLayout.EntryKind.CATCH, + fish_catch.catch_id, ) - sell_inventory.call("_stage_all_eligible") assert(staged.has(PlayerInventoryLayout.catch_key(fish_catch.catch_id))) - assert(not staged.has( - PlayerInventoryLayout.catch_key(reserved_catch.catch_id) - )) - assert(all_button.disabled) assert((sell_inventory.get("_feedback") as Label).text.is_empty()) var source_grid := sell_inventory.get("_inventory_grid") as GeneralInventoryGrid var staged_source_found := false @@ -1024,19 +982,17 @@ func _test_fishing_shop_sale_ui( staged_source_found = bool(source_slot.get("_staged")) break assert(staged_source_found) - var expected_all_payout := int(sell_inventory.call("_calculate_total")) - assert(expected_all_payout >= fish_catch.sale_value) var feedback := sell_inventory.get("_feedback") as Label var total_label := sell_inventory.get("_total_label") as Label - var sale_buttons := sell_button.get_parent() as HBoxContainer + var sell_button := sell_inventory.get("_sell_button") as Button assert(feedback.get_index() < total_label.get_parent().get_index()) - assert(total_label.get_parent().get_index() < sale_buttons.get_index()) + assert(total_label.get_parent().get_index() < sell_button.get_index()) _sale_result.clear() sell_inventory.call("_submit_sale") await process_frame assert(not _sale_result.is_empty() and bool(_sale_result[1])) assert(not player.inventory.contains_catch_id(fish_catch.catch_id)) - assert(player.wallet.get_balance() == balance_before + expected_all_payout) + assert(player.wallet.get_balance() == balance_before + fish_catch.sale_value) assert(not sale_service.is_local_sale_pending()) assert(reservations.release(reservation_id)) await _activate_pointer_control(shop_tabs[0] as Button, ui_viewport) diff --git a/tests/fish_catalog_content_validation.gd b/tests/fish_catalog_content_validation.gd index 82f5604..fb5f9e4 100644 --- a/tests/fish_catalog_content_validation.gd +++ b/tests/fish_catalog_content_validation.gd @@ -37,26 +37,6 @@ const PelicanBuyer = preload("res://economy/buyers/pelicans.tres") const StarterRegionScene = preload( "res://world/regions/starter_island_region.tscn" ) -const SharedFishPlaceholder: Texture2D = preload( - "res://art/exported/creatures/fish_placeholder.png" -) -const FINAL_CREATURE_CATALOG_NUMBERS: Array[int] = [ - 101, 102, 103, 104, 105, 106, 107, 201, 403, 701, 704, 801, - 802, 805, 806, 808, 2502, 2504, 2505, 2508, 2601, 2801, 2802, - 2803, 2804, 2806, 2807, 3002, 3102, 3103, 3104, 3107, 3201, - 3401, 3902, 3906, 4101, 4401, 4701, 5001, 5702, 5901, 5902, - 5903, 5904, 6001, 6103, 6406, 6601, 6801, 6804, 6807, 6901, - 6902, 6904, 6905, 7101, 7403, 7506, 7508, -] - -const ACTIVE_CATALOG_COUNT: int = 314 -const INACTIVE_CATALOG_COUNT: int = 2 -const FISHING_SPECIES_COUNT: int = 310 -const GENERATED_POND_COUNT: int = 33 -const GENERATED_LAKE_COUNT: int = 20 -const GENERATED_RIVER_COUNT: int = 53 -const STARTER_POND_COUNT: int = 106 -const OCEAN_COUNT: int = 204 const ORIGINAL_IDS: Array[StringName] = [ &"bluegill", &"bass", &"carp", &"sunfish", @@ -102,6 +82,23 @@ const NEW_FRESH_WATER_IDS: Array[StringName] = [ &"bowfin", &"sturgeon_lake", &"gar_longnose", &"paddlefish", &"sturgeon_shovelnose", &"gar_spotted", &"lungfish_west_african", ] +const GENERATED_POND_IDS: Array[StringName] = [ + &"bowfin", &"gar_spotted", &"lungfish_west_african", + &"catfish_channel", &"catfish_white", &"carp", + &"goldfish_bubbleeye", &"goldfish", &"bluegill", +] +const GENERATED_LAKE_IDS: Array[StringName] = [ + &"sturgeon_lake", &"trout_golden", &"chub_lake", &"saugeye", + &"walleye", &"goby_round", +] +const GENERATED_RIVER_IDS: Array[StringName] = [ + &"gar_longnose", &"paddlefish", &"sturgeon_shovelnose", + &"trout_cutthroat", &"trout_rainbow", &"catfish_blue", + &"catfish_flathead", &"chub_european", &"chub_flame", &"sauger", + &"trout_steelhead", +] + + func _initialize() -> void: call_deferred("_run") @@ -118,35 +115,21 @@ func _run() -> void: func _validate_generated_habitat_pools() -> void: - var expected_counts: Dictionary = { - GeneratedPondPool: GENERATED_POND_COUNT, - GeneratedLakePool: GENERATED_LAKE_COUNT, - GeneratedRiverPool: GENERATED_RIVER_COUNT, + var expected_by_pool: Dictionary = { + GeneratedPondPool: GENERATED_POND_IDS, + GeneratedLakePool: GENERATED_LAKE_IDS, + GeneratedRiverPool: GENERATED_RIVER_IDS, } - var freshwater_ids: Dictionary[StringName, bool] = {} - for pool: FishPoolType in expected_counts: - assert(pool.candidates.size() == int(expected_counts[pool])) - for fish: FishDataType in pool.candidates: + for pool: FishPoolType in expected_by_pool: + var expected_ids: Array[StringName] = expected_by_pool[pool] + assert(pool.candidates.size() == expected_ids.size()) + for fish_id: StringName in expected_ids: + var fish: FishDataType = Catalog.get_fish_by_id(fish_id) assert(fish != null and fish.is_fishable()) - assert(not freshwater_ids.has(fish.id)) - freshwater_ids[fish.id] = true + assert(pool.get_fish_by_id(fish_id) == fish) assert(fish.is_allowed_in_water(WaterType.Type.FRESH_WATER)) - assert(freshwater_ids.size() == STARTER_POND_COUNT) - assert(PondPool.candidates.size() == STARTER_POND_COUNT) - for fish: FishDataType in PondPool.candidates: - assert(freshwater_ids.has(fish.id)) - assert(OceanPool.candidates.size() == OCEAN_COUNT) - var ocean_ids: Dictionary[StringName, bool] = {} - for fish: FishDataType in OceanPool.candidates: - assert(fish != null and fish.is_fishable()) - assert(not ocean_ids.has(fish.id)) - ocean_ids[fish.id] = true - assert(fish.is_allowed_in_water(WaterType.Type.SALT_WATER)) - for fish: FishDataType in Catalog.candidates: - if not fish.is_fishable(): - continue - assert(freshwater_ids.has(fish.id) != ocean_ids.has(fish.id)) - assert(freshwater_ids.size() + ocean_ids.size() == FISHING_SPECIES_COUNT) + assert(GeneratedPondPool.get_fish_by_id(&"pomfret_white") == null) + assert(GeneratedPondPool.get_fish_by_id(&"mackerel_atlantic") == null) assert(GeneratedPondPool.get_fish_by_id(&"gar_longnose") == null) assert(GeneratedRiverPool.get_fish_by_id(&"gar_longnose") != null) assert(GeneratedRiverPool.get_fish_by_id(&"goby_round") == null) @@ -160,7 +143,7 @@ func _validate_weight_based_display_scale() -> void: continue assert(fish.is_selectable()) assert(fish.weight_min_lb > 0.0) - assert(fish.weight_max_lb <= 500000.0) + assert(fish.weight_max_lb <= 1000.0) var minimum_scale: float = fish.get_display_scale_for_weight( fish.weight_min_lb ) @@ -189,13 +172,10 @@ func _validate_weight_based_display_scale() -> void: func _validate_catalog_and_pools() -> void: assert(Catalog.candidates.size() == 316) - assert(PondPool.candidates.size() == STARTER_POND_COUNT) - assert(OceanPool.candidates.size() == OCEAN_COUNT) + assert(PondPool.candidates.size() == 26) + assert(OceanPool.candidates.size() == 34) var active_count: int = 0 var inactive_count: int = 0 - var fishing_count: int = 0 - var final_art_count: int = 0 - var placeholder_fishing_count: int = 0 var catalog_numbers: Dictionary[int, bool] = {} for fish: FishDataType in Catalog.candidates: assert(fish != null and not fish.id.is_empty()) @@ -213,30 +193,9 @@ func _validate_catalog_and_pools() -> void: else: inactive_count += 1 assert(not fish.is_selectable()) - if fish.catalog_number not in FINAL_CREATURE_CATALOG_NUMBERS: - assert(fish.display_texture == null) - if fish.catalog_number in FINAL_CREATURE_CATALOG_NUMBERS: - var expected_path := ( - "res://art/exported/creatures/%d.png" - % fish.catalog_number - ) - var expected_texture: Texture2D = load( - expected_path - ) as Texture2D - assert(expected_texture != null) - assert(fish.display_texture == expected_texture) - final_art_count += 1 - if fish.collection_method == FishDataType.CollectionMethod.FISHING: - fishing_count += 1 - assert(fish.active) - if fish.catalog_number not in FINAL_CREATURE_CATALOG_NUMBERS: - assert(fish.display_texture == SharedFishPlaceholder) - placeholder_fishing_count += 1 - assert(active_count == ACTIVE_CATALOG_COUNT) - assert(inactive_count == INACTIVE_CATALOG_COUNT) - assert(fishing_count == FISHING_SPECIES_COUNT) - assert(final_art_count == FINAL_CREATURE_CATALOG_NUMBERS.size()) - assert(placeholder_fishing_count == 253) + assert(fish.display_texture == null) + assert(active_count == 63) + assert(inactive_count == 253) var chum: FishDataType = Catalog.get_fish_by_id(&"salmon_chum") assert(chum != null) assert(chum.get_season_text() == "fall") @@ -274,12 +233,12 @@ func _validate_catalog_and_pools() -> void: ) == chum ) seasonal_collection.free() - var inactive_fish: FishDataType = Catalog.get_fish_by_id(&"crab_dungeness") + var inactive_fish: FishDataType = Catalog.get_fish_by_id(&"mudskipper_atlantic") assert(inactive_fish != null and not inactive_fish.active) var inactive_pool := FishPoolType.new() inactive_pool.candidates = [inactive_fish] var inactive_context := FishingContextType.new() - inactive_context.water_type = WaterType.Type.SALT_WATER + inactive_context.water_type = WaterType.Type.FRESH_WATER var inactive_collection := CollectionLogType.new() var inactive_selector := FishSelectorType.new() inactive_selector.use_deterministic_test_seed = true @@ -465,15 +424,11 @@ func _validate_authoritative_water_filter() -> void: ocean_region.location_tags = [&"coast", &"ocean"] var stale_salt_pool_region := FishableWaterRegion.new() stale_salt_pool_region.water_type = WaterType.Type.FRESH_WATER - var salt_only_pool := FishPoolType.new() - salt_only_pool.candidates = [Catalog.get_fish_by_id(&"bass")] - stale_salt_pool_region.fish_pool = salt_only_pool + stale_salt_pool_region.fish_pool = OceanPool stale_salt_pool_region.location_tags = [&"starter_pond"] var stale_fresh_pool_region := FishableWaterRegion.new() stale_fresh_pool_region.water_type = WaterType.Type.SALT_WATER - var fresh_only_pool := FishPoolType.new() - fresh_only_pool.candidates = [Catalog.get_fish_by_id(&"bluegill")] - stale_fresh_pool_region.fish_pool = fresh_only_pool + stale_fresh_pool_region.fish_pool = PondPool stale_fresh_pool_region.location_tags = [&"coast", &"ocean"] var evidence := {"discovered_fish_ids": []} assert( diff --git a/tests/fish_hotbar_showcase_validation.gd b/tests/fish_hotbar_showcase_validation.gd index af3644b..c2d687c 100644 --- a/tests/fish_hotbar_showcase_validation.gd +++ b/tests/fish_hotbar_showcase_validation.gd @@ -104,10 +104,7 @@ func _run() -> void: var hotbar_data: Dictionary = parsed["hotbar"] assert(typeof(hotbar_data.get("fish_slots")) == TYPE_ARRAY) assert(str((hotbar_data["fish_slots"] as Array)[1]) == fish_catch.catch_id) - assert(int(parsed["save_version"]) == 11) - assert(not PlayerHomeState.sanitize_save_data( - parsed.get("home", {}) - ).is_empty()) + assert(int(parsed["save_version"]) == 10) assert( int(parsed["experience"]["total_experience"]) == 125 @@ -200,8 +197,8 @@ func _run() -> void: var invalid_state: Dictionary = valid_state.duplicate(true) invalid_state["display_scale"] = 1000.0 assert(not NetworkFishShowcaseProtocol.validate_state(invalid_state)) - assert(NetworkProtocol.PROTOCOL_VERSION == 12) - assert(NetworkProtocol.ENET_CHANNEL_COUNT == 18) + assert(NetworkProtocol.PROTOCOL_VERSION == 10) + assert(NetworkProtocol.ENET_CHANNEL_COUNT == 17) assert( NetworkProtocol.FISH_QUALITY_CAPABILITY == "fish_quality_v1" diff --git a/tests/fish_quality_validation.gd b/tests/fish_quality_validation.gd index 99a2169..3441344 100644 --- a/tests/fish_quality_validation.gd +++ b/tests/fish_quality_validation.gd @@ -26,8 +26,8 @@ func _run() -> void: _validate_collection_mastery() _validate_version_four_migration() _validate_fishing_protocol_v2() - assert(NetworkProtocol.PROTOCOL_VERSION == 12) - assert(NetworkProtocol.ENET_CHANNEL_COUNT == 18) + assert(NetworkProtocol.PROTOCOL_VERSION == 10) + assert(NetworkProtocol.ENET_CHANNEL_COUNT == 17) assert(NetworkProtocol.MOVEMENT_ANIMATION_CHANNEL == 11) assert( NetworkProtocol.MOVEMENT_RECONCILIATION_CAPABILITY @@ -485,7 +485,7 @@ func _validate_version_four_migration() -> void: version_four, 4, ) - assert(int(migrated.get("save_version", -1)) == 11) + assert(int(migrated.get("save_version", -1)) == 10) assert(int((migrated["experience"] as Dictionary)["total_experience"]) == 0) assert( is_equal_approx( @@ -509,7 +509,4 @@ func _validate_version_four_migration() -> void: assert( PlayerJobService.validate_save_data(migrated.get("jobs", {})) ) - assert(not PlayerHomeState.sanitize_save_data( - migrated.get("home", {}) - ).is_empty()) manager.queue_free() diff --git a/tests/fishing_authority_validation.gd b/tests/fishing_authority_validation.gd index b3c17dd..e7c87bb 100644 --- a/tests/fishing_authority_validation.gd +++ b/tests/fishing_authority_validation.gd @@ -265,15 +265,6 @@ func _run() -> void: assert(bool(water_recovery.get("_prior_movement_enabled"))) assert(bool(water_recovery.get("_prior_camera_input_enabled"))) assert(not pause_menu.visible) - var test_world := main.get_node("TestWorld") as TestWorld - assert(test_world != null) - var recovery_entry := water_recovery.get("_entry_position") as Vector3 - var resolved_recovery := water_recovery.call( - "_resolve_recovery_position" - ) as Vector3 - assert(resolved_recovery.is_equal_approx( - test_world.get_water_recovery_position(recovery_entry) - )) water_recovery.call("_finish_recovery") assert(player.is_movement_enabled()) diff --git a/tests/fishing_multiplayer_validation.gd b/tests/fishing_multiplayer_validation.gd index 9d7ef7f..73de1bd 100644 --- a/tests/fishing_multiplayer_validation.gd +++ b/tests/fishing_multiplayer_validation.gd @@ -63,38 +63,12 @@ func _run_host() -> void: var spawn_service := main.get_node( "%PlayerSpawnService" ) as PlayerSpawnService - var network_home := main.get_node( - "%NetworkHomeService" - ) as NetworkHomeService - var home_world := main.get_node("%HomeWorldService") as HomeWorldService var remote_avatar: Player = spawn_service.get_avatar(remote_peer_id) assert(remote_avatar != null) assert(remote_avatar.bag.get_quantity(&"worms") == 0) - var remote_record := session.get_peer_record(remote_peer_id) - assert(remote_record != null) - assert(await _wait_for_home( - network_home, remote_record.identity_fingerprint - )) - var exterior_spawn: Transform3D = home_world.get_exterior_spawn_transform( - remote_record.identity_fingerprint - ) - var exterior_deadline: int = Time.get_ticks_msec() + 5000 - while ( - Time.get_ticks_msec() < exterior_deadline - and remote_avatar.global_position.distance_to(exterior_spawn.origin) > 0.25 - ): - await physics_frame - assert(remote_avatar.global_position.distance_to(exterior_spawn.origin) <= 0.25) - # Give the client enough local frames to observe the initial RV-door spawn - # before this test publishes its separate fishing-position teleport. - for _frame: int in 30: - await physics_frame - var cast_setup: Dictionary = await _find_clear_fishing_setup( - main, remote_avatar - ) - assert(not cast_setup.is_empty(), "no clear fishing setup was found") - var expected_position: Vector3 = cast_setup["position"] - var expected_direction: Vector3 = cast_setup["direction"] + remote_avatar.global_position = Vector3(-0.5, 3.95, 2.1) + var remote_visuals := remote_avatar.get_node("Visuals") as Node3D + remote_visuals.rotation.y = PI * 0.5 session.publish_authoritative_teleport(remote_peer_id) var aiming_deadline: int = Time.get_ticks_msec() + 15000 while ( @@ -108,7 +82,7 @@ func _run_host() -> void: == Player.FishingVisualPhase.CASTING ) var remote_position_error := ( - remote_avatar.global_position - expected_position + remote_avatar.global_position - Vector3(-0.5, 3.95, 2.1) ) remote_position_error.y = 0.0 assert( @@ -116,7 +90,7 @@ func _run_host() -> void: "remote casting position drifted: %s" % remote_avatar.global_position ) assert( - remote_avatar.get_facing_direction().dot(expected_direction) > 0.99, + remote_avatar.get_facing_direction().dot(Vector3.LEFT) > 0.99, "remote casting facing drifted: %s" % remote_avatar.get_facing_direction() ) @@ -222,23 +196,6 @@ func _run_client() -> void: joined = true break assert(joined) - var network_home := main.get_node( - "%NetworkHomeService" - ) as NetworkHomeService - var home_world := main.get_node("%HomeWorldService") as HomeWorldService - var local_fingerprint: String = session.get_local_identity_fingerprint() - assert(await _wait_for_home(network_home, local_fingerprint)) - var player := main.get("_player") as Player - var exterior_spawn: Transform3D = ( - home_world.get_exterior_spawn_transform(local_fingerprint) - ) - var home_spawn_deadline: int = Time.get_ticks_msec() + 5000 - while ( - Time.get_ticks_msec() < home_spawn_deadline - and player.global_position.distance_to(exterior_spawn.origin) > 0.25 - ): - await physics_frame - assert(player.global_position.distance_to(exterior_spawn.origin) <= 0.25) var service := main.get_node( "%NetworkFishingService" @@ -249,6 +206,7 @@ func _run_client() -> void: cast_rejections.append(message) ) var fishing_spot := main.get_node("%FishingSpot") as FishingSpotType + var player := main.get("_player") as Player var item_catalog := main.get("item_catalog") as ItemCatalog var worms: ItemData = item_catalog.get_item_by_id(&"worms") if player.bag.get_quantity(&"worms") == 0: @@ -259,20 +217,15 @@ func _run_client() -> void: "Visuals/CharacterRig/AnimationPlayer" ) as AnimationPlayer assert(character_animation_player.has_animation(&"retract_sit")) - # The host chooses and publishes a clear target after both RV manifests have - # settled. Waiting for that authoritative teleport also coordinates the - # animation-observation window between these two independent processes. - var placement_deadline: int = Time.get_ticks_msec() + 10000 + var placement_deadline: int = Time.get_ticks_msec() + 5000 while ( Time.get_ticks_msec() < placement_deadline - and player.global_position.distance_to(exterior_spawn.origin) <= 1.0 + and player.global_position.distance_to(Vector3(-0.5, 3.95, 2.1)) + > 0.25 ): await physics_frame - assert(player.global_position.distance_to(exterior_spawn.origin) > 1.0) - for _frame: int in 2: - await physics_frame - var expected_position: Vector3 = player.global_position - var expected_direction: Vector3 = player.get_facing_direction() + assert(player.global_position.distance_to(Vector3(-0.5, 3.95, 2.1)) <= 0.25) + assert(player.get_facing_direction().dot(Vector3.LEFT) > 0.99) player.set_casting_visual() assert( @@ -288,10 +241,7 @@ func _run_client() -> void: assert(player.is_sitting()) for _frame: int in 15: await physics_frame - assert(fishing_spot.state == FishingSpotType.FishingState.READY) - assert(fishing_spot.get("_active_player") == null) fishing_spot.call("_begin_aiming", player) - assert(fishing_spot.state == FishingSpotType.FishingState.AIMING_CAST) assert(player.is_movement_enabled()) assert( int(player.get("_fishing_visual_phase")) @@ -300,7 +250,6 @@ func _run_client() -> void: var cast_charge: float = 0.0 var target: Vector3 = Vector3.ZERO var cast_origin: Vector3 = fishing_spot.get("_cast_origin_position") - var target_diagnostics: Array[String] = [] for charge_step: int in range(1, 21): var candidate_charge := float(charge_step) / 20.0 fishing_spot.set("_cast_charge", candidate_charge) @@ -309,33 +258,14 @@ func _run_client() -> void: var candidate_surface := fishing_spot.get( "_aim_surface_sample" ) as FishingSurfaceSample - target_diagnostics.append( - "charge=%.2f surface=%s path=%s target=%s" % [ - candidate_charge, - candidate_surface.is_fishable(), - fishing_spot.get("_cast_path_is_clear"), - candidate_target, - ] - ) if ( candidate_surface.is_fishable() - and bool(fishing_spot.get("_cast_path_is_clear")) + and fishing_spot.is_cast_path_clear(cast_origin, candidate_target) ): cast_charge = candidate_charge target = candidate_target break - assert( - cast_charge > 0.0, - ( - "no clear fishable test target was found; position=%s facing=%s " - + "expected=%s diagnostics=%s" - ) % [ - player.global_position, - player.get_facing_direction(), - expected_direction, - target_diagnostics, - ], - ) + assert(cast_charge > 0.0, "no clear fishable test target was found") var evidence: Dictionary = fishing_spot.call("_build_network_evidence") fishing_spot.set("state", FishingSpotType.FishingState.CASTING) player.set_movement_enabled(false) @@ -458,79 +388,3 @@ func _create_initialized_main() -> Node: await process_frame assert(bool(main.get("_application_initialized"))) return main - - -func _wait_for_home( - network_home: NetworkHomeService, - fingerprint: String, -) -> bool: - var deadline: int = Time.get_ticks_msec() + 10000 - while Time.get_ticks_msec() < deadline: - await process_frame - var manifests: Dictionary = network_home.get( - "_manifests_by_fingerprint" - ) - if manifests.has(fingerprint): - return true - return false - - -func _find_clear_fishing_setup(main: Node, player: Player) -> Dictionary: - var world := main.get_node("TestWorld") as TestWorld - var fishing_spot := main.get_node("%FishingSpot") as FishingSpotType - var regions: Array[FishableWaterRegion] = world.get_fishable_water_regions() - for region: FishableWaterRegion in regions: - var body := region.get_parent() as WaterBodyAuthoring - if body == null or body.surface_size.x <= 0.0 or body.surface_size.y <= 0.0: - continue - var center: Vector3 = region.global_position - var half_size: Vector2 = body.surface_size * 0.5 - var candidate_offsets: Array[Vector3] = [ - Vector3(half_size.x + 0.8, 0.0, 0.0), - Vector3(-half_size.x - 0.8, 0.0, 0.0), - Vector3(0.0, 0.0, half_size.y + 0.8), - Vector3(0.0, 0.0, -half_size.y - 0.8), - ] - for offset: Vector3 in candidate_offsets: - var position := Vector3( - center.x + offset.x, - region.get_surface_height() + 1.44, - center.z + offset.z, - ) - var direction: Vector3 = center - position - direction.y = 0.0 - direction = direction.normalized() - player.global_position = position - var visuals := player.get_node("Visuals") as Node3D - visuals.global_rotation.y = atan2(-direction.x, -direction.z) - for _frame: int in 2: - await physics_frame - var cast_origin: Vector3 = player.get_cast_origin_position() - var launch_position: Vector3 = player.get_fishing_rod_tip().global_position - for charge_step: int in range(1, 21): - var cast_charge := float(charge_step) / 20.0 - var cast_distance := lerpf( - fishing_spot.minimum_cast_distance, - fishing_spot.maximum_cast_distance, - cast_charge, - ) - var query_position := cast_origin + direction * cast_distance - var sample: FishingSurfaceSample = ( - fishing_spot.resolve_fishing_surface( - query_position, cast_origin.y - ) - ) - var target: Vector3 = sample.get_bobber_position( - fishing_spot.solid_bobber_clearance - ) - if ( - sample.is_fishable() - and fishing_spot.is_cast_path_clear( - launch_position, target - ) - ): - return { - "position": player.global_position, - "direction": direction, - } - return {} diff --git a/tests/fishing_surface_validation.gd b/tests/fishing_surface_validation.gd index 8248c36..eb02c6c 100644 --- a/tests/fishing_surface_validation.gd +++ b/tests/fishing_surface_validation.gd @@ -156,7 +156,6 @@ func _validate_portable_water_body() -> void: PlayerWaterTrigger.EntryHeightReference.PLAYER_ORIGIN, ) water_body.set("recovery_entry_depth_threshold", 0.1) - water_body.set("recovery_entry_confirmation_seconds", 0.2) water_body.set("fish_pool", PondPool) root.add_child(water_body) await process_frame @@ -184,34 +183,6 @@ func _validate_portable_water_body() -> void: == PlayerWaterTrigger.EntryHeightReference.PLAYER_ORIGIN ) assert(is_equal_approx(recovery_region.entry_depth_threshold, 0.1)) - assert(is_equal_approx(recovery_region.entry_confirmation_seconds, 0.2)) - - var recovery_player := PlayerScene.instantiate() as Player - assert(recovery_player != null) - root.add_child(recovery_player) - recovery_player.set_process(false) - recovery_player.set_physics_process(false) - var recovery_requests: Array[float] = [] - recovery_region.recovery_requested.connect( - func(_player: Player, requested_surface_height: float) -> void: - recovery_requests.append(requested_surface_height) - ) - recovery_region.call("_on_body_entered", recovery_player) - recovery_player.global_position.y = 6.8 - recovery_region.call("_physics_process", 0.1) - assert(recovery_requests.is_empty()) - # Breaking the submersion resets confirmation rather than carrying a stale - # partial fall into a later jump. - recovery_player.global_position.y = 7.0 - recovery_region.call("_physics_process", 0.1) - recovery_player.global_position.y = 6.8 - recovery_region.call("_physics_process", 0.11) - assert(recovery_requests.is_empty()) - recovery_region.call("_physics_process", 0.1) - assert(recovery_requests == [7.0]) - recovery_region.call("_on_body_exited", recovery_player) - recovery_player.queue_free() - await process_frame water_body.queue_free() await process_frame diff --git a/tests/gathering_marker_surface_validation.gd b/tests/gathering_marker_surface_validation.gd index 72f15f0..8ce3b4a 100644 --- a/tests/gathering_marker_surface_validation.gd +++ b/tests/gathering_marker_surface_validation.gd @@ -44,8 +44,6 @@ func _run() -> void: assert(invalid_material.albedo_color == Color.WHITE) assert(is_equal_approx(invalid_material.albedo_color.a, 1.0)) assert(is_equal_approx(valid_material.albedo_color.a, 1.0)) - assert(invalid_material.no_depth_test) - assert(valid_material.no_depth_test) assert( invalid_material.shading_mode == BaseMaterial3D.SHADING_MODE_UNSHADED diff --git a/tests/gathering_showcase_validation.gd b/tests/gathering_showcase_validation.gd index 51d6f38..7099f7c 100644 --- a/tests/gathering_showcase_validation.gd +++ b/tests/gathering_showcase_validation.gd @@ -21,13 +21,9 @@ func _run() -> void: assert(bool(main.get("_application_initialized"))) var session := main.get_node("%NetworkSession") as NetworkSession - assert(bool(main.call( - "_apply_world", WorldLayout.STARTER_ISLAND, 1, true - ))) - assert(session.set_host_world(WorldLayout.STARTER_ISLAND, 1)) assert(session.start_private_host(TEST_PORT)) var save_manager := main.get("_save_manager") as PlayerSaveManager - assert(save_manager.initialize_new_game(1, WorldLayout.STARTER_ISLAND)) + assert(save_manager.initialize_new_game()) main.call("_enter_gameplay") for _frame: int in 8: await process_frame @@ -42,7 +38,7 @@ func _run() -> void: and game_ui != null and catalog != null ) - fishing_spot.minimum_showcase_duration = 1.0 + fishing_spot.minimum_showcase_duration = 0.15 assert(player.bag.add_item(&"crab_net")) assert(player.hotbar.assign_item(0, &"crab_net")) assert(player.hotbar.select_slot(0)) @@ -85,7 +81,7 @@ func _run() -> void: await process_frame assert(fishing_spot.get("_pending_catch") == crab_catch) Input.action_release("fish_primary") - fishing_spot.set("_showcase_input_lock_remaining", 0.0) + await create_timer(0.2).timeout await process_frame assert(bool(fishing_spot.get("_put_away_press_armed"))) Input.parse_input_event(pocket_event) diff --git a/tests/generated_world_runtime_validation.gd b/tests/generated_world_runtime_validation.gd index 076f1c9..64b6ee1 100644 --- a/tests/generated_world_runtime_validation.gd +++ b/tests/generated_world_runtime_validation.gd @@ -12,12 +12,6 @@ const GeneratedLakePool: FishPool = preload( const GeneratedRiverPool: FishPool = preload( "res://fish/pools/generated_river_pool.tres" ) -const Gatherables: GatherableCatalog = preload( - "res://gathering/catalog/gatherable_catalog.tres" -) -const PrecipitationOcclusionType = preload( - "res://world/environment/precipitation_occlusion.gd" -) const FIRST_SEED := 13001 const SECOND_SEED := 13002 const RIVER_FALLBACK_SEED := 13012 @@ -250,7 +244,6 @@ func _validate_generated_region( assert(_placement_count(placements, "chunk_0034") == 1) assert(_placement_count(placements, "chunk_0035") == 1) assert(_placement_count(placements, "chunk_0036") == 1) - assert(_placement_count(placements, "chunk_0038") == 2) assert( _placement_count(placements, "chunk_0014") == (2 if has_secondary_elevation else 0) @@ -289,31 +282,10 @@ func _validate_generated_region( var river_edge_count := ( _placement_count(placements, "chunk_0024") + _placement_count(placements, "chunk_0025") - + _placement_count(placements, "chunk_0038") ) assert(river_coordinate_count >= 12) assert(generator._river_feature_placements.size() == river_coordinate_count) assert(river_edge_count == river_coordinate_count - 8) - var stone_bridge_specs: Array[Dictionary] = [] - for spec: Dictionary in generator._river_feature_placements: - if spec.get("id", &"") == &"chunk_0038": - stone_bridge_specs.append(spec) - assert(stone_bridge_specs.size() == 2) - var first_bridge_coordinate := stone_bridge_specs[0].get( - "coordinate", - Vector2i(-1, -1), - ) as Vector2i - var second_bridge_coordinate := stone_bridge_specs[1].get( - "coordinate", - Vector2i(-1, -1), - ) as Vector2i - var bridge_delta := second_bridge_coordinate - first_bridge_coordinate - assert(absi(bridge_delta.x) + absi(bridge_delta.y) == 1) - assert(posmod( - int(stone_bridge_specs[1].get("turns", -1)) - - int(stone_bridge_specs[0].get("turns", -1)), - 4, - ) == 2) var river_source_coordinates := generator._river_source_coordinates( generator._river_feature_origin, generator._river_feature_footprint_size, @@ -405,7 +377,7 @@ func _validate_generated_region( + generator.stacked_elevated_placement_keys().size() ) ) - _validate_elevated_cliff_feature(region, generator) + _validate_elevated_cliff_feature(generator) var shop := region.get_node("Interactables/FishingShopWorld") as Node3D var storage := region.get_node("Interactables/PlayerStorageBox") as Node3D @@ -471,20 +443,6 @@ func _validate_generated_region( assert(fresh.surface_size.x <= 10.0 and fresh.surface_size.y <= 10.0) assert(not fresh.visual_surface_enabled) assert(not (fresh.get_node("VisualWater") as MeshInstance3D).visible) - var generated_bed := fresh.get_node_or_null( - "GeneratedBed", - ) as MeshInstance3D - assert(generated_bed != null and generated_bed.mesh != null) - assert( - is_equal_approx( - generated_bed.global_position.y, - GeneratedWorldRegion.GENERATED_FRESH_WATER_BED_HEIGHT, - ) - ) - assert( - generated_bed.material_override != null - and generated_bed.material_override.resource_name == "dirt" - ) var fresh_recovery := ( fresh.get_node("RecoveryRegion") as PlayerWaterTrigger ) @@ -493,10 +451,6 @@ func _validate_generated_region( == PlayerWaterTrigger.EntryHeightReference.PLAYER_ORIGIN ) assert(is_equal_approx(fresh_recovery.entry_depth_threshold, 0.1)) - assert(is_equal_approx( - fresh_recovery.entry_confirmation_seconds, - 0.2, - )) var coordinate_tokens := child.name.trim_prefix("FreshWater_").split("_") assert(coordinate_tokens.size() == 2) var coordinate := Vector2i( @@ -524,27 +478,8 @@ func _validate_generated_region( assert(river_body_count == river_placement_count) _validate_authored_chunk_surfaces(region, generator) - _validate_projected_terrain_materials( - generator.get_generated_chunks_root() - ) var decorations := region.get_node("Decorations") as Node3D - var grass_prop_surface_triangles := region.get_spawn_surface_triangles( - [&"grass_lite"], - -INF, - 0.35, - ) - var sand_prop_surface_triangles := region.get_spawn_surface_triangles( - [&"sand"], - -INF, - 0.35, - ) - _validate_crab_spawn_surfaces(region) - _validate_water_recovery_positions( - region, - grass_prop_surface_triangles, - sand_prop_surface_triangles, - ) var anchors := region.get_node( "GatherableAnchors/ReachableTreeTrunks" ) as GatherableAnchorSet3D @@ -567,12 +502,6 @@ func _validate_generated_region( assert(PROCEDURAL_PROP_IDS.has(prop_id)) var definition := region.get_prop_catalog().definition_for_id(prop_id) assert(definition != null) - if definition.procedural_group in [&"grass_tree", &"sand_tree"]: - assert( - _has_precipitation_occlusion_layer(child), - "Precipitation occlusion layer missing from %s (%s)." - % [child.name, prop_id], - ) var biome_id := StringName( child.get_meta(&"terrain_biome_id", &"") ) @@ -599,8 +528,6 @@ func _validate_generated_region( region, child as Node3D, definition, - grass_prop_surface_triangles, - sand_prop_surface_triangles, ) if prop_id == &"prop_palm": var cluster_id := int( @@ -695,7 +622,6 @@ func _validate_generated_region( func _validate_elevated_cliff_feature( - region: GeneratedWorldRegion, generator: TerrainChunkGenerator, ) -> void: var elevated_coordinates: Dictionary[Vector2i, StringName] = {} @@ -829,27 +755,6 @@ func _validate_elevated_cliff_feature( or generator.placement_keys()[low_index].begins_with("chunk_spawn@") ) assert(found_primary_ramp == not primary_is_third_tier) - var primary_surface_height := ( - generator.elevated_cliff_level_height - * (2.0 if primary_is_third_tier else 1.0) - ) - var primary_surface_position := generator.to_global( - generator.chunk_position(feature_center) - + Vector3.UP * primary_surface_height - ) - assert( - region.is_home_exterior_position_accessible(primary_surface_position) - == not primary_is_third_tier - ) - assert(region.is_home_exterior_position_accessible(generator.to_global( - generator.chunk_position(feature_center) - ))) - # A higher surface sharing a ramp-accessible base cell is still invalid - # unless that elevation has its own authored ramp connection. - assert(not region.is_home_exterior_position_accessible(generator.to_global( - generator.chunk_position(feature_center) - + Vector3.UP * (generator.elevated_cliff_level_height * 2.0) - ))) var generated := generator.get_generated_chunks_root() assert(generated != null) @@ -903,7 +808,7 @@ func _validate_elevated_cliff_feature( var overlay_mesh := TerrainChunkAnalyzer.find_primary_mesh( overlay, ( - &"chunk_0010" + &"chunk_0015" if stable_id in [ &"chunk_9999", &"chunk_9998", @@ -1038,10 +943,6 @@ func _validate_prop_catalog(region: GeneratedWorldRegion) -> void: assert(instance.position.is_zero_approx()) assert(_find_mesh_instance(instance) != null) instance.free() - if definition.has_gatherable_surface(): - assert( - definition.gatherable_surface_clearance >= 0.12 - ) var mushroom := catalog.definition_for_id(&"prop_mushroom") assert(mushroom != null and mushroom.has_collision()) assert(mushroom.visual_offset.y < 0.0) @@ -1062,12 +963,10 @@ func _validate_prop_catalog(region: GeneratedWorldRegion) -> void: assert(pine != null) assert(pine.minimum_visual_scale < pine.maximum_visual_scale) assert(pine.material_variants.is_empty()) - assert(not pine.has_gatherable_surface()) var large_pine := catalog.definition_for_id(&"prop_pine_large") assert(large_pine != null) assert(large_pine.minimum_visual_scale < large_pine.maximum_visual_scale) assert(large_pine.material_variants.is_empty()) - assert(not large_pine.has_gatherable_surface()) var palm := catalog.definition_for_id(&"prop_palm") assert(palm != null) assert(is_equal_approx(palm.minimum_visual_scale, 0.5)) @@ -1078,25 +977,6 @@ func _validate_prop_catalog(region: GeneratedWorldRegion) -> void: assert(palm.maximum_cluster_radius > palm.minimum_cluster_radius) assert(palm.prefer_ocean_facing) assert(not palm.local_overhang_direction.is_zero_approx()) - var aligned_tree_collisions: Dictionary[StringName, Vector2] = { - &"prop_tree_1": Vector2(0.08, 0.01), - &"prop_tree_2": Vector2(0.1, 0.075), - &"prop_tree_3": Vector2(-0.1, 0.18), - &"prop_tree_large": Vector2(0.084, 0.504), - &"prop_pine": Vector2(-0.044, 0.083), - &"prop_pine_large": Vector2(-0.04, 0.075), - &"prop_palm": Vector2(0.15, -0.1), - } - for tree_id: StringName in aligned_tree_collisions: - var aligned_tree := catalog.definition_for_id(tree_id) - assert(aligned_tree != null and aligned_tree.has_cylinder_collision()) - var collision_center := Vector2( - aligned_tree.collision_offset.x, - aligned_tree.collision_offset.z, - ) - assert(collision_center.is_equal_approx( - aligned_tree_collisions[tree_id] - )) var forest := region.get_biome_catalog().definition_for_id(&"biome_forest") var forest_rule := forest.prop_rule_for_group(&"grass_tree") var large_tree := catalog.definition_for_id(&"prop_tree_large") @@ -1165,8 +1045,6 @@ func _validate_decoration_transform( region: GeneratedWorldRegion, prop: Node3D, definition: TerrainPropDefinition, - grass_surface_triangles: Array[PackedVector3Array], - sand_surface_triangles: Array[PackedVector3Array], ) -> void: assert(prop != null) assert(prop.scale.is_equal_approx(Vector3.ONE)) @@ -1193,20 +1071,6 @@ func _validate_decoration_transform( or collision.shape is BoxShape3D ) assert(collision.global_basis.get_scale().is_equal_approx(Vector3.ONE)) - if collision.shape is CylinderShape3D: - var cylinder := collision.shape as CylinderShape3D - assert(is_equal_approx( - cylinder.radius, - definition.collision_radius * visual_scale, - )) - assert(is_equal_approx( - cylinder.height, - definition.collision_height * visual_scale, - )) - assert(collision.position.is_equal_approx( - definition.collision_offset * visual_scale - + Vector3.UP * cylinder.height * 0.5 - )) else: assert(collision == null) var query := PhysicsRayQueryParameters3D.create( @@ -1260,165 +1124,6 @@ func _validate_decoration_transform( ], ], ) - var required_surface_triangles: Array[PackedVector3Array] = ( - sand_surface_triangles - if definition.procedural_group == &"sand_tree" - else grass_surface_triangles - ) - var required_surface_height := _triangle_surface_height_at( - prop.global_position, - required_surface_triangles, - ) - assert( - required_surface_height > -INF - and absf(required_surface_height - prop.global_position.y) <= 0.01, - "%s (%s) is not rooted on its required terrain material at %s." - % [prop.name, definition.stable_id, prop.global_position], - ) - - -func _validate_crab_spawn_surfaces(region: GeneratedWorldRegion) -> void: - var brown := Gatherables.get_entry(&"crab_brown") - var blue := Gatherables.get_entry(&"crab_blue") - assert(brown != null and blue != null) - assert(is_equal_approx( - region.get_saltwater_surface_height(), - GeneratedWorldRegion.WATER_HEIGHT, - )) - var brown_minimum := maxf( - brown.minimum_surface_y, - GeneratedWorldRegion.WATER_HEIGHT + brown.waterline_margin, - ) - var blue_maximum := minf( - blue.maximum_surface_y, - GeneratedWorldRegion.WATER_HEIGHT - blue.waterline_margin, - ) - assert(brown_minimum > blue_maximum) - var brown_triangles := region.get_spawn_surface_triangles( - brown.surface_materials, - brown_minimum, - 0.6, - brown.maximum_surface_y, - ) - var blue_triangles := region.get_spawn_surface_triangles( - blue.surface_materials, - blue.minimum_surface_y, - 0.6, - blue_maximum, - ) - assert(not brown_triangles.is_empty()) - assert(not blue_triangles.is_empty()) - assert( - brown.target_population_for_surface_area( - _surface_triangle_area(brown_triangles) - ) > brown.population - ) - assert( - blue.target_population_for_surface_area( - _surface_triangle_area(blue_triangles) - ) > blue.population - ) - - -func _surface_triangle_area(triangles: Array[PackedVector3Array]) -> float: - var area := 0.0 - for triangle: PackedVector3Array in triangles: - area += (triangle[1] - triangle[0]).cross( - triangle[2] - triangle[0] - ).length() * 0.5 - return area - - -func _triangle_surface_height_at( - position: Vector3, - triangles: Array[PackedVector3Array], -) -> float: - var highest := -INF - var segment_start := position + Vector3.UP * 100.0 - var segment_end := position + Vector3.DOWN * 100.0 - for triangle: PackedVector3Array in triangles: - if triangle.size() != 3: - continue - var hit: Variant = Geometry3D.segment_intersects_triangle( - segment_start, - segment_end, - triangle[0], - triangle[1], - triangle[2], - ) - if hit is Vector3: - highest = maxf(highest, (hit as Vector3).y) - return highest - - -func _validate_water_recovery_positions( - region: GeneratedWorldRegion, - grass_triangles: Array[PackedVector3Array], - sand_triangles: Array[PackedVector3Array], -) -> void: - var fresh_water_root := region.get_node( - "WaterBodies/FreshWaterBodies" - ) as Node3D - assert(fresh_water_root != null and fresh_water_root.get_child_count() > 0) - var fresh_water := fresh_water_root.get_child(0) as WaterBodyAuthoring - assert(fresh_water != null) - var entry_position := fresh_water.global_position - var fallback_position := region.get_player_spawn_transform().origin - var recovery_position := region.get_water_recovery_position( - entry_position, - fallback_position, - ) - assert(recovery_position.is_finite()) - assert( - _horizontal_distance_squared(entry_position, recovery_position) - < _horizontal_distance_squared(entry_position, fallback_position), - "Fresh-water recovery returned the distant generated-world spawn.", - ) - assert( - recovery_position.y - > GeneratedWorldRegion.WATER_HEIGHT - + GeneratedWorldRegion.WATER_RECOVERY_MINIMUM_GROUND_CLEARANCE - ) - var recovery_triangles: Array[PackedVector3Array] = [] - recovery_triangles.append_array(grass_triangles) - recovery_triangles.append_array(sand_triangles) - var center_height := _triangle_surface_height_at( - recovery_position, - recovery_triangles, - ) - assert(center_height > -INF) - assert(absf(center_height - recovery_position.y) <= 0.01) - for direction: Vector2 in GeneratedWorldRegion.PROP_SURFACE_SAMPLE_DIRECTIONS: - var footprint_position := recovery_position + Vector3( - direction.x * GeneratedWorldRegion.WATER_RECOVERY_FOOTPRINT_RADIUS, - 0.0, - direction.y * GeneratedWorldRegion.WATER_RECOVERY_FOOTPRINT_RADIUS, - ) - var footprint_height := _triangle_surface_height_at( - footprint_position, - recovery_triangles, - ) - assert(footprint_height > -INF) - assert( - absf(footprint_height - recovery_position.y) - <= GeneratedWorldRegion.PROP_MAXIMUM_SUPPORT_HEIGHT_DIFFERENCE - ) - assert( - region.get_water_recovery_position( - entry_position, - fallback_position, - ).is_equal_approx(recovery_position) - ) - assert( - region.get_water_recovery_position( - Vector3(INF, 0.0, 0.0), - fallback_position, - ).is_equal_approx(fallback_position) - ) - - -func _horizontal_distance_squared(a: Vector3, b: Vector3) -> float: - return Vector2(a.x - b.x, a.z - b.z).length_squared() func _validate_tree_gatherable_anchors( @@ -1426,47 +1131,50 @@ func _validate_tree_gatherable_anchors( decorations: Node3D, anchors: GatherableAnchorSet3D, ) -> void: - var eligible_props: Dictionary[StringName, Node3D] = {} - var expected_anchor_count := 0 + var eligible_props: Array[Node3D] = [] for child: Node in decorations.get_children(): var prop := child as Node3D if prop == null: continue var prop_id := StringName(prop.get_meta(&"terrain_prop_id", &"")) var definition := region.get_prop_catalog().definition_for_id(prop_id) - var socket_count := _count_authored_beetle_sockets(prop) - if ( - definition != null - and definition.has_gatherable_surface() - and socket_count > 0 - ): - eligible_props[prop.name] = prop - expected_anchor_count += socket_count + if definition != null and definition.gatherable_anchor_height > 0.0: + eligible_props.append(prop) var positions := anchors.get_spawn_positions() - assert(positions.size() == expected_anchor_count) - assert(positions.size() >= 12) - for child: Node in anchors.get_children(): - var anchor := child as Marker3D - assert(anchor != null) - assert(bool(anchor.get_meta(&"authored_beetle_socket", false))) - var prop_name := StringName(anchor.get_meta(&"terrain_prop_name", &"")) - assert(eligible_props.has(prop_name)) - var prop: Node3D = eligible_props[prop_name] + assert(positions.size() == eligible_props.size()) + for prop: Node3D in eligible_props: var prop_id := StringName(prop.get_meta(&"terrain_prop_id", &"")) var definition := region.get_prop_catalog().definition_for_id(prop_id) - assert(definition != null and definition.has_gatherable_surface()) - var local_anchor := prop.to_local(anchor.global_position) - assert(prop_id != &"prop_palm") - assert(local_anchor.y >= 0.25 and local_anchor.y <= 2.0) - - -func _count_authored_beetle_sockets(root_node: Node) -> int: - var result := 0 - if String(root_node.name).to_lower().contains("beetle_socket"): - result += 1 - for child: Node in root_node.get_children(): - result += _count_authored_beetle_sockets(child) - return result + var visual_scale := float( + prop.get_meta(&"terrain_prop_visual_scale", 1.0) + ) + var nearest_anchor := Vector3(INF, INF, INF) + var nearest_distance_squared := INF + for position: Vector3 in positions: + var distance_squared := position.distance_squared_to( + prop.global_position + ) + if distance_squared < nearest_distance_squared: + nearest_distance_squared = distance_squared + nearest_anchor = position + assert(nearest_anchor.is_finite()) + var horizontal_distance := Vector2( + nearest_anchor.x - prop.global_position.x, + nearest_anchor.z - prop.global_position.z, + ).length() + assert( + horizontal_distance + >= definition.gatherable_anchor_surface_radius() * visual_scale + ) + assert( + absf( + nearest_anchor.y + - ( + prop.global_position.y + + definition.gatherable_anchor_height * visual_scale + ) + ) <= 0.001 + ) func _find_mesh_instance(root_node: Node) -> MeshInstance3D: @@ -1481,21 +1189,6 @@ func _find_mesh_instance(root_node: Node) -> MeshInstance3D: return null -func _has_precipitation_occlusion_layer(root_node: Node) -> bool: - var mesh_instance := root_node as MeshInstance3D - if ( - mesh_instance != null - and mesh_instance.get_layer_mask_value( - PrecipitationOcclusionType.RENDER_LAYER_NUMBER - ) - ): - return true - for child: Node in root_node.get_children(): - if _has_precipitation_occlusion_layer(child): - return true - return false - - func _has_material_variant_override( root_node: Node, variants: Array[Material], @@ -1647,56 +1340,6 @@ func _material_names(mesh_instance: MeshInstance3D) -> PackedStringArray: return result -func _validate_projected_terrain_materials(root: Node) -> void: - var expected_sizes := { - "grass_lite": 1.75, - "sand": 2.6, - "dirt": 2.5, - } - var surface_counts := { - "grass_lite": 0, - "sand": 0, - "dirt": 0, - } - _validate_projected_material_node(root, expected_sizes, surface_counts) - for material_name: String in expected_sizes: - assert(surface_counts[material_name] > 0) - - -func _validate_projected_material_node( - root: Node, - expected_sizes: Dictionary, - surface_counts: Dictionary, -) -> void: - var mesh_instance := root as MeshInstance3D - if mesh_instance != null and mesh_instance.mesh != null: - for surface_index: int in mesh_instance.mesh.get_surface_count(): - var material := mesh_instance.get_active_material(surface_index) - if material == null or not expected_sizes.has(material.resource_name): - continue - var shader_material := material as ShaderMaterial - assert(shader_material != null and shader_material.shader != null) - assert( - shader_material.shader.resource_path - == "res://world/materials/terrain_surface_projection.gdshader" - ) - assert( - is_equal_approx( - float(shader_material.get_shader_parameter( - &"tile_world_size" - )), - float(expected_sizes[material.resource_name]), - ) - ) - surface_counts[material.resource_name] += 1 - for child: Node in root.get_children(): - _validate_projected_material_node( - child, - expected_sizes, - surface_counts, - ) - - func _validate_pond_collision( region: GeneratedWorldRegion, pond: MeshInstance3D, diff --git a/tests/home_spawn_multiplayer_validation.gd b/tests/home_spawn_multiplayer_validation.gd deleted file mode 100644 index 2855eb2..0000000 --- a/tests/home_spawn_multiplayer_validation.gd +++ /dev/null @@ -1,201 +0,0 @@ -extends SceneTree - -const MainScene: PackedScene = preload("res://main/main.tscn") -const TEST_PORT: int = 18222 - - -func _initialize() -> void: - call_deferred("_run") - - -func _run() -> void: - var arguments: PackedStringArray = OS.get_cmdline_user_args() - if arguments.has("host"): - await _run_host() - return - if arguments.has("client"): - await _run_client() - return - push_error("Home spawn validation needs host or client mode.") - quit(1) - - -func _run_host() -> void: - var main: Node = await _create_initialized_main() - var session := main.get_node("%NetworkSession") as NetworkSession - var network_home := main.get_node( - "%NetworkHomeService" - ) as NetworkHomeService - var home_world := main.get_node("%HomeWorldService") as HomeWorldService - var spawn_service := main.get_node( - "%PlayerSpawnService" - ) as PlayerSpawnService - var save_manager := main.get("_save_manager") as PlayerSaveManager - assert(bool(main.call( - "_apply_world", WorldLayout.STARTER_ISLAND, 1, true - ))) - assert(bool(main.call( - "_prepare_host_world", WorldLayout.STARTER_ISLAND, 1 - ))) - assert(save_manager.initialize_new_game(1, WorldLayout.STARTER_ISLAND)) - assert(session.start_private_host(TEST_PORT)) - main.call("_enter_gameplay") - assert(session.set_host_open(true)) - - var host_fingerprint: String = session.get_local_identity_fingerprint() - assert(await _wait_for_home(network_home, host_fingerprint)) - var host_avatar: Player = spawn_service.get_avatar(1) - var host_spawn: Transform3D = home_world.get_exterior_spawn_transform( - host_fingerprint - ) - assert(_same_door_position(host_avatar.global_position, host_spawn.origin)) - assert(_faces_away_from_home(host_avatar, home_world, host_fingerprint)) - assert(network_home.request_enter(host_fingerprint)) - await physics_frame - host_avatar.global_position = home_world.get_interior_exit_position( - host_fingerprint - ) - assert(network_home.request_exit()) - await physics_frame - assert(_same_door_position(host_avatar.global_position, host_spawn.origin)) - assert(_faces_away_from_home(host_avatar, home_world, host_fingerprint)) - - var remote_peer_id: int = await _wait_for_remote_peer(session) - assert(remote_peer_id > 1) - var remote_record := session.get_peer_record(remote_peer_id) - var remote_fingerprint: String = remote_record.identity_fingerprint - assert(await _wait_for_home(network_home, remote_fingerprint)) - var remote_avatar: Player = spawn_service.get_avatar(remote_peer_id) - var remote_spawn: Transform3D = home_world.get_exterior_spawn_transform( - remote_fingerprint - ) - assert(_same_door_position( - remote_avatar.global_position, remote_spawn.origin - )) - assert(_faces_away_from_home( - remote_avatar, home_world, remote_fingerprint - )) - - var disconnect_deadline: int = Time.get_ticks_msec() + 12000 - while ( - Time.get_ticks_msec() < disconnect_deadline - and session.is_authenticated_peer(remote_peer_id) - ): - await process_frame - assert(not session.is_authenticated_peer(remote_peer_id)) - print("Home spawn multiplayer host validation: PASS") - await _cleanup(main, session) - - -func _run_client() -> void: - var main: Node = await _create_initialized_main() - main.call( - "_on_title_join_game_requested", - "127.0.0.1:%d" % TEST_PORT, - ) - var session := main.get_node("%NetworkSession") as NetworkSession - var network_home := main.get_node( - "%NetworkHomeService" - ) as NetworkHomeService - var home_world := main.get_node("%HomeWorldService") as HomeWorldService - var deadline: int = Time.get_ticks_msec() + 20000 - while Time.get_ticks_msec() < deadline: - await process_frame - if session.state == NetworkSession.State.VERIFYING_SERVER_IDENTITY: - main.call("_confirm_server_trust") - if session.is_joined_client() and bool(main.get("_gameplay_started")): - break - assert(session.is_joined_client()) - var fingerprint: String = session.get_local_identity_fingerprint() - assert(await _wait_for_home(network_home, fingerprint)) - var player := main.get("_player") as Player - var exterior_spawn: Transform3D = ( - home_world.get_exterior_spawn_transform(fingerprint) - ) - deadline = Time.get_ticks_msec() + 5000 - while ( - Time.get_ticks_msec() < deadline - and not _same_door_position( - player.global_position, exterior_spawn.origin - ) - ): - await physics_frame - assert(_same_door_position( - player.global_position, exterior_spawn.origin - )) - assert(_faces_away_from_home(player, home_world, fingerprint)) - print("Home spawn multiplayer client validation: PASS") - await _cleanup(main, session) - - -func _create_initialized_main() -> Node: - root.size = Vector2i(1280, 720) - var main: Node = MainScene.instantiate() - root.add_child(main) - for _frame: int in 4: - await process_frame - if not bool(main.get("_application_initialized")): - main.call("_activate_selected_data_path", "", true) - for _frame: int in 8: - await process_frame - assert(bool(main.get("_application_initialized"))) - return main - - -func _wait_for_home( - network_home: NetworkHomeService, - fingerprint: String, -) -> bool: - var deadline: int = Time.get_ticks_msec() + 10000 - while Time.get_ticks_msec() < deadline: - await process_frame - var manifests: Dictionary = network_home.get( - "_manifests_by_fingerprint" - ) - if manifests.has(fingerprint): - return true - return false - - -func _faces_away_from_home( - avatar: Player, - home_world: HomeWorldService, - fingerprint: String, -) -> bool: - var exterior_basis: Basis = home_world.get_exterior_transform( - fingerprint - ).basis - var outward_direction := exterior_basis.z - outward_direction.y = 0.0 - if outward_direction.is_zero_approx(): - return false - return avatar.get_facing_direction().dot( - outward_direction.normalized() - ) >= 0.99 - - -func _wait_for_remote_peer(session: NetworkSession) -> int: - var deadline: int = Time.get_ticks_msec() + 20000 - while Time.get_ticks_msec() < deadline: - await process_frame - for peer_id: int in session.get_authenticated_peer_ids(): - if peer_id != session.get_local_peer_id(): - return peer_id - return 0 - - -func _same_door_position(first: Vector3, second: Vector3) -> bool: - return ( - Vector2(first.x, first.z).distance_to(Vector2(second.x, second.z)) - < 0.08 - and absf(first.y - second.y) < 0.3 - ) - - -func _cleanup(main: Node, session: NetworkSession) -> void: - session.disconnect_session("") - main.queue_free() - for _frame: int in 4: - await process_frame - await create_timer(0.1).timeout - quit() diff --git a/tests/home_spawn_multiplayer_validation.gd.uid b/tests/home_spawn_multiplayer_validation.gd.uid deleted file mode 100644 index 06150f2..0000000 --- a/tests/home_spawn_multiplayer_validation.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://bndtkip5p6xma diff --git a/tests/inventory_notepad_art_validation.gd b/tests/inventory_notepad_art_validation.gd index d871b49..c42883c 100644 --- a/tests/inventory_notepad_art_validation.gd +++ b/tests/inventory_notepad_art_validation.gd @@ -666,7 +666,7 @@ func _to_screen_rect( func _capture_inventory_pages(player_menu: PlayerMenu) -> void: - if not OS.has_environment("straywild_NOTEPAD_CAPTURE"): + if not OS.has_environment("NETFISHING_NOTEPAD_CAPTURE"): return player_menu.visible = true var sections: Array[PlayerMenu.Section] = [ @@ -700,7 +700,7 @@ func _capture_inventory_pages(player_menu: PlayerMenu) -> void: func _save_capture(suffix: String) -> void: var image: Image = root.get_texture().get_image() var path: String = "%s-%s.png" % [ - OS.get_environment("straywild_NOTEPAD_CAPTURE"), + OS.get_environment("NETFISHING_NOTEPAD_CAPTURE"), suffix, ] assert(image.save_png(path) == OK) diff --git a/tests/job_system_validation.gd b/tests/job_system_validation.gd index 65b7164..1fe5ceb 100644 --- a/tests/job_system_validation.gd +++ b/tests/job_system_validation.gd @@ -21,17 +21,13 @@ func _run() -> void: assert(bool(main.get("_application_initialized"))) var session := main.get_node("%NetworkSession") as NetworkSession assert(session != null) - assert(bool(main.call( - "_apply_world", WorldLayout.STARTER_ISLAND, 1, true - ))) - assert(session.set_host_world(WorldLayout.STARTER_ISLAND, 1)) var occupied_port := PacketPeerUDP.new() assert(occupied_port.bind(18137, "127.0.0.1") == OK) assert(session.start_private_host(18137, 3)) assert(session.get_host_port() == 18138) occupied_port.close() var save_manager := main.get("_save_manager") as PlayerSaveManager - assert(save_manager.initialize_new_game(1, WorldLayout.STARTER_ISLAND)) + assert(save_manager.initialize_new_game()) main.call("_enter_gameplay") await physics_frame await physics_frame @@ -209,11 +205,8 @@ func _run() -> void: ) assert(bool(decoded.get("ok", false))) var save_data: Dictionary = decoded["data"] - assert(int(save_data.get("save_version", -1)) == 11) + assert(int(save_data.get("save_version", -1)) == 10) assert(PlayerJobService.validate_save_data(save_data.get("jobs", {}))) - assert(not PlayerHomeState.sanitize_save_data( - save_data.get("home", {}) - ).is_empty()) _validate_pause_session_switch(main, session) main.queue_free() diff --git a/tests/keyboard_mouse_mapping_validation.gd b/tests/keyboard_mouse_mapping_validation.gd index 1b95e01..db0bb71 100644 --- a/tests/keyboard_mouse_mapping_validation.gd +++ b/tests/keyboard_mouse_mapping_validation.gd @@ -38,16 +38,6 @@ func _run() -> void: KeyboardMouseMappingManagerType.ROLE_INTERACT ) == "e" ) - assert( - KeyboardMouseMappingManagerType.ROLE_LABELS[ - KeyboardMouseMappingManagerType.ROLE_CAMERA_ZOOM_IN - ] == "hotbar select (+SHIFT to zoom)" - ) - assert( - KeyboardMouseMappingManagerType.ROLE_LABELS[ - KeyboardMouseMappingManagerType.ROLE_CAMERA_ZOOM_OUT - ] == "hotbar select (+SHIFT to zoom)" - ) assert( str(defaults[ str(KeyboardMouseMappingManagerType.ROLE_PRIMARY_ACTION) diff --git a/tests/late_join_multiplayer_validation.gd b/tests/late_join_multiplayer_validation.gd index 6ea544f..3813486 100644 --- a/tests/late_join_multiplayer_validation.gd +++ b/tests/late_join_multiplayer_validation.gd @@ -90,12 +90,11 @@ func _run_first_client() -> void: player.toggle_sitting() assert(player.is_sitting()) assert(player.bag.add_item(&"crab_net")) - # Slot zero begins selected with the starter rod. Replacing that slot does - # not emit a selection change, so use the next slot to exercise the same - # equipped-item path a player uses in normal gameplay. - assert(player.hotbar.assign_item(1, &"crab_net")) - assert(player.hotbar.select_slot(1)) - assert(await _wait_for_local_net(main, player)) + assert(player.hotbar.assign_item(0, &"crab_net")) + assert(player.hotbar.select_slot(0)) + for _frame: int in 2: + await process_frame + assert(bool(player.get("_active_item_is_net"))) assert(player.begin_animation_action(ACTIVE_ACTION)) await create_timer(0.5).timeout assert(StringName(str(player.get("_animation_action_id"))) == ACTIVE_ACTION) @@ -186,29 +185,6 @@ func _wait_for_registry_size(session: NetworkSession, expected: int) -> bool: return false -func _wait_for_local_net(main: Node, player: Player) -> bool: - var deadline: int = Time.get_ticks_msec() + 10000 - while Time.get_ticks_msec() < deadline: - # A joined client can finish its world transition one frame after the - # hotbar selection signal. Refresh through the production path until the - # ready fishing state accepts the equipped item. - main.call("_refresh_active_hotbar_item") - await process_frame - if bool(player.get("_active_item_is_net")): - return true - var fishing_spot: Node = main.get_node("%FishingSpot") - print( - "net equip wait timed out: ", - { - "fishing_state": int(fishing_spot.get("state")), - "selected_slot": player.hotbar.get_selected_slot(), - "selected_item": String(player.hotbar.get_selected_item_id()), - "owns_net": player.bag.owns_item(&"crab_net"), - }, - ) - return false - - func _history_contains(service: NetworkChatService, body: String) -> bool: return service.get_history().any( func(message: Dictionary) -> bool: diff --git a/tests/light_performance_profile_validation.gd b/tests/light_performance_profile_validation.gd index 6a654f1..f56db35 100644 --- a/tests/light_performance_profile_validation.gd +++ b/tests/light_performance_profile_validation.gd @@ -123,6 +123,7 @@ func _validate_main_profile(main: Node) -> void: var game_ui := main.get_node("%GameUI") as GameUI var title_screen := game_ui.get_title_screen() assert(title_screen != null) + assert(not title_screen.is_decorative_presentation_active()) var player_menu := game_ui.get("_player_menu") as PlayerMenu assert(player_menu != null) assert(not player_menu.is_cooler_water_effect_enabled()) @@ -158,6 +159,8 @@ func _validate_normal_profile(main: Node) -> void: var game_ui := main.get_node("%GameUI") as GameUI var title_screen := game_ui.get_title_screen() assert(title_screen != null) + assert(title_screen.is_decorative_presentation_active()) + assert(title_screen.is_decorative_bubble_scheduler_active()) var player_menu := game_ui.get("_player_menu") as PlayerMenu assert(player_menu != null) assert(player_menu.is_cooler_water_effect_enabled()) diff --git a/tests/logbook_runtime_validation.gd b/tests/logbook_runtime_validation.gd index e33e551..e411fef 100644 --- a/tests/logbook_runtime_validation.gd +++ b/tests/logbook_runtime_validation.gd @@ -2,7 +2,6 @@ extends SceneTree const MainScene = preload("res://main/main.tscn") const FishCatchType = preload("res://fish/fish_catch.gd") -const MENU_TRANSITION_SETTLE_SECONDS := 3.0 func _initialize() -> void: @@ -37,16 +36,12 @@ func _run() -> void: var logbook := player_menu.get_node("%CatalogLogbook") as LogbookPage var backdrop := main.get_node("%PlayerMenuBackdrop") as ColorRect var hotbar := game_ui.get_node("%Hotbar") as Control - var fishing_spot := main.get("_fishing_spot") as FishingSpot - assert(logbook.get("_fishing_spot") == fishing_spot) - assert(logbook.get("_world_time") == main.get("_world_time")) - assert(logbook.get("_world_weather") == main.get("_world_weather")) var shortcut := InputEventKey.new() shortcut.pressed = true shortcut.physical_keycode = KEY_L assert(bool(player_menu.call("_handle_direct_page_shortcut", shortcut))) - await create_timer(MENU_TRANSITION_SETTLE_SECONDS).timeout + await create_timer(2.2).timeout assert(player_menu.visible) assert(logbook.visible) assert(backdrop.visible) @@ -54,60 +49,32 @@ func _run() -> void: assert(not hotbar.visible) var entry_buttons: Dictionary = logbook.get("_entry_buttons") - assert(entry_buttons.size() == 108) + assert(entry_buttons.size() == 26) await _capture_if_requested("-unknown") - logbook.call("_set_index_open", true, false) - await process_frame - assert(bool(logbook.get("_index_open"))) - assert((logbook.get("_index_body") as Control).visible) - await _capture_if_requested("-index") - logbook.set_compact_presentation(true) - await process_frame - await _capture_if_requested("-index-compact") - logbook.set_compact_presentation(false) - await process_frame - logbook.call("_set_index_open", false, false) - await process_frame logbook.call( "_select_category", WaterType.Type.FRESH_WATER ) await create_timer(0.25).timeout - assert((logbook.get("_entry_buttons") as Dictionary).size() == 108) + assert((logbook.get("_entry_buttons") as Dictionary).size() == 26) await _capture_if_requested("-fresh") logbook.call("_select_category", WaterType.Type.SALT_WATER) await create_timer(0.25).timeout - assert((logbook.get("_entry_buttons") as Dictionary).size() == 202) + assert((logbook.get("_entry_buttons") as Dictionary).size() == 34) logbook.call("_select_category", WaterType.Type.FRESH_WATER) await create_timer(0.25).timeout - assert((logbook.get("_entry_buttons") as Dictionary).size() == 108) + assert((logbook.get("_entry_buttons") as Dictionary).size() == 26) player.collection_log.mark_discovered(&"bluegill") await process_frame logbook.call("_select_entry", &"bluegill", &"bluegill") await create_timer(0.2).timeout await _capture_if_requested("-known") - var bluegill := ( - main.get("fish_catalog") as FishPool - ).get_fish_by_id(&"bluegill") - var bluegill_available_now := fishing_spot.is_species_available_now(bluegill) - var index_options := logbook.get("_index_options") as Dictionary - index_options["availability"] = ( - LogbookCatalog.AvailabilityFilter.AVAILABLE_NOW - ) - logbook.notify_availability_context_changed() - await process_frame - assert( - (logbook.get("_entry_buttons") as Dictionary).has(&"bluegill") - == bluegill_available_now - ) - logbook.call("_reset_index") - await process_frame assert(bool(player_menu.call("_handle_direct_page_shortcut", shortcut))) - await create_timer(MENU_TRANSITION_SETTLE_SECONDS).timeout + await create_timer(2.2).timeout assert(not player_menu.visible) assert(bool(player_menu.call("_handle_direct_page_shortcut", shortcut))) - await create_timer(MENU_TRANSITION_SETTLE_SECONDS).timeout + await create_timer(2.2).timeout player_menu.call( "_show_section_immediate", PlayerMenu.Section.PROFILE ) @@ -143,38 +110,23 @@ func _validate_save_round_trip( assert(catalog != null) assert(catalog.candidates.size() == 316) var active_species := LogbookCatalog.ordered_species(catalog.candidates) - assert(active_species.size() == 314) - # Keep this runtime save fixture within maximum player capacity while the - # focused catalog validation exercises every active species individually. - var round_trip_species: Array[FishData] = [] - for fish: FishData in active_species: - if round_trip_species.size() >= 59: - break - round_trip_species.append(fish) - for fish_id: StringName in [ - &"catfish_blue", - &"catfish_channel", - &"catfish_flathead", - &"catfish_white", - ]: - var catfish: FishData = catalog.get_fish_by_id(fish_id) - if catfish not in round_trip_species: - round_trip_species.append(catfish) - assert(round_trip_species.size() == 63) + assert(active_species.size() == 63) + # This test intentionally round-trips one catch for every active species. + # Give the fixture enough combined capacity, then bypass per-catch carried + # inventory admission while constructing it. The inventory layout still + # reconciles and persists the resulting placements. player.inventory_layout.restore_backpack_level( PlayerInventoryLayout.MAX_BACKPACK_LEVEL ) - var home_state := main.get("_home_state") as PlayerHomeState - assert(home_state != null) - assert(home_state.upgrade_to_next_tier()) + player.cooler_capacity.restore_level(PlayerCoolerCapacity.MAX_LEVEL) assert( player.inventory_layout.get_backpack_level() == PlayerInventoryLayout.MAX_BACKPACK_LEVEL ) - assert(player.cooler_capacity.get_capacity() == 18) + assert(player.cooler_capacity.get_level() == PlayerCoolerCapacity.MAX_LEVEL) player.inventory.set_inventory_layout(null) for index: int in 4: - _add_test_catch(player, round_trip_species[index]) + _add_test_catch(player, active_species[index]) assert(save_manager.save_now()) var no_catches: Array[FishCatch] = [] var no_discoveries: Array[StringName] = [] @@ -183,21 +135,18 @@ func _validate_save_round_trip( assert(save_manager.load_player_data()) assert(player.inventory.get_all_catches().size() == 4) for index: int in 4: - var original_fish: FishData = round_trip_species[index] + var original_fish: FishData = active_species[index] assert(player.inventory.get_count(original_fish.id) == 1) assert(player.collection_log.has_discovered(original_fish.id)) - for index: int in range(4, round_trip_species.size()): - _add_test_catch(player, round_trip_species[index]) + for index: int in range(4, active_species.size()): + _add_test_catch(player, active_species[index]) assert(save_manager.save_now()) assert(player.inventory.replace_all_catches(no_catches, 1)) assert(player.collection_log.replace_discovered_ids(no_discoveries)) assert(save_manager.load_player_data()) - assert( - player.inventory.get_all_catches().size() - == round_trip_species.size() - ) - for fish: FishData in round_trip_species: + assert(player.inventory.get_all_catches().size() == 63) + for fish: FishData in active_species: assert(player.inventory.get_count(fish.id) == 1) assert(player.collection_log.has_discovered(fish.id)) for fish_id: StringName in [ @@ -236,13 +185,13 @@ func _add_test_catch(player: Player, fish: FishData) -> void: func _capture_if_requested(suffix: String) -> void: - if not OS.has_environment("straywild_LOGBOOK_CAPTURE"): + if not OS.has_environment("NETFISHING_LOGBOOK_CAPTURE"): return await process_frame await process_frame var image: Image = root.get_texture().get_image() var path: String = ( - OS.get_environment("straywild_LOGBOOK_CAPTURE") + OS.get_environment("NETFISHING_LOGBOOK_CAPTURE") + suffix + ".png" ) diff --git a/tests/logbook_validation.gd b/tests/logbook_validation.gd index 67747a5..7eca559 100644 --- a/tests/logbook_validation.gd +++ b/tests/logbook_validation.gd @@ -17,19 +17,17 @@ const CatalogResource: FishPoolType = preload( "res://fish/pools/fish_catalog.tres" ) -var _query_available_id: StringName - func _initialize() -> void: call_deferred("_run") func _run() -> void: - if OS.has_environment("straywild_TEST_CREATE_ROOT"): + if OS.has_environment("NETFISHING_TEST_CREATE_ROOT"): var data_root := PlayerDataRoot.new() root.add_child(data_root) var result: Dictionary = data_root.create_unbound_root( - OS.get_environment("straywild_TEST_CREATE_ROOT") + OS.get_environment("NETFISHING_TEST_CREATE_ROOT") ) assert(bool(result.get("ok", false))) data_root.queue_free() @@ -37,7 +35,6 @@ func _run() -> void: quit() return _validate_catalog() - _validate_catalog_query() await _validate_page() print("Logbook validation: PASS") quit() @@ -46,7 +43,7 @@ func _run() -> void: func _validate_catalog() -> void: assert(CatalogResource.candidates.size() == 316) var ordered := LogbookCatalog.ordered_species(CatalogResource.candidates) - assert(ordered.size() == 314) + assert(ordered.size() == 63) var previous_number: int = 0 var catalog_numbers: Dictionary[int, bool] = {} for fish: FishDataType in CatalogResource.candidates: @@ -71,348 +68,6 @@ func _validate_catalog() -> void: ) -func _validate_catalog_query() -> void: - var collection := CollectionLogType.new() - var inventory := FishInventoryType.new() - var fresh_species: Array[FishDataType] = [] - for fish: FishDataType in LogbookCatalog.ordered_species( - CatalogResource.candidates - ): - if LogbookCatalog.category_for(fish) == LogbookCatalog.Category.FRESH_WATER: - fresh_species.append(fish) - assert(fresh_species.size() == 108) - var first := fresh_species[0] - var second := fresh_species[1] - var unknown := fresh_species[2] - for quality: int in FishQualityType.TIER_COUNT: - collection.record_catch(first.id, quality) - collection.record_catch(second.id, FishQualityType.Tier.BORING) - var held := _make_test_catch(first, true) - assert(inventory.add_catch(held)) - - var options := _default_query_options() - options["show"] = LogbookCatalog.DiscoveryFilter.CAUGHT - var filtered := LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered.size() == 2) - assert(first in filtered and second in filtered) - - options["show"] = LogbookCatalog.DiscoveryFilter.MISSING - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered.size() == fresh_species.size() - 2) - options["sort"] = LogbookCatalog.SortMode.CATALOG_NUMBER - options["descending"] = true - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered.front() == fresh_species.back()) - assert(filtered.back() == unknown) - - options["show"] = LogbookCatalog.DiscoveryFilter.INCOMPLETE - options["descending"] = false - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered == [second]) - - options = _default_query_options() - options["show"] = LogbookCatalog.DiscoveryFilter.CAUGHT - options["sort"] = LogbookCatalog.SortMode.CATCH_COUNT - options["descending"] = true - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered == [first, second]) - - options = _default_query_options() - options["search"] = unknown.display_name - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered.is_empty()) - options["search"] = str(unknown.catalog_number) - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered == [unknown]) - - options = _default_query_options() - options["holding"] = LogbookCatalog.HoldingFilter.FAVORITED - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered == [first]) - options["holding"] = LogbookCatalog.HoldingFilter.IN_COOLER - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered == [first]) - - options = _default_query_options() - options["show"] = LogbookCatalog.DiscoveryFilter.CAUGHT - options["group"] = String(first.collection_group) - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(first in filtered) - for fish: FishDataType in filtered: - assert(fish.collection_group == first.collection_group) - - options = _default_query_options() - options["show"] = LogbookCatalog.DiscoveryFilter.CAUGHT - options["rarity"] = ( - int(first.rarity) + LogbookCatalog.RarityFilter.COMMON - ) - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(first in filtered) - for fish: FishDataType in filtered: - assert(fish.rarity == first.rarity) - - options = _default_query_options() - options["show"] = LogbookCatalog.DiscoveryFilter.CAUGHT - options["method"] = ( - int(first.collection_method) + LogbookCatalog.MethodFilter.FISHING - ) - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(first in filtered) - for fish: FishDataType in filtered: - assert(fish.collection_method == first.collection_method) - - var first_season := -1 - for season: int in 4: - if first.is_available_in_season(season): - first_season = season - break - assert(first_season >= 0) - options = _default_query_options() - options["show"] = LogbookCatalog.DiscoveryFilter.CAUGHT - options["season"] = ( - first_season + LogbookCatalog.SeasonFilter.SPRING - ) - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(first in filtered) - for fish: FishDataType in filtered: - assert(fish.is_available_in_season(first_season)) - - var first_is_available_by_day := ( - first.availability == null or first.availability.allow_day - ) - options = _default_query_options() - options["show"] = LogbookCatalog.DiscoveryFilter.CAUGHT - options["time"] = ( - LogbookCatalog.TimeFilter.DAY - if first_is_available_by_day - else LogbookCatalog.TimeFilter.NIGHT - ) - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(first in filtered) - - options = _default_query_options() - options["show"] = LogbookCatalog.DiscoveryFilter.CAUGHT - options["sort"] = LogbookCatalog.SortMode.QUALITY_PROGRESS - options["descending"] = true - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered == [first, second]) - for sort_mode: LogbookCatalog.SortMode in [ - LogbookCatalog.SortMode.NAME, - LogbookCatalog.SortMode.RARITY, - LogbookCatalog.SortMode.VALUE, - LogbookCatalog.SortMode.WEIGHT, - ]: - options = _default_query_options() - options["sort"] = sort_mode - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(filtered[0] in [first, second]) - assert(filtered[1] in [first, second]) - assert(filtered[0] != filtered[1]) - assert(filtered[2] == unknown) - - _query_available_id = second.id - options = _default_query_options() - options["availability"] = ( - LogbookCatalog.AvailabilityFilter.AVAILABLE_NOW - ) - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - Callable(self, "_query_species_available_now"), - ) - assert(filtered == [second]) - - _query_available_id = unknown.id - options["show"] = LogbookCatalog.DiscoveryFilter.MISSING - options["rarity"] = ( - int(unknown.rarity) + LogbookCatalog.RarityFilter.COMMON - ) - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - Callable(self, "_query_species_available_now"), - ) - assert(filtered == [unknown]) - - options = _default_query_options() - options["show"] = LogbookCatalog.DiscoveryFilter.MISSING - options["group"] = String(unknown.collection_group) - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(unknown in filtered) - assert( - String(unknown.collection_group) - in LogbookCatalog.available_groups( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - ) - ) - - var unknown_is_available_by_day := ( - unknown.availability == null or unknown.availability.allow_day - ) - options = _default_query_options() - options["show"] = LogbookCatalog.DiscoveryFilter.MISSING - options["time"] = ( - LogbookCatalog.TimeFilter.DAY - if unknown_is_available_by_day - else LogbookCatalog.TimeFilter.NIGHT - ) - filtered = LogbookCatalog.filtered_species( - CatalogResource.candidates, - LogbookCatalog.Category.FRESH_WATER, - collection, - inventory, - options, - ) - assert(unknown in filtered) - inventory.free() - collection.free() - - -func _default_query_options() -> Dictionary: - return { - "search": "", - "show": LogbookCatalog.DiscoveryFilter.ALL, - "sort": LogbookCatalog.SortMode.CATALOG_NUMBER, - "descending": false, - "availability": LogbookCatalog.AvailabilityFilter.ANY, - "season": LogbookCatalog.SeasonFilter.ANY, - "time": LogbookCatalog.TimeFilter.ANY, - "rarity": LogbookCatalog.RarityFilter.ANY, - "method": LogbookCatalog.MethodFilter.ANY, - "holding": LogbookCatalog.HoldingFilter.ANY, - "group": "", - } - - -func _make_test_catch(fish: FishDataType, favorited: bool) -> FishCatchType: - var fish_catch := FishCatchType.new() - fish_catch.fish = fish - fish_catch.fish_id = fish.id - fish_catch.weight_lb = fish.get_minimum_weight() - fish_catch.display_scale = fish.get_display_scale_for_weight( - fish_catch.weight_lb - ) - fish_catch.quality = FishQualityType.Tier.BORING - fish_catch.sale_value = fish.get_sale_value_for_weight(fish_catch.weight_lb) - fish_catch.is_favorited = favorited - fish_catch.ensure_identity() - return fish_catch - - -func _query_species_available_now(fish: FishDataType) -> bool: - return fish != null and fish.id == _query_available_id - - func _validate_page() -> void: var collection := CollectionLogType.new() var inventory := FishInventoryType.new() @@ -436,10 +91,6 @@ func _validate_page() -> void: assert(outer_margin.get_theme_constant("margin_right") == 160) assert(outer_margin.get_theme_constant("margin_bottom") == 106) assert(is_equal_approx(book.offset_top, 65.0)) - page.call("_set_index_open", true, false) - await process_frame - _validate_index_content_bounds(page) - page.call("_set_index_open", false, false) page.set_compact_presentation(false) await process_frame assert(outer_margin.get_theme_constant("margin_left") == 52) @@ -452,9 +103,6 @@ func _validate_page() -> void: assert((page.get("_catalog_grid") as GridContainer).columns == 4) var catalog_scroll := page.get("_catalog_scroll") as ScrollContainer assert(catalog_scroll != null and catalog_scroll.follow_focus) - catalog_scroll.scroll_vertical = 37 - await create_timer(0.2).timeout - assert(catalog_scroll.scroll_vertical == 37) page.call( "_set_controller_zone", LogbookPage.ControllerZone.ENTRIES, @@ -507,39 +155,6 @@ func _validate_page() -> void: ) var initial_detail_body := page.get("_detail_body") as VBoxContainer assert(not initial_detail_body.get_parent() is ScrollContainer) - var index_tab := page.get("_index_tab") as Button - var index_body := page.get("_index_body") as VBoxContainer - assert(index_tab != null and index_body != null) - assert(index_tab.size == LogbookPage.INDEX_TAB_SIZE) - assert( - not index_tab.get_global_rect().intersects( - (category_tabs.back() as Button).get_global_rect() - ) - ) - page.call("_set_index_open", true, false) - await process_frame - assert(index_body.visible) - assert(not initial_detail_body.visible) - assert((page.get("_index_option_buttons") as Dictionary).size() == 10) - _validate_index_content_bounds(page) - page.call( - "_cycle_index_option", - &"show", - 1, - ) - await process_frame - assert((page.get("_entry_buttons") as Dictionary).is_empty()) - assert( - (page.get("_empty_state") as Label).text - == "No entries match this index." - ) - page.call("_reset_index") - await process_frame - assert((page.get("_entry_buttons") as Dictionary).size() == 108) - page.call("_set_index_open", false, false) - await process_frame - assert(not index_body.visible) - assert(initial_detail_body.visible) assert( page.call("_entry_label_text", "flathead catfish") == "flathead\ncatfish" @@ -547,11 +162,6 @@ func _validate_page() -> void: var shared_material: Material var silhouette_count: int = 0 - var target_silhouette_area: float = ( - LogbookPage.CATALOG_PORTRAIT_SIZE.x - * LogbookPage.CATALOG_PORTRAIT_SIZE.y - * LogbookPortraitType.UNIFORM_FOOTPRINT_AREA_RATIO - ) for category: LogbookCatalog.Category in [ LogbookCatalog.Category.FRESH_WATER, LogbookCatalog.Category.SALT_WATER, @@ -561,7 +171,7 @@ func _validate_page() -> void: var entries: Dictionary = page.get("_entry_buttons") assert( entries.size() - == (108 if category == LogbookCatalog.Category.FRESH_WATER else 202) + == (26 if category == LogbookCatalog.Category.FRESH_WATER else 34) ) for fish: FishDataType in LogbookCatalog.ordered_species( CatalogResource.candidates @@ -582,15 +192,8 @@ func _validate_page() -> void: assert(portrait != null) assert(portrait.source_texture == fish.display_texture) assert( - portrait.custom_minimum_size.x - <= LogbookPage.CATALOG_PORTRAIT_SIZE.x - and portrait.custom_minimum_size.y - <= LogbookPage.CATALOG_PORTRAIT_SIZE.y - ) - assert(portrait.get_parent() is CenterContainer) - assert( - (portrait.get_parent() as CenterContainer).custom_minimum_size - == LogbookPage.CATALOG_PORTRAIT_SIZE + portrait.custom_minimum_size + == LogbookPage.CATALOG_PORTRAIT_SIZE ) assert( portrait.expand_mode @@ -606,23 +209,6 @@ func _validate_page() -> void: else: assert(portrait.material == shared_material) assert(_texture_has_transparency(portrait.texture)) - var silhouette_area: float = ( - portrait.custom_minimum_size.x - * portrait.custom_minimum_size.y - ) - assert(silhouette_area > 0.0) - assert(silhouette_area <= target_silhouette_area * 1.05) - assert( - silhouette_area >= target_silhouette_area * 0.9 - or is_equal_approx( - portrait.custom_minimum_size.x, - LogbookPage.CATALOG_PORTRAIT_SIZE.x, - ) - or is_equal_approx( - portrait.custom_minimum_size.y, - LogbookPage.CATALOG_PORTRAIT_SIZE.y, - ) - ) silhouette_count += 1 for candidate: FishDataType in CatalogResource.candidates: assert(not entry.text.contains(candidate.display_name)) @@ -636,14 +222,11 @@ func _validate_page() -> void: candidate.display_name ) ) - assert(silhouette_count == 310) + assert(silhouette_count == 60) page.call("_select_category", LogbookCatalog.Category.SHELLFISH) await create_timer(0.25).timeout - assert((page.get("_entry_buttons") as Dictionary).size() == 3) - assert( - (page.get("_entry_buttons") as Dictionary).has(&"unknown_3902") - ) + assert((page.get("_entry_buttons") as Dictionary).size() == 2) assert( (page.get("_entry_buttons") as Dictionary).has(&"unknown_3906") ) @@ -686,11 +269,6 @@ func _validate_page() -> void: assert(known_portrait != null) assert(known_portrait.source_texture == bluegill.display_texture) assert(known_portrait.material == null) - assert(known_portrait.get_parent() is CenterContainer) - assert( - (known_portrait.get_parent() as CenterContainer).custom_minimum_size - == LogbookPage.CATALOG_PORTRAIT_SIZE - ) assert(known.button_pressed) _validate_handwritten_logbook_font(page) @@ -843,19 +421,8 @@ func _validate_page() -> void: (page.get("_portrait_overlay_backdrop") as Button).pressed.emit() await process_frame - var live_index_options := page.get("_index_options") as Dictionary - live_index_options["holding"] = LogbookCatalog.HoldingFilter.IN_COOLER - page.call("_refresh_catalog") - await process_frame - assert( - (page.get("_entry_buttons") as Dictionary).keys() - == [&"bluegill"] - ) inventory.remove_catch_by_id(fish_catch.catch_id) await process_frame - assert((page.get("_entry_buttons") as Dictionary).is_empty()) - page.call("_reset_index") - await process_frame assert(not _detail_text(page).contains("number owned")) page.queue_free() collection.queue_free() @@ -870,54 +437,6 @@ func _detail_text(page: LogbookPage) -> String: return "\n".join(values) -func _validate_index_content_bounds(page: LogbookPage) -> void: - var body := page.get("_index_body") as VBoxContainer - assert(body != null and body.visible) - var right_page := body.get_parent() as Control - assert(right_page != null) - var page_rect := right_page.get_global_rect() - var body_rect := body.get_global_rect() - var protected_rect := Rect2( - page_rect.position + Vector2( - LogbookPage.INDEX_CONTENT_LEFT_INSET, - LogbookPage.INDEX_CONTENT_TOP_INSET, - ), - page_rect.size - Vector2( - LogbookPage.INDEX_CONTENT_LEFT_INSET - + LogbookPage.INDEX_CONTENT_RIGHT_INSET, - LogbookPage.INDEX_CONTENT_TOP_INSET - + LogbookPage.INDEX_CONTENT_BOTTOM_INSET, - ), - ) - assert( - body_rect.position.x - >= page_rect.position.x + LogbookPage.INDEX_CONTENT_LEFT_INSET - 1.0 - ) - assert( - body_rect.end.x - <= page_rect.end.x - LogbookPage.INDEX_CONTENT_RIGHT_INSET + 1.0 - ) - assert( - body_rect.position.y >= page_rect.position.y, - "Index starts above the authored page: body=%s page=%s" - % [body_rect, page_rect], - ) - assert( - body_rect.end.y <= page_rect.end.y, - "Index extends below the authored page: body=%s page=%s" - % [body_rect, page_rect], - ) - var controls: Array = page.get("_index_controls") as Array - for value: Variant in controls: - var control := value as Control - if control != null and control.visible: - assert( - protected_rect.grow(2.0).encloses(control.get_global_rect()), - "Index control crossed the authored right-page boundary: %s" - % control.name, - ) - - func _descendant_label_text(parent: Node) -> String: var values: PackedStringArray = [] for node: Node in parent.find_children("*", "Label", true, false): diff --git a/tests/manual/terrain_chunk_generator/terrain_chunk_generator_test.tscn b/tests/manual/terrain_chunk_generator/terrain_chunk_generator_test.tscn index 5c1e046..df3a835 100644 --- a/tests/manual/terrain_chunk_generator/terrain_chunk_generator_test.tscn +++ b/tests/manual/terrain_chunk_generator/terrain_chunk_generator_test.tscn @@ -4,7 +4,7 @@ [ext_resource type="Script" path="res://world/generation/terrain_chunk_generator.gd" id="2_generator"] [ext_resource type="Resource" path="res://world/generation/chunks/terrain_chunk_catalog.tres" id="3_catalog"] [ext_resource type="PackedScene" path="res://player/player.tscn" id="4_player"] -[ext_resource type="Environment" path="res://world/environment/straywild_environment.tres" id="5_environment"] +[ext_resource type="Environment" path="res://world/environment/netfishing_environment.tres" id="5_environment"] [node name="TerrainChunkGeneratorTest" type="Node3D"] script = ExtResource("1_test") diff --git a/tests/movement_multiplayer_validation.gd b/tests/movement_multiplayer_validation.gd index 05a668d..f331534 100644 --- a/tests/movement_multiplayer_validation.gd +++ b/tests/movement_multiplayer_validation.gd @@ -37,10 +37,8 @@ func _validate_latency_smoothing() -> void: _validate_compact_animation_encoding() _validate_animation_action_ordering(avatar) _validate_transit_estimation() - await _validate_remote_snapshot_smoothing(avatar) - _validate_remote_locomotion_playback_recovery(avatar) + _validate_remote_snapshot_smoothing(avatar) _validate_reliable_jump_intent(avatar) - _validate_airborne_sitting(avatar) _validate_stale_input_expiry(avatar) avatar.queue_free() await process_frame @@ -73,7 +71,6 @@ func _validate_compact_snapshot_encoding() -> void: 1, ) assert(NetworkSession.MOVEMENT_SNAPSHOT_BATCH_SIZE == 8) - assert(NetworkSession.OWNER_SNAPSHOT_DIVISOR == 3) var encoded_snapshots: Array = [] for _peer: int in NetworkSession.MOVEMENT_SNAPSHOT_BATCH_SIZE: encoded_snapshots.append( @@ -143,35 +140,6 @@ func _validate_compact_animation_encoding() -> void: ) -func _validate_airborne_sitting(avatar: Player) -> void: - avatar.reset_network_movement_state() - avatar.set_local_control(true) - avatar.set("_sit_after_landing", true) - assert(avatar.get_network_sitting_intent()) - assert(not avatar.get_network_sitting_state()) - assert(not bool(avatar.make_network_snapshot(2)["sitting"])) - assert(bool(avatar.capture_network_input(1)["sitting"])) - avatar.call("_queue_local_network_jump_intent") - var jumping_input: Dictionary = avatar.capture_network_input(2) - assert(bool(jumping_input["jump"])) - assert(not bool(jumping_input["sitting"])) - avatar.call("_cancel_sitting_for_jump") - assert(not bool(avatar.get("_sit_after_landing"))) - assert(bool(avatar.get("_sitting_intent_pending"))) - avatar.reset_network_movement_state() - - # Even a malformed or stale reconciliation that marks an airborne avatar as - # seated must not bypass gravity and freeze it in place. - avatar.set("_sit_after_landing", false) - avatar.call("_set_sitting", true) - avatar.velocity = Vector3(0.0, 4.0, 0.0) - avatar.call("_simulate_movement_physics", 0.1) - assert(not avatar.is_sitting()) - assert(bool(avatar.get("_sit_after_landing"))) - assert(avatar.velocity.y < 4.0) - avatar.reset_network_movement_state() - - func _validate_animation_action_ordering(avatar: Player) -> void: var draw := NetworkPlayerAnimationProtocol.make_action_state( &"draw", 5, 0.2 @@ -313,191 +281,18 @@ func _validate_remote_snapshot_smoothing(avatar: Player) -> void: ) assert(avatar.global_position.x <= maximum_extrapolated_x + 0.1) - # Reconciliation only applies after both simulations report a grounded body. - # Give the unit avatar a real floor so this exercises the production path. - var floor := StaticBody3D.new() - floor.collision_layer = 1 - floor.collision_mask = 0 - floor.position = Vector3(0.0, -0.1, 0.0) - var floor_shape := CollisionShape3D.new() - var floor_box := BoxShape3D.new() - floor_box.size = Vector3(100.0, 0.2, 100.0) - floor_shape.shape = floor_box - floor.add_child(floor_shape) - root.add_child(floor) - await physics_frame avatar.set_local_control(true) avatar.global_position = Vector3(0.8, 0.0, 0.0) - avatar.velocity = Vector3.DOWN - avatar.move_and_slide() - assert(avatar.is_on_floor()) + var replay_input: Dictionary = _movement_input(2, false) + replay_input["axis"] = [1.0, 0.0] + var pending_inputs: Array[Dictionary] = [replay_input] avatar.apply_local_prediction_correction( moving_snapshot, - 2, + pending_inputs, 1.0 / 30.0, - 0.1, - 0.1, ) - # Ordinary host/client disagreement is expected while a packet is in flight. - # It must never tug the locally controlled body or camera around. - assert(is_equal_approx(avatar.global_position.x, 0.8)) - assert( - int(avatar.get("_local_prediction_soft_corrections")) == 0 - ) - assert( - int(avatar.get("_local_prediction_hard_corrections")) == 0 - ) - - # A larger but still plausible mismatch must persist across multiple audits - # before a small correction is allowed. Preserve both visible character and - # camera positions while the collision body catches up. - avatar.global_position = Vector3(3.0, 0.0, 0.0) - var visual_position: Vector3 = avatar.get_node("Visuals").global_position - var camera_position: Vector3 = avatar.get_node("CameraYaw").global_position - var drift_snapshot: Dictionary = _network_snapshot( - Vector3.ZERO, - Vector3.ZERO, - 20, - ) - for _audit: int in 3: - avatar.apply_local_prediction_correction( - drift_snapshot, - 20, - 1.0 / 30.0, - 0.0, - 0.1, - ) - assert(is_equal_approx(avatar.global_position.x, 3.0)) - avatar.apply_local_prediction_correction( - drift_snapshot, - 20, - 1.0 / 30.0, - 0.0, - 0.1, - ) - assert(avatar.global_position.x < 3.0) - assert(avatar.global_position.x >= 2.85 - 0.001) - assert(avatar.get_node("Visuals").global_position == visual_position) - assert(avatar.get_node("CameraYaw").global_position == camera_position) - assert( - int(avatar.get("_local_prediction_soft_corrections")) == 1 - ) - - # Host and client jump timing naturally differs. An airborne authoritative - # snapshot must not drag the local capsule sideways or down before landing. - avatar.global_position = Vector3(3.0, 0.0, 0.0) - avatar.velocity = Vector3(0.0, 1.0, 0.0) - var airborne_snapshot: Dictionary = drift_snapshot.duplicate(true) - airborne_snapshot["grounded"] = false - for _audit: int in 6: - avatar.apply_local_prediction_correction( - airborne_snapshot, - 20, - 1.0 / 30.0, - 0.0, - 0.1, - ) - assert(avatar.global_position.is_equal_approx(Vector3(3.0, 0.0, 0.0))) - assert(int(avatar.get("_local_prediction_soft_corrections")) == 1) - avatar.velocity = Vector3.ZERO - - # The local body may reach its apex after the host has already landed. The - # local airborne state still owns presentation and must not be pulled toward - # the host until it has landed too. - avatar.global_position = Vector3(3.0, 2.0, 0.0) - avatar.velocity = Vector3.ZERO - avatar.move_and_slide() - assert(not avatar.is_on_floor()) - for _audit: int in 6: - avatar.apply_local_prediction_correction( - drift_snapshot, - 20, - 1.0 / 30.0, - 0.0, - 0.1, - ) - assert(avatar.global_position.is_equal_approx(Vector3(3.0, 2.0, 0.0))) - assert(int(avatar.get("_local_prediction_soft_corrections")) == 1) - - # Genuine divergence still recovers immediately, as do the separate reliable - # teleport and water-recovery paths used by gameplay transitions. - avatar.global_position = Vector3(10.0, 0.0, 0.0) - avatar.apply_local_prediction_correction( - drift_snapshot, - 20, - 1.0 / 30.0, - 0.0, - 0.1, - ) - assert(avatar.global_position == Vector3.ZERO) - assert( - int(avatar.get("_local_prediction_hard_corrections")) == 1 - ) - - # Soft reconciliation must respect the same terrain collision as ordinary - # player movement instead of phasing the capsule through a solid obstacle. - var blocker := StaticBody3D.new() - blocker.collision_layer = 1 - blocker.collision_mask = 0 - blocker.position = Vector3(1.0, 1.0, 0.0) - var blocker_shape := CollisionShape3D.new() - var blocker_box := BoxShape3D.new() - blocker_box.size = Vector3(0.2, 4.0, 4.0) - blocker_shape.shape = blocker_box - blocker.add_child(blocker_shape) - root.add_child(blocker) - await physics_frame - avatar.global_position = Vector3.ZERO - avatar.velocity = Vector3.ZERO - avatar.call("_clear_local_reconciliation_offsets") - var blocked_visual_position: Vector3 = ( - avatar.get_node("Visuals") as Node3D - ).global_position - var blocked_camera_position: Vector3 = ( - avatar.get_node("CameraYaw") as Node3D - ).global_position - assert(bool(avatar.call( - "_apply_camera_safe_local_correction", - Vector3(2.0, 0.0, 0.0), - ))) - assert(avatar.global_position.x > 0.0 and avatar.global_position.x < 0.6) - assert( - (avatar.get_node("Visuals") as Node3D).global_position - == blocked_visual_position - ) - assert( - (avatar.get_node("CameraYaw") as Node3D).global_position - == blocked_camera_position - ) - blocker.queue_free() - floor.queue_free() - await physics_frame - - -func _validate_remote_locomotion_playback_recovery(avatar: Player) -> void: - avatar.configure_network_remote(false) - avatar.push_network_snapshot( - _network_snapshot(Vector3.ZERO, Vector3(4.5, 0.0, 0.0), 21) - ) - avatar.call("_update_character_animation") - var animation_player := avatar.get_node( - "Visuals/CharacterRig/AnimationPlayer" - ) as AnimationPlayer - assert(animation_player.assigned_animation == &"running") - assert(animation_player.is_playing()) - - # Reproduce issue #111: locomotion replication still says RUNNING (and the - # dust therefore still emits), but the rig playback has fallen idle. The - # local presentation pass must repair that state without another packet. - animation_player.stop() - assert(not animation_player.is_playing()) - assert( - int(avatar.get("_network_target_locomotion_state")) - == Player.LocomotionState.RUNNING - ) - avatar.call("_update_character_animation") - assert(animation_player.assigned_animation == &"running") - assert(animation_player.is_playing()) + assert(avatar.global_position.x < 0.8) + assert(avatar.global_position.x > 0.0) func _validate_reliable_jump_intent(avatar: Player) -> void: @@ -510,10 +305,8 @@ func _validate_reliable_jump_intent(avatar: Player) -> void: assert(int(avatar.get("_local_network_jump_intent_sequence")) == 20) avatar.apply_local_prediction_correction( _network_snapshot(avatar.global_position, Vector3.ZERO, 20), - 20, + [], 1.0 / 30.0, - 0.0, - 0.1, ) assert(not bool(avatar.capture_network_input(22)["jump"])) @@ -593,22 +386,15 @@ func _run_host() -> void: var main: Node = await _create_initialized_main() var session := main.get_node("%NetworkSession") as NetworkSession var save_manager := main.get("_save_manager") as PlayerSaveManager - assert(bool(main.call( - "_apply_world", + assert(session.set_host_world( WorldLayout.STARTER_ISLAND, NetworkProtocol.DEFAULT_WORLD_SEED, - true, - ))) - assert(bool(main.call( - "_prepare_host_world", - WorldLayout.STARTER_ISLAND, - NetworkProtocol.DEFAULT_WORLD_SEED, - ))) + )) + assert(session.start_private_host(TEST_PORT)) assert(save_manager.initialize_new_game( NetworkProtocol.DEFAULT_WORLD_SEED, WorldLayout.STARTER_ISLAND, )) - assert(session.start_private_host(TEST_PORT)) main.call("_enter_gameplay") for _frame: int in 4: await physics_frame @@ -620,40 +406,31 @@ func _run_host() -> void: # to settle before emitting the one-shot locomotion/action sequence. await create_timer(3.0).timeout var player := main.get("_player") as Player - var world := main.get_node("TestWorld") as TestWorld player.configure_network_remote(true) - await _reset_locomotion_test_position(player, session, world) - var input_sequence: int = 1 - input_sequence = await _sustain_locomotion_input( - player, input_sequence, 1.5, true - ) - await _reset_locomotion_test_position(player, session, world) - input_sequence = await _sustain_locomotion_input( - player, input_sequence, 1.5, false - ) - await _reset_locomotion_test_position(player, session, world) - input_sequence = await _sustain_locomotion_input( - player, input_sequence, 1.5, false, true, true - ) - input_sequence = await _sustain_locomotion_input( - player, input_sequence, 1.5, false, false, true - ) + player.apply_authoritative_network_input(_movement_input(1, true)) + await create_timer(2.5).timeout + player.apply_authoritative_network_input(_movement_input(2, false)) + await create_timer(2.5).timeout player.apply_authoritative_network_input( - _movement_input(input_sequence, false, false, true, &"draw", 1) + _movement_input(3, false, true, true) ) - input_sequence += 1 - await create_timer(1.0).timeout - player.apply_authoritative_network_input( - _movement_input( - input_sequence, false, false, true, &"strike", 2, true - ) - ) - input_sequence += 1 await create_timer(2.0).timeout player.apply_authoritative_network_input( - _movement_input(input_sequence, false, false, false, &"", 3) + _movement_input(4, false, false, true) ) - var disconnect_deadline: int = Time.get_ticks_msec() + 15000 + await create_timer(2.0).timeout + player.apply_authoritative_network_input( + _movement_input(5, false, false, true, &"draw", 1) + ) + await create_timer(1.0).timeout + player.apply_authoritative_network_input( + _movement_input(6, false, false, true, &"strike", 2, true) + ) + await create_timer(2.0).timeout + player.apply_authoritative_network_input( + _movement_input(7, false, false, false, &"", 3) + ) + var disconnect_deadline: int = Time.get_ticks_msec() + 8000 while ( Time.get_ticks_msec() < disconnect_deadline and session.is_authenticated_peer(remote_peer_id) @@ -702,27 +479,12 @@ func _run_client() -> void: var saw_net_strike_paused: bool = false var saw_animation_advance: bool = false var saw_dust: bool = false - var observed_animations: Dictionary = {} - var observed_locomotion_states: Dictionary = {} - var maximum_sneak_speed: float = 0.0 var previous_animation: StringName = &"" var previous_animation_position: float = -1.0 - var observation_deadline: int = Time.get_ticks_msec() + 22000 + var observation_deadline: int = Time.get_ticks_msec() + 18000 while Time.get_ticks_msec() < observation_deadline: await process_frame var current_animation: StringName = animation_player.current_animation - observed_animations[current_animation] = true - var target_locomotion_state: int = int(host_avatar.get( - "_network_target_locomotion_state" - )) - observed_locomotion_states[target_locomotion_state] = true - if target_locomotion_state == Player.LocomotionState.SNEAKING: - maximum_sneak_speed = maxf( - maximum_sneak_speed, - Vector2( - host_avatar.velocity.x, host_avatar.velocity.z - ).length(), - ) saw_running = saw_running or current_animation.begins_with("running") saw_walking = saw_walking or current_animation.begins_with("walking") saw_sneaking = saw_sneaking or current_animation == &"sneaking" @@ -763,44 +525,15 @@ func _run_client() -> void: and saw_dust ): break - var missing_observations: Array[String] = [] - if not saw_running: - missing_observations.append("running") - if not saw_walking: - missing_observations.append("walking") - if not saw_sneaking: - missing_observations.append("sneaking") - if not saw_idle_sneak: - missing_observations.append("idle_sneak") - if not saw_net_draw: - missing_observations.append("net_draw") - if not saw_net_strike: - missing_observations.append("net_strike") - if not saw_net_strike_paused: - missing_observations.append("net_strike_paused") - if not saw_animation_advance: - missing_observations.append("animation_advance") - if not saw_dust: - missing_observations.append("sprint_dust") - if not missing_observations.is_empty(): - push_error( - ( - "Missing movement observations %s; observed animations: %s; " - + "locomotion states: %s; maximum sneak speed: %.3f" - ) % [ - missing_observations, - observed_animations.keys(), - observed_locomotion_states.keys(), - maximum_sneak_speed, - ] - ) - session.disconnect_session("") - main.queue_free() - for _frame: int in 4: - await process_frame - await create_timer(0.1).timeout - quit(1) - return + assert(saw_running) + assert(saw_walking) + assert(saw_sneaking) + assert(saw_idle_sneak) + assert(saw_net_draw) + assert(saw_net_strike) + assert(saw_net_strike_paused) + assert(saw_animation_advance) + assert(saw_dust) print("Movement multiplayer client validation: PASS") session.disconnect_session("") main.queue_free() @@ -838,39 +571,6 @@ func _movement_input( } -func _sustain_locomotion_input( - player: Player, - starting_sequence: int, - duration_seconds: float, - sprinting: bool, - moving: bool = true, - sneaking: bool = false, -) -> int: - var sequence: int = starting_sequence - var deadline: int = ( - Time.get_ticks_msec() + roundi(duration_seconds * 1000.0) - ) - while Time.get_ticks_msec() < deadline: - player.apply_authoritative_network_input( - _movement_input(sequence, sprinting, moving, sneaking) - ) - sequence += 1 - await create_timer(0.1).timeout - return sequence - - -func _reset_locomotion_test_position( - player: Player, - session: NetworkSession, - world: TestWorld, -) -> void: - player.velocity = Vector3.ZERO - player.global_transform = world.get_player_spawn_transform() - session.publish_authoritative_teleport(1) - for _frame: int in 4: - await physics_frame - - func _create_initialized_main() -> Node: root.size = Vector2i(1280, 720) var main: Node = MainScene.instantiate() diff --git a/tests/net_attachment_validation.gd b/tests/net_attachment_validation.gd index 6b53c08..15b8b7d 100644 --- a/tests/net_attachment_validation.gd +++ b/tests/net_attachment_validation.gd @@ -57,73 +57,23 @@ func _run() -> void: "Net rear face did not follow the socket direction guide.", ) - var model := catching_net.get_node_or_null("ModelMount/NetModel") as Node3D - _check(model != null, "Imported net model is missing.") - if model == null: - _finish(host_skeleton) - return - var skeleton := model.find_child("Skeleton3D", true, false) as Skeleton3D - _check(skeleton != null, "Imported net Skeleton3D is missing.") - if skeleton == null: - _finish(host_skeleton) - return - _check( - skeleton.find_bone("net_root") >= 0, - "Imported net_root bone is missing.", + var handle := catching_net.get_node_or_null("Handle") as MeshInstance3D + var hoop := catching_net.get_node_or_null("Hoop") as MeshInstance3D + var bag := catching_net.get_node_or_null("Bag") as MeshInstance3D + var impact_marker := ( + catching_net.get_node_or_null("ImpactMarker") as Marker3D ) - _check( - skeleton.find_bone("net_rim") >= 0, - "Imported net_rim bone is missing.", - ) - _check( - skeleton.find_bone("net_mid") >= 0, - "Imported net_mid bone is missing.", - ) - _check( - skeleton.find_bone("net_tip") >= 0, - "Imported net_tip bone is missing.", - ) - - var spring := skeleton.get_node_or_null("NetSpring") as SpringBoneSimulator3D - _check(spring != null, "Net spring simulator was not created.") - if spring != null: - _check(spring.get_setting_count() == 1, "Net spring settings changed.") + _check(handle != null and handle.mesh != null, "Placeholder handle is missing.") + _check(hoop != null and hoop.mesh != null, "Placeholder hoop is missing.") + _check(bag != null and bag.mesh != null, "Placeholder net bag is missing.") + _check(impact_marker != null, "Net impact marker is missing.") + if impact_marker != null: _check( - spring.get_root_bone_name(0) == &"net_mid", - "Net spring root must remain net_mid.", - ) - _check( - spring.get_end_bone_name(0) == &"net_tip", - "Net spring end must remain net_tip.", - ) - _check(not spring.active, "Hidden net spring must be suspended.") - catching_net.visible = true - await process_frame - await process_frame - _check(spring.active, "Visible net spring must be active.") - _check(spring.get_joint_count(0) == 2, "Net spring chain is incomplete.") - _check( - not attachment.get_impact_world_position().is_equal_approx( - catching_net.global_position + attachment.get_impact_world_position().is_equal_approx( + impact_marker.global_position ), - "Net impact position did not follow the authored rim bone.", + "Net impact position moved away from its marker.", ) - catching_net.visible = false - await process_frame - _check(not spring.active, "Hidden net spring did not suspend.") - - for child: Node in model.find_children("*", "MeshInstance3D", true, false): - var mesh_instance := child as MeshInstance3D - if mesh_instance.mesh == null: - continue - for surface_index: int in mesh_instance.mesh.get_surface_count(): - var material := mesh_instance.mesh.surface_get_material(surface_index) - if material is BaseMaterial3D: - _check( - (material as BaseMaterial3D).texture_filter - == BaseMaterial3D.TEXTURE_FILTER_NEAREST, - "Net material does not use nearest texture sampling.", - ) var rod_attachment := ( FishingRodAttachmentScene.instantiate() as BoneAttachment3D diff --git a/tests/player_experience_validation.gd b/tests/player_experience_validation.gd index a76a3dd..5e9dbef 100644 --- a/tests/player_experience_validation.gd +++ b/tests/player_experience_validation.gd @@ -143,7 +143,7 @@ func _validate_save_migration() -> void: version_five, 5, ) - assert(int(migrated.get("save_version", -1)) == 11) + assert(int(migrated.get("save_version", -1)) == 10) var experience_data: Dictionary = migrated.get("experience", {}) assert(int(experience_data.get("total_experience", -1)) == 0) var world_data: Dictionary = migrated.get("world", {}) @@ -155,9 +155,6 @@ func _validate_save_migration() -> void: assert( PlayerJobService.validate_save_data(migrated.get("jobs", {})) ) - assert(not PlayerHomeState.sanitize_save_data( - migrated.get("home", {}) - ).is_empty()) manager.queue_free() diff --git a/tests/player_gathering_animation_validation.gd b/tests/player_gathering_animation_validation.gd index 42f97ca..16e52c3 100644 --- a/tests/player_gathering_animation_validation.gd +++ b/tests/player_gathering_animation_validation.gd @@ -23,7 +23,7 @@ func _run() -> void: await process_frame assert(is_equal_approx( Player.get_catch_texture_resolution_scale(CrabBrown.display_texture), - 20.0, + 1.0, )) assert(is_equal_approx( Player.get_catch_texture_resolution_scale(ClamManila.display_texture), diff --git a/tests/progression_archive_validation.gd b/tests/progression_archive_validation.gd index 30f0df6..3fd9eff 100644 --- a/tests/progression_archive_validation.gd +++ b/tests/progression_archive_validation.gd @@ -22,24 +22,11 @@ func _run() -> void: var save_manager := main.get("_save_manager") as PlayerSaveManager var player := main.get("_player") as Player var data_root := main.get("_data_root") as PlayerDataRoot - var home_state := main.get("_home_state") as PlayerHomeState - assert( - save_manager != null - and player != null - and data_root != null - and home_state != null - ) + assert(save_manager != null and player != null and data_root != null) assert(save_manager.initialize_new_game(864209)) save_manager.set_autosave_enabled(true) assert(player.wallet.restore_balance(4321)) assert(player.bag.add_item(&"coffee")) - assert(home_state.add_owned_decor(&"basic_cube")) - assert(not home_state.place_decor( - &"basic_cube", - Vector3.ZERO, - 0.0, - PlayerHomeState.PlacementMode.GRID, - ).is_empty()) assert(save_manager.save_now()) var save_path: String = str(save_manager.get("_save_path")) @@ -51,23 +38,7 @@ func _run() -> void: _assert_opaque(save_path) var decoded: Dictionary = ProgressionSaveCodec.read_local_save(save_path) assert(bool(decoded.get("ok", false))) - assert(int((decoded["data"] as Dictionary)["save_version"]) == 11) - assert(not PlayerHomeState.sanitize_save_data( - (decoded["data"] as Dictionary).get("home", {}) - ).is_empty()) - assert( - ((decoded["data"] as Dictionary)["home"] as Dictionary) - .get("placements", []).size() == 1 - ) - var legacy_container_path: String = data_root.progression_backup_directory().path_join( - "netfishing-container.nfsave" - ) - _assert_legacy_progression_container( - legacy_container_path, - decoded["data"] as Dictionary, - ) - _assert_legacy_data_manifest(data_root.root_path.get_base_dir()) - _assert_legacy_identity_backup(main, data_root) + assert(int((decoded["data"] as Dictionary)["save_version"]) == 10) var archive_path: String = data_root.progression_backup_directory().path_join( "progression-test.nfsave" @@ -94,8 +65,6 @@ func _run() -> void: assert(save_manager.load_player_data()) assert(player.wallet.get_balance() == 4321) assert(save_manager.get_world_seed() == 864209) - assert(home_state.get_owned_count(&"basic_cube") == 1) - assert(home_state.get_placed_count(&"basic_cube") == 1) var legacy_data: Dictionary = ( ProgressionSaveCodec.read_local_save(save_path)["data"] @@ -165,25 +134,6 @@ func _run() -> void: for settings_panel: SettingsPanel in settings_panels: assert(settings_panel.get_node_or_null("%ExportProgression") == null) assert(settings_panel.get_node_or_null("%ImportProgression") == null) - var settings_panel: SettingsPanel = settings_panels.front() as SettingsPanel - settings_panel.set( - "_presentation_mode", SettingsPanel.PresentationMode.TITLE_EMBEDDED - ) - var unchanged_root: String = data_root.root_path - settings_panel.call("_choose_data_folder") - var data_folder_dialog := ( - settings_panel.get("_data_folder_dialog") as FileDialog - ) - assert(data_folder_dialog != null) - assert(data_folder_dialog.current_dir == unchanged_root) - data_folder_dialog.hide() - settings_panel.call("_change_data_folder", unchanged_root + "/") - await process_frame - assert(data_root.root_path == unchanged_root) - assert( - (settings_panel.get_node("%SettingsFeedback") as Label).text - == "this data folder is already active." - ) var save_slots_page := main.find_child( "SaveSlotsPage", true, false ) as SaveSlotsPage @@ -191,26 +141,13 @@ func _run() -> void: assert(save_slots_page.get_node("%ExportSlotButton") is Button) assert(save_slots_page.get_node("%ImportSlotButton") is Button) - var unchanged_migration: Dictionary = ( - PortableDataMigration.migrate_active_to( - data_root, unchanged_root + "/" - ) - ) - assert(bool(unchanged_migration.get("ok", false))) - assert(not bool(unchanged_migration.get("changed", true))) - assert(data_root.root_path == unchanged_root) - var migrated_root: String = data_root.root_path.get_base_dir().path_join( "progression-migrated-data" ) - settings_panel.call("_change_data_folder", migrated_root) - for _frame: int in 4: - await process_frame - assert(data_root.root_path == migrated_root) - assert( - (settings_panel.get_node("%SettingsFeedback") as Label).text - == "data folder changed." + var data_migration: Dictionary = PortableDataMigration.migrate_active_to( + data_root, migrated_root ) + assert(bool(data_migration.get("ok", false))) var migrated_save: String = migrated_root.path_join( "player/player_save.nfsave" ) @@ -230,18 +167,6 @@ func _run() -> void: "ok", false ) )) - var live_slots: Array[Dictionary] = save_slots.list_slots() - assert(live_slots.size() == 2) - var live_created: Dictionary = save_slots.create_empty_slot( - "live root switch" - ) - assert(bool(live_created.get("ok", false))) - var live_slot_id: String = str(live_created.get("slot_id", "")) - assert(save_slots.rename_slot(live_slot_id, "live root ready")) - assert( - str(save_slots.get_slot(live_slot_id).get("display_name", "")) - == "live root ready" - ) main.queue_free() for _frame: int in 4: @@ -251,124 +176,6 @@ func _run() -> void: quit() -func _assert_legacy_progression_container( - path: String, - payload: Dictionary, -) -> void: - var payload_json: String = JSON.stringify(payload) - var envelope: Dictionary = { - "magic": ProgressionSaveCodec.LEGACY_MAGIC, - "format_version": ProgressionSaveCodec.FORMAT_VERSION, - "kind": ProgressionSaveCodec.LOCAL_KIND, - "game_version": "0.18.1-alpha", - "created_at_unix": 1, - "payload_sha256": PortableFileGuard.hash_bytes( - payload_json.to_utf8_buffer() - ), - "payload_json": payload_json, - } - var file: FileAccess = FileAccess.open_encrypted_with_pass( - path, - FileAccess.WRITE, - ProgressionSaveCodec.CONTAINER_PASSPHRASE, - ) - assert(file != null) - file.store_string(JSON.stringify(envelope)) - file.close() - var decoded: Dictionary = ProgressionSaveCodec.read_local_save(path) - assert(bool(decoded.get("ok", false))) - assert(bool(decoded.get("legacy_container", false))) - - -func _assert_legacy_data_manifest(parent: String) -> void: - var legacy_root: String = parent.path_join("netfishing-manifest-root") - assert(DirAccess.make_dir_recursive_absolute(legacy_root) == OK) - var legacy_id: String = "0123456789abcdef0123456789abcdef" - var legacy_manifest: Dictionary = { - "format_version": PlayerDataRoot.MANIFEST_VERSION, - "layout_version": PlayerDataRoot.LAYOUT_VERSION, - "application": PlayerDataRoot.LEGACY_APPLICATION_ID, - "root_id": legacy_id, - "created_at_unix": 1, - "last_opened_at_unix": 1, - } - var legacy_path: String = legacy_root.path_join( - PlayerDataRoot.LEGACY_MANIFEST_FILENAME - ) - var file := FileAccess.open(legacy_path, FileAccess.WRITE) - assert(file != null) - file.store_string(JSON.stringify(legacy_manifest, "\t")) - file.close() - var legacy_data_root := PlayerDataRoot.new() - root.add_child(legacy_data_root) - assert(legacy_data_root.use_existing_root(legacy_root)) - assert(legacy_data_root.root_id == legacy_id) - assert(FileAccess.file_exists(legacy_path)) - var canonical_path: String = legacy_root.path_join( - PlayerDataRoot.MANIFEST_FILENAME - ) - assert(FileAccess.file_exists(canonical_path)) - var parser := JSON.new() - assert(parser.parse(FileAccess.get_file_as_string(canonical_path)) == OK) - assert((parser.data as Dictionary).get("application") == PlayerDataRoot.APPLICATION_ID) - legacy_data_root.queue_free() - - -func _assert_legacy_identity_backup(main: Node, data_root: PlayerDataRoot) -> void: - var player_identity := main.get("_player_identity") as PlayerIdentityStore - var identity_backups := main.get("_identity_backups") as IdentityBackupService - assert(player_identity != null and player_identity.is_ready()) - assert(identity_backups != null) - var material: Dictionary = player_identity.export_identity_material() - var fingerprint: String = str(material.get("fingerprint", "")) - var private_key := CryptoKey.new() - assert(private_key.load_from_string(str(material.get("private_pem", ""))) == OK) - var canonical: PackedByteArray = NetworkIdentityCrypto.canonical_bytes_for_prefix( - NetworkIdentityCrypto.LEGACY_DOMAIN_PREFIX, - "identity_backup_self_test", - ["player", fingerprint], - ) - var context := HashingContext.new() - assert(context.start(HashingContext.HASH_SHA256) == OK) - context.update(canonical) - var signature: PackedByteArray = Crypto.new().sign( - HashingContext.HASH_SHA256, - context.finish(), - private_key, - ) - var envelope: Dictionary = { - "magic": IdentityBackupService.LEGACY_MAGIC, - "format_version": IdentityBackupService.FORMAT_VERSION, - "identity_type": "player", - "algorithm": NetworkIdentityCrypto.ALGORITHM, - "private_pem": material.get("private_pem", ""), - "public_pem": material.get("public_pem", ""), - "fingerprint": fingerprint, - "created_at_unix": 1, - "source_device_id": data_root.device_id, - "self_signature": Marshalls.raw_to_base64(signature), - } - var backup_path: String = data_root.identity_backup_directory().path_join( - "netfishing-player.nfidentity" - ) - var passphrase := "legacy-test-passphrase" - var file: FileAccess = FileAccess.open_encrypted_with_pass( - backup_path, - FileAccess.WRITE, - passphrase, - ) - assert(file != null) - file.store_string(JSON.stringify(envelope)) - file.close() - var inspected: Dictionary = identity_backups.inspect_backup( - backup_path, - passphrase, - "player", - ) - assert(bool(inspected.get("ok", false))) - assert(str(inspected.get("fingerprint", "")) == fingerprint) - - func _assert_opaque(path: String) -> void: var bytes: PackedByteArray = PortableFileGuard.read_bytes(path) assert(not bytes.is_empty()) diff --git a/tests/surface_drawing_multiplayer_validation.gd b/tests/surface_drawing_multiplayer_validation.gd index f79700e..d0508b2 100644 --- a/tests/surface_drawing_multiplayer_validation.gd +++ b/tests/surface_drawing_multiplayer_validation.gd @@ -27,12 +27,10 @@ func _run_host() -> void: assert(bool(main.call( "_apply_world", WorldLayout.STARTER_ISLAND, 1, true ))) - assert(bool(main.call( - "_prepare_host_world", WorldLayout.STARTER_ISLAND, 1 - ))) - var save_manager := main.get("_save_manager") as PlayerSaveManager - assert(save_manager.initialize_new_game(1, WorldLayout.STARTER_ISLAND)) + assert(session.set_host_world(WorldLayout.STARTER_ISLAND, 1)) assert(session.start_private_host(TEST_PORT)) + var save_manager := main.get("_save_manager") as PlayerSaveManager + assert(save_manager.initialize_new_game()) main.call("_enter_gameplay") await physics_frame await physics_frame @@ -64,40 +62,6 @@ func _run_host() -> void: remote_peer_id ) assert(remote_record != null) - var network_home := main.get_node( - "%NetworkHomeService" - ) as NetworkHomeService - var home_world := main.get_node("%HomeWorldService") as HomeWorldService - var spawn_service := main.get_node( - "%PlayerSpawnService" - ) as PlayerSpawnService - assert(await _wait_for_home( - network_home, remote_record.identity_fingerprint - )) - var remote_avatar: Player = spawn_service.get_avatar(remote_peer_id) - assert(remote_avatar != null) - var exterior_spawn: Transform3D = home_world.get_exterior_spawn_transform( - remote_record.identity_fingerprint - ) - var exterior_deadline: int = Time.get_ticks_msec() + 5000 - while ( - Time.get_ticks_msec() < exterior_deadline - and remote_avatar.global_position.distance_to(exterior_spawn.origin) > 0.25 - ): - await physics_frame - assert(remote_avatar.global_position.distance_to(exterior_spawn.origin) <= 0.25) - var canvas_state: Dictionary = service.get_canvas_state(canvas_id) - var canvas_origin: Vector3 = SurfaceDrawingProtocol.array_to_vector( - canvas_state["origin"] - ) - remote_avatar.global_position = Vector3( - canvas_origin.x + 1.0, - player.global_position.y, - canvas_origin.z, - ) - session.publish_authoritative_teleport(remote_peer_id) - for _frame: int in 4: - await physics_frame assert(session.peer_supports_capability( remote_peer_id, SurfaceDrawingProtocol.CAPABILITY )) @@ -188,9 +152,6 @@ func _run_host() -> void: ): await process_frame assert(service.get_canvas_ids().size() == 1) - # Keep the second stamp observable on the client before the ban removes all - # artwork carrying that participant fingerprint. - await create_timer(1.0).timeout var player_list := main.get_node( "%NetworkPlayerListService" ) as NetworkPlayerListService @@ -260,20 +221,6 @@ func _run_client() -> void: var canvas_id: String = service.get_canvas_ids()[0] var snapshot: Dictionary = service.get_canvas_state(canvas_id) assert(str(_find_cell(snapshot, 7, 7).get("color_id", "")) == "coral") - var canvas_origin: Vector3 = SurfaceDrawingProtocol.array_to_vector( - snapshot["origin"] - ) - var placement_deadline: int = Time.get_ticks_msec() + 10000 - while ( - Time.get_ticks_msec() < placement_deadline - and player.global_position.distance_to(canvas_origin) - > NetworkSurfaceDrawingService.MAX_DRAW_DISTANCE + 2.0 - ): - await physics_frame - assert( - player.global_position.distance_to(canvas_origin) - <= NetworkSurfaceDrawingService.MAX_DRAW_DISTANCE + 2.0 - ) assert(service.request_cell_edits(canvas_id, [{ "x": 7, "y": 7, @@ -434,18 +381,3 @@ func _create_initialized_main() -> Node: await process_frame assert(bool(main.get("_application_initialized"))) return main - - -func _wait_for_home( - network_home: NetworkHomeService, - fingerprint: String, -) -> bool: - var deadline: int = Time.get_ticks_msec() + 10000 - while Time.get_ticks_msec() < deadline: - await process_frame - var manifests: Dictionary = network_home.get( - "_manifests_by_fingerprint" - ) - if manifests.has(fingerprint): - return true - return false diff --git a/tests/surface_drawing_runtime_validation.gd b/tests/surface_drawing_runtime_validation.gd index 85110cd..e04afc2 100644 --- a/tests/surface_drawing_runtime_validation.gd +++ b/tests/surface_drawing_runtime_validation.gd @@ -20,13 +20,9 @@ func _run() -> void: await process_frame assert(bool(main.get("_application_initialized"))) var session := main.get_node("%NetworkSession") as NetworkSession - assert(bool(main.call( - "_apply_world", WorldLayout.STARTER_ISLAND, 1, true - ))) - assert(session.set_host_world(WorldLayout.STARTER_ISLAND, 1)) assert(session.start_private_host(TEST_PORT)) var save_manager := main.get("_save_manager") as PlayerSaveManager - assert(save_manager.initialize_new_game(1, WorldLayout.STARTER_ISLAND)) + assert(save_manager.initialize_new_game()) main.call("_enter_gameplay") await physics_frame await physics_frame diff --git a/tests/terrain_chunk_generator_validation.gd b/tests/terrain_chunk_generator_validation.gd index ec736d9..b8d24cf 100644 --- a/tests/terrain_chunk_generator_validation.gd +++ b/tests/terrain_chunk_generator_validation.gd @@ -42,7 +42,6 @@ const EXPECTED_IDS: Array[String] = [ "chunk_0035", "chunk_0036", "chunk_0037", - "chunk_0038", "chunk_9999", "chunk_9998", "chunk_9997", @@ -99,7 +98,6 @@ const EXPECTED_VARIANT_COUNTS: Dictionary[StringName, int] = { &"chunk_0035": 4, &"chunk_0036": 4, &"chunk_0037": 4, - &"chunk_0038": 4, &"chunk_9999": 4, &"chunk_9998": 4, &"chunk_9997": 4, @@ -165,7 +163,6 @@ func _validate_catalog() -> void: var lake_narrow_to_regular := CATALOG.definition_for_id(&"chunk_0023") var river_edge := CATALOG.definition_for_id(&"chunk_0024") var river_edge_variant := CATALOG.definition_for_id(&"chunk_0025") - var river_stone_bridge := CATALOG.definition_for_id(&"chunk_0038") var river_source_right := CATALOG.definition_for_id(&"chunk_0029") var river_source_left := CATALOG.definition_for_id(&"chunk_0030") var river_outlet_right := CATALOG.definition_for_id(&"chunk_0031") @@ -211,7 +208,6 @@ func _validate_catalog() -> void: and lake_narrow_to_regular != null and river_edge != null and river_edge_variant != null - and river_stone_bridge != null and river_source_right != null and river_source_left != null and river_outlet_right != null @@ -259,7 +255,6 @@ func _validate_catalog() -> void: and lake_narrow_to_regular != null and river_edge != null and river_edge_variant != null - and river_stone_bridge != null and river_source_right != null and river_source_left != null and river_outlet_right != null @@ -514,8 +509,6 @@ func _validate_catalog() -> void: ( not river_edge.participates_in_base_solver and not river_edge_variant.participates_in_base_solver - and not river_stone_bridge.participates_in_base_solver - and river_stone_bridge.maximum_placements == 2 and not river_source_right.participates_in_base_solver and not river_source_left.participates_in_base_solver and not river_outlet_right.participates_in_base_solver @@ -529,8 +522,6 @@ func _validate_catalog() -> void: and river_edge.water_outlet_edges == 14 and river_edge_variant.water_inlet_edges == 14 and river_edge_variant.water_outlet_edges == 14 - and river_stone_bridge.water_inlet_edges == 14 - and river_stone_bridge.water_outlet_edges == 14 and river_source_right.water_inlet_edges == 6 and river_source_right.water_outlet_edges == 6 and river_source_left.water_inlet_edges == 3 @@ -553,7 +544,6 @@ func _validate_catalog() -> void: and river_cap.water_outlet_edges == 6 and river_edge.water_surface_polygon.size() == 13 and river_edge_variant.water_surface_polygon.size() == 13 - and river_stone_bridge.water_surface_polygon.size() == 13 and river_source_right.water_surface_polygon.size() == 13 and river_source_left.water_surface_polygon.size() == 13 and river_outlet_right.water_surface_polygon.size() == 19 @@ -564,8 +554,6 @@ func _validate_catalog() -> void: and river_cap.primary_mesh_name == &"chunk_0020" and "river" in river_edge.tags and "river" in river_edge_variant.tags - and "river_bridge" in river_stone_bridge.tags - and "stepping_stones" in river_stone_bridge.tags and "river_source_right" in river_source_right.tags and "river_source_left" in river_source_left.tags and "river_outlet_right" in river_outlet_right.tags @@ -629,14 +617,13 @@ func _validate_catalog() -> void: ]: _check( transition.overlay_only - and transition.primary_mesh_name == &"chunk_0010" and transition.base_layer_scene != null and transition.base_layer_mesh_name == &"chunk_0007" and not transition.must_be_interior and transition.prefers_map_boundary and "transition" in transition.tags, ( - "Each raised-coast endpoint must layer the inland corner " + "Each raised-coast endpoint must layer the deep corner " + "over an authored level-one coastline." ), ) @@ -658,7 +645,6 @@ func _validate_catalog() -> void: ]: _check( transition.overlay_only - and transition.primary_mesh_name == &"chunk_0010" and transition.base_layer_scene != null and transition.base_layer_mesh_name == &"chunk_0008" and not transition.must_be_interior @@ -1475,10 +1461,6 @@ func _validate_authored_rotations(generator: TerrainChunkGenerator) -> void: var river_edge_variant_bottom := _find_variant(generator, &"chunk_0025", 2) var river_edge_vertical_left := _find_variant(generator, &"chunk_0024", 1) var river_edge_vertical_right := _find_variant(generator, &"chunk_0025", 3) - var river_stones_top := _find_variant(generator, &"chunk_0038", 0) - var river_stones_bottom := _find_variant(generator, &"chunk_0038", 2) - var river_stones_left := _find_variant(generator, &"chunk_0038", 1) - var river_stones_right := _find_variant(generator, &"chunk_0038", 3) var river_source_right := _find_variant(generator, &"chunk_0029", 0) var river_source_left := _find_variant(generator, &"chunk_0030", 0) var river_outlet_right := _find_variant(generator, &"chunk_0031", 0) @@ -1518,10 +1500,6 @@ func _validate_authored_rotations(generator: TerrainChunkGenerator) -> void: and river_edge_variant_bottom != null and river_edge_vertical_left != null and river_edge_vertical_right != null - and river_stones_top != null - and river_stones_bottom != null - and river_stones_left != null - and river_stones_right != null and river_source_right != null and river_source_left != null and river_outlet_right != null @@ -1547,10 +1525,6 @@ func _validate_authored_rotations(generator: TerrainChunkGenerator) -> void: and river_edge_variant_bottom != null and river_edge_vertical_left != null and river_edge_vertical_right != null - and river_stones_top != null - and river_stones_bottom != null - and river_stones_left != null - and river_stones_right != null and river_source_right != null and river_source_left != null and river_outlet_right != null @@ -1561,30 +1535,6 @@ func _validate_authored_rotations(generator: TerrainChunkGenerator) -> void: and river_bend_d != null and beach_east != null ): - _check( - generator._edges_are_compatible( - river_edge_top, - TerrainChunkTopology.Edge.EAST, - river_stones_top, - TerrainChunkTopology.Edge.WEST, - ) - and generator._edges_are_compatible( - river_stones_top, - TerrainChunkTopology.Edge.SOUTH, - river_stones_bottom, - TerrainChunkTopology.Edge.NORTH, - ) - and generator._edges_are_compatible( - river_stones_left, - TerrainChunkTopology.Edge.EAST, - river_stones_right, - TerrainChunkTopology.Edge.WEST, - ), - ( - "The stepping-stone banks must replace one paired straight river " - + "station in either orientation." - ), - ) _check( generator._edges_are_compatible( river_source_right, @@ -1800,8 +1750,8 @@ func _validate_authored_rotations(generator: TerrainChunkGenerator) -> void: func _validate_generation_summary(generator: TerrainChunkGenerator) -> void: var summary := generator._build_summary() _check( - int(summary.get("variant_count", 0)) == 174, - "The current catalog must expose all 174 authored rotations.", + int(summary.get("variant_count", 0)) == 170, + "The current catalog must expose all 170 authored rotations.", ) _check( int(summary.get("solver_variant_count", 0)) diff --git a/tests/texture_sampling_validation.gd b/tests/texture_sampling_validation.gd index dcccc38..deeabce 100644 --- a/tests/texture_sampling_validation.gd +++ b/tests/texture_sampling_validation.gd @@ -1,11 +1,6 @@ extends SceneTree const POLICY := preload("res://main/texture_sampling_policy.gd") -const PROJECTED_TERRAIN_TEXTURE_IMPORTS: Array[String] = [ - "res://world/generation/chunks/assets/chunk_0000_grass_lite.png.import", - "res://world/generation/chunks/assets/chunk_0001_sand.png.import", - "res://world/generation/chunks/assets/chunk_0031_dirt.png.import", -] var failures: Array[String] = [] @@ -88,14 +83,9 @@ func _validate_repository_files(path: String) -> void: func _validate_import_file(path: String) -> void: var source := FileAccess.get_file_as_string(path) - var expects_mipmaps := path in PROJECTED_TERRAIN_TEXTURE_IMPORTS _check( - ("mipmaps/generate=true" in source) == expects_mipmaps, - ( - "Projected terrain mipmap policy mismatch: %s" - if expects_mipmaps - else "Texture import generates unapproved mipmaps: %s" - ) % path, + "mipmaps/generate=true" not in source, + "Texture import generates mipmaps: %s" % path, ) diff --git a/tests/title_credits_validation.gd b/tests/title_credits_validation.gd index e5ac4cc..5bbf632 100644 --- a/tests/title_credits_validation.gd +++ b/tests/title_credits_validation.gd @@ -21,10 +21,6 @@ func _run() -> void: var credits_button := title_screen.get_node( "%CreditsButton" ) as BubbleButton - var play_button := title_screen.get_node("%PlayButton") as BubbleButton - var continue_stats_drawer := title_screen.get_node( - "%ContinueStatsDrawer" - ) as RichTextLabel var credits_page := title_screen.get_node( "%CreditsPage" ) as TitleCreditsPageType @@ -38,32 +34,9 @@ func _run() -> void: await process_frame _expect(credits_button != null, "title menu exposes a credits button") - _expect(play_button != null, "title menu exposes the play button") - _expect( - continue_stats_drawer != null, - "play button owns a dedicated save-preview drawer", - ) - if play_button != null and continue_stats_drawer != null: - _expect( - continue_stats_drawer.get_parent() == play_button, - "save preview extends directly from the play button", - ) - _expect( - continue_stats_drawer.position.y < play_button.size.y - and ( - continue_stats_drawer.position.y - + continue_stats_drawer.size.y - ) > play_button.size.y, - "save preview overlaps the play edge and extends below it", - ) - _expect( - continue_stats_drawer.mouse_filter - == Control.MOUSE_FILTER_IGNORE, - "save preview drawer cannot intercept menu input", - ) _expect( credits_button.icon != null and credits_button.text.is_empty(), - "credits action uses its icon in the square-button presentation", + "credits bubble uses its authored icon", ) _expect(credits_page != null, "title screen contains the credits page") _expect(not credits_page.visible, "credits page starts closed") @@ -71,39 +44,29 @@ func _run() -> void: Rect2(Vector2.ZERO, bubble_field.size).encloses( Rect2(credits_button.position, credits_button.size) ), - "credits button stays inside the authored title field", + "credits bubble stays inside the authored title field", ) _expect( credits_button.mouse_filter == Control.MOUSE_FILTER_STOP, - "credits button accepts pointer input", + "credits bubble accepts pointer input", ) - if OS.has_environment("straywild_TITLE_MENU_CAPTURE"): + if OS.has_environment("NETFISHING_TITLE_MENU_CAPTURE"): (title_screen.get_node("%StartPromptCenter") as Control).hide() title_screen.set_process(true) await create_timer(0.5).timeout _expect( _save_capture( - OS.get_environment("straywild_TITLE_MENU_CAPTURE") + OS.get_environment("NETFISHING_TITLE_MENU_CAPTURE") ) == OK, "title menu validation capture saves successfully", ) title_screen.set_process(false) title_screen.set("_navigation_focus_active", false) - credits_button.call("_set_hovered", true) - credits_button.advance_emphasis(1.0) - _expect( - (credits_button.get_node("HoverDrawer") as Control).visible, - "pointer hover reveals the credits drawer before activation", - ) credits_button.pressed.emit() await process_frame _expect(credits_page.visible, "pointer activation opens credits") _expect(not presentation.visible, "credits replace the primary title menu") - _expect( - not (credits_button.get_node("HoverDrawer") as Control).visible, - "opening a title page collapses its hover drawer", - ) _expect( root.gui_get_focus_owner() != back_button, "pointer activation does not pseudo-select back", @@ -117,11 +80,11 @@ func _run() -> void: back_button.mouse_filter == Control.MOUSE_FILTER_STOP, "credits back button accepts pointer clicks", ) - if OS.has_environment("straywild_CREDITS_CAPTURE"): + if OS.has_environment("NETFISHING_CREDITS_CAPTURE"): await process_frame _expect( _save_capture( - OS.get_environment("straywild_CREDITS_CAPTURE") + OS.get_environment("NETFISHING_CREDITS_CAPTURE") ) == OK, "credits validation capture saves successfully", ) @@ -134,30 +97,6 @@ func _run() -> void: "pointer return leaves the title menu unfocused", ) - var online_button := title_screen.get_node( - "%JoinGameButton" - ) as BubbleButton - var join_game_page := title_screen.get_node("%JoinGamePage") as Control - online_button.call("_set_hovered", true) - online_button.advance_emphasis(1.0) - _expect( - (online_button.get_node("HoverDrawer") as Control).visible, - "pointer hover reveals the online drawer before activation", - ) - online_button.pressed.emit() - await process_frame - _expect(join_game_page.visible, "online activation opens the join page") - _expect( - not (online_button.get_node("HoverDrawer") as Control).visible, - "opening the join page collapses the online drawer", - ) - title_screen.call("_close_join_game") - await process_frame - _expect( - not (online_button.get_node("HoverDrawer") as Control).visible, - "returning from the join page does not restore stale pointer hover", - ) - title_screen.set("_navigation_focus_active", true) credits_button.grab_focus() credits_button.pressed.emit() @@ -195,7 +134,7 @@ func _run() -> void: _expect(not credits_page.visible, "ui cancel closes credits") _expect( root.gui_get_focus_owner() == credits_button, - "navigation return restores focus to the credits button", + "navigation return restores focus to the credits bubble", ) var chillnfill_name := credits_page.get_node( diff --git a/tests/tree_gathering_prototype_validation.gd b/tests/tree_gathering_prototype_validation.gd index 2814e19..d97f67e 100644 --- a/tests/tree_gathering_prototype_validation.gd +++ b/tests/tree_gathering_prototype_validation.gd @@ -7,9 +7,6 @@ const Gatherables: GatherableCatalog = preload( "res://gathering/catalog/gatherable_catalog.tres" ) const FishCatalog: FishPool = preload("res://fish/pools/fish_catalog.tres") -const MeshSurfaceAnchorSamplerType = preload( - "res://world/generation/mesh_surface_anchor_sampler.gd" -) func _initialize() -> void: @@ -18,7 +15,6 @@ func _initialize() -> void: func _run() -> void: _validate_beetle_data() - await _validate_mesh_surface_sampler() await _validate_tree_anchors() _validate_anchored_presentation() _validate_three_dimensional_targeting() @@ -36,74 +32,11 @@ func _validate_beetle_data() -> void: assert(beetle.required_tool_id == &"crab_net") assert(beetle.spawn_anchor_set_id == &"starter_reachable_tree_trunks") assert(beetle.population == 3) - assert(is_equal_approx(beetle.spawn_anchor_occupancy_ratio, 0.35)) - assert(beetle.maximum_anchor_population == 64) - assert(beetle.target_population_for_anchor_count(8) == 3) - assert(beetle.target_population_for_anchor_count(40) == 14) - assert(beetle.target_population_for_anchor_count(400) == 64) - assert(is_equal_approx(beetle.sprite_pixel_size, 0.0075)) + assert(is_equal_approx(beetle.sprite_pixel_size, 0.005)) assert(beetle.is_stationary_spawn()) assert(not beetle.can_be_scared()) -func _validate_mesh_surface_sampler() -> void: - var prop := Node3D.new() - # The accessibility band is local to the planted prop, so the same tree on - # a raised cliff remains reachable from that cliff's walkable surface. - prop.position = Vector3(3.0, 12.0, -4.0) - root.add_child(prop) - var visual := MeshInstance3D.new() - var box := BoxMesh.new() - box.size = Vector3(2.0, 4.0, 2.0) - var wood := StandardMaterial3D.new() - wood.resource_name = "wood" - box.material = wood - visual.mesh = box - visual.position.y = 2.0 - prop.add_child(visual) - await process_frame - var random := RandomNumberGenerator.new() - random.seed = 115 - var sample: Dictionary = MeshSurfaceAnchorSamplerType.sample_vertical_surface( - prop, - prop, - PackedStringArray(["wood"]), - 0.7, - 1.5, - 0.35, - 0.025, - random, - ) - assert(not sample.is_empty()) - var surface_position: Vector3 = sample["surface_position"] - var anchor_position: Vector3 = sample["position"] - assert(surface_position.y >= 0.7 and surface_position.y <= 1.5) - var world_anchor_position := prop.to_global(anchor_position) - assert( - world_anchor_position.y >= 12.7 - and world_anchor_position.y <= 13.5 - ) - assert(is_equal_approx( - maxf(absf(surface_position.x), absf(surface_position.z)), - 1.0, - )) - assert(is_equal_approx( - anchor_position.distance_to(surface_position), - 0.025, - )) - assert(MeshSurfaceAnchorSamplerType.sample_vertical_surface( - prop, - prop, - PackedStringArray(["leaf"]), - 0.7, - 1.5, - 0.35, - 0.025, - random, - ).is_empty()) - prop.queue_free() - - func _validate_tree_anchors() -> void: var region := StarterIslandScene.instantiate() as WorldRegion root.add_child(region) @@ -128,7 +61,7 @@ func _validate_anchored_presentation() -> void: var sprite := presentation.get_node("GatherableSprite") as Sprite3D assert(sprite != null) assert(is_zero_approx(sprite.position.y)) - assert(is_equal_approx(sprite.pixel_size, 0.0075)) + assert(is_equal_approx(sprite.pixel_size, 0.005)) assert(not sprite.shaded) assert(sprite.billboard == BaseMaterial3D.BILLBOARD_ENABLED) assert(sprite.texture_filter == BaseMaterial3D.TEXTURE_FILTER_NEAREST) diff --git a/tests/ui_scaling_runtime_validation.gd b/tests/ui_scaling_runtime_validation.gd index 6e6182a..b9e8bce 100644 --- a/tests/ui_scaling_runtime_validation.gd +++ b/tests/ui_scaling_runtime_validation.gd @@ -66,6 +66,12 @@ func _run() -> void: var pause_profile_stage := pause_menu.get_node( "ResponsivePauseStage" ) as Control + var decorative_fish_layer := title_screen.get_node( + "DecorativeFishLayer" + ) as Control + var decorative_bubble_layer := title_screen.get_node( + "DecorativeBubbleLayer" + ) as Control ui_viewport.add_child(game_ui) presenter.add_child(ui_viewport) root.add_child(presenter) @@ -159,6 +165,26 @@ func _run() -> void: assert(pause_profile_stage.position.is_equal_approx( expected_profile_position )) + assert(decorative_fish_layer.size.is_equal_approx( + expected_visible_size + )) + assert(decorative_bubble_layer.size.is_equal_approx( + expected_visible_size + )) + var left_to_right_bounds: Vector2 = ( + TitleScreen.get_decorative_fish_crossing_bounds( + expected_visible_size.x, 160.0, 1.0 + ) + ) + var right_to_left_bounds: Vector2 = ( + TitleScreen.get_decorative_fish_crossing_bounds( + expected_visible_size.x, 160.0, -1.0 + ) + ) + assert(left_to_right_bounds.x < -160.0) + assert(left_to_right_bounds.y > expected_visible_size.x) + assert(right_to_left_bounds.x > expected_visible_size.x) + assert(right_to_left_bounds.y < -160.0) assert(is_equal_approx(presenter.scale.x, presenter.scale.y)) assert(is_equal_approx(ui_root.scale.x, ui_root.scale.y)) var effective_scale: float = presenter.scale.x * ui_root.scale.x @@ -284,13 +310,13 @@ func _run() -> void: chat_panel.position.x * effective_scale, ] ) - if OS.has_environment("straywild_UI_SCALE_CAPTURE"): + if OS.has_environment("NETFISHING_UI_SCALE_CAPTURE"): await process_frame var capture: Image = root.get_texture().get_image() var capture_path: String = ( "%s-requested-%dx%d-actual-%dx%d.png" ) % [ - OS.get_environment("straywild_UI_SCALE_CAPTURE"), + OS.get_environment("NETFISHING_UI_SCALE_CAPTURE"), target_size.x, target_size.y, actual_size.x, diff --git a/tests/unified_inventory_validation.gd b/tests/unified_inventory_validation.gd index 6928969..dacc5a0 100644 --- a/tests/unified_inventory_validation.gd +++ b/tests/unified_inventory_validation.gd @@ -35,41 +35,6 @@ func _run() -> void: hotbar.setup(bag, ItemCatalogResource, catches, layout) assert(PlayerInventoryLayout.INVENTORY_CAPACITIES == [9, 18, 27, 36]) assert(PlayerCoolerCapacity.CAPACITIES == [9, 18, 27, 36, 45, 54, 63, 72]) - var basic_cube: ItemData = ItemCatalogResource.get_item_by_id(&"basic_cube") - assert(basic_cube != null) - assert(basic_cube.icon != null) - assert(basic_cube.hotbar_allowed) - assert(bag.add_item(&"basic_cube")) - assert(layout.is_item_in_inventory(&"basic_cube")) - assert(hotbar.assign_item(0, &"basic_cube")) - assert(hotbar.get_item_id(0) == &"basic_cube") - assert( - layout.get_container( - PlayerInventoryLayout.EntryKind.ITEM, - &"basic_cube", - ) == PlayerInventoryLayout.InventoryContainer.HOTBAR - ) - assert(hotbar.clear_slot(0)) - assert(layout.is_item_in_inventory(&"basic_cube")) - assert(bag.remove_item(&"basic_cube")) - var packed_decor_slot: int = hotbar.find_first_empty_slot() - assert(packed_decor_slot == 0) - assert(layout.prepare_new_item_placement( - &"basic_cube", - PlayerInventoryLayout.InventoryContainer.HOTBAR, - packed_decor_slot, - )) - assert(bag.add_item(&"basic_cube")) - assert( - layout.get_container( - PlayerInventoryLayout.EntryKind.ITEM, - &"basic_cube", - ) == PlayerInventoryLayout.InventoryContainer.HOTBAR - ) - assert(hotbar.assign_item(packed_decor_slot, &"basic_cube")) - assert(hotbar.select_slot(packed_decor_slot)) - assert(hotbar.get_selected_item_id() == &"basic_cube") - assert(bag.remove_item(&"basic_cube")) assert(bag.add_item(&"coffee", 3)) assert(layout.get_inventory_count() == 1) @@ -97,7 +62,6 @@ func _run() -> void: fish_catch.sale_value = Bluegill.get_sale_value_for_weight( fish_catch.weight_lb ) - fish_catch.quality = FishQuality.Tier.IMPRESSIVE assert(catches.add_catch(fish_catch)) assert(layout.get_inventory_count() == 2) assert(layout.move_entry_to_first_free( @@ -142,53 +106,8 @@ func _run() -> void: == Color(UtilityPageStyle.OCEAN_SELECTED, 0.92) ) staged_slot.set_staged(false) - var quality_slot := GeneralInventorySlot.new() - root.add_child(quality_slot) - quality_slot.set_presentation_size(Vector2(78.0, 78.0)) - quality_slot.configure( - 0, - PlayerInventoryLayout.InventoryContainer.STORAGE, - false, - layout, - bag, - catches, - hotbar, - ItemCatalogResource, - ) - assert(quality_slot.entry_identity == fish_catch.catch_id) - assert( - (quality_slot.get_theme_stylebox("normal") as StyleBoxFlat).bg_color - == GeneralInventorySlot.quality_background_color( - FishQuality.Tier.IMPRESSIVE, - GeneralInventorySlot.QualityEmphasis.NORMAL, - ) - ) - quality_slot.set_staged(true) - assert( - (quality_slot.get_theme_stylebox("normal") as StyleBoxFlat).bg_color - == GeneralInventorySlot.quality_background_color( - FishQuality.Tier.IMPRESSIVE, - GeneralInventorySlot.QualityEmphasis.SELECTED, - ) - ) - var distinct_quality_colors: Dictionary[Color, bool] = {} - for quality: int in FishQuality.TIER_COUNT: - var quality_color := GeneralInventorySlot.quality_background_color( - quality, - GeneralInventorySlot.QualityEmphasis.NORMAL, - ) - assert(not distinct_quality_colors.has(quality_color)) - distinct_quality_colors[quality_color] = true - assert(distinct_quality_colors.size() == FishQuality.TIER_COUNT) var sale_tray_slot := ShopSaleTraySlot.new() root.add_child(sale_tray_slot) - sale_tray_slot.configure( - "catch:%s" % fish_catch.catch_id, - fish_catch.fish.display_texture, - fish_catch.fish.display_name, - 1, - fish_catch.quality, - ) assert( sale_tray_slot.custom_minimum_size == GeneralInventoryGrid.DEFAULT_SLOT_SIZE @@ -198,14 +117,6 @@ func _run() -> void: ) as StyleBoxFlat assert(sale_tray_style != null) assert(sale_tray_style.corner_radius_top_left == 26) - var expected_tray_quality_color := ( - GeneralInventorySlot.quality_background_color( - FishQuality.Tier.IMPRESSIVE, - GeneralInventorySlot.QualityEmphasis.NORMAL, - ) - ) - expected_tray_quality_color.a = 0.96 - assert(sale_tray_style.bg_color == expected_tray_quality_color) var wallet := PlayerWallet.new() root.add_child(wallet) assert(wallet.restore_balance(15000)) diff --git a/tests/world_layout_validation.gd b/tests/world_layout_validation.gd index e6eec39..dd40fcf 100644 --- a/tests/world_layout_validation.gd +++ b/tests/world_layout_validation.gd @@ -100,14 +100,6 @@ func _validate_world_switching() -> void: assert(world.get_fishing_shop() != null) assert(world.get_player_storage() != null) assert(not world.get_fishable_water_regions().is_empty()) - var starter_safe_points := world.get_safe_respawn_points() - assert(not starter_safe_points.is_empty()) - var authored_safe_point: SafeRespawnPoint = starter_safe_points.back() - assert( - world.get_water_recovery_position( - authored_safe_point.global_position - ).is_equal_approx(authored_safe_point.global_position) - ) assert(world.activate_world(WorldLayout.GENERATED, 24680)) assert(world.get_world_layout() == WorldLayout.GENERATED) assert(world.get_generation_seed() == 24680) diff --git a/tests/world_spawn_multiplayer_validation.gd b/tests/world_spawn_multiplayer_validation.gd index f5ffd2e..45be081 100644 --- a/tests/world_spawn_multiplayer_validation.gd +++ b/tests/world_spawn_multiplayer_validation.gd @@ -2,10 +2,9 @@ extends SceneTree const MainScene: PackedScene = preload("res://main/main.tscn") const TEST_PORT: int = 18170 -const EXPECTED_POPULATION: int = 12 +const EXPECTED_POPULATION: int = 8 const EXPECTED_BY_TYPE: Dictionary = { &"crab_brown": 2, - &"crab_blue": 4, &"clam_manila": 3, &"beetle_stag_common": 3, } @@ -162,10 +161,6 @@ func _validate_population( (position as Vector3).y >= entry.minimum_surface_y - 0.001 ) - if entry.type_id == &"crab_brown": - assert((position as Vector3).y > -0.45) - elif entry.type_id == &"crab_blue": - assert((position as Vector3).y < -0.45) if expect_authoritative_state: var quality: int = int(state.get("quality", -1)) assert(FishQuality.is_valid(quality)) @@ -201,10 +196,7 @@ func _validate_respawn_budget(service: Node) -> void: false, true, ) - assert( - (service.get("_entities") as Dictionary).size() - == EXPECTED_POPULATION - crab_ids.size() - ) + assert((service.get("_entities") as Dictionary).size() == 6) var now: float = Time.get_ticks_msec() / 1000.0 var respawns: Array = service.get("_respawns") @@ -217,27 +209,18 @@ func _validate_respawn_budget(service: Node) -> void: respawns[index] = respawn service.call("_update_respawns") - assert( - (service.get("_entities") as Dictionary).size() - == EXPECTED_POPULATION - 1 - ) + assert((service.get("_entities") as Dictionary).size() == 7) assert((service.get("_respawns") as Array).size() == 1) var next_by_type: Dictionary = service.get("_next_respawn_by_type") var next_allowed: float = float(next_by_type.get(&"crab_brown", 0.0)) assert(next_allowed - now >= 179.0) service.call("_update_respawns") - assert( - (service.get("_entities") as Dictionary).size() - == EXPECTED_POPULATION - 1 - ) + assert((service.get("_entities") as Dictionary).size() == 7) assert((service.get("_respawns") as Array).size() == 1) next_by_type[&"crab_brown"] = now - 1.0 service.call("_update_respawns") - assert( - (service.get("_entities") as Dictionary).size() - == EXPECTED_POPULATION - ) + assert((service.get("_entities") as Dictionary).size() == 8) assert((service.get("_respawns") as Array).is_empty()) _validate_population(service, true) diff --git a/tests/world_spawn_protocol_validation.gd b/tests/world_spawn_protocol_validation.gd index e300808..f529389 100644 --- a/tests/world_spawn_protocol_validation.gd +++ b/tests/world_spawn_protocol_validation.gd @@ -16,18 +16,14 @@ const CalendarSeasonType = preload("res://world/calendar_season.gd") func _initialize() -> void: - call_deferred(&"_run") - - -func _run() -> void: - assert(NetworkProtocol.PROTOCOL_VERSION == 12) + assert(NetworkProtocol.PROTOCOL_VERSION == 10) assert( NetworkWorldSpawnProtocol.CAPABILITY == NetworkProtocol.WORLD_SPAWN_CAPABILITY ) assert(NetworkWorldSpawnProtocol.SNAPSHOT_ENTITIES_PER_ENVELOPE <= 4) _validate_catalog_statuses() - await _validate_billboard_presentation() + _validate_billboard_presentation() _validate_envelopes() print("World spawn protocol validation: PASS") quit() @@ -55,17 +51,6 @@ func _validate_catalog_statuses() -> void: assert(is_equal_approx(brown.minimum_respawn_spacing_seconds, 180.0)) assert(brown.required_tool_id == &"crab_net") assert(is_equal_approx(brown.minimum_surface_y, -0.44)) - assert( - brown.surface_water_relation - == GatherableData.SurfaceWaterRelation.ABOVE_SALT_WATER - ) - assert(is_equal_approx( - brown.surface_population_per_100_square_meters, - 0.15, - )) - assert(brown.maximum_surface_population == 24) - assert(brown.target_population_for_surface_area(100.0) == 2) - assert(brown.target_population_for_surface_area(7500.0) == 12) assert(FishCatalog.get_fish_by_id(&"crab_brown") == brown.catch_data) assert(not brown.catch_data.is_fishable()) var clam: GatherableData = Gatherables.get_entry(&"clam_manila") @@ -88,8 +73,6 @@ func _validate_catalog_statuses() -> void: assert(beetle.catch_data.collection_method == FishData.CollectionMethod.NET) assert(beetle.required_tool_id == &"crab_net") assert(beetle.spawn_anchor_set_id == &"starter_reachable_tree_trunks") - assert(is_equal_approx(beetle.spawn_anchor_occupancy_ratio, 0.35)) - assert(beetle.maximum_anchor_population == 64) assert(beetle.is_stationary_spawn()) assert(not beetle.is_stationary_hotspot()) assert(not beetle.requires_sneaking) @@ -97,27 +80,11 @@ func _validate_catalog_statuses() -> void: assert(FishCatalog.get_fish_by_id(&"beetle_stag_common") == beetle.catch_data) assert(not beetle.catch_data.is_fishable()) - var blue: GatherableData = Gatherables.get_entry(&"crab_blue") - assert(blue != null and blue.is_available()) - assert(blue.catch_data.active) - assert(blue.is_available(CalendarSeasonType.Season.SUMMER)) - assert(blue.is_available(CalendarSeasonType.Season.FALL)) - assert(not blue.is_available(CalendarSeasonType.Season.WINTER)) - assert( - blue.surface_water_relation - == GatherableData.SurfaceWaterRelation.BELOW_SALT_WATER - ) - assert(is_equal_approx( - blue.surface_population_per_100_square_meters, - 0.4, - )) - assert(blue.maximum_surface_population == 16) - assert(blue.target_population_for_surface_area(100.0) == 4) - assert(blue.target_population_for_surface_area(2250.0) == 9) - assert(FishCatalog.get_fish_by_id(&"crab_blue") == blue.catch_data) - assert(not blue.catch_data.is_fishable()) - - for type_id: StringName in [&"crab_ghost", &"crab_dungeness"]: + for type_id: StringName in [ + &"crab_ghost", + &"crab_blue", + &"crab_dungeness", + ]: var entry: GatherableData = Gatherables.get_entry(type_id) assert(entry != null) assert(entry.is_valid()) @@ -136,9 +103,8 @@ func _validate_catalog_statuses() -> void: ) var available: Array[GatherableData] = Gatherables.get_available_entries() - assert(available.size() == 4) + assert(available.size() == 3) assert(available.has(brown)) - assert(available.has(blue)) assert(available.has(clam)) assert(available.has(beetle)) var winter_available: Array[GatherableData] = ( @@ -146,7 +112,6 @@ func _validate_catalog_statuses() -> void: ) assert(winter_available.has(brown)) assert(winter_available.has(clam)) - assert(not winter_available.has(blue)) assert(not winter_available.has(beetle)) var rng := RandomNumberGenerator.new() rng.seed = 24680 @@ -181,27 +146,8 @@ func _validate_billboard_presentation() -> void: assert(not sprite.shaded) gatherable.free() - var unconfigured_hotspot := WorldGatherableType.new() - unconfigured_hotspot.call("_ensure_water_spurt_visual") - assert( - unconfigured_hotspot.get_node_or_null( - "WaterSpurt/WaterDroplets" - ) == null - ) - unconfigured_hotspot.free() - - var clam: GatherableData = Gatherables.get_entry(&"clam_manila") - assert(clam != null) var hotspot := WorldGatherableType.new() - root.add_child(hotspot) - var configured_position := Vector3(24.0, 0.3, -11.0) - hotspot.configure( - "world:clam-presentation-regression", - clam, - configured_position, - 0.0, - ) - assert(hotspot.global_position.is_equal_approx(configured_position)) + hotspot.call("_ensure_water_spurt_visual") var hole := hotspot.get_node("WaterSpurt/BurrowMark") as MeshInstance3D assert(hole != null) assert(hole.cast_shadow == GeometryInstance3D.SHADOW_CASTING_SETTING_OFF) @@ -210,18 +156,6 @@ func _validate_billboard_presentation() -> void: assert(hole_material.shading_mode == BaseMaterial3D.SHADING_MODE_UNSHADED) assert(hole_material.transparency == BaseMaterial3D.TRANSPARENCY_DISABLED) assert(is_equal_approx(hole_material.albedo_color.a, 1.0)) - var particles := hotspot.get_node( - "WaterSpurt/WaterDroplets" - ) as CPUParticles3D - assert(particles != null and particles.emitting) - assert(particles.local_coords) - assert(particles.global_position.is_equal_approx( - configured_position + Vector3.UP * 0.035 - )) - hotspot.set_process(false) - await create_timer(0.6).timeout - await process_frame - assert(hotspot.get_node_or_null("WaterSpurt/WaterDroplets") == null) hotspot.queue_free() diff --git a/tests/world_time_validation.gd b/tests/world_time_validation.gd index 3caea2b..17ddb49 100644 --- a/tests/world_time_validation.gd +++ b/tests/world_time_validation.gd @@ -304,7 +304,7 @@ func _validate_environment_presentation() -> void: var sky := Sky.new() var sky_material := ShaderMaterial.new() sky_material.shader = preload( - "res://world/environment/straywild_sky.gdshader" + "res://world/environment/netfishing_sky.gdshader" ) sky.sky_material = sky_material environment.sky = sky @@ -352,7 +352,7 @@ func _validate_environment_presentation() -> void: "res://world/materials/stylized_water.gdshader" ) var sky_shader: Shader = preload( - "res://world/environment/straywild_sky.gdshader" + "res://world/environment/netfishing_sky.gdshader" ) assert("uniform float fog_horizon_occlusion" in sky_shader.code) assert("fog_horizon_color.rgb" in sky_shader.code) diff --git a/tests/world_weather_validation.gd b/tests/world_weather_validation.gd index 7bc5114..c346e93 100644 --- a/tests/world_weather_validation.gd +++ b/tests/world_weather_validation.gd @@ -10,9 +10,6 @@ const WorldTimeServiceType = preload("res://world/world_time_service.gd") const WorldTimeVisualControllerType = preload( "res://world/world_time_visual_controller.gd" ) -const PrecipitationOcclusionType = preload( - "res://world/environment/precipitation_occlusion.gd" -) const FishingContextType = preload("res://fishing/fishing_context.gd") const FishingSpotType = preload("res://fishing/fishing_spot.gd") const FishAvailabilityType = preload("res://fish/fish_availability.gd") @@ -283,7 +280,7 @@ func _validate_weather_presentation() -> void: var sky := Sky.new() var sky_material := ShaderMaterial.new() sky_material.shader = preload( - "res://world/environment/straywild_sky.gdshader" + "res://world/environment/netfishing_sky.gdshader" ) sky.sky_material = sky_material environment.sky = sky @@ -524,28 +521,11 @@ func _validate_weather_presentation() -> void: assert(rain.emitting) assert(rain.amount_ratio > 0.99) assert(rain.amount == WorldTimeVisualControllerType.RAIN_PARTICLE_AMOUNT) - assert( - WorldTimeVisualControllerType.RAIN_EMITTER_OFFSET.y - >= WorldTimeVisualControllerType.RAIN_SUPPORTED_CANOPY_HEIGHT - + WorldTimeVisualControllerType.RAIN_CANOPY_CLEARANCE - ) - assert(is_equal_approx( - rain.lifetime, - WorldTimeVisualControllerType.RAIN_LIFETIME_SECONDS, - )) assert(rain.visibility_aabb == ( WorldTimeVisualControllerType.RAIN_VISIBILITY_AABB )) var rain_material := rain.process_material as ParticleProcessMaterial assert(rain_material != null) - assert( - rain_material.collision_mode - == ParticleProcessMaterial.COLLISION_HIDE_ON_CONTACT - ) - assert(is_equal_approx( - rain.collision_base_size, - WorldTimeVisualControllerType.RAIN_COLLISION_BASE_SIZE, - )) assert(rain_material.emission_box_extents.is_equal_approx( WorldTimeVisualControllerType.RAIN_EMISSION_EXTENTS )) @@ -557,39 +537,11 @@ func _validate_weather_presentation() -> void: rain_material.initial_velocity_max, WorldTimeVisualControllerType.RAIN_VELOCITY_MAX, )) - assert(rain_material.gravity.is_equal_approx( - WorldTimeVisualControllerType.RAIN_GRAVITY - )) var rain_mesh := rain.draw_pass_1 as BoxMesh assert(rain_mesh != null) assert(rain_mesh.size.is_equal_approx( WorldTimeVisualControllerType.RAIN_DROP_SIZE )) - var rain_collision := visuals.get_node( - "LocalRainCanopyCollision" - ) as GPUParticlesCollisionHeightField3D - assert(rain_collision != null) - assert(rain_collision.follow_camera_enabled) - assert( - rain_collision.resolution - == GPUParticlesCollisionHeightField3D.RESOLUTION_256 - ) - assert( - rain_collision.update_mode - == GPUParticlesCollisionHeightField3D.UPDATE_MODE_WHEN_MOVED - ) - assert(rain_collision.size.is_equal_approx( - WorldTimeVisualControllerType.RAIN_COLLISION_SIZE - )) - assert( - rain_collision.size.y * 0.5 - > WorldTimeVisualControllerType.RAIN_EMITTER_OFFSET.y - + WorldTimeVisualControllerType.RAIN_EMISSION_EXTENTS.y - ) - assert( - rain_collision.heightfield_mask - == PrecipitationOcclusionType.RENDER_LAYER_MASK - ) visuals.call( "_on_weather_changed", WorldWeatherServiceType.Weather.SUNNY, diff --git a/tools/art/export_creature_art.py b/tools/art/export_creature_art.py deleted file mode 100644 index 758be87..0000000 --- a/tools/art/export_creature_art.py +++ /dev/null @@ -1,256 +0,0 @@ -#!/usr/bin/env python3 -"""Export cataloged creature artwork with consistent transparent margins.""" - -from __future__ import annotations - -import argparse -import hashlib -import re -import sys -import zipfile -import xml.etree.ElementTree as ET -from pathlib import Path - -from PIL import Image - - -TABLE_NAMESPACE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0" -TABLE_ATTRIBUTE = "{%s}" % TABLE_NAMESPACE -NAMESPACES = {"table": TABLE_NAMESPACE} -VALID_EXPORT_SIZES = {64, 128, 256, 512} -SAFE_AREA_RATIO = 0.875 -KNOWN_SOURCE_ALIASES = { - # The delivered filename predates the catalog's authoritative species ID. - "bowfish": "bowfin", -} - - -def parse_arguments() -> argparse.Namespace: - parser = argparse.ArgumentParser( - description=( - "Export PNG creature art according to the catalog's recommended " - "canvas size, using alpha-bound trimming and nearest-neighbor scaling." - ) - ) - parser.add_argument("--tracker", required=True, type=Path) - parser.add_argument("--source", required=True, type=Path) - parser.add_argument("--output", required=True, type=Path) - parser.add_argument( - "--skip", - action="append", - default=[], - help="Catalog creature ID or source filename stem to skip; repeat as needed.", - ) - parser.add_argument( - "--dry-run", - action="store_true", - help="Validate and report the batch without writing output files.", - ) - return parser.parse_args() - - -def normalize_name(value: str) -> str: - normalized = value.strip().lower().replace("&", " and ") - normalized = re.sub(r"[^a-z0-9]+", "_", normalized) - return normalized.strip("_") - - -def expanded_row_values(row: ET.Element) -> list[str]: - values: list[str] = [] - for cell in row.findall("table:table-cell", NAMESPACES): - repeat = int( - cell.attrib.get( - TABLE_ATTRIBUTE + "number-columns-repeated", - "1", - ) - ) - values.extend(["".join(cell.itertext()).strip()] * repeat) - return values - - -def load_catalog(tracker_path: Path) -> list[dict[str, str]]: - with zipfile.ZipFile(tracker_path) as archive: - root = ET.fromstring(archive.read("content.xml")) - table = root.find(".//table:table", NAMESPACES) - if table is None: - raise ValueError("tracker does not contain a table") - rows = table.findall("table:table-row", NAMESPACES) - if not rows: - raise ValueError("tracker table is empty") - headers = expanded_row_values(rows[0]) - required_headers = { - "catalog_number", - "display_name", - "id", - "recommended_export_canvas_px", - } - missing_headers = required_headers.difference(headers) - if missing_headers: - raise ValueError( - "tracker is missing required columns: " - + ", ".join(sorted(missing_headers)) - ) - records: list[dict[str, str]] = [] - for row in rows[1:]: - values = expanded_row_values(row) - if not any(values): - continue - record = dict(zip(headers, values)) - if record.get("id", "").strip(): - records.append(record) - return records - - -def catalog_lookup(records: list[dict[str, str]]) -> dict[str, dict[str, str]]: - lookup: dict[str, dict[str, str]] = {} - for record in records: - keys = { - normalize_name(record["catalog_number"]), - normalize_name(record["id"]), - normalize_name(record["display_name"]), - } - for key in keys: - previous = lookup.get(key) - if previous is not None and previous["id"] != record["id"]: - raise ValueError( - f"ambiguous normalized catalog name {key!r}: " - f"{previous['id']} and {record['id']}" - ) - lookup[key] = record - return lookup - - -def resolve_record( - source_path: Path, - lookup: dict[str, dict[str, str]], -) -> dict[str, str]: - source_key = normalize_name(source_path.stem) - catalog_key = KNOWN_SOURCE_ALIASES.get(source_key, source_key) - record = lookup.get(catalog_key) - if record is None: - raise ValueError( - f"cannot map source {source_path.name!r} to one catalog creature" - ) - return record - - -def normalize_artwork(source_path: Path, canvas_size: int) -> tuple[Image.Image, tuple[int, int, int, int], tuple[int, int]]: - with Image.open(source_path) as source_image: - artwork = source_image.convert("RGBA") - alpha_bounds = artwork.getchannel("A").getbbox() - if alpha_bounds is None: - raise ValueError(f"source {source_path.name!r} is fully transparent") - visible = artwork.crop(alpha_bounds) - safe_long_side = round(canvas_size * SAFE_AREA_RATIO) - scale = safe_long_side / max(visible.width, visible.height) - scaled_size = ( - max(1, round(visible.width * scale)), - max(1, round(visible.height * scale)), - ) - visible = visible.resize(scaled_size, Image.Resampling.NEAREST) - canvas = Image.new("RGBA", (canvas_size, canvas_size), (0, 0, 0, 0)) - offset = ( - (canvas_size - scaled_size[0]) // 2, - (canvas_size - scaled_size[1]) // 2, - ) - canvas.alpha_composite(visible, offset) - return canvas, alpha_bounds, scaled_size - - -def sha256(path: Path) -> str: - digest = hashlib.sha256() - with path.open("rb") as source: - for block in iter(lambda: source.read(1024 * 1024), b""): - digest.update(block) - return digest.hexdigest() - - -def main() -> int: - arguments = parse_arguments() - records = load_catalog(arguments.tracker) - lookup = catalog_lookup(records) - skip_keys = {normalize_name(value) for value in arguments.skip} - source_paths = sorted(arguments.source.glob("*.png")) - if not source_paths: - raise ValueError(f"no PNG files found under {arguments.source}") - - resolved_by_output: dict[str, tuple[Path, dict[str, str]]] = {} - for source_path in source_paths: - record = resolve_record(source_path, lookup) - source_key = normalize_name(source_path.stem) - creature_key = normalize_name(record["id"]) - if source_key in skip_keys or creature_key in skip_keys: - print(f"SKIP {source_path.name} -> {record['id']}") - continue - output_name = f"{record['catalog_number']}.png" - previous = resolved_by_output.get(output_name) - if previous is not None: - previous_path, _previous_record = previous - catalog_key = normalize_name(record["catalog_number"]) - previous_is_numbered = ( - normalize_name(previous_path.stem) == catalog_key - ) - current_is_numbered = source_key == catalog_key - if current_is_numbered and not previous_is_numbered: - print( - "SUPERSEDE " - f"{previous_path.name} with numbered source " - f"{source_path.name} -> {record['id']}" - ) - resolved_by_output[output_name] = (source_path, record) - continue - if previous_is_numbered and not current_is_numbered: - print( - "SKIP " - f"{source_path.name}; numbered source " - f"{previous_path.name} takes precedence -> {record['id']}" - ) - continue - raise ValueError( - f"duplicate sources for output filename {output_name}: " - f"{previous_path.name} and {source_path.name}" - ) - resolved_by_output[output_name] = (source_path, record) - - resolved = list(resolved_by_output.values()) - - if not arguments.dry_run: - arguments.output.mkdir(parents=True, exist_ok=True) - - for source_path, record in resolved: - canvas_size = int(record["recommended_export_canvas_px"]) - if canvas_size not in VALID_EXPORT_SIZES: - raise ValueError( - f"{record['id']} has invalid export size {canvas_size}" - ) - image, alpha_bounds, scaled_size = normalize_artwork( - source_path, - canvas_size, - ) - output_path = arguments.output / f"{record['catalog_number']}.png" - if not arguments.dry_run: - image.save(output_path, format="PNG", optimize=False, compress_level=6) - output_hash = sha256(output_path) - else: - output_hash = "dry-run" - print( - "EXPORT " - f"{source_path.name} -> {output_path.name} " - f"id={record['id']} canvas={canvas_size}x{canvas_size} " - f"alpha_bounds={alpha_bounds} visible={scaled_size[0]}x{scaled_size[1]} " - f"source_sha256={sha256(source_path)} output_sha256={output_hash}" - ) - - print( - f"Complete: {len(resolved)} export(s), " - f"{len(source_paths) - len(resolved)} skipped." - ) - return 0 - - -if __name__ == "__main__": - try: - raise SystemExit(main()) - except (OSError, ValueError, zipfile.BadZipFile) as error: - print(f"ERROR: {error}", file=sys.stderr) - raise SystemExit(1) diff --git a/tools/blender/export_terrain_chunks.py b/tools/blender/export_terrain_chunks.py index d4a278e..2c35982 100644 --- a/tools/blender/export_terrain_chunks.py +++ b/tools/blender/export_terrain_chunks.py @@ -10,11 +10,10 @@ Run through Blender rather than a standalone Python interpreter: Collections use ``chunk_####_description`` and contain one primary terrain mesh named ``chunk_####``. Additional production objects may live in the same collection. Reusable procedural props use individual ``prop_description`` -mesh objects. Their child empties are exported with them so authored sockets -remain attached to the prop. Props may be arranged anywhere in the source file -because each root object's authored origin becomes the exported runtime anchor. -A same-named ``prop_description`` collection remains supported for multi-object -props. Unrelated objects and collections are ignored. +mesh objects. They may be arranged anywhere in the source file because each +object's authored origin becomes the exported runtime anchor. A same-named +``prop_description`` collection remains supported for multi-object props. +Unrelated objects and collections are ignored. """ from __future__ import annotations @@ -44,12 +43,6 @@ PROP_COLLECTION_PATTERN = re.compile( r"^prop_(?P