P3D-Legacy/P3D/Content/Data/Scripts/safarizone/market1.dat

44 lines
3.1 KiB
Plaintext

version=2
:if:<environment.day>=Saturday <or> <environment.day>=Sunday
:then
@text.show(I am sorry but this~shop is closed today.)
:end
:endif
:if:<register.registered(safarizone_market1)>=true
:then
@text.show(I am sorry but I am~sold out for today...)
:end
:endif
@text.show(Welcome to my little market~near the Safari Zone.*I am changing my supply~every day.*Do you want to~have a look?)
@options.show(Yes,No)
:when:Yes
@register.registertime(safarizone_market1,1,day)
:select:<environment.day>
:when:Monday
@text.show(I am selling vitamins for top~prices today.)
@screen.trade({25|<system.random(1,5)>|4900}{26|<system.random(1,5)>|4900}{27|<system.random(1,5)>|4900}{28|<system.random(1,5)>|4900}{29|<system.random(1,5)>|4900}{31|<system.random(1,5)>|4900},1,1)
@text.show(If you liked the offer today,~be sure to visit again on~FRIDAY.)
:when:Tuesday
@screen.trade({2|-1|-1}{16|-1|-1}{19|-1|-1}{39|-1|-1}{42|-1|-1},1,1)
:when:Wednesday
@text.show(You can buy a~rare Heart Scale~today. Quick, before someone~else buys all of them!)
@screen.trade({190|5|10000},1,1)
:when:Thursday
@screen.trade({2|-1|-1}{16|-1|-1}{19|-1|-1}{39|-1|-1}{42|-1|-1},1,1)
:when:Friday
@text.show(I am selling vitamins for top~prices today.)
@screen.trade({25|<system.random(1,5)>|4900}{26|<system.random(1,5)>|4900}{27|<system.random(1,5)>|4900}{28|<system.random(1,5)>|4900}{29|<system.random(1,5)>|4900}{31|<system.random(1,5)>|4900},1,1)
@text.show(If you liked the offer today,~be sure to visit again on~Monday.)
:endwhen
:end
:when:No
:end
:endwhen
:end