You are at a car shop at the
highway exit of Oceanport.

You are at the car shop at the
highway exit of Oceanport.

to highway exit 19 30
to car park 28 30

buy car (1250m)
board car
leave car

s 1 = v57 1 s v56 29
s 2 = v56 29 = v57 0 : Your car is here.
s 1 = v57 1 : You are driving your car.

action 1 dp 0 s v55 0
action 1 dp 1 = v54 1 msg Car already owned.
action 1 dp 2 = v54 0 - m 1250 msg Not enough funds.
action 1 dp 2 + m 1249 = v54 0 s v55 1
action 1 dp 1 = v55 1 msg Bought car.
action 1 dp 1 = v55 1 s v54 1
action 1 dp 1 = v55 1 s v56 29
action 1 dp 1 = v55 1 d m 1250

action 2 cv = v56 29
action 2 cv = v57 0
action 2 dp 0 s v57 1

action 3 cv = v57 1
action 3 dp 0 s v57 0