Some encounter testing and working

This commit is contained in:
Sebastian Bularca
2026-04-19 18:34:22 +02:00
parent 8861bdc5eb
commit f055250ca6
11 changed files with 485 additions and 88 deletions

View File

@@ -12,7 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c47caaa92bb94eeca3e47dd86fd010cf, type: 3}
m_Name: Dialog_Set_0
m_EditorClassIdentifier: Assembly-CSharp::Nox.Game.EncounterDialogOptionSet
id: Dialog_Set_1
id: Dialog_Set_0
library: {fileID: 11400000, guid: 11b94daa76442834198b68996afe0013, type: 2}
options:
- text:

View File

@@ -15,43 +15,25 @@ MonoBehaviour:
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
internalId: 169489f1-892d-475b-8c32-fc760da28929
id: simple_puzzle
name: Fix a Broken Cart
description: 'You encounter a broken cart. At a closer examination you chose
to:'
<Kind>k__BackingField:
rid: 1352971465325281422
<EncounterProperties>k__BackingField:
difficulty: 0
<EncounterVisuals>k__BackingField:
icon: {fileID: 21300000, guid: ea02ea44fa86ee445be0f7ca82098b75, type: 3}
icon: {fileID: 0}
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
encounterArt: {fileID: 0}
<EncounterDialogOptionSet>k__BackingField: {fileID: 0}
references:
version: 2
RefIds:
- rid: -2
type: {class: , ns: , asm: }
- rid: 1352971465325281411
type: {class: QuestKind, ns: Jovian.EncounterSystem, asm: Jovian.EncounterSystem}
- rid: 1352971465325281422
type: {class: PuzzleKind, ns: Jovian.EncounterSystem, asm: Jovian.EncounterSystem}
data:
nextEncounter:
table: {fileID: 11400000}
internalId: adce0a09-6402-4c2e-b24a-db7c9c67e3e5
questTitle:
puzzleId: borken_cart
difficultyClass: 1

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 396a5409178bf0d4b938094eefe22cca
guid: 0d6735c0d1617b243a1f6c8c5070028c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

View File

@@ -0,0 +1,62 @@
%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: TestQuestTable
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
<Kind>k__BackingField:
rid: 1352971465325281417
<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}
- <EncounterDefinition>k__BackingField:
internalId: 882ecaa9-29d9-452e-aa88-beb533f97882
id: test_quest_2
name: Test Quest Stage II
description: An encounter like no other which should be now completed
<Kind>k__BackingField:
rid: 1352971465325281421
<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}
references:
version: 2
RefIds:
- rid: 1352971465325281417
type: {class: QuestKind, ns: Jovian.EncounterSystem, asm: Jovian.EncounterSystem}
data:
nextEncounter:
table: {fileID: 11400000}
internalId: 882ecaa9-29d9-452e-aa88-beb533f97882
questTitle:
- rid: 1352971465325281421
type: {class: QuestKind, ns: Jovian.EncounterSystem, asm: Jovian.EncounterSystem}
data:
nextEncounter:
table: {fileID: 0}
internalId:
questTitle:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 396a5409178bf0d4b938094eefe22cca
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -14,3 +14,4 @@ MonoBehaviour:
m_EditorClassIdentifier: Assembly-CSharp::Nox.Game.EncountersCollection
encounterTables:
- {fileID: 11400000, guid: 396a5409178bf0d4b938094eefe22cca, type: 2}
- {fileID: 11400000, guid: 0d6735c0d1617b243a1f6c8c5070028c, type: 2}