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

30 lines
2.1 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(Bird Keeper Vance*Receiving call.......,500,5,5,phone,phone\029)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_029)>=true
@storage.set(int,message,1)
:else
:if:<register.registered(phone_reg_029_time)>=false
:if:<environment.dayinformation>=wednesday,night
@storage.set(int,message,1)
@Register.register(phone_reg_029)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_029)
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hello, <player.name>.*My birds seems~to be able to~fly higher than~they used to.*They must be~getting stronger.*Maybe we should~battle again soon.*I will talk~to you later.*Bye.)
:when:1
@Text.Show(Hey, <player.name>.*How are you doing?*My birds have~gotten much stronger.*Lets battle so~I can prove~it to you!*I will be waiting on Route 44.)
:endwhen
:end