Browse Source

[fixed] All the -20 relationship adjustments to new system
ie:gs 'npc_relationship', 'modify', 'A89', -20

Kevin_Smarts 2 years ago
parent
commit
514c3da61c

+ 2 - 2
locations/MartinTalk.qsrc

@@ -483,7 +483,7 @@ if $ARGS[0] = '':
 					persuas_exp += rand(2,5)
 					
 					if age >= 18:
-						npc_rel['A216'] -= 10
+						gs 'npc_relationship', 'modify', 'A216', -10
 						pcs_mood -= rand(3,5)
 						'"I, uh... I''m <<age>> now," you stammer.'
 						'"You are <b>now</b>," he repeats. "So you weren''t 18 when you first came here? You lied to my face?"' 
@@ -496,7 +496,7 @@ if $ARGS[0] = '':
 						act 'Finish your drink': gt 'qwBarPolet', 'bar'
 					
 					else
-						npc_rel['A216'] -= 20
+						gs 'npc_relationship', 'modify', 'A216', -20
 						pcs_mood -= rand(3,6)
 						knowMartin = 2
 						MartinLie = 1

+ 6 - 6
locations/dimaRevenge.qsrc

@@ -265,7 +265,7 @@ if ARGS[0] = 3:
 						'You slap her in the face lightly, eliciting a whimper from her, then leave her there and head to the lockers. You see Dimka flirting with a girl while she checks her locker. You approach him quickly, your hands already curled into fists.'
 						act 'Punch him in the face':
 							*clr & cla
-							npc_rel['A1'] -= 20
+							gs 'npc_relationship', 'modify', 'A1', -20
 							if pcs_stren > 80:
 								grupvalue[4] += 10
 								money += 10000
@@ -523,7 +523,7 @@ if dimaRevChoice = 1:
 			!!fifth day before class!!
 			gs 'fame', 'pav', 'sex', -60
 			grupvalue[1] -= 15
-			npc_rel['A140'] -= 20
+			gs 'npc_relationship', 'modify', 'A140', -20
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/dimka/revenge/girlsarguing.jpg"></center>'
 			'You listen to the students as you head to your locker. Half of them are talking about you, while the other half are talking about Dimka. You go find see Lizaveta. "Why are you still spreading the lies Dimka told you? I told you they were all lies."'
 			'"Do you both think I am that stupid? I know the real reason you guys are fighting, maybe this will teach you about trying to use me." You are stunned and feeling a bit betrayed. If she knew why would she spread gossip about both of you.'
@@ -710,7 +710,7 @@ if dimaRevChoice = 3:
 		'"I can use that to my advantage," you tell him, "He''ll do whatever I say so his father doesn''t see this. Thanks Feofan. Send the video to my phone and keep a copy for yourself just in case. I''m off to see Dimka."'
 		act 'Confront Dimka':
 			*clr & cla
-			npc_rel['A1'] -= 20
+			gs 'npc_relationship', 'modify', 'A1', -20
 			'<center><b><font color="maroon">School Hall</font></b></center>'
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/hall.jpg"></center>'
 			'You find Dimka talking to some other kids. You hesitate at first, but soon steel yourself for what you have to do. "Hey Dimka. I want to talk to you," you tell him.'
@@ -789,7 +789,7 @@ if dimaRevChoice = 4:
 				'"That should do it," he says as he tapes the note under the desk. "Lets go and wait for him." The two of you head for the locker rooms.'
 				act 'Wait for Dimka to arrive':
 					*clr & cla
-					npc_rel['A1'] -= 20
+					gs 'npc_relationship', 'modify', 'A1', -20
 					grupvalue[4] += 5
 					'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/gym/showers.jpg"></center>'
 					'You wait in the men''s locker room for Dimka. You pass the time until lunch talking to Lavrenti about what you are going to Dimka when he gets here. After a few more minutes, you hear footsteps and both of you hide in a corner. Dimka walks in. Seeing no one, he walks further into the room. You take that moment to strike.'
@@ -1014,7 +1014,7 @@ if dimaRevChoice = 5:
 							act 'Check the other videos':
 								*clr & cla
 								minut += 5
-								npc_rel['A159'] -= 20
+								gs 'npc_relationship', 'modify', 'A159', -20
 								'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/dimka/revenge/checkphone.jpg"></center>'
 								'You wonder how he got this video in the first place and about the other videos. You check them and find several with names of girls you know. Then you see one with your name. You open it and find a video with clips of you in the locker room and shower.'
 								'"You fucking pig!!" you scream as you punch and kick Petia until he can''t take anymore and passes out. You check his pockets and find a wallet with 1000 roubles.
@@ -1032,7 +1032,7 @@ if dimaRevChoice = 5:
 			if $ARGS[1] = 'before':
 				!!Fifth day before class!!
 				gs 'fame', 'pav', 'sex', -80
-				npc_rel['A1'] -= 20
+				gs 'npc_relationship', 'modify', 'A1', -20
 				'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big1.jpg"></center>'
 				'The first thing you do when you enter the school is look for Dimka. You find him by his locker, checking his phone. Years of pent up anger gives you courage and you confront him. "Hey, asshole," you say to get his attention.'
 				'"Watch what you say, pig," he says, "before I do something awful to that slutty mouth of yours."'

+ 1 - 1
locations/gdksport.qsrc

@@ -108,7 +108,7 @@ if $ARGS[0] = 'start':
 				act 'Play in Tournament': gt 'gdksport', 'vball5'
 			elseif week = 6 and sorevday ! daystart and hour > 18:
 				'As you look around, you don''t see anyone from the team. You suddenly realize that there was a tournament game today and you were supposed to be here at 18:00! You missed the bus and the coach is going to be furious!'
-				npc_rel['A69'] -= 20
+				gs 'npc_relationship', 'modify', 'A69', -20
 				sorevday = daystart
 				act 'Back': gt 'gdksport', 'start'
 			elseif pregtime >= 90:

+ 2 - 2
locations/lakecafe.qsrc

@@ -254,7 +254,7 @@ if $ARGS[0] = 'barmensha':
 							act 'Refuse to relent':
 								*clr & cla
 								npc_love['A89'] -= 5
-								npc_rel['A89'] -= 20
+								gs 'npc_relationship', 'modify', 'A89', -20
 								'You refuse to relent and Eugene sighs. "All our regulars know that we ''arrange meetings'' every Monday between 22:00 and 23:00. If you''re here at that time and want to earn some money, introduce yourself to the person or group you want to service and say ''I''ll be your waitress tonight.'' They''ll know what it means, but I beg you, please don''t do it <<$pcs_nickname>>!"'
 								'You see tears forming in her eyes.'
 								gs 'willpower', 'misc', 'self', 'easy'
@@ -316,7 +316,7 @@ if $ARGS[0] = 'barmensha':
 							act 'Walk away':
 								*clr & cla
 								npc_love['A89'] -= 5
-								npc_rel['A89'] -= 20
+								gs 'npc_relationship', 'modify', 'A89', -20
 								LCworkwork = 1
 								LCwork = 1
 								minut += 4

+ 1 - 1
locations/soniadisco.qsrc

@@ -811,7 +811,7 @@ if $ARGS[0] = 'followsonia':
 				'"I tried to help you, but you wouldn''t listen, this is your own fault," you tell her.'
 				'She cries even harder. "I know." Then she takes off running as best she can. Maybe you should have been nicer, even if it is her own fault.'
 			elseif soniaencourage > 0 and npc_rel['A25'] => 50:
-				npc_rel['A25'] -= 20
+				gs 'npc_relationship', 'modify', 'A25', '-20'
 				'You shake your head. She was all happy before and now crying about it. "What did you expect? You were acting like a slut, you wanted to have fun and walk on the wild side and you did. You have no one to blame but yourself."'
 				'She cries even harder. "I thought you were my friend, you encouraged me, why would you do that?" she asks you.'
 				'"Come on, we both know nothing I was going to say would have gotten you to stop, you wanted to know what it was like to be a bad girl and nothing was going to stop you. So I helped you do what you wanted, that''s not my fault, it''s yours," you tell her.'

+ 1 - 1
locations/strela.qsrc

@@ -44,7 +44,7 @@ act 'Listen':
 					*clr & cla
 					money -= 30000
 					strelaQW = -1
-					npc_rel['A9'] -= 20
+					gs 'npc_relationship', 'modify', 'A9', '-20'
 					FedorLuv = 100
 					minut += 5
 					gs 'stat'