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

30 lines
1.9 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(Firebreather Walt*Receiving call.......,500,5,5,phone,phone\015)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_015)>=true
@storage.set(int,message,1)
:else
:if:<register.registered(phone_reg_015_time)>=false
:if:<environment.dayinformation>=monday,evening
@storage.set(int,message,1)
@Register.register(phone_reg_015)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_015)
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Yo, <player.name>!*You still~going hot?*I know I am.*We should~meet up again.*'Til then, later!)
:when:1
@Text.Show(What's up <player.name>?*Recently my Magmar~and I have been~scorching the~competition.*Let's have a rematch!*I will be waiting on Route 35.)
:endwhen
:end