1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- # autoservisF
- if $ARGS[0] = 'start':
- $metka = $ARGS[0]
- $loc = $CURLOC
- cla
- *clr
- minut += 5
- gs 'stat'
- gs 'avtonorm'
- '<center><b>Service and repair</b></center>'
- '<center><img src="images/etogame/autoservis1.jpg"></center>'
- if cardrive = 7:
- if wrek = 0:
- if teh >= tehcar * 75 / 100:'Master your car inspected and said that she does not need any repairs or maintenance in those.'
- if teh < tehcar * 75 / 100:
- 'Master looked at your car and said that the cost of work <<normrem>>.'
- if money >= normrem:
- act 'Pay and repair':
- cla
- *clr
- money -= normrem
- minut += 60
- teh = tehcar
- wrek = 0
- '<center><img src="images/etogame/autoservis2.jpg"></center>'
- 'You sat for an hour in the recreation room pretending that watching TV is finally repaired the car and you have paid in cash <<normrem>> rubles'
- act 'Leave':gt 'Nord'
- end
- end
- end
- elseif wrek = 1:
- 'Master prisvisnul looking at your unit and said that the cost of work <<normrem>>.'
- if money >= normrem:
- act 'Pay and repair':
- cla
- *clr
- money -= normrem
- minut += 60
- tehcar = tehcar / 2
- teh = tehcar
- wrek = 0
- '<center><img src="images/etogame/autoservis2.jpg"></center>'
- 'You sat for an hour in the recreation room pretending that watching TV is finally repaired the car and you have paid in cash <<normrem>> rubles'
- 'Master before giving clues told you that you would not have tried to bring the car to this state.'
- act 'Leave':gt 'Nord'
- end
- end
- end
- end
- if cardrive ! 7:'Master smiled and said, "Girl, I need a car to see what though, that what you say. Fetches it to the car service, we''ll see."'
- if wrek = 1 and cardrive ! 7 and car > 0:
- 'At the service station operates a service evacuation of damaged cars to service centers, the cost in 2500'
- if money >= 2500:
- act 'Pay for towing service (2,500 rubles) (1:00)':
- cla
- *clr
- money -= 2500
- cardrive = 7
- minut += 60
- '<center><img src="images/etogame/autoservis2.jpg"></center>'
- 'You sat for an hour in the service station, waiting when will bring your car. Finally the time has passed and your car was delivered to the gate Car.'
- act 'Back to the car service station':gt 'autoservisF', 'start'
- end
- end
- end
- act 'Leave':gt 'Nord'
- end
- --- autoservisF ---------------------------------
|