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

30 lines
1.9 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(Picnicker Erin*Receiving call.......,500,5,5,phone,phone\033)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_033)>=true
@storage.set(int,message,1)
:else
:if:<register.registered(phone_reg_033_time)>=false
:if:<environment.dayinformation>=saturday,night
@storage.set(int,message,1)
@Register.register(phone_reg_033)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_033)
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hey, <player.name>.*How are you?*I am doing pretty good.*I am having a~lot of fun riding~with my Ponyta.*They go so fast!*Maybe you can~try it next time~I see you!*Until then,~Bye!)
:when:1
@Text.Show(Hey, <player.name>.*Lets battle again!*I will be waiting~on Route 46!)
:endwhen
:end