|
@@ -7,23 +7,27 @@ if $ARGS[0] = 'music_icon':
|
|
|
'You are too drunk to stream or record music without messing up or throwing up into your guitar.'
|
|
|
!! $location_type = ''public_outdoors'' means parks, streets. Some event types can be placed in these locations : playing music, recording music - e.g in front of
|
|
|
!! the library, or at the church, etc.
|
|
|
- elseif $location_type = 'private' or ($location_type = 'public_outdoors' and sunWeather = 1 and temper > 15) and ml_no_music = 0:
|
|
|
- if hour < 8:
|
|
|
- 'It''s too early to do anything noisy like playing the guitar or singing.'
|
|
|
- elseif hour > 22:
|
|
|
- 'It''s too late to do anything noisy like playing the guitar or singing.'
|
|
|
- else
|
|
|
- if ml_settings['its_me'] = 1:
|
|
|
- if ml_guitar['hasguitar'] = 1 and (ml_guitar['carried'] = 1 or $ml_guitar['location'] = $loc):
|
|
|
- pl '<center><a href="exec: gs ''music_actions'', ''start''"><img title="Click to to see available music activities." height = 120 src="images/system/icons/icon_transp_guitaraction01.png"></a></center>'
|
|
|
+ else
|
|
|
+ if ($location_type = 'private' or ($location_type = 'public_outdoors' and sunWeather = 1 and temper > 15)) and ml_no_music = 1: gs 'music_actions', 'clear_restrictions'
|
|
|
+
|
|
|
+ if ml_no_music = 0:
|
|
|
+ if hour < 8:
|
|
|
+ 'It''s too early to do anything noisy like playing the guitar or singing.'
|
|
|
+ elseif hour > 22:
|
|
|
+ 'It''s too late to do anything noisy like playing the guitar or singing.'
|
|
|
+ else
|
|
|
+ if ml_settings['its_me'] = 1:
|
|
|
+ if ml_guitar['hasguitar'] = 1 and (ml_guitar['carried'] = 1 or $ml_guitar['location'] = $loc):
|
|
|
+ pl '<center><a href="exec: gs ''music_actions'', ''start''"><img title="Click to to see available music activities." height = 120 src="images/system/icons/icon_transp_guitaraction01.png"></a></center>'
|
|
|
+ else
|
|
|
+ pl '<center><a href="exec: gs ''music_actions'', ''start''"><img title="Click to to see available music activities." height = 120 src="images/system/icons/icon_transp_singeraction01.png"></a></center>'
|
|
|
+ end
|
|
|
else
|
|
|
- pl '<center><a href="exec: gs ''music_actions'', ''start''"><img title="Click to to see available music activities." height = 120 src="images/system/icons/icon_transp_singeraction01.png"></a></center>'
|
|
|
+ act 'Available musical activities': gs 'music_actions', 'start'
|
|
|
end
|
|
|
- else
|
|
|
- act 'Available musical activities': gs 'music_actions', 'start'
|
|
|
end
|
|
|
+ if ml_guitar['hasguitar'] = 1 and $location_type = 'private': gs 'music_actions', 'put_down_pick_up'
|
|
|
end
|
|
|
- if ml_guitar['hasguitar'] = 1 and $location_type = 'private': gs 'music_actions', 'put_down_pick_up'
|
|
|
end
|
|
|
end
|
|
|
|