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

31 lines
1.8 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(School Kid Chad*Receiving call.......,500,5,5,phone,phone\024)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_024)>=true
@storage.set(int,message,1)
:else
:if:<register.registered(phone_reg_024_time)>=false
:if:<environment.dayinformation>=friday,morning
@storage.set(int,message,1)
@Register.register(phone_reg_024)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_024)
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hey, <player.name>.*I have a big~exam coming up~so I can't talk~to you now.*I will get back~to you later.*Bye.)
:when:1
@Text.Show(Hey, <player.name>.*My studies have~been going well.*How about a rematch?*I will be waiting~on Route 38.)
:endwhen
:end