4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
1.0 KiB

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 2
Scriptname TIF__00147098 Extends TopicInfo Hidden
;BEGIN FRAGMENT Fragment_1
Function Fragment_1(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
_00E_RhetorikCounter.SetValueInt(_00E_RhetorikCounter.GetValueInt()+1)
DepositBox.GetReference().AddItem(Gold001, 1)
HasBankAccount.SetValueInt(1)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
Game.GetPlayer().RemoveItem(Gold001, 100)
Game.GetPlayer().AddItem(Gold001, 99)
Game.GetPlayer().AddItem(_00E_BankKey2112Player, 1)
;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
GlobalVariable Property _00E_RhetorikCounter Auto