P3D-Legacy/P3D/Content/Data/Scripts/goldenrod/underground_bargainshop.dat

24 lines
1.1 KiB
Plaintext

version=2
:if:<not><environment.day>=sunday
:then
@Text.Show(We're not open today.)
:end
:endif
:if:<register.registered(bargainshop_sunday)>=true
:then
@Text.Show(I only sell items~once a day.)
:end
:endif
@Text.Show(Welcome!*I run the Bargain~Shop!*I sell valuable items~for low prices.*Do you want to buy~something?)
@Options.show(Yes,No)
:when:Yes
@Register.register(bargainshop_sunday)
@screen.trade({36|1|4500}{110|1|650}{111|1|3500}{131|1|900}{132|1|4600},true,false)
:when:No
@Text.Show(Is that right?~That's a shame!)
:endwhen
:end