Added a global variable controlling new artifact notification
This commit is contained in:
parent
95d0d4946f
commit
487f5741b7
Binary file not shown.
Binary file not shown.
@ -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)
|
||||||
|
|
||||||
Debug.Notification("New artifact acquired: " + akBaseItem.GetName())
|
if ETR_NotifyNewArtifact.Value
|
||||||
|
Debug.Notification("New artifact acquired: " + akBaseItem.GetName())
|
||||||
|
endif
|
||||||
|
|
||||||
endevent
|
endevent
|
||||||
|
Loading…
Reference in New Issue
Block a user