If (n\Frame =>127And prevFrame <127) Or (n\Frame =>135And prevFrame <135)
AnimateNPC(n, 126, 165, 0.4, False)
If (n\Frame =>146And prevFrame <146)
If EntityDistance(n\Collider,Collider)<1.1
If (Abs(DeltaYaw(n\Collider,Collider))<=60.0)
PlaySound_Strict DamageSFX(Rand(5,8))
@@ -4585,8 +4589,16 @@ Function UpdateNPCs()
DeathMSG ="Subject D-9341. Cause of death: multiple lacerations and severe blunt force trauma caused by [DATA EXPUNGED], who was infected with SCP-008. Said subject was located by Nine-Tailed Fox and terminated."
If (Rand(Int(Max(tempF*100.0,1.0)))=1) And (e\EventState3<0.0) Then
EntityTexture(NVOverlay, GorePics(Rand(0, 5)))
PlaySound_Strict(HorrorSFX(1))
e\EventState3 =10.0
EntityColor(NVOverlay, 255,255,255)
EndIf
If Sanity < (-1000) Then
If WearingNightVision >1
DeathMSG = Chr(34)+"Class D viewed SCP-895 through a pair of digital night vision goggles, presumably enhanced by SCP-914. It might be possible that the subject"
DeathMSG = DeathMSG +"was able to resist the memetic effects partially through these goggles. The goggles have been stored for further study."+Chr(34)
Else
DeathMSG = Chr(34)+"Class D viewed SCP-895 through a pair of digital night vision goggles, killing him."+Chr(34)
EndIf
Kill()
If (CoffinDistance <4.0) And (hasBatteryFor895) And (Not Wearing714) Then
If (Rand(Int(Max(tempF*100.0,1.0)))=1) And (e\EventState3<0.0) Then
EntityTexture(NVOverlay, GorePics(Rand(0, 5)))
PlaySound_Strict(HorrorSFX(1))
e\EventState3 =10.0
EntityColor(NVOverlay, 255,255,255)
EndIf
If Sanity < (-1000) Then
If WearingNightVision >1
DeathMSG = Chr(34)+"Class D viewed SCP-895 through a pair of digital night vision goggles, presumably enhanced by SCP-914. It might be possible that the subject"
DeathMSG = DeathMSG +"was able to resist the memetic effects partially through these goggles. The goggles have been stored for further study."+Chr(34)
Else
DeathMSG = Chr(34)+"Class D viewed SCP-895 through a pair of digital night vision goggles, killing him."+Chr(34)
EndIf
Kill()
EndIf
;EndIf
EndIf
EndIf
If e\EventState3>0.0Then e\EventState3=Max(e\EventState3-FPSfactor,0.0)
@@ -7906,13 +7903,48 @@ Function UpdateEvents()
Else
CatchErrors("Deleted event")
EndIf
Next
;This here is necessary because the 294 drinks with explosion effect didn't worked anymore - ENDSHN