1
Fork 0

Added a global variable controlling new artifact notification

ae-1.6.629
Eddoursul 2 years ago
parent 95d0d4946f
commit 487f5741b7
  1. BIN
      Artifact Tracker.esp
  2. BIN
      Scripts/ETR_TrackNewItems.pex
  3. 6
      Source/Scripts/ETR_TrackNewItems.psc

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_FoundAndStored Auto
GlobalVariable Property ETR_NotifyNewArtifact Auto
event OnInit()
OnPlayerLoadGame()
@ -60,6 +62,8 @@ event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemRefere
ETR_ItemsFound.AddForm(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

Loading…
Cancel
Save