Browse Source

Fixed analyser spotted errors

netuttki 1 year ago
parent
commit
048276ccfa

+ 1 - 0
locations/city_house_res_misc.qsrc

@@ -153,6 +153,7 @@ if $ARGS[0] = 'livroom':
 
 	gs 'subkid'
 
+	!! IMPORTANT: if there is anything added later that could mean that others are in the room, gs 'music_action', 'not_alone' should be added with the correct conditions.
 	gs 'music_actions', 'start'
 
 	if sewing_kit = 1:

+ 3 - 3
locations/music_actions.qsrc

@@ -14,7 +14,7 @@ if $ARGS[0] = 'start':
             !! TODO: Find some way to remove this type of check from the music_action location, and keep them in the 
             !! original location. 
             !! Maybe a gs that sets a 'can record/stream' flag. 
-            if ml_not_alone: = 0 
+            if ml_not_alone = 0 :
                 if internet > 0 and ml_online['account'] = 1 and ml_streaming['lastday'] ! daystart: gs 'music_actions', 'stream_music'
                 gs 'music_actions', 'record_music'
             end
@@ -162,7 +162,7 @@ end
 
 if $ARGS[0] = 'stream_music':
     !! Streaming music
-    !! NOTE: The check for guitar is done in the 'liveStream', without a guitar Sveta will sing'
+    !! NOTE: The check for guitar is done in the 'liveStream', without a guitar Sveta will sing
     !! TODO: Some other checks to be added maybe, if she is not 
     if ml_performance['performed_minutes'] < ml_performance['max_perform_minutes'] and ml_performance['max_perform_minutes'] >= 15:
         ml_streamtime =  min((ml_performance['max_perform_minutes']-ml_performance['performed_minutes']), 60)
@@ -227,7 +227,7 @@ end
 if $RGS[0] = 'upload_music':
     !!Uploading recorded music if there are any not uploaded yet
     if ml_uploadablemusic > 0 and internet > 0 and ml_online['account'] = 1:
-        id ml_willcost = 0:
+        if ml_willcost = 0:
             act 'Upload music': gt 'music_onlinemusic', 'uploadallmusic'
         elseif ml_willcost  <= pcs_willpwr:
             act 'Upload music (<<will_cost>> Willpower)': gt 'music_onlinemusic', 'uploadmusic'

+ 1 - 1
locations/music_onlinemusic.qsrc

@@ -125,7 +125,7 @@ if $ARGS[0] = 'recordSong':
 end
 
 !! IMPORTANT 
-!! TODO: Recording and Editing/Mixing needs to be split into two separate activities. SO keep ''recrodSong'' as is and make this into purely about editing'
+!! TODO: Recording and Editing/Mixing needs to be split into two separate activities. So keep ''recrodSong'' as is and make this into purely about editing
 if $ARGS[0] = 'recordAndEditSong':
 !!	TODO: Write a scene. It should describe that a song is recorded and then edited properly before uploading it to the net.
 !!	'<center><img <<$set_imgh>> src="images/pc/activities/music/editmusic.jpg"/></center>'