Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
24 lines
705 B
24 lines
705 B
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
|
|
;NEXT FRAGMENT INDEX 2
|
|
Scriptname TIF__01029ADA Extends TopicInfo Hidden
|
|
|
|
;BEGIN FRAGMENT Fragment_1
|
|
Function Fragment_1(ObjectReference akSpeakerRef)
|
|
Actor akSpeaker = akSpeakerRef as Actor
|
|
;BEGIN CODE
|
|
if SympathyEsme.GetValue() >= 30
|
|
PlayerREF.AddItem(_00E_FS_NQ02_Amulett, 1)
|
|
else
|
|
PlayerREF.AddItem(GemDiamond, 1)
|
|
endif
|
|
;END CODE
|
|
EndFunction
|
|
;END FRAGMENT
|
|
|
|
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
|
|
|
|
Actor Property PlayerREF Auto
|
|
Actor Property _00E_FS_NQ02_EsmeREF Auto
|
|
Armor Property _00E_FS_NQ02_Amulett Auto
|
|
MiscObject Property GemDiamond Auto
|
|
GlobalVariable Property SympathyEsme Auto
|
|
|