P3D-Legacy/P3D/Content/Data/Scripts/vermilion/dockhand.dat

42 lines
2.7 KiB
Plaintext
Raw Normal View History

2016-09-07 18:50:38 +02:00
<EFBFBD><EFBFBD>version=2
:if:<register.registered(ssaquavermilionlevels)>=False
@register.register(ssaquavermilionlevels,int,0)
:endif
:if:<register.registered(oneboatperday)>=False <and> <register.registered(suicunevermilion)>=true
2016-09-07 18:50:38 +02:00
:if:<environment.day>=Wednesday <or> <environment.day>=Sunday
@text.show(Welcome to the~Fast Ship S.S. Aqua.*Will you be boarding today?)
@options.show(Yes,No)
:when:Yes
:if:<inventory.countitem(41)>>0
@text.show(<player.name> flashed~the S.S. Ticket.)
@text.show(That's it.~Thank you!)
:if:<player.position>=-1,0,8
@player.turnto(3)
@player.move(1)
@player.turnto(2)
@player.move(1)
:endif
@player.turnto(2)
@player.move(5)
@player.setmovement(0,0.5,1)
@player.move(1)
2016-09-07 18:50:38 +02:00
@register.registertime(oneboatperday,1,day)
@player.warp(SSAqua\vermilion\main.dat,15,0.1,-1,0)
@level.update
2016-09-07 18:50:38 +02:00
@npc.turn(0,3)
:end
:endif
@text.show(I am sorry only those~with a ticket may board.)
:endwhen
:else
@text.show(I am sorry the S.S. Aqua~is not boarding passengers~at the moment.*Please come again later.)
:endif
:else
@text.show(I am sorry the S.S. Aqua~is not boarding passengers~at the moment.*Please come again later.)
:endif
:if:<player.position>=0,0,9
@player.setmovement(1,0,0)
@player.move(1)
:endif
@npc.turn(0,3)
:end