Browse Source

[added] Some music store stuff by nutluck.

bgkjdgbizgblzdgbr 1 year ago
parent
commit
25ccd3afe2
1 changed files with 116 additions and 59 deletions
  1. 116 59
      locations/city_musicstore.qsrc

+ 116 - 59
locations/city_musicstore.qsrc

@@ -3,77 +3,132 @@
 if $ARGS[0] = 'musicshop':
 	*clr & cla	
 	if ml_musicstorevisited = 0:
-			ml_musicstorevisited = 1
-			gt 'city_musicstore', 'firstvisit'
+		ml_musicstorevisited = 1
+		gt 'city_musicstore', 'firstvisit'
 	elseif ml_didntbuyguitarthefirstvisit = 1:
 		gt 'city_musicstore', 'cameback'
 	else
-		'<center><img src="images/locations/city/citycenter/mall/musicstore/music-store-600.jpg"></center>'
-		'You enter the store, welcomed by the familiar mix of random notes and bits of songs screaming from the back.'
-		'Jimmy just nods at you, then returns his attention to the guitar laying on the counter in front of him.'
-
-		act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
-		act 'Try some guitars': 
-!!			TODO: Better scenes here			
-			if pcs_instrmusic < 30 and pcs_perform < 10:
-				'You pick up a guitar to try it, but you are too shy and after strumming a few chords you put it back on it''s stand'
-			else
-				'Some texts here depending on music skill and performing skill'			
+		musicrand = rand(1,2)
+		if musicrand = 1 and yearstart >= 2 and (week > 5 and hour >= 8 and hour < 17):
+			'<center><img src="images/locations/city/citycenter/mall/musicstore/music_store.jpg"></center>'
+			'You enter the store, welcomed by the familiar mix of random notes and bits of songs screaming from the back.'
+			'At the counter you see a familiar face, Radomir. You use to go to school with him in Pavlovsk.'
+			act 'Approach the counter':
+				*clr & cla
+				gs 'npc_relationship', 'modify', 'A154', 'like'
+				gs 'stat'
+				'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big154.jpg"></center>'
+				if npc_rel['A154'] >= 60:
+					if hotcat >= 6:
+						'Radomir gives you a smile. "Come to hang out with me on my break? Maybe we can have a little fun." He says with a wink.'
+						'You tell him you just came to look around and maybe do a little shopping. After a bit he tells you about a variety of instruments, he seems to really know his stuff when it comes to musical instruments.'
+					else
+						'He gives you a slight knowing smirk when he sees you. "So what can I do for one of my fans?"'
+						'You tell him you just came to look around and maybe do a little shopping. After a bit he tells you about a variety of instruments, he seems to really know his stuff when it comes to musical instruments.'
+					end
+				elseif npc_rel['A154'] <= 20:
+					'Radomir visably sighs when he see''s you. He does his best to ignore you, though he will answer questions about instruments that you ask, but only with the barest amount of information.'
+				else
+					if hotcat >= 6:
+						'Radomir is talking about the band''s latest gig as you approach. He sees you and looks your body up and down. "Nice to see all the working out is paying off. Looking good."'
+						'You tell him you just came to look around and maybe do a little shopping. After a bit he tells you about a variety of instruments, he seems to really know his stuff when it comes to musical instruments.'
+					else
+						'He smirks when he sees you. "Come to try and butter me up before I get famous?" You ignore his comment and ask him about some of the instruments.'
+						'After a bit he tells you about a variety of instruments, he seems to really know his stuff when it comes to musical instruments.'
+					end
+				end
 			end
-		end
-		act 'Leave': 
-			if ml_boughtguitar > 0 or ml_boughtamp > 0:
-				gt 'city_musicstore', 'payandtakestuff'
+			act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
+			act 'Try some guitars': 
+	!!			TODO: Better scenes here			
+				if pcs_instrmusic < 30 and pcs_perform < 10:
+					'You pick up a guitar to try it, but you are too shy and after strumming a few chords you put it back on it''s stand'
+				else
+					'Some texts here depending on music skill and performing skill'			
+				end
+			end
+			act 'Leave': 
+				if ml_boughtguitar > 0 or ml_boughtamp > 0:
+					gt 'city_musicstore', 'payandtakestuff'
+				end
+				gt 'torgcentr'
+			end
+		else
+			'<center><img src="images/locations/city/citycenter/mall/musicstore/music_store.jpg"></center>'
+			'You enter the store, welcomed by the familiar mix of random notes and bits of songs screaming from the back.'
+			'Jimmy just nods at you, then returns his attention to the guitar laying on the counter in front of him.'
+			act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
+			act 'Try some guitars': 
+	!!			TODO: Better scenes here			
+				if pcs_instrmusic < 30 and pcs_perform < 10:
+					'You pick up a guitar to try it, but you are too shy and after strumming a few chords you put it back on it''s stand'
+				else
+					'Some texts here depending on music skill and performing skill'			
+				end
+			end
+			act 'Leave': 
+				if ml_boughtguitar > 0 or ml_boughtamp > 0:
+					gt 'city_musicstore', 'payandtakestuff'
+				end
+				gt 'torgcentr'
 			end
-			gt 'torgcentr'
 		end
 	end
-
 end
 
 if $ARGS[0] = 'firstvisit':
-	'<center><img src="images/locations/city/citycenter/mall/musicstore/music-store-600.jpg"></center>'
-	*nl
-	'You enter the store, passing the door to be submerged in a loud, cacophonic environment. 
-	The walls are filled with guitars, and in the back three teenaged guys are trying instruments in a very loud way.'
-!!	TODO: Replace the image, Waynes world is fun but silly
-	'<center><img src="images/locations/city/citycenter/mall/musicstore/waynesworld.jpg"></center>'
-	*nl
-    'A tall, dark haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
-   	'He straightens up "Hello there, I''m Jimmy" - he greets you - "Is there anything I can help you with?"'
-	*nl
-	'<center><img src="images/locations/city/citycenter/mall/musicstore/jimmy.jpg"></center>'
-	*nl
-  	'Suddenly he turns and throws a sponge at one of the boys playing in the back "No. Stairway. To. Heaven." he growls and points at the sign on the wall before turning back to you.'
- 	'<center><img src="images/locations/city/citycenter/mall/musicstore/nostairways.jpg"></center>'
-
-	act 'Look for a guitar':
+	musicrand = rand(1,5)
+	if musicrand = 1:
+		'<center><img src="images/locations/city/citycenter/mall/musicstore/boys_rocking.jpg"></center>'
+		'You enter the store, passing the door to be submerged in a loud, cacophony environment. The walls are filled with guitars, bass, amps, drums, even keyboards fill the shop. In the back three teenage boys try and play some of the guitars loudly and not very well.'
+		'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
+	elseif musicrand = 2:
+		'<center><img src="images/locations/city/citycenter/mall/musicstore/nostairways.jpg"></center>'
+		'You enter the store, passing the door to be submerged in a loud, cacophony environment. The walls are filled with guitars, bass, amps, drums, even keyboards fill the shop.'
+		'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
+		'Suddenly he turns and throws a sponge at one of the boys playing in the back "No. Stairway. To. Heaven." he growls and points at the sign on the wall before turning back to you.'
+	else
+		'<center><img src="images/locations/city/citycenter/mall/musicstore/music_store.jpg"></center>'
+		'You enter the store, passing the door to be submerged in a loud, cacophony environment. The walls are filled with guitars, bass, amps, drums, even keyboards fill the shop.'
+		'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
+	end
+	act 'Approach the counter':
 		*clr & cla
-		'<center><img src="images/locations/city/citycenter/mall/musicstore/cheap_acoustic_1.jpg"></center>'		
-		'You start to browse the guitars in the shop, not entirely sure what you are looking for and gladly accept the help of the store clerk. After answering his questions and chatting about music and what you are looking for he finally picks up an affordable acoustic guitar as a recommendation.'
-		'After some conversation with the store owner he offers you an affordable acoustic guitar to buy'
-		'Jimmy leaves you alone with the instrument, so you sit down to try it, strumming the chords that you know, trying to play something.'
-		if money > 3400 or karta > 3400:
-			if money < 14280 and karta < 14280:
-				'While the guitar is not the best sounding one it''s comfortable and looking at the price tags, the only one you can afford.'
-			else 
-				'While the guitar is not the best sounding one it''s comfortable and looking at the price tags, you are not sure you should spend too much money until you are better at playing the guitar.'
-			end
-			if money > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with cash': gt 'city_musicstore', 'buycheapacoustic', 'money'
+		'<center><img src="images/locations/city/citycenter/mall/musicstore/jimmy.jpg"></center>'
+		'A tall, ginger haired man turns to you with a bored expression that turns into a perplexed smile as he takes your sight in.'
+		'He straightens up "Hello there, I''m Jimmy" - he greets you - "Is there anything I can help you with?"'
+		act 'Look for a guitar':
+			*clr & cla
+			'<center><img src="images/locations/city/citycenter/mall/musicstore/cheap_acoustic_1.jpg"></center>'		
+			'You start to browse the guitars in the shop, not entirely sure what you are looking for and gladly accept the help of the store clerk. After answering his questions and chatting about music and what you are looking for he finally picks up an affordable acoustic guitar as a recommendation.'
+			'After some conversation with the store owner he offers you an affordable acoustic guitar to buy'
+			'Jimmy leaves you alone with the instrument, so you sit down to try it, strumming the chords that you know, trying to play something.'
+			if money > 3400 or karta > 3400:
+				if money < 14280 and karta < 14280:
+					'While the guitar is not the best sounding one it''s comfortable and looking at the price tags, the only one you can afford.'
+				else 
+					'While the guitar is not the best sounding one it''s comfortable and looking at the price tags, you are not sure you should spend too much money until you are better at playing the guitar.'
+				end
+				if money > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with cash': gt 'city_musicstore', 'buycheapacoustic', 'money'
 
-			if karta > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with card': gt 'city_musicstore', 'buycheapacoustic', 'karta'						
-			act 'You have to think about it':
+				if karta > 3400: act 'Buy a cheap acoustic guitar (3,400 <b>P</b>) - pay with card': gt 'city_musicstore', 'buycheapacoustic', 'karta'						
+				act 'You have to think about it':
+					ml_didntbuyguitarthefirstvisit = 1
+					'You hesitate for a moment, unsure whether to buy it or not and finally decide to not do it, at least not now. "I will have to talk to my mum first" you say to Jimmy. '
+					'He just nods "Don''t worry <<$pcs_firstname>>. You know what, I will put it aside for you for a bit in case you change your mind". He scribbles something on a post-it note, and sticks it on the guitar "I will try to keep the price the same, 3,400 rubels."'
+					act 'Leave': gt 'torgcentr'
+				end
+			else
 				ml_didntbuyguitarthefirstvisit = 1
-				'You hesitate for a moment, unsure whether to buy it or not and finally decide to not do it, at least not now. "I will have to talk to my mum first" you say to Jimmy. '
-				'He just nods "Don''t worry <<$pcs_firstname>>. You know what, I will put it aside for you for a bit in case you change your mind". He scribbles something on a post-it note, and sticks it on the guitar "I will try to keep the price the same, 3,400 rubels."'
+				'While the guitar is not the best sounding one it''s comfortable. Unfortunately while it''s cheaper than the rest, it still costs more than you have. With a sigh you hand it back to Jimmy "I''m sorry, but, I can''t buy it now."'
+				'He just nods "Don''t worry, I tell you what, I will put it aside for you if you change your mind." He scribbles something on a post-it note, and sticks it on the guitar "I will try to keep the price the same, 3,400 rubels."'
 				act 'Leave': gt 'torgcentr'
-			end
-		else
-			ml_didntbuyguitarthefirstvisit = 1
-			'While the guitar is not the best sounding one it''s comfortable. Unfortunately while it''s cheaper than the rest, it still costs more than you have. With a sigh you hand it back to Jimmy "I''m sorry, but, I can''t buy it now."'
-			'He just nods "Don''t worry, I tell you what, I will put it aside for you if you change your mind. He scribbles something on a post-it note, and sticks it on the guitar "I will try to keep the price the same, 3,400 rubels."'
-			act 'Leave': gt 'torgcentr'
-		end				
+			end				
+		end
+		act 'Leave': 
+			ml_didntbuyguitarthefirstvisit = 1		
+			gt 'torgcentr'
+		end
 	end
 	act 'Leave': 
 		ml_didntbuyguitarthefirstvisit = 1		
@@ -84,12 +139,13 @@ end
 
 if $ARGS[0] = 'cameback':
 	*clr & cla
-	'<center><img src="images/locations/city/citycenter/mall/musicstore/music-store-600.jpg"></center>'
+	'<center><img src="images/locations/city/citycenter/mall/musicstore/music_store.jpg"></center>'
 	*nl
-	'You enter the store, passing the door to be submerged in a loud, cacophonic environment.'
+	'You enter the store, passing the door to be submerged in a loud, cacophony environment.'
 	if money > 3400 or karta > 3400: 
 		act 'Ask Jimmy about the guitar':
 			cla
+			'<center><img src="images/locations/city/citycenter/mall/musicstore/jimmy.jpg"></center>'
 			'You walk up to the counter where Jimmy is busy tinkering with a guitar.'
 			'"Hi Jimmy... I was wondering if you still has that guitar..."'
 			'Jimmy looks up from the guitar "Hi <<$pcs_firstname>>, sure, I have it. Let me get it for you."'
@@ -100,6 +156,7 @@ if $ARGS[0] = 'cameback':
 	end
 	act 'Shop for guitars and amps': gt 'city_musicstore_stock', 'acoustic'
 	act 'Try some guitars': 
+		'<center><img src="images/locations/city/citycenter/mall/musicstore/try_guitars.jpg"></center>'
 !!			TODO: Better scenes here			
 		if pcs_instrmusic < 30 and pcs_perform < 10:
 			'You pick up a guitar to try it, but you are too shy and after strumming a few chords you put it back on it''s stand'