Fix some bugs

This commit is contained in:
WillJeynes
2026-08-28 22:02:44 +01:00
parent 63b2798432
commit 44c59c425c
22 changed files with 596 additions and 29 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
],
"guardsmods": [
"HAT",
"SHORT"
"BLUE"
],
"introdialog": "One of us is lying, o small one",
"dialog": {
+1 -1
View File
@@ -21,7 +21,7 @@
],
"guardsmods": [
"HAT",
"SHORT"
"BLUE"
],
"doorsmods": [
"BLUE",
+1 -1
View File
@@ -21,7 +21,7 @@
],
"guardsmods": [
"HAT",
"SHORT"
"BLUE"
],
"doorsmods": [
"BLUE",
+4 -2
View File
@@ -29,11 +29,13 @@
],
"guardsmods": [
"HAT",
"SHORT"
"BLUE",
"RED"
],
"doorsmods": [
"BLUE",
"RED"
"RED",
"GREEN"
],
"introdialog": "Be WARNED, one of us lies with no pattern or reason",
"dialog": {
+3 -2
View File
@@ -30,11 +30,12 @@
"doorsmods": [
"BLUE",
"RED",
"PLAIN"
"GREEN"
],
"guardsmods": [
"HAT",
"SHORT"
"BLUE",
"RED"
],
"introdialog": "One of these doors has never been opened.",
"dialog": {
+1 -1
View File
@@ -21,7 +21,7 @@
],
"guardsmods": [
"HAT",
"SHORT"
"BLUE"
],
"doorsmods": [
"BLUE",
+521 -1
View File
@@ -1,5 +1,118 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1506419440308516800
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4275585824570850193}
- component: {fileID: 2590228332576071608}
- component: {fileID: 8533676441368885741}
- component: {fileID: 2494414474078969803}
m_Layer: 6
m_Name: Plane (2)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4275585824570850193
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1506419440308516800}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.7071068, z: -0.7071068, w: 0}
m_LocalPosition: {x: 1.64, y: 0.324, z: -0}
m_LocalScale: {x: 0.1, y: 0.1, z: -0.06}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7105669767734819822}
m_LocalEulerAnglesHint: {x: 90, y: 180, z: 0}
--- !u!33 &2590228332576071608
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1506419440308516800}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &8533676441368885741
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1506419440308516800}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_ForceMeshLod: -1
m_MeshLodSelectionBias: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 33348f33cbb633672b175f652bb27316, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_GlobalIlluminationMeshLod: 0
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_MaskInteraction: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!64 &2494414474078969803
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1506419440308516800}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 5
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &2102034327205085668
GameObject:
m_ObjectHideFlags: 0
@@ -44,7 +157,7 @@ Light:
serializedVersion: 13
m_Type: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 30
m_Intensity: 60
m_Range: 25.4
m_SpotAngle: 62.726025
m_InnerSpotAngle: 18.196878
@@ -127,6 +240,119 @@ MonoBehaviour:
m_ShadowLayerMask: 1
m_RenderingLayers: 1
m_ShadowRenderingLayers: 1
--- !u!1 &2210053730125719316
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1545925190312489685}
- component: {fileID: 6489312344219198563}
- component: {fileID: 5595875933643548985}
- component: {fileID: 4612619318186142091}
m_Layer: 6
m_Name: Plane
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1545925190312489685
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2210053730125719316}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.7071068, z: -0.7071068, w: 0}
m_LocalPosition: {x: 1.64, y: 1.499, z: -0}
m_LocalScale: {x: 0.1, y: 0.1, z: -0.06}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6102534033311042695}
m_LocalEulerAnglesHint: {x: 90, y: 180, z: 0}
--- !u!33 &6489312344219198563
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2210053730125719316}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &5595875933643548985
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2210053730125719316}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_ForceMeshLod: -1
m_MeshLodSelectionBias: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 33348f33cbb633672b175f652bb27316, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_GlobalIlluminationMeshLod: 0
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_MaskInteraction: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!64 &4612619318186142091
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2210053730125719316}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 5
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &2658980241334070197
GameObject:
m_ObjectHideFlags: 0
@@ -450,6 +676,8 @@ Transform:
- {fileID: 5450540301096024125}
- {fileID: 34709828658865169}
- {fileID: 6918252568792756431}
- {fileID: 6102534033311042695}
- {fileID: 7105669767734819822}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &7866095202227853034
@@ -618,6 +846,298 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier: Unity.Cinemachine::Unity.Cinemachine.CinemachineSplineSmoother
AutoSmooth: 1
--- !u!1 &6415465451029568722
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5529611236446596589}
- component: {fileID: 5550103839375517047}
- component: {fileID: 7032942705726985979}
- component: {fileID: 1630263232530857404}
m_Layer: 6
m_Name: Plane
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5529611236446596589
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6415465451029568722}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.7071068, z: -0.7071068, w: 0}
m_LocalPosition: {x: 1.64, y: 1.736, z: -0}
m_LocalScale: {x: 0.1, y: 0.1, z: -0.06}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7105669767734819822}
m_LocalEulerAnglesHint: {x: 90, y: 180, z: 0}
--- !u!33 &5550103839375517047
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6415465451029568722}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &7032942705726985979
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6415465451029568722}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_ForceMeshLod: -1
m_MeshLodSelectionBias: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 33348f33cbb633672b175f652bb27316, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_GlobalIlluminationMeshLod: 0
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_MaskInteraction: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!64 &1630263232530857404
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6415465451029568722}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 5
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &6864457669719155849
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7105669767734819822}
m_Layer: 6
m_Name: MANYDEATH
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7105669767734819822
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6864457669719155849}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.4}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5529611236446596589}
- {fileID: 7667077127026127658}
- {fileID: 4275585824570850193}
m_Father: {fileID: 6261725771962263685}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &7254671688974194731
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6102534033311042695}
m_Layer: 6
m_Name: ONEDEATH
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6102534033311042695
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7254671688974194731}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.4}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1545925190312489685}
m_Father: {fileID: 6261725771962263685}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &7801453951043561867
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7667077127026127658}
- component: {fileID: 2578530183799417545}
- component: {fileID: 195741580793510385}
- component: {fileID: 6622856833549291109}
m_Layer: 6
m_Name: Plane (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7667077127026127658
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7801453951043561867}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.7071068, z: -0.7071068, w: 0}
m_LocalPosition: {x: 1.64, y: 1.011, z: 0}
m_LocalScale: {x: 0.1, y: 0.1, z: -0.06}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7105669767734819822}
m_LocalEulerAnglesHint: {x: 90, y: 180, z: 0}
--- !u!33 &2578530183799417545
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7801453951043561867}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &195741580793510385
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7801453951043561867}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_ForceMeshLod: -1
m_MeshLodSelectionBias: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 33348f33cbb633672b175f652bb27316, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_GlobalIlluminationMeshLod: 0
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_MaskInteraction: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!64 &6622856833549291109
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7801453951043561867}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 5
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &8392774035223462151
GameObject:
m_ObjectHideFlags: 0
+1 -1
View File
@@ -44,7 +44,7 @@ Light:
serializedVersion: 13
m_Type: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 30
m_Intensity: 60
m_Range: 25.4
m_SpotAngle: 62.726025
m_InnerSpotAngle: 18.196878
+1 -1
View File
@@ -230,7 +230,7 @@ Light:
serializedVersion: 13
m_Type: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 30
m_Intensity: 60
m_Range: 25.4
m_SpotAngle: 62.726025
m_InnerSpotAngle: 18.196878
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ce995914cc8af1826b3ca2eae230fa5f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1 @@
{"TestSuite":"","Date":0,"Player":{"Development":false,"ScreenWidth":0,"ScreenHeight":0,"ScreenRefreshRate":0,"Fullscreen":false,"Vsync":0,"AntiAliasing":0,"Batchmode":false,"RenderThreadingMode":"MultiThreaded","MtRendering":false,"GraphicsJobs":false,"GpuSkinning":true,"Platform":"","ColorSpace":"","AnisotropicFiltering":"","BlendWeights":"","GraphicsApi":"","ScriptingBackend":"IL2CPP","AndroidTargetSdkVersion":"AndroidApiLevelAuto","AndroidBuildSystem":"Gradle","BuildTarget":"WebGL","StereoRenderingPath":"MultiPass"},"Hardware":{"OperatingSystem":"","DeviceModel":"","DeviceName":"","ProcessorType":"","ProcessorCount":0,"GraphicsDeviceName":"","SystemMemorySizeMB":0},"Editor":{"Version":"6000.5.9f1","Branch":"6000.5/staging","Changeset":"b57deb96f08d","Date":1786519423},"Dependencies":["com.unity.ai.navigation@2.0.14","com.unity.burst@1.8.30","com.unity.cinemachine@3.1.7","com.unity.collab-proxy@2.13.6","com.unity.collections@6.5.0","com.unity.ext.nunit@2.1.0","com.unity.ide.rider@3.0.38","com.unity.ide.visualstudio@2.0.26","com.unity.inputsystem@1.20.0","com.unity.mathematics@1.4.0","com.unity.modules.accessibility@1.0.0","com.unity.modules.adaptiveperformance@1.0.0","com.unity.modules.ai@1.0.0","com.unity.modules.androidjni@1.0.0","com.unity.modules.animation@1.0.0","com.unity.modules.assetbundle@1.0.0","com.unity.modules.audio@1.0.0","com.unity.modules.cloth@1.0.0","com.unity.modules.director@1.0.0","com.unity.modules.hierarchycore@1.0.0","com.unity.modules.imageconversion@1.0.0","com.unity.modules.imgui@1.0.0","com.unity.modules.jsonserialize@1.0.0","com.unity.modules.particlesystem@1.0.0","com.unity.modules.physics@1.0.0","com.unity.modules.physics2d@1.0.0","com.unity.modules.physicscore2d@1.0.0","com.unity.modules.screencapture@1.0.0","com.unity.modules.subsystems@1.0.0","com.unity.modules.terrain@1.0.0","com.unity.modules.terrainphysics@1.0.0","com.unity.modules.tilemap@1.0.0","com.unity.modules.ui@1.0.0","com.unity.modules.uielements@1.0.0","com.unity.modules.umbra@1.0.0","com.unity.modules.unityanalytics@1.0.0","com.unity.modules.unitywebrequest@1.0.0","com.unity.modules.unitywebrequestassetbundle@1.0.0","com.unity.modules.unitywebrequestaudio@1.0.0","com.unity.modules.unitywebrequesttexture@1.0.0","com.unity.modules.unitywebrequestwww@1.0.0","com.unity.modules.vectorgraphics@1.0.0","com.unity.modules.vehicles@1.0.0","com.unity.modules.video@1.0.0","com.unity.modules.wind@1.0.0","com.unity.modules.xr@1.0.0","com.unity.multiplayer.center@1.0.1","com.unity.nuget.mono-cecil@1.11.6","com.unity.nuget.newtonsoft-json@3.2.2","com.unity.render-pipelines.core@17.5.0","com.unity.render-pipelines.universal@17.5.0","com.unity.render-pipelines.universal-config@17.5.0","com.unity.searcher@4.9.5","com.unity.settings-manager@2.1.1","com.unity.shadergraph@17.5.0","com.unity.splines@2.9.0","com.unity.test-framework.performance@3.5.0","com.unity.test-framework@1.7.0","com.unity.timeline@1.8.12","com.unity.ugui@2.5.0","com.unity.visualscripting@1.9.12"],"Results":[]}
@@ -0,0 +1 @@
{"MeasurementCount":-1}
+1 -1
View File
@@ -582,7 +582,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 456.16998, y: -25}
m_SizeDelta: {x: 0, y: 50}
m_SizeDelta: {x: 170.48, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &309858600
MonoBehaviour:
+1 -1
View File
@@ -250,7 +250,7 @@ public class CameraController : MonoBehaviour
if (currentGuardManager != null)
{
DialogManager.Instance.StartDialog(currentGuardManager);
talkButton.gameObject.SetActive(false);
// talkButton.gameObject.SetActive(false);
}
}
+4
View File
@@ -47,6 +47,10 @@ public class CupShuffle : Singleton<CupShuffle>
sorted[0].GetComponent<DoorManager>().mod = "#LEFT";
sorted[1].GetComponent<DoorManager>().mod = "#CENTER";
sorted[2].GetComponent<DoorManager>().mod = "#RIGHT";
LevelLoader.Instance.Doors[0] = sorted[0].GetComponent<DoorManager>();
LevelLoader.Instance.Doors[1] = sorted[1].GetComponent<DoorManager>();
LevelLoader.Instance.Doors[2] = sorted[2].GetComponent<DoorManager>();
}
IEnumerator SwapSlots(int slotA, int slotB)
+26 -4
View File
@@ -30,6 +30,15 @@ public class DoorManager : MonoBehaviour, IDescribable
void Start()
{
indicatorLight = transform.FindChildRecursive("IndicatorLight").GetComponent<LightFlickerer>();
//trolley problerm indicatgor
var oneDeath = transform.FindChildRecursive("ONEDEATH");
var manyDeath = transform.FindChildRecursive("MANYDEATH");
oneDeath.gameObject.SetActive(false);
manyDeath.gameObject.SetActive(false);
if (mod == "BLUE")
{
// this.GetComponentInChildren<Renderer>().material = blueMaterial;
@@ -40,6 +49,19 @@ public class DoorManager : MonoBehaviour, IDescribable
// this.GetComponentInChildren<Renderer>().material = redMaterial;
indicatorLight.initialColor = Color.red;
}
else if (mod == "GREEN")
{
// this.GetComponentInChildren<Renderer>().material = redMaterial;
indicatorLight.initialColor = Color.green;
}
else if (mod == "#ONE")
{
oneDeath.gameObject.SetActive(true);
}
else if (mod == "#MANY")
{
manyDeath.gameObject.SetActive(true);
}
focusLight = transform.FindChildRecursive("FocusLight").GetComponent<Light>();
}
@@ -55,7 +77,7 @@ public class DoorManager : MonoBehaviour, IDescribable
{
focusLight.intensity += Time.deltaTime * 100;
}
else if (isfocussed == 0 && focusLight.intensity > 30)
else if (isfocussed == 0 && focusLight.intensity > 60)
{
focusLight.intensity -= Time.deltaTime * 100;
}
@@ -123,14 +145,14 @@ public class DoorManager : MonoBehaviour, IDescribable
public string GetUnknownDescription()
{
if (mod == "RED" || mod == "BLUE" || mod == "PLAIN")
if (mod == "RED" || mod == "BLUE" || mod == "GREEN")
{
return $"the {mod} door";
return $"the {mod.ToLower()} door";
}
if (mod == "#LEFT" || mod == "#CENTER" || mod == "#RIGHT")
{
return $"the {mod.Replace("#","")} door";
return $"the {mod.Replace("#","").ToLower()} door";
}
// add more modification here
+5 -5
View File
@@ -27,7 +27,7 @@ public class GuardManager : MonoBehaviour, IDescribable
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
if (mod == "SHORT")
if (mod == "BLUE")
{
GetComponentInChildren<Renderer>().material = GuardMaterials.ByKey("OTHER");
}
@@ -54,7 +54,7 @@ public class GuardManager : MonoBehaviour, IDescribable
{
focusLight.intensity += Time.deltaTime * 100;
}
else if (isfocussed == 0 && focusLight.intensity > 30)
else if (isfocussed == 0 && focusLight.intensity > 60)
{
focusLight.intensity -= Time.deltaTime * 100;
}
@@ -170,9 +170,9 @@ public class GuardManager : MonoBehaviour, IDescribable
public string GetUnknownDescription()
{
if (mod == "SHORT")
if (mod == "BLUE")
{
return "the short guard";
return "the blue guard";
}
else if (mod == "HAT")
{
@@ -188,7 +188,7 @@ public class GuardManager : MonoBehaviour, IDescribable
}
else
{
return "the plain guard";
return "the red guard";
}
// add more modification here
}
+6 -1
View File
@@ -91,7 +91,12 @@ public class LevelLoader : Singleton<LevelLoader>
for(int i = 0; i < data.guards.Count; i++)
{
var guardinstance = Instantiate(GuardPrefabs.ByKey(data.guards[i].type));
guardinstance.transform.position = new Vector3(spacingGuards*(i+1), 0, -5);
//its late, i cant think straight
var offset = i == data.guards.Count - 1 ? -2 : 2;
offset = data.guards.Count == 1 ? 0 : offset;
guardinstance.transform.position = new Vector3(spacingGuards*(i+1)+offset, 0, -5);
var manager = guardinstance.GetComponent<GuardManager>();
manager.type = data.guards[i].action;
+2 -2
View File
@@ -28,8 +28,8 @@ public class StatusManager : Singleton<StatusManager>
public void PopulatePanels()
{
PopulatePanel(doorPanel, doorPrefab, LevelLoader.Instance.Doors.Cast<IDescribable>().ToList(),false, LevelLoader.Instance.GlobalModifier == "HIDE");
PopulatePanel(guardPanel, guardPrefab, LevelLoader.Instance.Guards.Cast<IDescribable>().ToList(), false, false);
PopulatePanel(doorPanel, doorPrefab, LevelLoader.Instance.Doors.Cast<IDescribable>().ToList().Shuffle(),false, LevelLoader.Instance.GlobalModifier == "HIDE");
PopulatePanel(guardPanel, guardPrefab, LevelLoader.Instance.Guards.Cast<IDescribable>().ToList().Shuffle(), false, false);
PopulatePanel(doorPanelThoughts, doorPrefab, LevelLoader.Instance.Doors.Cast<IDescribable>().ToList(),true, LevelLoader.Instance.GlobalModifier == "HIDE");
PopulatePanel(guardPanelThoughts, guardPrefab, LevelLoader.Instance.Guards.Cast<IDescribable>().ToList(), true, false);
+3 -1
View File
@@ -5,7 +5,7 @@ namespace Utils
{
public static class ListExtensions
{
public static void Shuffle<T>(this List<T> list)
public static List<T> Shuffle<T>(this List<T> list)
{
for (int i = list.Count - 1; i > 0; i--)
{
@@ -13,6 +13,8 @@ namespace Utils
(list[i], list[j]) = (list[j], list[i]);
}
return list;
}
public static T GetRandomAndRemove<T>(this List<T> list)
+2 -1
View File
@@ -149,7 +149,8 @@ PlayerSettings:
visionOSBundleVersion: 1.0
tvOSBundleVersion: 1.0
bundleVersion: 0.1.0
preloadedAssets: []
preloadedAssets:
- {fileID: -944628639613478452, guid: 052faaac586de48259a63d0c4782560b, type: 3}
metroInputSource: 0
wsaTransparentSwapchain: 0
xboxOneDisableKinectGpuReservation: 1