From 1fc011cb4ce1beeceda077a2081a29a39f7ac7bb Mon Sep 17 00:00:00 2001 From: CryztalGalaxy <55115969+CryztalGalaxy@users.noreply.github.com> Date: Thu, 4 Dec 2025 19:22:46 -0500 Subject: [PATCH] BIG (and Buff) DIALOGUE UPDATE Added dialogue skip control, created all Ink files (some with placeholder text), hooked up things that needed to be hooked up, and made some other general fixes --- .../Assets/PlayerControls.inputactions | 20 +++++++++ 320UnityProject/Assets/Prefabs/Player.prefab | 16 +++++++ .../Prototype scenes/DectectiveAgency.unity | 3 +- .../Scenes/Prototype scenes/LilypadLand.unity | 22 ++++++++-- .../Prototype scenes/VillageHouse1.unity | 30 +++++++++++++ .../Prototype scenes/VillageHouse2.unity | 3 +- .../Prototype scenes/VillageHouse3.unity | 44 ++++++++++++++++++- .../Assets/Scripts/DialogueDisplay.cs | 34 ++++++++++++-- 320UnityProject/Assets/Scripts/Player.cs | 7 +++ .../FrogVilleSceneController.cs | 22 +++++++++- .../StoryDialogue/Ink/LilypadLanding.ink | 15 +++++-- .../StoryDialogue/Ink/LilypadLanding.json | 2 +- .../Assets/StoryDialogue/Ink/VH1.ink | 36 +++++++++++++++ .../Assets/StoryDialogue/Ink/VH1.ink.meta | 7 +++ .../Assets/StoryDialogue/Ink/VH1.json | 1 + .../Assets/StoryDialogue/Ink/VH1.json.meta | 7 +++ .../Assets/StoryDialogue/Ink/VH2.ink | 1 + .../Assets/StoryDialogue/Ink/VH2.ink.meta | 7 +++ .../Assets/StoryDialogue/Ink/VH2.json | 1 + .../Assets/StoryDialogue/Ink/VH2.json.meta | 7 +++ .../Assets/StoryDialogue/Ink/VH3.ink | 1 + .../Assets/StoryDialogue/Ink/VH3.ink.meta | 7 +++ .../Assets/StoryDialogue/Ink/VH3.json | 1 + .../Assets/StoryDialogue/Ink/VH3.json.meta | 7 +++ 24 files changed, 284 insertions(+), 17 deletions(-) create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH1.ink create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH1.ink.meta create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH1.json create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH1.json.meta create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH2.ink create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH2.ink.meta create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH2.json create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH2.json.meta create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH3.ink create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH3.ink.meta create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH3.json create mode 100644 320UnityProject/Assets/StoryDialogue/Ink/VH3.json.meta diff --git a/320UnityProject/Assets/PlayerControls.inputactions b/320UnityProject/Assets/PlayerControls.inputactions index e13605b..6a91762 100644 --- a/320UnityProject/Assets/PlayerControls.inputactions +++ b/320UnityProject/Assets/PlayerControls.inputactions @@ -58,6 +58,15 @@ "processors": "", "interactions": "", "initialStateCheck": false + }, + { + "name": "SkipDialogue", + "type": "Button", + "id": "9f5a6bc6-b65e-4138-9baf-df6c33d92a29", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": false } ], "bindings": [ @@ -225,6 +234,17 @@ "action": "OpenMenu", "isComposite": false, "isPartOfComposite": false + }, + { + "name": "", + "id": "230d6cab-cadf-4cc1-b323-5b9df57bc135", + "path": "/m", + "interactions": "", + "processors": "", + "groups": "", + "action": "SkipDialogue", + "isComposite": false, + "isPartOfComposite": false } ] } diff --git a/320UnityProject/Assets/Prefabs/Player.prefab b/320UnityProject/Assets/Prefabs/Player.prefab index 220adf0..b08edc1 100644 --- a/320UnityProject/Assets/Prefabs/Player.prefab +++ b/320UnityProject/Assets/Prefabs/Player.prefab @@ -284,6 +284,22 @@ MonoBehaviour: m_Calls: [] m_ActionId: 5bc33532-1f30-4d60-aca1-2bdf91760489 m_ActionName: 'Gameplay/OpenMenu[/Keyboard/escape]' + - m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 7956713884062744753} + m_TargetAssemblyTypeName: Player, Assembly-CSharp + m_MethodName: OnSkipDialogue + m_Mode: 0 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + m_ActionId: 9f5a6bc6-b65e-4138-9baf-df6c33d92a29 + m_ActionName: 'Gameplay/SkipDialogue[/Keyboard/m]' m_NeverAutoSwitchControlSchemes: 0 m_DefaultControlScheme: m_DefaultActionMap: Gameplay diff --git a/320UnityProject/Assets/Scenes/Prototype scenes/DectectiveAgency.unity b/320UnityProject/Assets/Scenes/Prototype scenes/DectectiveAgency.unity index c62e2fd..f24bac2 100644 --- a/320UnityProject/Assets/Scenes/Prototype scenes/DectectiveAgency.unity +++ b/320UnityProject/Assets/Scenes/Prototype scenes/DectectiveAgency.unity @@ -468,6 +468,7 @@ MonoBehaviour: lines: [] gameManager: {fileID: 0} alreadySeen: -1 + pathChoice: -1 playerScript: {fileID: 0} infoPanel: {fileID: 0} --- !u!114 &64336018 stripped @@ -7509,7 +7510,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 2783402992089816728, guid: 75815bf93aa5bc349b917dff8f9f5c04, type: 3} propertyPath: m_LocalScale.x - value: 10.9236 + value: 11.9236 objectReference: {fileID: 0} - target: {fileID: 2783402992089816728, guid: 75815bf93aa5bc349b917dff8f9f5c04, type: 3} propertyPath: m_LocalScale.y diff --git a/320UnityProject/Assets/Scenes/Prototype scenes/LilypadLand.unity b/320UnityProject/Assets/Scenes/Prototype scenes/LilypadLand.unity index f8aa345..7c1f4a5 100644 --- a/320UnityProject/Assets/Scenes/Prototype scenes/LilypadLand.unity +++ b/320UnityProject/Assets/Scenes/Prototype scenes/LilypadLand.unity @@ -7571,6 +7571,18 @@ MonoBehaviour: onInteract: m_PersistentCalls: m_Calls: + - m_Target: {fileID: 1373018627} + m_TargetAssemblyTypeName: FrogVilleSceneController, Assembly-CSharp + m_MethodName: UnlockDoors + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: 0autopsy + m_BoolArgument: 0 + m_CallState: 2 - m_Target: {fileID: 8051805830699530867} m_TargetAssemblyTypeName: DialogueDisplay, Assembly-CSharp m_MethodName: ChoosePathString @@ -7580,7 +7592,7 @@ MonoBehaviour: m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine m_IntArgument: 0 m_FloatArgument: 0 - m_StringArgument: autopsy + m_StringArgument: 0autopsy m_BoolArgument: 0 m_CallState: 2 isEndpointEvent: 0 @@ -8057,7 +8069,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7914486489613220404, guid: e659517771621ea4090f875b75a80dbe, type: 3} propertyPath: lockedEvent.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_StringArgument - value: n1locked + value: locked objectReference: {fileID: 0} - target: {fileID: 7914486489613220404, guid: e659517771621ea4090f875b75a80dbe, type: 3} propertyPath: lockedEvent.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName @@ -24498,7 +24510,9 @@ MonoBehaviour: choiceParentPrefab: {fileID: 4045703632978157169, guid: 2ff43316bce107744b16a302560809d6, type: 3} eventSystem: {fileID: 8051805830699530865} fogWar: {fileID: 1351261697} + autopsyScript: {fileID: 4900000, guid: 8a8d0b20cb235094e92e95810b84e855, type: 3} letterScript: {fileID: 4900000, guid: f1663b04fbd74a64bb7738cfba602f9f, type: 3} + autopsyObject: {fileID: 405296139} villageDoors: - {fileID: 422474220} - {fileID: 2131623558} @@ -35781,7 +35795,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7914486489613220404, guid: e659517771621ea4090f875b75a80dbe, type: 3} propertyPath: lockedEvent.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_StringArgument - value: n1locked + value: locked objectReference: {fileID: 0} - target: {fileID: 7914486489613220404, guid: e659517771621ea4090f875b75a80dbe, type: 3} propertyPath: lockedEvent.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName @@ -39197,7 +39211,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7914486489613220404, guid: e659517771621ea4090f875b75a80dbe, type: 3} propertyPath: lockedEvent.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_StringArgument - value: n1locked + value: locked objectReference: {fileID: 0} - target: {fileID: 7914486489613220404, guid: e659517771621ea4090f875b75a80dbe, type: 3} propertyPath: lockedEvent.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName diff --git a/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse1.unity b/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse1.unity index 713ac2d..0b5acc8 100644 --- a/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse1.unity +++ b/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse1.unity @@ -511,6 +511,34 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 9016890536702456913, guid: 6790864b4f1ae054ca9f45a664bb8d02, type: 3} + propertyPath: onStart + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9016890536702456913, guid: 6790864b4f1ae054ca9f45a664bb8d02, type: 3} + propertyPath: inkScript + value: + objectReference: {fileID: 4900000, guid: 5c807ef23a7ee144b820dc163a1dc041, type: 3} + - target: {fileID: 9016890536702456913, guid: 6790864b4f1ae054ca9f45a664bb8d02, type: 3} + propertyPath: choicePrefab + value: + objectReference: {fileID: 3856283038282802624, guid: 677ba264c0e591f46822e829268723f2, type: 3} + - target: {fileID: 9016890536702456913, guid: 6790864b4f1ae054ca9f45a664bb8d02, type: 3} + propertyPath: speakerSprite + value: + objectReference: {fileID: 21300000, guid: 3c60a14a6931c1d4e9e7aaa94dc2cadd, type: 3} + - target: {fileID: 9016890536702456913, guid: 6790864b4f1ae054ca9f45a664bb8d02, type: 3} + propertyPath: noSpeakerSprite + value: + objectReference: {fileID: 21300000, guid: 4783cd083fe4bda4fbfdb3d26bf2fa17, type: 3} + - target: {fileID: 9016890536702456913, guid: 6790864b4f1ae054ca9f45a664bb8d02, type: 3} + propertyPath: lines.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9016890536702456913, guid: 6790864b4f1ae054ca9f45a664bb8d02, type: 3} + propertyPath: 'lines.Array.data[0]' + value: + objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -3692,6 +3720,8 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: dialogueUIPrefab: {fileID: 4093843948648021414, guid: 25357f13f39a025438a8bcba440e103b, type: 3} + infoPannelPrefab: {fileID: 6645276890318459487, guid: 51b4f4206bcc56c49a44f5ce7b98b561, type: 3} + choiceParentPrefab: {fileID: 4045703632978157169, guid: 2ff43316bce107744b16a302560809d6, type: 3} playerSpawnPoint: {fileID: 1404071137} eventSystem: {fileID: 350973807} --- !u!4 &2146469893 diff --git a/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse2.unity b/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse2.unity index 6835434..5f3e042 100644 --- a/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse2.unity +++ b/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse2.unity @@ -3963,10 +3963,11 @@ MonoBehaviour: onEnd: m_PersistentCalls: m_Calls: [] - inkScript: {fileID: 0} + inkScript: {fileID: 4900000, guid: aa174c61e7007c649a4432f3e80f2f22, type: 3} lines: [] gameManager: {fileID: 0} alreadySeen: -1 + pathChoice: -1 playerScript: {fileID: 0} infoPanel: {fileID: 0} --- !u!1660057539 &9223372036854775807 diff --git a/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse3.unity b/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse3.unity index eaebff8..63bd72b 100644 --- a/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse3.unity +++ b/320UnityProject/Assets/Scenes/Prototype scenes/VillageHouse3.unity @@ -957,6 +957,8 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: dialogueUIPrefab: {fileID: 4093843948648021414, guid: 25357f13f39a025438a8bcba440e103b, type: 3} + infoPannelPrefab: {fileID: 6645276890318459487, guid: 51b4f4206bcc56c49a44f5ce7b98b561, type: 3} + choiceParentPrefab: {fileID: 4045703632978157169, guid: 2ff43316bce107744b16a302560809d6, type: 3} playerSpawnPoint: {fileID: 1231128527} eventSystem: {fileID: 1647768956} --- !u!4 &469519506 @@ -2847,19 +2849,57 @@ PrefabInstance: m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] - m_AddedComponents: [] + m_AddedComponents: + - targetCorrespondingSourceObject: {fileID: 4505061064924364444, guid: e017ab7d4685dd549af610bcc5c53c20, type: 3} + insertIndex: 3 + addedObject: {fileID: 1647768958} m_SourcePrefab: {fileID: 100100000, guid: e017ab7d4685dd549af610bcc5c53c20, type: 3} --- !u!114 &1647768956 stripped MonoBehaviour: m_CorrespondingSourceObject: {fileID: 6511680066849145292, guid: e017ab7d4685dd549af610bcc5c53c20, type: 3} m_PrefabInstance: {fileID: 1647768955} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} + m_GameObject: {fileID: 1647768957} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!1 &1647768957 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 4505061064924364444, guid: e017ab7d4685dd549af610bcc5c53c20, type: 3} + m_PrefabInstance: {fileID: 1647768955} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1647768958 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1647768957} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 662c9669254b92140b6ffec2e5ec6198, type: 3} + m_Name: + m_EditorClassIdentifier: + dialogueBox: {fileID: 0} + speakerBox: {fileID: 0} + speakerSprite: {fileID: 21300000, guid: 3c60a14a6931c1d4e9e7aaa94dc2cadd, type: 3} + noSpeakerSprite: {fileID: 21300000, guid: 4783cd083fe4bda4fbfdb3d26bf2fa17, type: 3} + choiceParent: {fileID: 0} + choicePrefab: {fileID: 3856283038282802624, guid: 677ba264c0e591f46822e829268723f2, type: 3} + onStart: 0 + lockMovement: 1 + onEnd: + m_PersistentCalls: + m_Calls: [] + inkScript: {fileID: 4900000, guid: 677aa31123d1a384ea0b2fcbbfb57373, type: 3} + lines: [] + gameManager: {fileID: 0} + alreadySeen: -1 + pathChoice: -1 + playerScript: {fileID: 0} + infoPanel: {fileID: 0} --- !u!1 &1668261132 GameObject: m_ObjectHideFlags: 0 diff --git a/320UnityProject/Assets/Scripts/DialogueDisplay.cs b/320UnityProject/Assets/Scripts/DialogueDisplay.cs index 8a74c72..a2e4f55 100644 --- a/320UnityProject/Assets/Scripts/DialogueDisplay.cs +++ b/320UnityProject/Assets/Scripts/DialogueDisplay.cs @@ -171,7 +171,19 @@ public void NextLine(InputAction.CallbackContext context) NextLine(); } - void NextLine() + public void SkipDialogue(InputAction.CallbackContext context) + { + if (!dialoguePanel.activeSelf || inkStory.currentChoices.Count > 0) + return; + + inkStory.ContinueMaximally(); + string line = null; + if (inkStory.currentChoices.Count > 0) + line = inkStory.currentText; + NextLine(line); + } + + void NextLine(string lineText = null) { if (seeing >= 0 && alreadySeen >= seeing) { @@ -179,6 +191,8 @@ void NextLine() return; } string line = "-1"; + if (lineText != null) + line = lineText; //Debug.Log("seeing: " + seeing); if (seeing < 0) { @@ -335,9 +349,21 @@ public void ChoosePathString(string path) for (int i = choiceParent.childCount - 1; i >= 0; i--) Destroy(choiceParent.GetChild(i).gameObject); inkStory.ChoosePathString(path); - if (pathChoice >= 0 && inkStory.currentChoices.Count > 0) - inkStory.ChooseChoiceIndex(pathChoice); - NextLine(); + + string line = null; + if (pathChoice >= 0) + { + if (inkStory.canContinue) + line = inkStory.Continue(); + if (line == "0\n") + { + line = null; + inkStory.ContinueMaximally(); + inkStory.ChooseChoiceIndex(pathChoice); + } + } + + NextLine(line); } public void InfoSetup(GameObject infoPanelInstance) diff --git a/320UnityProject/Assets/Scripts/Player.cs b/320UnityProject/Assets/Scripts/Player.cs index 42ca59d..0c10b72 100644 --- a/320UnityProject/Assets/Scripts/Player.cs +++ b/320UnityProject/Assets/Scripts/Player.cs @@ -186,6 +186,13 @@ public void OnNextLine(InputAction.CallbackContext context) dialogueDisplay.NextLine(context); } + public void OnSkipDialogue(InputAction.CallbackContext context) + { + if (!dialogueDisplay) + return; + dialogueDisplay.SkipDialogue(context); + } + public void OnSetRun(InputAction.CallbackContext context) { if(context.started || context.performed) diff --git a/320UnityProject/Assets/Scripts/SceneControllers/FrogVilleSceneController.cs b/320UnityProject/Assets/Scripts/SceneControllers/FrogVilleSceneController.cs index a07aff9..5b1b943 100644 --- a/320UnityProject/Assets/Scripts/SceneControllers/FrogVilleSceneController.cs +++ b/320UnityProject/Assets/Scripts/SceneControllers/FrogVilleSceneController.cs @@ -27,8 +27,10 @@ public class FrogVilleSceneController : MonoBehaviour [SerializeField] private csFogWar fogWar; private const int autopsyValue = 0; + [SerializeField] private TextAsset autopsyScript; private const int letterValue = 1; [SerializeField] private TextAsset letterScript; + [SerializeField] private interactableObject autopsyObject; [SerializeField] private SceneWarpTrigger[] villageDoors; private void Awake() @@ -112,16 +114,25 @@ private void Awake() playerInstance.transform.GetChild(0).GetComponent().dialogueDisplay = dpDisplay; // Check if doors need to be locked - if (gameManager.ContainsDialogue(dpDisplay.inkScript) < autopsyValue) + if (gameManager.ContainsDialogue(autopsyScript) < autopsyValue) { foreach (SceneWarpTrigger door in villageDoors) door.locked = true; } if (gameManager.ContainsDialogue(letterScript) < letterValue) + { dpDisplay.pathChoice = 0; + //autopsyObject.isDialogue = false; + autopsyObject.dialogue = "The trash can is full"; + autopsyObject.isEvent = false; + } else + { dpDisplay.pathChoice = 1; + autopsyObject.isDialogue = true; + autopsyObject.isEvent = true; + } } interactArea.playerScript = playerInstance.GetComponent(); @@ -139,4 +150,13 @@ private void Start() playerInstance.GetComponent().rotateControls = false; } + public void UnlockDoors() + { + if (gameManager.ContainsDialogue(autopsyScript) >= autopsyValue) + return; + + foreach (SceneWarpTrigger door in villageDoors) + door.locked = false; + eventSystem.GetComponent().pathChoice = -1; + } } diff --git a/320UnityProject/Assets/StoryDialogue/Ink/LilypadLanding.ink b/320UnityProject/Assets/StoryDialogue/Ink/LilypadLanding.ink index 56bc594..2314b9e 100644 --- a/320UnityProject/Assets/StoryDialogue/Ink/LilypadLanding.ink +++ b/320UnityProject/Assets/StoryDialogue/Ink/LilypadLanding.ink @@ -1,14 +1,22 @@ + [0] -> 0search === 0search === -+ [0] -> autopsy ++ [0] -> 0autopsy -=== autopsy === +=== 0autopsy === YOU>>Oh, the autopsy! +I wonder what it was doing in this trash can? +Well, let's read what it says... + +>>. . . + +YOU>>He died from an "unknown poison"...? +What could that possibly mean...? +I guess I might as well look around and see if I can get any leads... -> END -=== n1locked === +=== locked === 0 + [0] -> check_house @@ -22,5 +30,6 @@ It was in the northeast, right? === find_autopsy === YOU>>I should probably go find that autopsy first before someone else does... +It's gotta be outside somewhere, right? -> 0search \ No newline at end of file diff --git a/320UnityProject/Assets/StoryDialogue/Ink/LilypadLanding.json b/320UnityProject/Assets/StoryDialogue/Ink/LilypadLanding.json index 20d0fca..6479d0a 100644 --- a/320UnityProject/Assets/StoryDialogue/Ink/LilypadLanding.json +++ b/320UnityProject/Assets/StoryDialogue/Ink/LilypadLanding.json @@ -1 +1 @@ -{"inkVersion":21,"root":[["ev","str","^0","/str","/ev",{"*":"0.c-0","flg":4},{"c-0":["^ ",{"->":"0search"},"\n",{"->":"0.g-0"},{"#f":5}],"g-0":["done",{"#f":5}]}],"done",{"0search":[["ev","str","^0","/str","/ev",{"*":".^.c-0","flg":4},{"c-0":["^ ",{"->":"autopsy"},"\n",{"#f":5}]}],{"#f":1}],"autopsy":["^YOU>>Oh, the autopsy!","\n","end",{"#f":1}],"n1locked":[["^0","\n","ev","str","^0","/str","/ev",{"*":".^.c-0","flg":4},"ev","str","^1","/str","/ev",{"*":".^.c-1","flg":4},{"c-0":["^ ",{"->":"check_house"},"\n",{"#f":5}],"c-1":["^ ",{"->":"find_autopsy"},"\n",{"#f":5}]}],{"#f":1}],"check_house":["^YOU>>Hmm, maybe I should check the victim's house first.","\n","^It was in the northeast, right?","\n",{"->":"0search"},{"#f":1}],"find_autopsy":["^YOU>>I should probably go find that autopsy first before someone else does...","\n",{"->":"0search"},{"#f":1}],"#f":1}],"listDefs":{}} \ No newline at end of file +{"inkVersion":21,"root":[["ev","str","^0","/str","/ev",{"*":"0.c-0","flg":4},{"c-0":["^ ",{"->":"0search"},"\n",{"->":"0.g-0"},{"#f":5}],"g-0":["done",{"#f":5}]}],"done",{"0search":[["ev","str","^0","/str","/ev",{"*":".^.c-0","flg":4},{"c-0":["^ ",{"->":"0autopsy"},"\n",{"#f":5}]}],{"#f":1}],"0autopsy":["^YOU>>Oh, the autopsy!","\n","^I wonder what it was doing in this trash can?","\n","^Well, let's read what it says...","\n","^>>. . .","\n","^YOU>>He died from an \"unknown poison\"...?","\n","^What could that possibly mean...?","\n","^I guess I might as well look around and see if I can get any leads...","\n","end",{"#f":1}],"locked":[["^0","\n","ev","str","^0","/str","/ev",{"*":".^.c-0","flg":4},"ev","str","^1","/str","/ev",{"*":".^.c-1","flg":4},{"c-0":["^ ",{"->":"check_house"},"\n",{"#f":5}],"c-1":["^ ",{"->":"find_autopsy"},"\n",{"#f":5}]}],{"#f":1}],"check_house":["^YOU>>Hmm, maybe I should check the victim's house first.","\n","^It was in the northeast, right?","\n",{"->":"0search"},{"#f":1}],"find_autopsy":["^YOU>>I should probably go find that autopsy first before someone else does...","\n","^It's gotta be outside somewhere, right?","\n",{"->":"0search"},{"#f":1}],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH1.ink b/320UnityProject/Assets/StoryDialogue/Ink/VH1.ink new file mode 100644 index 0000000..dcee37e --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH1.ink @@ -0,0 +1,36 @@ ++ [0] -> 0shopping_list + +=== 0shopping_list === +YOU>>Interesting... +Someone left their laptop open... +I guess they were in a rush to leave? +Well, nobody's home, so I might as well investigate a bit... + +>>Hop 'n' Shop: Petro's Order Summary + +YOU>>"Hop 'n' Shop"? Is that some kind of shopping site...? +And I guess "Petro" is the name of the frog that was using it, huh... + +>>1x Foam Headband +1x Splendid Super Glue +5x Buff & Brawny Dumbbells +2x Door Repair Kit + +YOU>>Two door repair kits? +Why would he need two of them...? + +>>10x Resistance Band +>>1x Burglar Mask +>>1x Razor-Sharp Knife +>>3x Party Balloons (set of 5) + +YOU>>Whoa, whoa, whoa, hang on... +A burglar mask? And a knife? +I might be on to something... + +>>*stomp stomp* + +YOU>>Uh oh, someone's coming this way! +I'd better run! + +-> END \ No newline at end of file diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH1.ink.meta b/320UnityProject/Assets/StoryDialogue/Ink/VH1.ink.meta new file mode 100644 index 0000000..1f6f056 --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH1.ink.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9c9829d0ff41fc24fb2655e958dd588c +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH1.json b/320UnityProject/Assets/StoryDialogue/Ink/VH1.json new file mode 100644 index 0000000..73e0b36 --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH1.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["ev","str","^0","/str","/ev",{"*":"0.c-0","flg":4},{"c-0":["^ ",{"->":"0shopping_list"},"\n",{"->":"0.g-0"},{"#f":5}],"g-0":["done",{"#f":5}]}],"done",{"0shopping_list":["^YOU>>Interesting...","\n","^Someone left their laptop open...","\n","^I guess they were in a rush to leave?","\n","^Well, nobody's home, so I might as well investigate a bit...","\n","^>>Hop 'n' Shop: Petro's Order Summary","\n","^YOU>>\"Hop 'n' Shop\"? Is that some kind of shopping site...?","\n","^And I guess \"Petro\" is the name of the frog that was using it, huh...","\n","^>>1x Foam Headband","\n","^1x Splendid Super Glue","\n","^5x Buff & Brawny Dumbbells","\n","^2x Door Repair Kit","\n","^YOU>>Two door repair kits?","\n","^Why would he need two of them...?","\n","^>>10x Resistance Band","\n","^>>1x Burglar Mask","\n","^>>1x Razor-Sharp Knife","\n","^>>3x Party Balloons (set of 5)","\n","^YOU>>Whoa, whoa, whoa, hang on...","\n","^A burglar mask? And a knife?","\n","^I might be on to something...","\n","^>>*stomp stomp*","\n","^YOU>>Uh oh, someone's coming this way!","\n","^I'd better run!","\n","end",{"#f":1}],"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH1.json.meta b/320UnityProject/Assets/StoryDialogue/Ink/VH1.json.meta new file mode 100644 index 0000000..3f86818 --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH1.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5c807ef23a7ee144b820dc163a1dc041 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH2.ink b/320UnityProject/Assets/StoryDialogue/Ink/VH2.ink new file mode 100644 index 0000000..00b891b --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH2.ink @@ -0,0 +1 @@ +>>temp stuff lol \ No newline at end of file diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH2.ink.meta b/320UnityProject/Assets/StoryDialogue/Ink/VH2.ink.meta new file mode 100644 index 0000000..ef81f97 --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH2.ink.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 468ef6258ff0e2f4ea681d6fadbef693 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH2.json b/320UnityProject/Assets/StoryDialogue/Ink/VH2.json new file mode 100644 index 0000000..dbbbf44 --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH2.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["^>>temp stuff lol","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH2.json.meta b/320UnityProject/Assets/StoryDialogue/Ink/VH2.json.meta new file mode 100644 index 0000000..b79c8d6 --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH2.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: aa174c61e7007c649a4432f3e80f2f22 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH3.ink b/320UnityProject/Assets/StoryDialogue/Ink/VH3.ink new file mode 100644 index 0000000..00b891b --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH3.ink @@ -0,0 +1 @@ +>>temp stuff lol \ No newline at end of file diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH3.ink.meta b/320UnityProject/Assets/StoryDialogue/Ink/VH3.ink.meta new file mode 100644 index 0000000..cd8ed8b --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH3.ink.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 371900667e6602048a05362099f974ae +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH3.json b/320UnityProject/Assets/StoryDialogue/Ink/VH3.json new file mode 100644 index 0000000..dbbbf44 --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH3.json @@ -0,0 +1 @@ +{"inkVersion":21,"root":[["^>>temp stuff lol","\n",["done",{"#f":5,"#n":"g-0"}],null],"done",{"#f":1}],"listDefs":{}} \ No newline at end of file diff --git a/320UnityProject/Assets/StoryDialogue/Ink/VH3.json.meta b/320UnityProject/Assets/StoryDialogue/Ink/VH3.json.meta new file mode 100644 index 0000000..7dba7f6 --- /dev/null +++ b/320UnityProject/Assets/StoryDialogue/Ink/VH3.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 677aa31123d1a384ea0b2fcbbfb57373 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: