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

45 lines
3.7 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(Gentleman Alfred*Receiving call.......,500,5,5,phone,phone\021)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_021)>=true
@storage.set(int,message,1)
:else
:if:<register.registered(phone_reg_021_time)>=false
:if:<environment.dayinformation>=tuesday,evening
@storage.set(int,message,1)
@Register.register(phone_reg_021)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_021)
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
:if:<player.gender>=0
@Text.Show(Why, hello~Mr. <player.name>.*How are you doing?*It is quite nice~here in Olivine~right now.*How is it~where you are?*Talk to you again.)
:else
:if:<player.gender>=1
@Text.Show(Why, hello~Ms. <player.name>.*How are you doing?*It is quite nice~here in Olivine~right now.*How is it~where you are?*Talk to you again.)
:else
@Text.Show(Why, hello~my dear <player.name>.*How are you doing?*It is quite nice~here in Olivine~right now.*How is it~where you are?*Talk to you again.)
:endif
:when:1
:if:<player.gender>=0
@Text.Show(Why, hello~Mr. <player.name>.*How are you doing?*I was wondering~if you would be~so kind as to~grace me with~a battle?*I will be~waiting in the~Glitter Lighthouse.)
:else
:if:<player.gender>=1
@Text.Show(Why, hello~Ms. <player.name>.*How are you doing?*I was wondering~if you would be~so kind as to~grace me with~a battle?*I will be~waiting in the~Glitter Lighthouse.)
:else
@Text.Show(Why, hello~my dear <player.name>.*How are you doing?*I was wondering~if you would be~so kind as to~grace me with~a battle?*I will be~waiting in the~Glitter Lighthouse.)
:endif
:endif
:endwhen
:end