Added door interaction

Also minor fixes
This commit is contained in:
KrolMel 2022-12-27 16:40:50 +01:00
parent 6fa923d9c7
commit c3f5fd2c53
17 changed files with 11509 additions and 8166 deletions

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0b8c75f024a3a8f4f90d6bfc8afdfd87
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fde4eee5aac551c4a888c21f16ee6f18
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,25 @@
%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: 06201cadd951bcc4db5fccaa01783060, type: 3}
m_Name: BartenderDialENG
m_EditorClassIdentifier:
SpeakerName: Bartender
CurrentStep: 0
DialogueSteps:
- Header: Bartender
WasDisplayed: 0
ListOfSentences:
- Sentence: Would you like something to drink?
Buttons: []
EndOfDialogueStepAction:
m_PersistentCalls:
m_Calls: []

View File

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

View File

@ -0,0 +1,19 @@
%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: 45b41589283138641ba006c2243b0637, type: 3}
m_Name: BartenderMultiDialENG
m_EditorClassIdentifier:
SpeakerName:
CurrentDialogue: 0
Dialogues:
- Key: 0
Value: {fileID: 11400000, guid: d215cf4ecc5daa046b828ad4cc6e117f, type: 2}

View File

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

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 28381a243ac77624d96e2328cc5955e5
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -19,12 +19,7 @@ MonoBehaviour:
WasDisplayed: 0
ListOfSentences:
- Sentence: This door is locked
Buttons:
- ButtonName:
Type: 0
ButtonActions:
m_PersistentCalls:
m_Calls: []
Buttons: []
EndOfDialogueStepAction:
m_PersistentCalls:
m_Calls: []

View File

@ -19,12 +19,7 @@ MonoBehaviour:
WasDisplayed: 0
ListOfSentences:
- Sentence: "Te drzwi s\u0105 zamkni\u0119te"
Buttons:
- ButtonName:
Type: 0
ButtonActions:
m_PersistentCalls:
m_Calls: []
Buttons: []
EndOfDialogueStepAction:
m_PersistentCalls:
m_Calls: []

File diff suppressed because it is too large Load Diff

View File

@ -238450,7 +238450,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
languageDetector:
InstanceTemplates:
- Key: 0
- Key: 1
Value: {fileID: 11400000, guid: 0b370999d245bbf4ab85d24fd050f82a, type: 2}
Dialogue: {fileID: 0}
shop:

View File

@ -3057,6 +3057,11 @@ GameObject:
m_Component:
- component: {fileID: 445768716}
- component: {fileID: 445768717}
- component: {fileID: 445768722}
- component: {fileID: 445768721}
- component: {fileID: 445768720}
- component: {fileID: 445768719}
- component: {fileID: 445768718}
m_Layer: 0
m_Name: Bartender
m_TagString: Untagged
@ -3129,6 +3134,98 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!114 &445768718
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 445768715}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 965172500144077489774a33c2fa0660, type: 3}
m_Name:
m_EditorClassIdentifier:
languageDetector:
InstanceTemplates:
- Key: 1
Value: {fileID: 11400000, guid: d215cf4ecc5daa046b828ad4cc6e117f, type: 2}
Dialogue: {fileID: 11400000, guid: d215cf4ecc5daa046b828ad4cc6e117f, type: 2}
shop:
Content:
- Key: 0
Value: {fileID: 11400000, guid: 5018db07efd330846ab41d3ed70a3c08, type: 2}
--- !u!114 &445768719
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 445768715}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3a6e7fe9a7e85294fbf51884f7313f11, type: 3}
m_Name:
m_EditorClassIdentifier:
SpeakerName: Bartender
languageDetector:
InstanceTemplates: []
Dialogue: {fileID: 0}
EndactionEventList: []
keyToOpen: 101
CanBeOpened: 1
OpenInDefaultWay: 1
--- !u!114 &445768720
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 445768715}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a13ccc76cd22a814287fc3a36a9cac71, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: Bartender
State: 5
--- !u!58 &445768721
CircleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 445768715}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
serializedVersion: 2
m_Radius: 0.875
--- !u!50 &445768722
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 445768715}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 0
m_Material: {fileID: 0}
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 0
--- !u!1 &460909826
GameObject:
m_ObjectHideFlags: 0
@ -27169,7 +27266,7 @@ MonoBehaviour:
ChestType: 0
Content: []
UiManager: {fileID: 0}
ElementsToBuildOnSceneList: []
ChestsToBuildOnScene: []
convertedData: []
--- !u!1 &1775895168
GameObject: