forked from Shardstone/trail-into-darkness
added encounter system
This commit is contained in:
8
Assets/Database/Encounters/EncounterTables/Dialogs.meta
Normal file
8
Assets/Database/Encounters/EncounterTables/Dialogs.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 65c1422c9083d1b4d9721cf275cfe7f3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,22 @@
|
||||
%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: 142d6e5b0f6a6cb41beddeae92b56fee, type: 3}
|
||||
m_Name: DialogLineLibrary
|
||||
m_EditorClassIdentifier: Jovian.EncounterSystem::Jovian.EncounterSystem.DialogLineLibrary
|
||||
lines:
|
||||
- id: test_you_die
|
||||
text: Click me and see what happens. MIght all your dreams com true?
|
||||
- id: click_to_continue
|
||||
text: This is a test like that should you click it, it will continue and record
|
||||
quest progress
|
||||
- id: right_choice
|
||||
text: You have chose right, padwan, here is 4 RON!
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 11b94daa76442834198b68996afe0013
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,29 @@
|
||||
%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: c47caaa92bb94eeca3e47dd86fd010cf, type: 3}
|
||||
m_Name: Dialog_Set_0
|
||||
m_EditorClassIdentifier: Assembly-CSharp::Nox.Game.EncounterDialogOptionSet
|
||||
id: Dialog_Set_1
|
||||
library: {fileID: 11400000, guid: 11b94daa76442834198b68996afe0013, type: 2}
|
||||
options:
|
||||
- text:
|
||||
id: click_to_continue
|
||||
inlineText:
|
||||
events:
|
||||
- rid: 1352971465325281416
|
||||
references:
|
||||
version: 2
|
||||
RefIds:
|
||||
- rid: 1352971465325281416
|
||||
type: {class: LogEvent, ns: Jovian.EncounterSystem, asm: Jovian.EncounterSystem}
|
||||
data:
|
||||
message: An thus, you continue...
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7bc554ae0760bbb4796a1b3acef22cb3
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,38 @@
|
||||
%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: c47caaa92bb94eeca3e47dd86fd010cf, type: 3}
|
||||
m_Name: Dialog_Set_1
|
||||
m_EditorClassIdentifier: Assembly-CSharp::Nox.Game.EncounterDialogOptionSet
|
||||
id: Dialog_Set_1
|
||||
library: {fileID: 11400000, guid: 11b94daa76442834198b68996afe0013, type: 2}
|
||||
options:
|
||||
- text:
|
||||
id: test_you_die
|
||||
inlineText:
|
||||
events:
|
||||
- rid: 1352971465325281414
|
||||
- text:
|
||||
id: right_choice
|
||||
inlineText:
|
||||
events:
|
||||
- rid: 1352971465325281412
|
||||
references:
|
||||
version: 2
|
||||
RefIds:
|
||||
- rid: 1352971465325281412
|
||||
type: {class: GiveRewardEvent, ns: Jovian.EncounterSystem, asm: Jovian.EncounterSystem}
|
||||
data:
|
||||
reward: {fileID: 11400000, guid: 2c02212ce09c5a246a8fe11a5253bfd4, type: 2}
|
||||
- rid: 1352971465325281414
|
||||
type: {class: LogEvent, ns: Jovian.EncounterSystem, asm: Jovian.EncounterSystem}
|
||||
data:
|
||||
message: You died! HAhahAhaha!
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9496570aa3d05624a9b8bbbf6009c453
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,57 @@
|
||||
%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: e480a30007b949679b8ca1e0e6088675, type: 3}
|
||||
m_Name: TestEncounterTable
|
||||
m_EditorClassIdentifier: Assembly-CSharp::Nox.Game.EncounterTable
|
||||
id: TestEncounterTable
|
||||
encounters:
|
||||
- <EncounterDefinition>k__BackingField:
|
||||
internalId: adce0a09-6402-4c2e-b24a-db7c9c67e3e5
|
||||
id: test_quest_1
|
||||
name: Test Quest Stage I
|
||||
description: An encounter like no other which leads to another encounter like
|
||||
no other
|
||||
<EncounterProperties>k__BackingField:
|
||||
difficulty: 0
|
||||
<EncounterVisuals>k__BackingField:
|
||||
icon: {fileID: 21300000, guid: ea02ea44fa86ee445be0f7ca82098b75, type: 3}
|
||||
encounterColor: {r: 0, g: 0, b: 0, a: 0}
|
||||
encounterArt: {fileID: 21300000, guid: a9c4c7681315e25419b9381d28aa9d80, type: 3}
|
||||
<EncounterDialogOptionSet>k__BackingField: {fileID: 11400000, guid: 9496570aa3d05624a9b8bbbf6009c453, type: 2}
|
||||
<Kind>k__BackingField:
|
||||
rid: 1352971465325281411
|
||||
- <EncounterDefinition>k__BackingField:
|
||||
internalId: adce0a09-6402-4c2e-b24a-db7c9c67e3e5
|
||||
id: test_quest_2
|
||||
name: Test Quest Stage II
|
||||
description: An encounter like no other which should be now completed
|
||||
<EncounterProperties>k__BackingField:
|
||||
difficulty: 0
|
||||
<EncounterVisuals>k__BackingField:
|
||||
icon: {fileID: 21300000, guid: ea02ea44fa86ee445be0f7ca82098b75, type: 3}
|
||||
encounterColor: {r: 0, g: 0, b: 0, a: 0}
|
||||
encounterArt: {fileID: 21300000, guid: 819d7a244820ad84585a1de7566bf9d0, type: 3}
|
||||
<EncounterDialogOptionSet>k__BackingField: {fileID: 11400000, guid: 9496570aa3d05624a9b8bbbf6009c453, type: 2}
|
||||
<Kind>k__BackingField:
|
||||
rid: -2
|
||||
references:
|
||||
version: 2
|
||||
RefIds:
|
||||
- rid: -2
|
||||
type: {class: , ns: , asm: }
|
||||
- rid: 1352971465325281411
|
||||
type: {class: QuestKind, ns: Jovian.EncounterSystem, asm: Jovian.EncounterSystem}
|
||||
data:
|
||||
nextEncounter:
|
||||
table: {fileID: 11400000}
|
||||
internalId: adce0a09-6402-4c2e-b24a-db7c9c67e3e5
|
||||
questTitle:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 396a5409178bf0d4b938094eefe22cca
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user