enderalse/source/scripts/tif__00108a9f.psc

23 lines
806 B
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname TIF__00108A9F Extends TopicInfo Hidden
;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
DepositBox.GetReference().AddItem(Gold001, 100)
Game.GetPlayer().RemoveItem(Gold001, 100)
HasBankAccount.SetValueInt(1)
Game.GetPlayer().AddItem(_00E_BankKey2112Player, 1)
(GetOwningQuest() as _00E_A0_BankSystemQuest).Transfer("null", "RecalculateZins")
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
ReferenceAlias Property DepositBox Auto
MiscObject Property Gold001 Auto
GlobalVariable Property HasBankAccount Auto
Key Property _00E_BankKey2112Player Auto