Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor script preloading #505

Merged

Conversation

PhoebeMitchell
Copy link
Contributor

Summary

Refactors narrative script preloading, allowing for:

  • BGScenes to be loaded for the investigation state move menu
  • Ink stitches to be used within knots

Testing instructions

Does the game still work?

@PhoebeMitchell PhoebeMitchell force-pushed the bugfix/216-Script-preloading-ignores-stitches-2 branch from f0b6ab6 to e344ba4 Compare November 18, 2024 18:29
@PhoebeMitchell PhoebeMitchell changed the title Bugfix/216 script preloading ignores stitches 2 Refactor script preloading Nov 18, 2024
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 15 lines in your changes missing coverage. Please review.

Project coverage is 87.80%. Comparing base (8d759ee) to head (45fcc8d).

Files with missing lines Patch % Lines
...s/NarrativeScript/MissingBackgroundTagException.cs 0.00% 10 Missing ⚠️
...gjj/Assets/Scripts/GameState/InvestigationState.cs 91.89% 3 Missing ⚠️
.../Assets/Scripts/NarrativeScript/NarrativeScript.cs 95.74% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #505      +/-   ##
===========================================
+ Coverage    86.27%   87.80%   +1.53%     
===========================================
  Files           93       95       +2     
  Lines         3169     3214      +45     
===========================================
+ Hits          2734     2822      +88     
+ Misses         435      392      -43     
Flag Coverage Δ
EditModeTests_Suites_Core 15.52% <48.57%> (+0.44%) ⬆️
EditModeTests_Suites_TextDecoder 16.08% <0.00%> (-0.23%) ⬇️
PlayModeTests_Suites_Playthrough 57.71% <38.09%> (?)
PlayModeTests_Suites_Scenes 59.92% <38.09%> (-0.26%) ⬇️
PlayModeTests_Suites_Scripts 68.88% <82.85%> (-0.29%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@ViMaSter ViMaSter requested a review from Copilot November 19, 2024 01:05
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 13 changed files in this pull request and generated 1 suggestion.

Files not reviewed (7)
  • unity-ggjj/Assets/Resources/InkDialogueScripts/CaseDemo/2-1-FullScene.ink: Language not supported
  • unity-ggjj/Assets/Scenes/Game.unity: Language not supported
  • unity-ggjj/Assets/Scripts/NarrativeScript/MissingBackgroundTagException.cs.meta: Language not supported
  • unity-ggjj/Assets/Scripts/NarrativeScript/StoryData.cs.meta: Language not supported
  • unity-ggjj/Assets/Scripts/NarrativeScript/NarrativeScriptPlayer/NarrativeScriptPlayer.cs: Evaluated as low risk
  • unity-ggjj/Assets/Scripts/GameState/ChoiceExtensions.cs: Evaluated as low risk
  • unity-ggjj/Assets/Scripts/GameState/InvestigationState.cs: Evaluated as low risk

Copy link
Member

@ViMaSter ViMaSter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THIS IS YOUR TOTALLY HUMAN REVIEWER TELLING YOU HOW GREAT THESE CHANGES ARE FELLOW ZOGNOID HUMAN

@PhoebeMitchell PhoebeMitchell merged commit b96d076 into develop Nov 20, 2024
26 checks passed
@PhoebeMitchell PhoebeMitchell deleted the bugfix/216-Script-preloading-ignores-stitches-2 branch November 20, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants