|
@@ -48,7 +48,15 @@ if $ARGS[0] = '':
|
|
|
|
|
|
gs 'taxi'
|
|
gs 'taxi'
|
|
|
|
|
|
- if car > 0 and (cardrive = 3 or (cardrive >= 6 and cardrive <= 9) or cardrive = 27):'In the parking stands your <a href="exec:' + iif(cardrive = 3, '', 'minut += 5 & ') + 'gs ''carF'', ''start''"><<$car>></a>.'
|
|
|
|
|
|
+ if car > 0:
|
|
|
|
+ if wrek = 0 and ((cardrive = 7 and func('autoservisF', 'is_open') = 0) or (cardrive = 9 and func('autotraidF', 'is_open') = 0)):
|
|
|
|
+ 'It looks like the ' + iif(cardrive = 7, 'repair shop', 'car dealership') + ' moved your car outside before they closed.'
|
|
|
|
+ cardrive = 3
|
|
|
|
+ end
|
|
|
|
+ if cardrive = 3 or cardrive = 6 or (cardrive = 7 and func('autoservisF', 'is_open')) or (cardrive = 9 and func('autotraidF', 'is_open')) or cardrive = 27:
|
|
|
|
+ 'In the parking stands your <a href="exec:' + iif(cardrive = 3, '', 'minut += 5 & ') + 'gs ''carF'', ''start''"><<$car>></a>.'
|
|
|
|
+ end
|
|
|
|
+ end
|
|
|
|
|
|
'The town''s <a href="exec:minut += 60 & gt ''city_park'', ''start''">central park</a> is a one hour walk from here.'
|
|
'The town''s <a href="exec:minut += 60 & gt ''city_park'', ''start''">central park</a> is a one hour walk from here.'
|
|
|
|
|
|
@@ -75,15 +83,15 @@ if $ARGS[0] = '':
|
|
else
|
|
else
|
|
'The metro station is within a 5 minute walk from here. The metro system is closed between midnight and 05:00.'
|
|
'The metro station is within a 5 minute walk from here. The metro system is closed between midnight and 05:00.'
|
|
end
|
|
end
|
|
- if hour >= 9 and hour < 18 and week > 1:
|
|
|
|
|
|
+ if func('autotraidF', 'is_open'):
|
|
'A <a href="exec: minut += 5 & gt ''autotraidF'', ''start''">car dealership</a> is nearby.'
|
|
'A <a href="exec: minut += 5 & gt ''autotraidF'', ''start''">car dealership</a> is nearby.'
|
|
else
|
|
else
|
|
- 'A car dealership is nearby'+iif(week = 1, ', but it''s closed on Mondays.', '. It''s currently closed and will open between 09:00 and 18:00.')
|
|
|
|
|
|
+ 'A car dealership is nearby' + iif(week = 1, ', but it''s closed on Mondays.', '. It''s currently closed and will open between 09:00 and 18:00.') + iif(car > 0 and cardrive = 9, ' Your <<$car>> is currently locked inside.', '')
|
|
end
|
|
end
|
|
- if hour >= 9 and hour <= 20 and week < 7:
|
|
|
|
|
|
+ if func('autoservisF', 'is_open'):
|
|
'Next to the car dealership is a <a href="exec: minut += 5 & gt ''autoservisF'', ''start''">repair shop</a>.'
|
|
'Next to the car dealership is a <a href="exec: minut += 5 & gt ''autoservisF'', ''start''">repair shop</a>.'
|
|
else
|
|
else
|
|
- 'Next to the car dealership is a repair shop.'+ iif(week = 7, 'It''s closed on Sundays.', 'It will be open between 09:00 and 20:00.')
|
|
|
|
|
|
+ 'Next to the car dealership is a repair shop.' + iif(week = 7, 'It''s closed on Sundays.', 'It will be open between 09:00 and 20:00.') + iif(car > 0 and cardrive = 7, ' Your <<$car>> is currently locked inside.', '')
|
|
end
|
|
end
|
|
if hour >= 9 and hour < 17 and week < 6:
|
|
if hour >= 9 and hour < 17 and week < 6:
|
|
'The <a href="exec: minut += 5 & gt ''dk'', ''start''">community centre</a> is currently open.'
|
|
'The <a href="exec: minut += 5 & gt ''dk'', ''start''">community centre</a> is currently open.'
|
|
@@ -166,7 +174,15 @@ if $ARGS[0] = 'redlight':
|
|
|
|
|
|
gs 'taxi'
|
|
gs 'taxi'
|
|
|
|
|
|
- if car > 0 and (cardrive = 3 or (cardrive >= 6 and cardrive <= 9) or cardrive = 27):'In the parking stands your <a href="exec:' + iif(cardrive = 27, '', 'minut += 5 & ') + 'gs ''carF'', ''start''"><<$car>></a>.'
|
|
|
|
|
|
+ if car > 0:
|
|
|
|
+ if wrek = 0 and ((cardrive = 7 and func('autoservisF', 'is_open') = 0) or (cardrive = 9 and func('autotraidF', 'is_open') = 0)):
|
|
|
|
+ 'It looks like the ' + iif(cardrive = 7, 'repair shop', 'car dealership') + ' moved your car outside before they closed.'
|
|
|
|
+ cardrive = 3
|
|
|
|
+ end
|
|
|
|
+ if cardrive = 3 or cardrive = 6 or (cardrive = 7 and func('autoservisF', 'is_open')) or (cardrive = 9 and func('autotraidF', 'is_open')) or cardrive = 27:
|
|
|
|
+ 'In the parking stands your <a href="exec:' + iif(cardrive = 27, '', 'minut += 5 & ') + 'gs ''carF'', ''start''"><<$car>></a>.'
|
|
|
|
+ end
|
|
|
|
+ end
|
|
|
|
|
|
if hour >= 20 or hour <= 4:
|
|
if hour >= 20 or hour <= 4:
|
|
*nl
|
|
*nl
|