P3D-Legacy/P3D/Content/Data/Scripts/phone/032.dat

30 lines
1.8 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(Hiker Parry*Receiving call.......,500,5,5,phone,phone\032)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_032)>=true
@storage.set(int,message,1)
:else
:if:<register.registered(phone_reg_032_time)>=false
:if:<environment.dayinformation>=friday,evening
@storage.set(int,message,1)
@Register.register(phone_reg_032)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_032)
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hey, <player.name>.*I seem to be a~little lost.*Once I find my~way back we~should battle.*I will call~you then.*Bye.)
:when:1
@Text.Show(Hello, <player.name>.*I would like~to have a~rematch with you.*I will be waiting~on Route 45.)
:endwhen
:end