enderalse/scripts/source/_00e_startconversationpackagescript.psc

13 lines
346 B
Plaintext

Scriptname _00E_StartConversationPackageScript extends Package
GlobalVariable Property NextPackageGlobal Auto
GlobalVariable Property GameDaysPassed Auto
Function UpdateNextPackageGlobal()
Float nextTime = GameDaysPassed.GetValue() + 1.0
If nextTime > NextPackageGlobal.GetValue()
NextPackageGlobal.SetValue(nextTime)
EndIf
EndFunction