Fixed saving status of NPCs at the end of CaveEntrance map

This commit is contained in:
Alicja 2022-09-26 23:09:07 +02:00
parent b1d366ec7b
commit 954f2273d8
4 changed files with 89 additions and 16 deletions

View File

@ -54,6 +54,7 @@
<Compile Include="Assets\Scripts\UI\ISlot.cs" /> <Compile Include="Assets\Scripts\UI\ISlot.cs" />
<Compile Include="Assets\Scripts\Enemies&apos; Scprits\Enemy.cs" /> <Compile Include="Assets\Scripts\Enemies&apos; Scprits\Enemy.cs" />
<Compile Include="Assets\Scripts\Objects\GoldOre.cs" /> <Compile Include="Assets\Scripts\Objects\GoldOre.cs" />
<Compile Include="Assets\OpenSettingsOnESCPress.cs" />
<Compile Include="Assets\closePossibleButtonInfo.cs" /> <Compile Include="Assets\closePossibleButtonInfo.cs" />
<Compile Include="Assets\BreakOre.cs" /> <Compile Include="Assets\BreakOre.cs" />
<Compile Include="Assets\Scripts\Inventory\InventorySlot.cs" /> <Compile Include="Assets\Scripts\Inventory\InventorySlot.cs" />

View File

@ -26,8 +26,8 @@ public class NewGame : MonoBehaviour
PlayerPrefs.SetInt("rock", 0); PlayerPrefs.SetInt("rock", 0);
PlayerPrefs.SetInt("goldOre", 0); PlayerPrefs.SetInt("goldOre", 0);
PlayerPrefs.SetInt("pickaxe", 0); PlayerPrefs.SetInt("pickaxe", 0);
PlayerPrefs.SetInt("BossThug", 0);
PlayerPrefs.SetInt("Thug1", 0);
PlayerPrefs.SetInt("Thug2", 0);
} }
} }

View File

@ -42470,8 +42470,8 @@ MonoBehaviour:
m_StringArgument: m_StringArgument:
m_BoolArgument: 0 m_BoolArgument: 0
m_CallState: 2 m_CallState: 2
- m_Target: {fileID: 0} - m_Target: {fileID: 242009514}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp m_TargetAssemblyTypeName: FollowingPatrollingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint m_MethodName: SaveCheckpoint
m_Mode: 1 m_Mode: 1
m_Arguments: m_Arguments:
@ -42482,8 +42482,8 @@ MonoBehaviour:
m_StringArgument: m_StringArgument:
m_BoolArgument: 0 m_BoolArgument: 0
m_CallState: 2 m_CallState: 2
- m_Target: {fileID: 0} - m_Target: {fileID: 8620311}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp m_TargetAssemblyTypeName: FollowingPatrollingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint m_MethodName: SaveCheckpoint
m_Mode: 1 m_Mode: 1
m_Arguments: m_Arguments:
@ -42614,6 +42614,42 @@ MonoBehaviour:
m_StringArgument: m_StringArgument:
m_BoolArgument: 0 m_BoolArgument: 0
m_CallState: 2 m_CallState: 2
- m_Target: {fileID: 2102416363}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 917443530}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 266284353}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &897697754 --- !u!114 &897697754
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -139708,8 +139744,8 @@ MonoBehaviour:
m_StringArgument: m_StringArgument:
m_BoolArgument: 0 m_BoolArgument: 0
m_CallState: 2 m_CallState: 2
- m_Target: {fileID: 0} - m_Target: {fileID: 242009514}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp m_TargetAssemblyTypeName: FollowingPatrollingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint m_MethodName: SaveCheckpoint
m_Mode: 1 m_Mode: 1
m_Arguments: m_Arguments:
@ -139720,8 +139756,8 @@ MonoBehaviour:
m_StringArgument: m_StringArgument:
m_BoolArgument: 0 m_BoolArgument: 0
m_CallState: 2 m_CallState: 2
- m_Target: {fileID: 0} - m_Target: {fileID: 8620311}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp m_TargetAssemblyTypeName: FollowingPatrollingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint m_MethodName: SaveCheckpoint
m_Mode: 1 m_Mode: 1
m_Arguments: m_Arguments:
@ -139852,6 +139888,42 @@ MonoBehaviour:
m_StringArgument: m_StringArgument:
m_BoolArgument: 0 m_BoolArgument: 0
m_CallState: 2 m_CallState: 2
- m_Target: {fileID: 2102416363}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 917443530}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 266284353}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &2146696734 --- !u!114 &2146696734
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -24,16 +24,16 @@ EditorUserSettings:
value: 22424703114646680e0b0227036c72111f19352f223d667d6d051c3de5f5353fe7a923e7ee2e26 value: 22424703114646680e0b0227036c72111f19352f223d667d6d051c3de5f5353fe7a923e7ee2e26
flags: 0 flags: 0
RecentlyUsedScenePath-6: RecentlyUsedScenePath-6:
value: 22424703114646680e0b0227036c72111f1958072926337e38271427fb
flags: 0
RecentlyUsedScenePath-7:
value: 22424703114646680e0b0227036c72111f19352f223d667d6d0a1532f0e1372ce7f518e8ea3f7129370bfb25 value: 22424703114646680e0b0227036c72111f19352f223d667d6d0a1532f0e1372ce7f518e8ea3f7129370bfb25
flags: 0 flags: 0
RecentlyUsedScenePath-7:
value: 22424703114646680e0b0227036c7c1100123d24383a273e2e2c5326ece92021
flags: 0
RecentlyUsedScenePath-8: RecentlyUsedScenePath-8:
value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d value: 22424703114646680e0b0227036c72111f1958072926337e38271427fb
flags: 0 flags: 0
RecentlyUsedScenePath-9: RecentlyUsedScenePath-9:
value: 22424703114646680e0b0227036c7c1100123d24383a273e2e2c5326ece92021 value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d
flags: 0 flags: 0
vcSharedLogLevel: vcSharedLogLevel:
value: 0d5e400f0650 value: 0d5e400f0650