瀏覽代碼

[changed] Changed Artem's home file to use the gs npc_relationship in stead of the old way of just adding to the variable.

bgkjdgbizgblzdgbr 2 年之前
父節點
當前提交
6688b69463
共有 1 個文件被更改,包括 28 次插入28 次删除
  1. 28 28
      locations/artemhome.qsrc

+ 28 - 28
locations/artemhome.qsrc

@@ -223,7 +223,7 @@ if $ARGS[0] = 'bathroom':
 		'The first thing you notice is the god awful green tile, with matching sink in the bathroom. You don''t know who picked it but they obviously don''t have any good taste. Other than that it is a fairly typical bathroom, other than this might be the cleanest bathroom you have ever been in. It looks practically brand new it is so shinny and it smells wonderful as well.'
 		'You can do your hair and makeup in the <a href="exec:gt ''mirror'', ''start''">mirror</a> above the sink.'
 		*nl
-		if pirsA + pirsB + pirsC + pirsD + pirsE + pirsF + pirsN + pirsG + pirsGL > 0:'<a href="exec:dynamic $pirManage">Manage Piercings</a>'
+		if pirsA + pirsB + pirsC + pirsD + pirsE + pirsF + pirsN + pirsG > 0:'<a href="exec:dynamic $pirManage">Manage Piercings</a>'
 		act 'Leave the bathroom': gt 'artemhome', 'hallway'
 		if hour < 6:
 			gt 'artemhome', 'timecheck'
@@ -326,7 +326,7 @@ if $ARGS[0] = 'artemroom':
 				if will_cost <= pcs_willpwr:
 					act 'Kiss him (<<will_cost>> Willpower)':
 						*clr & cla
-						npc_rel['A2'] += 3
+						gs 'npc_relationship', 'modify', 'A2', 'love'
 						if artkissing ! daystart:
 							artfall += 1
 							artkissing = daystart
@@ -348,7 +348,7 @@ if $ARGS[0] = 'artemroom':
 							gs 'stat'
 							act 'Stop making out': 
 								*clr & cla
-								npc_rel['A2'] -= 1
+								gs 'npc_relationship', 'modify', 'A2', 'dislike'
 								'<center><h4><font color="maroon">Artem''s Room</font></h4></center>'
 								'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/talk.jpg"></center>'
 								'You pull away before things go too far and catch your breath. You see his slightly confused look and you feel a bit bad about it. "Sorry, I got carried away. Can we just go back to talking?"'
@@ -463,7 +463,7 @@ if $ARGS[0] = 'artemdresser':
 	menu_off = 0
 	*clr & cla
 	minut += 2
-	npc_rel['A2'] -= 1
+	gs 'npc_relationship', 'modify', 'A2', 'dislike'
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/artemhome/artemroom/artemdresser.jpg"></center>'
 	'Opening the drawers all you find are his clothes, neatly folded and stacked nicely. He has shirts in one drawer, pants in another, shorts in another, socks in yet another and finally underwear, it is very well organized and kinda boring. Noticing him watching you snoop, you close the drawers, instead of rummaging around in them.'
@@ -473,7 +473,7 @@ end
 if $ARGS[0] = 'bookshelf':
 	$menu_loc = 'artemhome'
 	$menu_arg = 'bookshelf'
-	npc_rel['A2'] += 1
+	gs 'npc_relationship', 'modify', 'A2', 'like'
 	*clr & cla
 	minut += 2
 	gs 'stat'
@@ -534,7 +534,7 @@ if $ARGS[0] = 'night_stand':
 	menu_off = 1
 	*clr & cla
 	minut += 2
-	npc_rel['A2'] -= 1
+	gs 'npc_relationship', 'modify', 'A2', 'dislike'
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/artemhome/artemroom/nightstand.jpg"></center>'
 	'Having decided to snoop, you open the night stand drawer to take a peek inside, to see what he keeps there. Opening the drawers all you find is his phone hooked to a charger in the top drawer and are a couple of books, some cold medicine, a few comics and a flashlight, in the bottom drawer. All and all it is very well organized and kinda boring. Noticing him watching you snoop, you close the drawers, instead of rummaging around in them.'
@@ -830,7 +830,7 @@ if $ARGS[0] = 'livingroom':
 			act 'Play': 
 				*clr & cla
 				ArtemLoc = 5
-				npc_rel['A2'] += 1
+				gs 'npc_relationship', 'modify', 'A2', 'like'
 				if artfalling ! daystart:
 					artfall += 1
 					artfalling = daystart
@@ -1230,7 +1230,7 @@ if $ARGS[0] = 'chat':
 		cla & clr
 		DimaRudeBlock = 1
 		artlie = 2
-		npc_rel['A2'] -= 50
+		gs 'npc_relationship', 'modify', 'A2', - 50
 		'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big2.jpg"></center>'
 		'Artem looks away from you, with a blank stare in his eyes. He mutters: "You know... I watched that video you wanted me to delete from Dimka''s computer. I can''t believe it... I was willing to do anything for you. Anything!"'
 		'He continues: "Ever since I''ve seen that video... Now I can''t even look at you, how could you?" He looks away from you in disgust. "Please leave, I never want to see you again."'
@@ -1305,7 +1305,7 @@ if $ARGS[0] = 'chat':
 		act 'Stay here': 
 			*clr & cla
 			artfall -= 4
-			npc_rel['A2'] -= 3
+			gs 'npc_relationship', 'modify', 'A2', 'hate'
 			gs 'stat'
 			'You shake your head. "No thanks, but thank you for asking."'
 			'He looks a little disappointed. "Oh, ok."'
@@ -1314,7 +1314,7 @@ if $ARGS[0] = 'chat':
 		end
 		act 'Agree to go for a walk':
 			*clr & cla
-			npc_rel['A2'] += 5
+			gs 'npc_relationship', 'modify', 'A2', 'love'
 			artdate += 1
 			gs 'stat'
 			'You give him a cute smile back: "Sure Artem, we could go for a walk, that sounds like fun!"'
@@ -1328,7 +1328,7 @@ if $ARGS[0] = 'chat':
 		'Artem smiles at you. "<<$pcs_nickname>>, would you like to go out on a date?"'
 		act 'Stay here': 
 			*clr & cla
-			npc_rel['A2'] -= 2
+			gs 'npc_relationship', 'modify', 'A2', 'dislike'
 			gs 'stat'
 			'You shake your head. "No thanks, but thank you for asking."'
 			'He looks a little disappointed. "Oh, ok."'
@@ -1337,7 +1337,7 @@ if $ARGS[0] = 'chat':
 		end
 		act 'Agree to go on a date':
 			*clr & cla
-			npc_rel['A2'] += 5
+			gs 'npc_relationship', 'modify', 'A2', 'love'
 			artdate += 1
 			gs 'stat'
 			'You give him a cute smile back: "Sure Artem, we can go out on a date, that sounds like fun!"'
@@ -1365,7 +1365,7 @@ if $ARGS[0] = 'chat':
 !! This should trigger a dialogue in Sveta''s room when Anya sees the flowers (Maybe also if mom is in the kitchen when she gets home and needs to put them in a vase)
 			$giftedflowers = 'Artem'
 			artdate += 1
-			npc_rel['A2'] += 5
+			gs 'npc_relationship', 'modify', 'A2', 'adore'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/makeout.jpg"></center>'
 			'What a nice gesture! You smile at him and mutter: "Awww, they''re beautiful! You shouldn''t have!"'
 			'Artem blushes when he tells you: "Not as beautiful as you..."'
@@ -1414,7 +1414,7 @@ if $ARGS[0] = 'chat':
 		act 'Reject the flowers':
 			*clr & cla
 			artdate -= 1
-			npc_rel['A2'] -= 5
+			gs 'npc_relationship', 'modify', 'A2', 'loathe'
 			minut += 5
 			gs 'stat'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/flowerstrash.jpg"></center>'
@@ -1436,7 +1436,7 @@ if $ARGS[0] = 'chat':
 		'Artem smiles at you as he walks over and hugs you. "<<$pcs_nickname>>, would you like to go out on another date?"'
 		act 'Stay here': 
 			*clr & cla
-			npc_rel['A2'] -= 2
+			gs 'npc_relationship', 'modify', 'A2', 'dislike'
 			gs 'stat'
 			'You shake your head. "No thanks, but thank you for asking."'
 			'He looks a little disappointed. "Oh, ok."'
@@ -1445,7 +1445,7 @@ if $ARGS[0] = 'chat':
 		end
 		act 'Agree to go on a date':
 			*clr & cla
-			npc_rel['A2'] += 5
+			gs 'npc_relationship', 'modify', 'A2', 'love'
 			artdate += 1
 			gs 'stat'
 			'You give him a cute smile back: "Sure Artem, we can go out on a date, that sounds like fun!"'
@@ -1480,7 +1480,7 @@ if $ARGS[0] = 'chat':
 		gs 'stat'
 		act 'Tell him no':
 			*clr & cla
-			npc_rel['A2'] -= 25
+			gs 'npc_relationship', 'modify', 'A2', -25
 			artembrokenheart = 1
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/artemcry.jpg"></center>'
 			'You shake your head no. "I''m sorry if you got the wrong impression Artem. I like you I really do, but I don''t want to be your girlfriend."'
@@ -1494,12 +1494,12 @@ if $ARGS[0] = 'chat':
 		act 'Tell him yes':
 			*clr & cla
 			artembf = 1
-			npc_rel['A2'] += 10
+			gs 'npc_relationship', 'modify', 'A2', 'adore'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/hugging.jpg"></center>'
 			'He gets a huge grin on his face, he gets up and rushes around the table almost knocking it over in his haste to get to you. He pulls you up and into a tight fierce hug. He nuzzles your neck as the two of you hug. "You just made me the happiest guy in the world. I love you <<$pcs_nickname>>."'
 			act 'Tell him you love him too':
 				*clr & cla
-				npc_rel['A2'] += 15
+				gs 'npc_relationship', 'modify', 'A2', 'adore'
 				artemlove = 1
 				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/hugging.jpg"></center>'
 				'You kiss him, once you break the kiss you say. "I love you too Artem."'
@@ -1521,7 +1521,7 @@ if $ARGS[0] = 'chat':
 		'Artem smiles at you as he walks over and hugs you. "<<$pcs_nickname>>, would you like to go out on another date?"'
 		act 'Stay here': 
 			*clr & cla
-			npc_rel['A2'] -= 2
+			gs 'npc_relationship', 'modify', 'A2', 'dislike'
 			gs 'stat'
 			'You shake your head. "No thanks, but thank you for asking."'
 			'He looks a little disappointed. "Oh, ok."'
@@ -1530,7 +1530,7 @@ if $ARGS[0] = 'chat':
 		end
 		act 'Agree to go on a date':
 			*clr & cla
-			npc_rel['A2'] += 5
+			gs 'npc_relationship', 'modify', 'A2', 'love'
 			artdate += 1
 			gs 'stat'
 			'You give him a cute smile back: "Sure Artem, we can go out on a date, that sounds like fun!"'
@@ -1541,7 +1541,7 @@ if $ARGS[0] = 'chat':
 		act 'Make small talk':
 			*clr & cla
 			minut += 5
-			npc_rel['A2'] += 1
+			gs 'npc_relationship', 'modify', 'A2', 'like'
 			'<center><h4><font color="maroon">Artem''s Room</font></h4></center>'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/talk.jpg"></center>'
 			'The two of you chat about a variety of things, mostly school, movies, books, video games, his gaming night, and what has been going on in Pavlovsk lately.'
@@ -1550,7 +1550,7 @@ if $ARGS[0] = 'chat':
 		end
 		act 'Ask about the future':
 			*clr & cla
-			npc_rel['A2'] += 1
+			gs 'npc_relationship', 'modify', 'A2', 'like'
 			minut += 5
 			'<center><h4><font color="maroon">Artem''s Room</font></h4></center>'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/talk.jpg"></center>'
@@ -1570,7 +1570,7 @@ if $ARGS[0] = 'chat':
 			end
 			act 'Go to the University':
 				*clr & cla
-				npc_rel['A2'] += 1
+				gs 'npc_relationship', 'modify', 'A2', 'like'
 				minut += 5
 				'<center><h4><font color="maroon">Artem''s Room</font></h4></center>'
 				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/talk.jpg"></center>'
@@ -1622,7 +1622,7 @@ if $ARGS[0] = 'chat':
 		
 		act 'What have you been up to':
 			*clr & cla
-			npc_rel['A2'] += 1
+			gs 'npc_relationship', 'modify', 'A2', 'like'
 			'<center><h4><font color="maroon">Artem''s Room</font></h4></center>'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/talk.jpg"></center>'
 			'You ask him. "So what have you been up to lately?"'
@@ -1633,7 +1633,7 @@ if $ARGS[0] = 'chat':
 			'To your surprise Artem takes out a book and shows it to you, "It''s one of my favorite books that I''ve ever read..."'
 			act 'What is it about':
 				*clr & cla
-				npc_rel['A2'] += 1
+				gs 'npc_relationship', 'modify', 'A2', 'like'
 				'<center><img <<$set_imgh>> src="images/pc/items/accessories/books/fantasy' + rand(1,9) + '.jpg"></center>'
 				'Not really what you expected but you decide to be nice and widen your eyes, "Oh, what is the book about?"'
 				'Artem shines up in the biggest smile, "Oh it''s about this hero that needs to fight for a kingdom and the bad guy has all sorts of weird creatures that he forces to attack him and then he finds this hidden world in his own world so the book takes a completly different path than the one you expected it to take..."'
@@ -1643,7 +1643,7 @@ if $ARGS[0] = 'chat':
 			end
 			act 'A book?':
 				*clr & cla
-				npc_rel['A2'] -= 1
+				gs 'npc_relationship', 'modify', 'A2', 'dislike'
 				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/talk.jpg"></center>'
 				'"Really, a book?" you look at him unimpressed.'
 				'A bit dejected he starts explaining, "it''s about this hero that needs to fight for a kingdom and the bad guy has all sorts of weird creatures that he forces to attack him and then he finds this hidden world..." noticing you being bored he stops...'
@@ -1677,7 +1677,7 @@ if $ARGS[0] = 'askedstrip':
 					*clr & cla
 					gs 'willpower', 'pay', 'resist'
 					gs 'stat'
-					npc_rel['A2'] -= 5
+					gs 'npc_relationship', 'modify', 'A2', 'hate'
 					'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/talk.jpg"></center>'
 					'You shake your head. "I''m sorry Artem I am just not comfortable doing that."'
 					'He frowns deeply but nods his head. "Yeah ok..."'