浏览代码

Creating Win/Lose quests and how to handle - Saving quests WIP

/main
uChema 4 年前
当前提交
283617f7
共有 64 个文件被更改,包括 870 次插入57 次删除
  1. 4
      UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/Inventory Item Description Shared Data.asset
  2. 4
      UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/Inventory Item Description_en.asset
  3. 8
      UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/Inventory Item Name Shared Data.asset
  4. 8
      UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/Inventory Item Name_en.asset
  5. 64
      UOP1_Project/Assets/LocalizationFiles/AssetTables/QuestSystem/Questline Dialogue Shared Data.asset
  6. 76
      UOP1_Project/Assets/LocalizationFiles/AssetTables/QuestSystem/Questline Dialogue_en.asset
  7. 4
      UOP1_Project/Assets/LocalizationFiles/GoogleSheetService_ChopChop.asset
  8. 2
      UOP1_Project/Assets/Prefabs/Managers/DialogueManager.prefab
  9. 2
      UOP1_Project/Assets/Scenes/Menus/MainMenu.unity
  10. 7
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/CakeWithRockCandy-Dish.asset
  11. 5
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/RockCandy.asset
  12. 5
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SaltyDough.asset
  13. 5
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SpicySauce-Dish.asset
  14. 5
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SweetCream-Dish.asset
  15. 3
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline5/Quest1/Step2/CD-S2-Q1-QL5.asset
  16. 3
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline5/Quest1/Step2/ID-S2-Q1-QL5.asset
  17. 11
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline5/Quest1/Step2/S2-Q1-QL5.asset
  18. 6
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline5/Quest1/Step2/SD-S2-Q1-QL5.asset
  19. 10
      UOP1_Project/Assets/Scripts/Dialogues/DialogueDataSO.cs
  20. 46
      UOP1_Project/Assets/Scripts/Dialogues/DialogueManager.cs
  21. 3
      UOP1_Project/Assets/Scripts/Menu/MultiInputButton.cs
  22. 23
      UOP1_Project/Assets/Scripts/Quests/Editor/QuestEditorWindow.cs
  23. 8
      UOP1_Project/Assets/Scripts/Quests/QuestManager.asset
  24. 33
      UOP1_Project/Assets/Scripts/Quests/QuestManagerSO.cs
  25. 15
      UOP1_Project/Assets/ScriptableObjects/Events/Quests/PlayLoseQuestEvent.asset
  26. 8
      UOP1_Project/Assets/ScriptableObjects/Events/Quests/PlayLoseQuestEvent.asset.meta
  27. 15
      UOP1_Project/Assets/ScriptableObjects/Events/Quests/PlayWinningQuestEvent.asset
  28. 8
      UOP1_Project/Assets/ScriptableObjects/Events/Quests/PlayWinningQuestEvent.asset.meta
  29. 45
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SaltyCakeWithPepper-Dish.asset
  30. 8
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SaltyCakeWithPepper-Dish.asset.meta
  31. 51
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SaltyCakeWithPepper-Recipe.asset
  32. 8
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SaltyCakeWithPepper-Recipe.asset.meta
  33. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6.meta
  34. 20
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/QL6.asset
  35. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/QL6.asset.meta
  36. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1.meta
  37. 19
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Q1-QL6.asset
  38. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Q1-QL6.asset.meta
  39. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1.meta
  40. 25
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/CD-S1-Q1-QL6.asset
  41. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/CD-S1-Q1-QL6.asset.meta
  42. 25
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/ID-S1-Q1-QL6.asset
  43. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/ID-S1-Q1-QL6.asset.meta
  44. 24
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/S1-Q1-QL6.asset
  45. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/S1-Q1-QL6.asset.meta
  46. 45
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/SD-S1-Q1-QL6.asset
  47. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/SD-S1-Q1-QL6.asset.meta
  48. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2.meta
  49. 19
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Q2-QL6.asset
  50. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Q2-QL6.asset.meta
  51. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1.meta
  52. 25
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/CD-S1-Q2-QL6.asset
  53. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/CD-S1-Q2-QL6.asset.meta
  54. 25
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/ID-S1-Q2-QL6.asset
  55. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/ID-S1-Q2-QL6.asset.meta
  56. 24
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/S1-Q2-QL6.asset
  57. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/S1-Q2-QL6.asset.meta
  58. 45
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/SD-S1-Q2-QL6.asset
  59. 8
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/SD-S1-Q2-QL6.asset.meta

4
UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/Inventory Item Description Shared Data.asset


m_Metadata:
m_Items: []
- m_Id: 75406938593943552
m_Key: SpicySauce
m_Key: CakeWithRockCandy-Dish
m_Key: CakeWithRockCandy_Recipe
m_Key: SaltyCakeWithPepper_Recipe
m_Metadata:
m_Items: []
- m_Id: 75423773439680512

4
UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/Inventory Item Description_en.asset


m_Metadata:
m_Items: []
- m_Id: 75406938593943552
m_Localized: This is a spicy sauce dish
m_Localized: This is a cake with rock candy
m_Metadata:
m_Items: []
- m_Id: 75343367067525120

- m_Id: 75423232705814528
m_Localized: This is a recipe for a cake with rock candy
m_Localized: This is a recipe for a salty cake with Pepper
m_Metadata:
m_Items: []
- m_Id: 75423773439680512

8
UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/Inventory Item Name Shared Data.asset


m_Key: GoldenEgg
m_Metadata:
m_Items: []
- m_Id: 78317296254050304
m_Key: SaltyCakeWithPepper_Recipe
m_Metadata:
m_Items: []
- m_Id: 78317786027122688
m_Key: CakeWithRockCandy-Dish
m_Metadata:
m_Items: []
m_Metadata:
m_Items: []
m_KeyGenerator:

8
UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/Inventory Item Name_en.asset


m_Localized: Golden Egg
m_Metadata:
m_Items: []
- m_Id: 78317296254050304
m_Localized: Salty cake with pepper
m_Metadata:
m_Items: []
- m_Id: 78317786027122688
m_Localized: Cake With Rock Candy
m_Metadata:
m_Items: []
references:
version: 1
00000000:

64
UOP1_Project/Assets/LocalizationFiles/AssetTables/QuestSystem/Questline Dialogue Shared Data.asset


m_Metadata:
m_Items:
- id: 59
- m_Id: 50312278611714048
m_Key: L1-CD-S1-Q1-QL6
m_Metadata:
m_Items: []
- m_Id: 50280554632699904
m_Key: L1-CD-S1-Q1-QL6
m_Metadata:
m_Items:
- id: 60
- m_Id: 50280556763406336
m_Key: L1-ID-S1-Q1-QL6
m_Metadata:
m_Items:
- id: 61
- m_Id: 50280586370998272
m_Key: L1-SD-S1-Q2-QL6
m_Metadata:
m_Items:
- id: 62
- m_Id: 50280589453811712
m_Key: L1-CD-S1-Q2-QL6
m_Metadata:
m_Items:
- id: 63
- m_Id: 50280592423378944
m_Key: L1-ID-S1-Q2-QL6
m_Metadata:
m_Items:
- id: 64
- m_Id: 50299516372246528
m_Key: L1-SD-S1-Q1-QL6
m_Metadata:
m_Items:
- id: 65
- id: 60
- id: 66
id: 61
id: 67
references:
version: 1
00000000:

0000003C:
type: {class: Comment, ns: UnityEngine.Localization.Metadata, asm: Unity.Localization}
data:
m_CommentText:
m_CommentText: --
type: {class: Comment, ns: UnityEngine.Localization.Metadata, asm: Unity.Localization}
data:
m_CommentText: --
0000003E:
type: {class: Comment, ns: UnityEngine.Localization.Metadata, asm: Unity.Localization}
data:
m_CommentText: --
0000003F:
type: {class: Comment, ns: UnityEngine.Localization.Metadata, asm: Unity.Localization}
data:
m_CommentText: --
00000040:
type: {class: Comment, ns: UnityEngine.Localization.Metadata, asm: Unity.Localization}
data:
m_CommentText: --
00000041:
type: {class: Comment, ns: UnityEngine.Localization.Metadata, asm: Unity.Localization}
data:
m_CommentText: --
00000042:
type: {class: Comment, ns: UnityEngine.Localization.Metadata, asm: Unity.Localization}
data:
m_CommentText:
00000043:
type: {class: DistributedUIDGenerator, ns: UnityEngine.Localization.Tables,
asm: Unity.Localization}
data:

76
UOP1_Project/Assets/LocalizationFiles/AssetTables/QuestSystem/Questline Dialogue_en.asset


m_Metadata:
m_Items: []
- m_Id: 47099758912593920
m_Localized: hum... good but not perfect
m_Localized: 'hum... Show me that ! '
m_Localized: Hum !! That's fantastic
m_Localized: 'Oh ! Show me that! '
m_Metadata:
m_Items: []
- m_Id: 47099417324281856

m_Items: []
- m_Id: 47071766836535296
m_Localized: 'Perfect ! I know you''re going to win ! '
m_Metadata:
m_Items: []
- m_Id: 49977052052185088
m_Localized: 'Do you have the sweet cake ? '
m_Metadata:
m_Items: []
- m_Id: 49977394600992768
m_Localized: 'This is delicious ! '
m_Metadata:
m_Items: []
- m_Id: 49977399298613248
m_Localized: 'Ok Come back when you have it. '
m_Metadata:
m_Items: []
- m_Id: 49978184401018880
m_Localized: 'Do you have the salty cake ? '
m_Metadata:
m_Items: []
- m_Id: 49978187022458880
m_Localized: 'Hum.... Thank you '
m_Metadata:
m_Items: []
- m_Id: 49978189513875456
m_Localized: 'Ok Come back when you have it. '
m_Metadata:
m_Items: []
- m_Id: 50270895276417024
m_Localized: 'Do you have the sweet dish to show me ? '
m_Metadata:
m_Items: []
- m_Id: 50270899990814720
m_Localized: This is delicious ! You win !
m_Metadata:
m_Items: []
- m_Id: 50270902855524352
m_Localized: Oh ok ! Come back later then !
m_Metadata:
m_Items: []
- m_Id: 50270915195166720
m_Localized: 'Do you have the salty dish to show me ? '
m_Metadata:
m_Items: []
- m_Id: 50270917715943424
m_Localized: 'It''s good, but I wanted something new '
m_Metadata:
m_Items: []
- m_Id: 50270920249303040
m_Localized: Ok come back later
m_Metadata:
m_Items: []
- m_Id: 50299516372246528
m_Localized: 'Do you have the sweet dish ? '
m_Metadata:
m_Items: []
- m_Id: 50280554632699904
m_Localized: That's amaizing ! you win the competition
m_Metadata:
m_Items: []
- m_Id: 50280556763406336
m_Localized: Ok come back when you have it
m_Metadata:
m_Items: []
- m_Id: 50280586370998272
m_Localized: 'Do you have the salty dish ? '
m_Metadata:
m_Items: []
- m_Id: 50280589453811712
m_Localized: It's good but I'm looking for another dish
m_Metadata:
m_Items: []
- m_Id: 50280592423378944
m_Localized: Ok come back when you have it
m_Metadata:
m_Items: []
references:

4
UOP1_Project/Assets/LocalizationFiles/GoogleSheetService_ChopChop.asset


m_Name: GoogleSheetService_ChopChop
m_EditorClassIdentifier:
m_ApiKey:
m_ClientId: 1051686584386-88q3003b56d0bldafsnmift96if60mj1.apps.googleusercontent.com
m_ClientSecret: U5PmbxGYuBCyAw6qsgQsV-yK
m_ClientId: 1051686584386-ctevuj0r1ar5sl2lucr4q5849rememne.apps.googleusercontent.com
m_ClientSecret: 8xFlgZmV6s0UPEmN9HRw1XVO
m_AuthenticationType: 1
m_ApplicationName: Chop Chop
m_NewSheetProperties:

2
UOP1_Project/Assets/Prefabs/Managers/DialogueManager.prefab


type: 2}
_endDialogue: {fileID: 11400000, guid: b8f14d59bc3b10e4f9bdf1e65c3c6280, type: 2}
_continueWithStep: {fileID: 11400000, guid: 6711182c372e2e94a8bd3fd1868223ec, type: 2}
_playWinningQuest: {fileID: 11400000, guid: cf85098764f74134e80c631a1a1a1709, type: 2}
_playLosingQuest: {fileID: 11400000, guid: 1668df705c9a7a1408c4668ece6b5302, type: 2}
_closeDialogueUIEvent: {fileID: 11400000, guid: 53a7f1f01ef364704b1d45d01f2421ae,
type: 2}
_gameState: {fileID: 11400000, guid: 159f9c22d98e249ceb08f2c5de2311a4, type: 2}

2
UOP1_Project/Assets/Scenes/Menus/MainMenu.unity


m_Script: {fileID: 11500000, guid: 45ecefb9fe27f1f4b8cf3ecc3fad707c, type: 3}
m_Name:
m_EditorClassIdentifier:
_locationsToLoad: {fileID: 11400000, guid: 2f386bbc670c05145834a0f9c7d55798, type: 2}
_locationsToLoad: {fileID: 11400000, guid: 1514f833150a79e4c9d242f58bdbcbc0, type: 2}
_showLoadScreen: 1
_saveSystem: {fileID: 11400000, guid: edc355c4a7d5028408d322b90814e19e, type: 2}
_startGameEvent: {fileID: 11400000, guid: 00e3063edc5902e40832ea618644c597, type: 2}

7
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/CakeWithRockCandy-Dish.asset


m_TableReference:
m_TableCollectionName: GUID:41b74adf4121a468e9dbe8958eb2f813
m_TableEntryReference:
m_KeyId: 75423041743347712
m_KeyId: 78317786027122688
_previewImage: {fileID: 21300000, guid: 4bf7fa0afe1a844158f3a152882b84be, type: 3}
m_WaitForCompletion: 1
_previewImage: {fileID: 0}
_description:
m_TableReference:
m_TableCollectionName: GUID:63bf683e4210c4e48a201dfa773125d5

m_FallbackState: 0
m_WaitForCompletion: 1
_itemType: {fileID: 11400000, guid: 5aa0722ca1325a242b6923d6cb0d5864, type: 2}
_prefab: {fileID: 0}
_ingredientsList: []

m_KeyId: 0
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1

5
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/RockCandy.asset


m_KeyId: 75408883819864064
m_Key:
m_FallbackState: 0
_previewImage: {fileID: 21300000, guid: 4bf7fa0afe1a844158f3a152882b84be, type: 3}
m_WaitForCompletion: 1
_previewImage: {fileID: 0}
_description:
m_TableReference:
m_TableCollectionName: GUID:63bf683e4210c4e48a201dfa773125d5

m_FallbackState: 0
m_WaitForCompletion: 1
_itemType: {fileID: 11400000, guid: 24ac82c7b4c359e46971d2d454d1f434, type: 2}
_prefab: {fileID: 0}
_ingredientsList: []

m_KeyId: 0
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1

5
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SaltyDough.asset


m_KeyId: 75359460435812352
m_Key:
m_FallbackState: 0
_previewImage: {fileID: 21300000, guid: 4bf7fa0afe1a844158f3a152882b84be, type: 3}
m_WaitForCompletion: 1
_previewImage: {fileID: 0}
_description:
m_TableReference:
m_TableCollectionName: GUID:63bf683e4210c4e48a201dfa773125d5

m_FallbackState: 0
m_WaitForCompletion: 1
_itemType: {fileID: 11400000, guid: 24ac82c7b4c359e46971d2d454d1f434, type: 2}
_prefab: {fileID: 0}
_ingredientsList: []

m_KeyId: 0
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1

5
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SpicySauce-Dish.asset


m_KeyId: 75423041743347712
m_Key:
m_FallbackState: 0
_previewImage: {fileID: 21300000, guid: 4bf7fa0afe1a844158f3a152882b84be, type: 3}
m_WaitForCompletion: 1
_previewImage: {fileID: 0}
_description:
m_TableReference:
m_TableCollectionName: GUID:63bf683e4210c4e48a201dfa773125d5

m_FallbackState: 0
m_WaitForCompletion: 1
_itemType: {fileID: 11400000, guid: 5aa0722ca1325a242b6923d6cb0d5864, type: 2}
_prefab: {fileID: 0}
_ingredientsList: []

m_KeyId: 0
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1

5
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SweetCream-Dish.asset


m_KeyId: 75359460435812352
m_Key:
m_FallbackState: 0
_previewImage: {fileID: 21300000, guid: 4bf7fa0afe1a844158f3a152882b84be, type: 3}
m_WaitForCompletion: 1
_previewImage: {fileID: 0}
_description:
m_TableReference:
m_TableCollectionName: GUID:63bf683e4210c4e48a201dfa773125d5

m_FallbackState: 0
m_WaitForCompletion: 1
_itemType: {fileID: 11400000, guid: 5aa0722ca1325a242b6923d6cb0d5864, type: 2}
_prefab: {fileID: 0}
_ingredientsList: []

m_KeyId: 0
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1

3
UOP1_Project/Assets/ScriptableObjects/Quests/Questline5/Quest1/Step2/CD-S2-Q1-QL5.asset


m_KeyId: 0
m_Key: L1-CD-S2-Q1-QL5
m_FallbackState: 0
m_WaitForCompletion: 1
_dialogueType: 1
_dialogueType: 0

3
UOP1_Project/Assets/ScriptableObjects/Quests/Questline5/Quest1/Step2/ID-S2-Q1-QL5.asset


m_KeyId: 0
m_Key: L1-ID-S2-Q1-QL5
m_FallbackState: 0
m_WaitForCompletion: 1
_dialogueType: 2
_dialogueType: 0

11
UOP1_Project/Assets/ScriptableObjects/Quests/Questline5/Quest1/Step2/S2-Q1-QL5.asset


_actor: {fileID: 11400000, guid: 2f14ee79b2fa2574480372fff57ec101, type: 2}
_dialogueBeforeStep: {fileID: 11400000, guid: 8458ad79adafd1f49b2c809187009883,
type: 2}
_completeDialogue: {fileID: 11400000, guid: f9492c5c50746b44c8b346cd1c163918, type: 2}
_incompleteDialogue: {fileID: 11400000, guid: 10ff316e27f9ee446b1c9785c6a4ee93,
type: 2}
_item: {fileID: 11400000, guid: 9e0d1325ada2c594ab8085343cd41f3e, type: 2}
_type: 1
_completeDialogue: {fileID: 0}
_incompleteDialogue: {fileID: 0}
_item: {fileID: 0}
_type: 0
_endStepEvent: {fileID: 11400000, guid: 4d7d2082d811bcb44bbbbd181f56c418, type: 2}
_endStepEvent: {fileID: 0}

6
UOP1_Project/Assets/ScriptableObjects/Quests/Questline5/Quest1/Step2/SD-S2-Q1-QL5.asset


m_FallbackState: 0
m_WaitForCompletion: 1
_nextDialogue: {fileID: 0}
_actionType: 0
_actionType: 2
- _response:
m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3

m_FallbackState: 0
m_WaitForCompletion: 1
_nextDialogue: {fileID: 11400000, guid: 10ff316e27f9ee446b1c9785c6a4ee93, type: 2}
_actionType: 0
_nextDialogue: {fileID: 0}
_actionType: 3
_dialogueType: 0

10
UOP1_Project/Assets/Scripts/Dialogues/DialogueDataSO.cs


public enum ChoiceActionType
{
doNothing,
continueWithStep
continueWithStep,
winningChoice,
losingChoice,
}
/// <summary>

_actor = dialogue.Actor;
_dialogueLines = new List<LocalizedString>(dialogue.DialogueLines);
_choices = new List<Choice>();
_choices = new List<Choice>();
if(dialogue.Choices!=null)
for (int i=0; i<dialogue.Choices.Count; i++)
{

{
_response = choice.Response;
_nextDialogue = choice.NextDialogue;
_actionType = ActionType;
_actionType = ActionType;
}
}

46
UOP1_Project/Assets/Scripts/Dialogues/DialogueManager.cs


[SerializeField] private DialogueChoicesChannelSO _showChoicesUIEvent = default;
[SerializeField] private DialogueDataChannelSO _endDialogue = default;
[SerializeField] private VoidEventChannelSO _continueWithStep = default;
[SerializeField] private VoidEventChannelSO _playWinningQuest = default;
[SerializeField] private VoidEventChannelSO _playLosingQuest = default;
[SerializeField] private VoidEventChannelSO _closeDialogueUIEvent = default;
[Header("Gameplay Components")]

if (_gameState.CurrentGameState != GameState.Cutscene)
_gameState.UpdateGameState(GameState.Dialogue);
BeginDialogueData(dialogueDataSO);
if(_currentDialogue.DialogueLines!=null)
else
{
Debug.LogError("Check Dialogue");
}
}
/// <summary>

private void MakeDialogueChoice(Choice choice)
{
_makeDialogueChoiceEvent.OnEventRaised -= MakeDialogueChoice;
if (choice.ActionType == ChoiceActionType.continueWithStep)
_makeDialogueChoiceEvent.OnEventRaised -= MakeDialogueChoice;
switch (choice.ActionType)
case ChoiceActionType.continueWithStep:
}
else
{
break;
case ChoiceActionType.winningChoice:
if (_playWinningQuest != null)
_playWinningQuest.RaiseEvent();
if (choice.NextDialogue != null)
DisplayDialogueData(choice.NextDialogue);
else
DialogueEndedAndCloseDialogueUI();
break;
case ChoiceActionType.losingChoice:
if (_playLosingQuest != null)
_playLosingQuest.RaiseEvent();
if (choice.NextDialogue != null)
DisplayDialogueData(choice.NextDialogue);
else
DialogueEndedAndCloseDialogueUI();
break;
case ChoiceActionType.doNothing:
break;
void DialogueEnded()
{
if (_endDialogue != null)

3
UOP1_Project/Assets/Scripts/Menu/MultiInputButton.cs


public override void OnSelect(BaseEventData eventData)
{
Debug.Log("Onselect ");
IsSelected = true;
_menuSelectionHandler.UpdateSelection(gameObject);
base.OnSelect(eventData);

{
if (_menuSelectionHandler == null)
_menuSelectionHandler = transform.root.gameObject.GetComponentInChildren<MenuSelectionHandler>();
Debug.Log("UpdateSelected");
_menuSelectionHandler.UpdateSelection(gameObject);
}

23
UOP1_Project/Assets/Scripts/Quests/Editor/QuestEditorWindow.cs


}
private void AddDialogueBeforeStep()
{
DialogueDataSO asset = ScriptableObject.CreateInstance<DialogueDataSO>();
int questlineId = 0;
questlineId = _currentSelectedQuestLine.IdQuestline;

stepId = _currentSeletedQuest.Steps.FindIndex(o=>o==_currentSelectedStep)+1;
AssetDatabase.CreateAsset(asset, "Assets/ScriptableObjects/Quests/Questline" + questlineId + "/Quest" + questId + "/Step" + stepId + "/SD-S" + stepId + "-Q" + questId + "-QL" + questlineId + ".asset");
EditorUtility.SetDirty(asset);
EditorUtility.SetDirty(_currentSeletedQuest);
AssetDatabase.SaveAssets();
_currentSelectedStep.DialogueBeforeStep=asset;
asset.DialogueType = DialogueType.startDialogue;

stepId = _currentSeletedQuest.Steps.FindIndex(o => o == _currentSelectedStep)+1;
AssetDatabase.CreateAsset(asset, "Assets/ScriptableObjects/Quests/Questline" + questlineId + "/Quest" + questId + "/Step" + stepId + "/CD-S" + stepId + "-Q" + questId + "-QL" + questlineId + ".asset");
AssetDatabase.SaveAssets();
EditorUtility.SetDirty(asset);
EditorUtility.SetDirty(_currentSeletedQuest);
AssetDatabase.SaveAssets();
rootVisualElement.Q<VisualElement>("steps-list").Q<ListView>().SetSelection(_idStepSelected);
}
private void AddIncompletionDialogue()

int stepId = 0;
stepId = _currentSeletedQuest.Steps.FindIndex(o => o == _currentSelectedStep)+1;
AssetDatabase.CreateAsset(asset, "Assets/ScriptableObjects/Quests/Questline" + questlineId + "/Quest" + questId + "/Step" + stepId + "/ID-S" + stepId + "-Q" + questId + "-QL" + questlineId + ".asset");
AssetDatabase.SaveAssets();
EditorUtility.SetDirty(asset);
EditorUtility.SetDirty(_currentSeletedQuest);
AssetDatabase.SaveAssets();
rootVisualElement.Q<VisualElement>("steps-list").Q<ListView>().SetSelection(_idStepSelected);
}

if (!AssetDatabase.IsValidFolder("Assets/ScriptableObjects/Quests/Questline" + id))
AssetDatabase.CreateFolder("Assets/ScriptableObjects/Quests", "Questline" + id);
AssetDatabase.CreateAsset(asset, "Assets/ScriptableObjects/Quests/Questline" + id + "/QL" + id + ".asset");
EditorUtility.SetDirty(asset);
AssetDatabase.SaveAssets();
//refresh
LoadAllQuestsData();

}
void AddQuest()
{
QuestSO asset = ScriptableObject.CreateInstance<QuestSO>();
QuestSO asset = CreateInstance<QuestSO>();
EditorUtility.SetDirty(asset);
EditorUtility.SetDirty(_currentSelectedQuestLine);
AssetDatabase.SaveAssets();
//refresh
rootVisualElement.Q<VisualElement>("questlines-list").Q<ListView>().SetSelection(_idQuestlineSelected);

AssetDatabase.CreateFolder("Assets/ScriptableObjects/Quests/Questline" + questlineId + "/Quest" + questId, "Step" + stepId);
AssetDatabase.CreateAsset(asset, "Assets/ScriptableObjects/Quests/Questline" + questlineId + "/Quest" + questId + "/Step" + stepId + "/S" + stepId + "-Q" + questId + "-QL" + questlineId + ".asset");
_currentSeletedQuest.Steps.Add(asset);
EditorUtility.SetDirty(asset);
EditorUtility.SetDirty(_currentSeletedQuest);
AssetDatabase.SaveAssets();
//refresh
rootVisualElement.Q<VisualElement>("quests-list").Q<ListView>().SetSelection(_idQuestSelected);

8
UOP1_Project/Assets/Scripts/Quests/QuestManager.asset


m_Name: QuestManager
m_EditorClassIdentifier:
_questlines:
- {fileID: 11400000, guid: 7b43c62a4fa974bbc82d5af43cc173ca, type: 2}
- {fileID: 11400000, guid: cff82743d25f94a4ab7ae60dcc0b25a9, type: 2}
- {fileID: 11400000, guid: 2a7356cec2e1bfa419e9adadf891d5a8, type: 2}
- {fileID: 11400000, guid: e53837a78a301d641bdd95eff3e7d220, type: 2}
_playWinningQuest: {fileID: 11400000, guid: cf85098764f74134e80c631a1a1a1709, type: 2}
_playLosingQuest: {fileID: 11400000, guid: 1668df705c9a7a1408c4668ece6b5302, type: 2}
_winningQuest: {fileID: 11400000, guid: ef802e831ba510e41b1dec2b86e047f8, type: 2}
_losingQuest: {fileID: 11400000, guid: 7400f0647438a484986828f524980855, type: 2}
_checkStepValidityEvent: {fileID: 11400000, guid: 6711182c372e2e94a8bd3fd1868223ec,
type: 2}
_endDialogueEvent: {fileID: 11400000, guid: b8f14d59bc3b10e4f9bdf1e65c3c6280, type: 2}

33
UOP1_Project/Assets/Scripts/Quests/QuestManagerSO.cs


[SerializeField] private Inventory _inventory = default;
[SerializeField] private VoidEventChannelSO _playWinningQuest = default;
[SerializeField] private VoidEventChannelSO _playLosingQuest = default;
[SerializeField] private QuestSO _winningQuest = default;
[SerializeField] private QuestSO _losingQuest = default;
[Header("Linstening to channels")]
[SerializeField] private VoidEventChannelSO _checkStepValidityEvent = default;

private int _currentQuestIndex = 0;
private int _currentQuestlineIndex = 0;
private int _currentStepIndex = 0;
public void OnDisable()
{
_checkStepValidityEvent.OnEventRaised -= CheckStepValidity;
_endDialogueEvent.OnEventRaised -= EndDialogue;
_playWinningQuest.OnEventRaised -= SetWinningSteps;
_playLosingQuest.OnEventRaised -= SetLosingSteps;
}
StartQuestline();
_playWinningQuest.OnEventRaised += SetWinningSteps;
_playLosingQuest.OnEventRaised += SetLosingSteps;
StartQuestline();
}
void StartQuestline()
{

}
}
void SetWinningSteps()
{
for (int i = 0; i < _winningQuest.Steps.Count; i++)
_currentQuest.Steps.Add(_winningQuest.Steps[i]);
}
void SetLosingSteps()
{
for (int i = 0; i < _losingQuest.Steps.Count; i++)
_currentQuest.Steps.Add(_losingQuest.Steps[i]);
}
void StartStep()
{
if (_currentQuest.Steps != null)

{
if (_currentStep != null)
{
{
switch (_currentStep.Type)
{
case StepType.CheckItem:

//dialogue has already been played
if (_currentStep.CompleteDialogue != null)
{
_completeDialogueEvent.RaiseEvent();
}
else

}
void EndStep()
{
if (_currentQuest != null)
if (_currentQuest.Steps.Count > _currentStepIndex)
{

_currentStepIndex++;
StartStep();
}
else
{

15
UOP1_Project/Assets/ScriptableObjects/Events/Quests/PlayLoseQuestEvent.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7fafac715ff920c4383fed91a38a351e, type: 3}
m_Name: PlayLoseQuestEvent
m_EditorClassIdentifier:
description:

8
UOP1_Project/Assets/ScriptableObjects/Events/Quests/PlayLoseQuestEvent.asset.meta


fileFormatVersion: 2
guid: 1668df705c9a7a1408c4668ece6b5302
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

15
UOP1_Project/Assets/ScriptableObjects/Events/Quests/PlayWinningQuestEvent.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7fafac715ff920c4383fed91a38a351e, type: 3}
m_Name: PlayWinningQuestEvent
m_EditorClassIdentifier:
description:

8
UOP1_Project/Assets/ScriptableObjects/Events/Quests/PlayWinningQuestEvent.asset.meta


fileFormatVersion: 2
guid: cf85098764f74134e80c631a1a1a1709
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

45
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SaltyCakeWithPepper-Dish.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 58a5b32581978a141a66d240261449d0, type: 3}
m_Name: SaltyCakeWithPepper-Dish
m_EditorClassIdentifier:
_guid: 5392cd3c95cc3a04a9fb13b6f40a845e
_name:
m_TableReference:
m_TableCollectionName: GUID:41b74adf4121a468e9dbe8958eb2f813
m_TableEntryReference:
m_KeyId: 75423041743347712
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1
_previewImage: {fileID: 0}
_description:
m_TableReference:
m_TableCollectionName: GUID:63bf683e4210c4e48a201dfa773125d5
m_TableEntryReference:
m_KeyId: 75406938593943552
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1
_itemType: {fileID: 11400000, guid: 5aa0722ca1325a242b6923d6cb0d5864, type: 2}
_prefab: {fileID: 0}
_ingredientsList: []
_resultingDish: {fileID: 0}
_isLocalized: 0
_localizePreviewImage:
m_TableReference:
m_TableCollectionName:
m_TableEntryReference:
m_KeyId: 0
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1

8
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SaltyCakeWithPepper-Dish.asset.meta


fileFormatVersion: 2
guid: 5392cd3c95cc3a04a9fb13b6f40a845e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

51
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SaltyCakeWithPepper-Recipe.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 58a5b32581978a141a66d240261449d0, type: 3}
m_Name: SaltyCakeWithPepper-Recipe
m_EditorClassIdentifier:
_guid: e698921988e2bd442ada5184fb14a8cd
_name:
m_TableReference:
m_TableCollectionName: GUID:41b74adf4121a468e9dbe8958eb2f813
m_TableEntryReference:
m_KeyId: 78317296254050304
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1
_previewImage: {fileID: 0}
_description:
m_TableReference:
m_TableCollectionName: GUID:63bf683e4210c4e48a201dfa773125d5
m_TableEntryReference:
m_KeyId: 75423232705814528
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1
_itemType: {fileID: 11400000, guid: 12fdb5a1a1072421381df4e7fd60f989, type: 2}
_prefab: {fileID: 0}
_ingredientsList:
- _item: {fileID: 11400000, guid: 4923aeec14bcdbc49a3237f1f5ba042b, type: 2}
Amount: 2
- _item: {fileID: 11400000, guid: 54f8d7c3118656b4c9f88817ae04c170, type: 2}
Amount: 1
- _item: {fileID: 11400000, guid: 18804f7d2b0617a40b86ffda045bc65d, type: 2}
Amount: 1
_resultingDish: {fileID: 11400000, guid: 5392cd3c95cc3a04a9fb13b6f40a845e, type: 2}
_isLocalized: 0
_localizePreviewImage:
m_TableReference:
m_TableCollectionName:
m_TableEntryReference:
m_KeyId: 0
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1

8
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/SaltyCakeWithPepper-Recipe.asset.meta


fileFormatVersion: 2
guid: e698921988e2bd442ada5184fb14a8cd
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6.meta


fileFormatVersion: 2
guid: 962af3721080f45449fcba2a770ff0b9
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

20
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 05c700bba7d21604586cb89ec5afdee0, type: 3}
m_Name: QL6
m_EditorClassIdentifier:
_idQuestLine: 6
_quests:
- {fileID: 11400000, guid: ef802e831ba510e41b1dec2b86e047f8, type: 2}
- {fileID: 11400000, guid: 7400f0647438a484986828f524980855, type: 2}
_isDone: 0
_endQuestlineEvent: {fileID: 0}

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/QL6.asset.meta


fileFormatVersion: 2
guid: d23c5070a5b647549acf8cf5d0c57ab8
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1.meta


fileFormatVersion: 2
guid: 4ee9a869a87156143afa0202788ac4e4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

19
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Q1-QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b4f9c8aa1ce987b4799f7093a99181a9, type: 3}
m_Name: Q1-QL6
m_EditorClassIdentifier:
_idQuest: 1
_steps:
- {fileID: 11400000, guid: c636e8835b1009245b3a300898aa9d7e, type: 2}
_isDone: 0
_endQuestEvent: {fileID: 0}

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Q1-QL6.asset.meta


fileFormatVersion: 2
guid: ef802e831ba510e41b1dec2b86e047f8
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1.meta


fileFormatVersion: 2
guid: e9e60af0fe8172042908f9bc9cfc768d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

25
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/CD-S1-Q1-QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c0171b565b4074a9462307824be26c, type: 3}
m_Name: CD-S1-Q1-QL6
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: 2f14ee79b2fa2574480372fff57ec101, type: 2}
_dialogueLines:
- m_TableReference:
m_TableCollectionName: Questline Dialogue
m_TableEntryReference:
m_KeyId: 0
m_Key: L1-CD-S1-Q1-QL6
m_FallbackState: 0
m_WaitForCompletion: 1
_choices: []
_dialogueType: 1

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/CD-S1-Q1-QL6.asset.meta


fileFormatVersion: 2
guid: aab31a92aabfcc4418747188717da0f8
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/ID-S1-Q1-QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c0171b565b4074a9462307824be26c, type: 3}
m_Name: ID-S1-Q1-QL6
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: 2f14ee79b2fa2574480372fff57ec101, type: 2}
_dialogueLines:
- m_TableReference:
m_TableCollectionName: Questline Dialogue
m_TableEntryReference:
m_KeyId: 0
m_Key: L1-ID-S1-Q1-QL6
m_FallbackState: 0
m_WaitForCompletion: 1
_choices: []
_dialogueType: 2

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/ID-S1-Q1-QL6.asset.meta


fileFormatVersion: 2
guid: 26f087c988698b84295458aa8464241d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

24
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/S1-Q1-QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3c4c03cb18bdd224b898e0687da8d1ac, type: 3}
m_Name: S1-Q1-QL6
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: 2f14ee79b2fa2574480372fff57ec101, type: 2}
_dialogueBeforeStep: {fileID: 11400000, guid: 5971a4fe2c347e848816724e72a80f5b,
type: 2}
_completeDialogue: {fileID: 11400000, guid: aab31a92aabfcc4418747188717da0f8, type: 2}
_incompleteDialogue: {fileID: 11400000, guid: 26f087c988698b84295458aa8464241d,
type: 2}
_item: {fileID: 11400000, guid: 9e0d1325ada2c594ab8085343cd41f3e, type: 2}
_type: 1
_isDone: 0
_endStepEvent: {fileID: 11400000, guid: 4d7d2082d811bcb44bbbbd181f56c418, type: 2}

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/S1-Q1-QL6.asset.meta


fileFormatVersion: 2
guid: c636e8835b1009245b3a300898aa9d7e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

45
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/SD-S1-Q1-QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c0171b565b4074a9462307824be26c, type: 3}
m_Name: SD-S1-Q1-QL6
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: 2f14ee79b2fa2574480372fff57ec101, type: 2}
_dialogueLines:
- m_TableReference:
m_TableCollectionName: Questline Dialogue
m_TableEntryReference:
m_KeyId: 0
m_Key: L1-SD-S1-Q1-QL6
m_FallbackState: 0
m_WaitForCompletion: 1
_choices:
- _response:
m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3
m_TableEntryReference:
m_KeyId: 20322714321281024
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 0
_nextDialogue: {fileID: 0}
_actionType: 1
- _response:
m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3
m_TableEntryReference:
m_KeyId: 20322813445267456
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 0
_nextDialogue: {fileID: 11400000, guid: 26f087c988698b84295458aa8464241d, type: 2}
_actionType: 0
_dialogueType: 0

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest1/Step1/SD-S1-Q1-QL6.asset.meta


fileFormatVersion: 2
guid: 5971a4fe2c347e848816724e72a80f5b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2.meta


fileFormatVersion: 2
guid: 7cb5c5e9b85eacd4bb4a3f5fffa1d61d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

19
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Q2-QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b4f9c8aa1ce987b4799f7093a99181a9, type: 3}
m_Name: Q2-QL6
m_EditorClassIdentifier:
_idQuest: 2
_steps:
- {fileID: 11400000, guid: a02a9e4f1c6cd8d44906796ce3b2925a, type: 2}
_isDone: 0
_endQuestEvent: {fileID: 0}

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Q2-QL6.asset.meta


fileFormatVersion: 2
guid: 7400f0647438a484986828f524980855
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1.meta


fileFormatVersion: 2
guid: c05ff59ef2e0789489575cfedd160a6f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

25
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/CD-S1-Q2-QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c0171b565b4074a9462307824be26c, type: 3}
m_Name: CD-S1-Q2-QL6
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: 2f14ee79b2fa2574480372fff57ec101, type: 2}
_dialogueLines:
- m_TableReference:
m_TableCollectionName: Questline Dialogue
m_TableEntryReference:
m_KeyId: 0
m_Key: L1-CD-S1-Q2-QL6
m_FallbackState: 0
m_WaitForCompletion: 1
_choices: []
_dialogueType: 1

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/CD-S1-Q2-QL6.asset.meta


fileFormatVersion: 2
guid: 8480bec902a108f4e872bfc81c591ef2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/ID-S1-Q2-QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c0171b565b4074a9462307824be26c, type: 3}
m_Name: ID-S1-Q2-QL6
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: 2f14ee79b2fa2574480372fff57ec101, type: 2}
_dialogueLines:
- m_TableReference:
m_TableCollectionName: Questline Dialogue
m_TableEntryReference:
m_KeyId: 0
m_Key: L1-ID-S1-Q2-QL6
m_FallbackState: 0
m_WaitForCompletion: 1
_choices: []
_dialogueType: 2

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/ID-S1-Q2-QL6.asset.meta


fileFormatVersion: 2
guid: 8bdac6b68eaf2744f896e6cc87316d06
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

24
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/S1-Q2-QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3c4c03cb18bdd224b898e0687da8d1ac, type: 3}
m_Name: S1-Q2-QL6
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: 2f14ee79b2fa2574480372fff57ec101, type: 2}
_dialogueBeforeStep: {fileID: 11400000, guid: a6d4246442c3b704bbbc2f4f63c83430,
type: 2}
_completeDialogue: {fileID: 11400000, guid: 8480bec902a108f4e872bfc81c591ef2, type: 2}
_incompleteDialogue: {fileID: 11400000, guid: 8bdac6b68eaf2744f896e6cc87316d06,
type: 2}
_item: {fileID: 11400000, guid: 5392cd3c95cc3a04a9fb13b6f40a845e, type: 2}
_type: 1
_isDone: 0
_endStepEvent: {fileID: 11400000, guid: c10ebde976f48a2438adae3185d88017, type: 2}

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/S1-Q2-QL6.asset.meta


fileFormatVersion: 2
guid: a02a9e4f1c6cd8d44906796ce3b2925a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

45
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/SD-S1-Q2-QL6.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c0171b565b4074a9462307824be26c, type: 3}
m_Name: SD-S1-Q2-QL6
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: 2f14ee79b2fa2574480372fff57ec101, type: 2}
_dialogueLines:
- m_TableReference:
m_TableCollectionName: Questline Dialogue
m_TableEntryReference:
m_KeyId: 0
m_Key: L1-SD-S1-Q2-QL6
m_FallbackState: 0
m_WaitForCompletion: 1
_choices:
- _response:
m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3
m_TableEntryReference:
m_KeyId: 20322714321281024
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 0
_nextDialogue: {fileID: 0}
_actionType: 1
- _response:
m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3
m_TableEntryReference:
m_KeyId: 20322813445267456
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 0
_nextDialogue: {fileID: 11400000, guid: 8bdac6b68eaf2744f896e6cc87316d06, type: 2}
_actionType: 0
_dialogueType: 0

8
UOP1_Project/Assets/ScriptableObjects/Quests/Questline6/Quest2/Step1/SD-S1-Q2-QL6.asset.meta


fileFormatVersion: 2
guid: a6d4246442c3b704bbbc2f4f63c83430
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存