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

42 lines
2.6 KiB
Plaintext
Raw Normal View History

2016-09-07 18:50:38 +02:00
<EFBFBD><EFBFBD>version=2
2023-08-07 02:58:49 +02:00
:if:<system.scripttrigger>=phonereceiving
2023-07-25 07:10:56 +02:00
@text.notification(Lass Dana*Receiving call.......,500,5,5,phone,phone\023)
:end
2016-09-07 18:50:38 +02:00
:endif
2023-07-25 07:10:56 +02:00
@storage.set(int,message,0)
2016-09-07 18:50:38 +02:00
:if:<register.registered(phone_reg_023)>=true
2023-07-25 07:10:56 +02:00
@storage.set(int,message,1)
:if:<register.registered(phone_reg_023_2)>=true
@storage.set(int,message,2)
:endif
2016-09-07 18:50:38 +02:00
:else
2023-07-25 07:10:56 +02:00
: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
2016-09-07 18:50:38 +02:00
:endif
2023-07-25 07:10:56 +02:00
: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