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

31 lines
1.8 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 05:29:17 +02:00
@text.notification(School Kid Jack*Receiving call.......,500,5,5,phone,phone\019)
:end
:endif
2023-07-25 05:29:17 +02:00
@storage.set(int,message,0)
:if:<register.registered(phone_reg_019)>=true
2023-07-25 05:29:17 +02:00
@storage.set(int,message,1)
:else
2023-07-25 05:29:17 +02:00
:if:<register.registered(phone_reg_019_time)>=false
:if:<environment.dayinformation>=monday,morning
@storage.set(int,message,1)
@Register.register(phone_reg_019)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_019)
:endif
:endif
:endif
:endif
2023-07-25 05:29:17 +02:00
:select:<storage.get(int,message)>
:when:0
@Text.Show(Oh, hey <player.name>.*I am busy studying~right now.*I will call you~back later.)
:when:1
@Text.Show(Hello, <player.name>.*I have been studying~very hard.*Want to battle again?*I will be waiting~at the National Park.)
:endwhen
:end