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

42 lines
2.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-26 07:11:47 +02:00
@text.notification(Fisherman Wilton*Receiving call.......,500,5,5,phone,phone\018)
:end
2016-09-07 18:50:38 +02:00
:endif
2023-07-26 07:11:47 +02:00
@storage.set(int,message,0)
2016-09-07 18:50:38 +02:00
:if:<register.registered(phone_reg_030)>=true
2023-07-26 07:11:47 +02:00
@storage.set(int,message,1)
:if:<register.registered(phone_reg_030_2)>=true
@storage.set(int,message,2)
:endif
2016-09-07 18:50:38 +02:00
:else
2023-07-26 07:11:47 +02:00
:if:<register.registered(phone_reg_030_time)>=false
:if:<system.random(0,2)>=0
@storage.set(int,message,2)
@Register.register(phone_reg_030)
@Register.register(phone_reg_030_2)
:else
:if:<environment.dayinformation>=thursday,morning
@storage.set(int,message,1)
@Register.register(phone_reg_030)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_030)
:endif
:endif
:endif
:endif
2016-09-07 18:50:38 +02:00
:endif
2023-07-26 07:11:47 +02:00
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hello, <player.name>.*I have been having~alot of luck with~my trusty rod~recently.*Maybe we should~battle soon.*But not yet.*I still need a~little more training.)
:when:1
@Text.Show(Hello, <player.name>.*I have caught some~new Pok<00>mon and I~want to test them out.*Will you come~battle me?*I will be waiting~on Route 44.)
:when:2
@text.show(Ah, it's Wilton...~Have you got a moment?*I snagged an item while~fishing.*Come pick it up on Route 44.)
:endwhen
:end