1

Added a global variable controlling new artifact notification

This commit is contained in:
Eddoursul 2022-06-22 15:37:42 +02:00
parent 95d0d4946f
commit 487f5741b7
3 changed files with 5 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -8,6 +8,8 @@ FormList Property ETR_ItemsStored Auto
FormList Property ETR_PersistentStorageList Auto FormList Property ETR_PersistentStorageList Auto
FormList Property ETR_FoundAndStored Auto FormList Property ETR_FoundAndStored Auto
GlobalVariable Property ETR_NotifyNewArtifact Auto
event OnInit() event OnInit()
OnPlayerLoadGame() OnPlayerLoadGame()
@ -60,6 +62,8 @@ event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemRefere
ETR_ItemsFound.AddForm(akBaseItem) ETR_ItemsFound.AddForm(akBaseItem)
ETR_ItemsStored.RemoveAddedForm(akBaseItem) ETR_ItemsStored.RemoveAddedForm(akBaseItem)
if ETR_NotifyNewArtifact.Value
Debug.Notification("New artifact acquired: " + akBaseItem.GetName()) Debug.Notification("New artifact acquired: " + akBaseItem.GetName())
endif
endevent endevent