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

42 lines
2.6 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(Lass Dana*Receiving call.......,500,5,5,phone,phone\023)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_023)>=true
@storage.set(int,message,1)
:if:<register.registered(phone_reg_023_2)>=true
@storage.set(int,message,2)
:endif
:else
:if:<register.registered(phone_reg_023_time)>=false
:if:<system.random(0,2)>=0
@storage.set(int,message,2)
@Register.register(phone_reg_023)
@Register.register(phone_reg_023_2)
:else
:if:<environment.dayinformation>=sunday,evening
@storage.set(int,message,1)
@Register.register(phone_reg_023)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_023)
:endif
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hey, <player.name>.*How are you?*I have been~hanging out~with my friends~a lot recently.*Maybe we should~battle some time?*Talk to you later.)
:when:1
@Text.Show(Hello, <player.name>.*Want to come~battle me?*I will be waiting~on Route 38.)
:when:2
@text.show(You know what?~I got a good gift!*As I promised, it's yours!*I'm sure you'd like it.~Come get it!*I'm waiting on Route 38!)
:endwhen
:end