Prechádzať zdrojové kódy

[fixed] PC nickname strings lacking the $ so they showed as 0

KevinSmarts 4 rokov pred
rodič
commit
8aae610fe4

+ 1 - 1
locations/AleksandraGo.qsrc

@@ -29,7 +29,7 @@ elseif npc_QW['A231'] > 5:
 	gs 'stat'
 	'<center><b><font color="maroon"><<$npc_firstname[''A231'']>> <<$npc_lastname[''A231'']>></font></b></center>'
 !!Image needed	'<center><img <<$set_imgh>> src="images/pc/npc_headshots/big62.jpg"></center>'
-	'As you walk up to <<$npc_firstname[''A231'']>> and she smiles and says, "Hey <<pcs_nickname>>, there you are."'
+	'As you walk up to <<$npc_firstname[''A231'']>> and she smiles and says, "Hey <<$pcs_nickname>>, there you are."'
 	'Once you finally reach her, she leans in an gives you a brief kiss on the lips. You reluctantly break off the kiss and she asks, "Are you ready to head to my house?"'
 	'You nod your head and say "Yes, I''m ready, so let''s go."'
 	act 'Go to <<$npc_firstname[''A231'']>>''s home':gt 'AleksandraHome', 'bedroom' & minut += 15

+ 1 - 1
locations/NikoDates.qsrc

@@ -391,7 +391,7 @@ if $ARGS[0] = 'Date 2':
 						gs'stat'
 						'<center><b><h4><font color="red"><<"Nikolai [Niko] Volkov">></font></h4></b></center>'
 						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/niko/nikomisc/avatars/<<week>>.jpg"></center>'
-						'You shake your head as you respond, "No way. I''m not that kind of girl. I told you that." Niko get noticeably angry. "Come on <<$pcs_firstname>>. I''m not asking you to donate one of your kidneys. Just give a quick.." You cut him off. "I SAID NO!" Niko grabs your head then begins pushing it toward his crotch, as he says, "Come on <<pcs_nickname>>, it wont take long."'
+						'You shake your head as you respond, "No way. I''m not that kind of girl. I told you that." Niko get noticeably angry. "Come on <<$pcs_firstname>>. I''m not asking you to donate one of your kidneys. Just give a quick.." You cut him off. "I SAID NO!" Niko grabs your head then begins pushing it toward his crotch, as he says, "Come on <<$pcs_nickname>>, it wont take long."'
 
 						act 'Continue':
 							*clr & cla

+ 1 - 1
locations/artemdate.qsrc

@@ -320,7 +320,7 @@ if $ARGS[0] = 'stand_up':
 											'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/artem/walk_save.jpg"></center>'
 											'After awhile you finally see Artem limping towards you. He smiles through busted bloody lips when he sees you. You rush over to him and help him walk, putting one of his arms over your shoulder. Artem wipes the blood from his face, deeply embarrassed you had to see him like this. "I''m glad you got away, they said they were going to rape you if they caught you." He says as he hugs you obviously not made you ran and left him. He seems genuinely glad you are safe. You walk in silence as you help him get home.'
 											*nl
-											'Once you get him home, you help him to bed and then clean up his wounds and tend to him as best you can. "Thank you <<pcs_nickname>> for everything. For helping me home, for going out with me and for helping me now. I just wish it could have been a better date."'
+											'Once you get him home, you help him to bed and then clean up his wounds and tend to him as best you can. "Thank you <<$pcs_nickname>> for everything. For helping me home, for going out with me and for helping me now. I just wish it could have been a better date."'
 											'You smile to him and place a finger on his lips. "Shhh, it''s fine, I am just sorry you got hurt."'
 											'He smiles. "Yeah well maybe our next date won''t be so exciting. The pain meds are kicking in, I could really use some sleep, see you later ok." He rolls over obviously not wanting to talk anymore and in obvious pain. So you get up and leave him to rest.'
 											act 'Leave': gt 'pod_ezd', 'etaj_1'

+ 1 - 1
locations/artemhome.qsrc

@@ -129,7 +129,7 @@ if $ARGS[0] = 'home':
 				else
 					if artlie = 2 or artembrokenheart = 1 or artemblok = 1:
 						'"Who should I tell him is here?"'
-						'"I''m <<pcs_nickname>>."'
+						'"I''m <<$pcs_nickname>>."'
 						'When she hears your name her demeanor changes swiftly. Frowning she says: "Oh, it''s you. I don''t know what you did to my sweet Artem but he says he never wants to see you again, so please leave." With that she closes the door in your face.'
 						act 'Leave': gt'pod_ezd','etaj_1'
 					else

+ 1 - 1
locations/father.qsrc

@@ -133,7 +133,7 @@ end
 
 if $clothingworntype = 'nude' and npc_pregtalk['A28'] = 0 and func('body_din','pregnancyVisibility') = 1:
     'Your stepfather looks at your belly with a surprised look on his face. He shakes his head in disappointment before looking back at you.: "<<$pcs_nickname>>, you''re pregnant?"'
-    if npc_sex['A28']!0: 'You see him hesitate for a second, as if weighing whether he should say something or not. He finally does: "All i can say is that i hope the baby is not mine... i''m so disappointed in you "<<pcs_nickname>>"'
+    if npc_sex['A28']!0: 'You see him hesitate for a second, as if weighing whether he should say something or not. He finally does: "All i can say is that i hope the baby is not mine... i''m so disappointed in you "<<$pcs_nickname>>"'
     npc_pregtalk['A28'] = 1
     
 elseif $clothingworntype ! 'nude' and npc_pregtalk['A28'] = 0 and func('body_din','pregnancyVisibility') = 1:

+ 6 - 6
locations/nerd_game_night.qsrc

@@ -197,7 +197,7 @@ if $ARGS[0] = 'keep_playing_on1':
 	'The battle with the dragon begins, Feofan weaves a scarying sounding battle as everyone takes turns taking a action. At one point most of the group is down, only Julia and Petka''s characters are still up. Julia is trying to heal Zinaida and Artem''s characters, while Petka''s sorceress is trying to cast a powerful spell. It looks like the dragon is about to finish off Petka''s character for sure and maybe Julia''s as well, but you have managed to sneak around the dragon as it is distracted, focusing on the rest of the party. At that point you decided to try out your back stab ability Feofan told you about that your character could do earlier. "I want to back stab the dragon."'
 	'Feofan looks surprised at first. "You have to be behi... Oh." He says looking at the figures on the map, seeing your rogue directly behind the dragon, he seems to have not noticed you moving behind his dragon.'
 	'Artem says "Yes!" Several of the others acknowledge what you have done which makes your feel good at their praise even if it is over just a game.'
-	'Feofan nods with a smile. "Ok then <<pcs_nickname>> roll your attack.'
+	'Feofan nods with a smile. "Ok then <<$pcs_nickname>> roll your attack.'
 	act 'Roll the dice':
 		*clr & cla
 		minut += 10
@@ -206,15 +206,15 @@ if $ARGS[0] = 'keep_playing_on1':
 		if temp = 20:
 			pcs_mood += 20
 			'You roll the dice and the 20 comes up, you here a slight gasp go around the table, you are not sure what just happened but everyone but Feofan looks happy. You know higher is better though. "You got a critical strike." Feofan informs you, well that sounds good you think as you roll your dice damage.'
-			'Feofan checks his notes a moment, then double checks them. "As the dragon rears back to let lose it''s firey breath, <<pcs_nickname>> rogue spots a weak point between two of it''s scales. Lunging forward she buries her sword into the dragon. It roars in pain and thrashes about tossing you aside, but you manage to land and roll safely taking no damage. Then the dragon falls over and moves no more, obviously dead." The rest of the group cheers and congratulates you on killing the dragon, you can''t help but feel good about it.'
+			'Feofan checks his notes a moment, then double checks them. "As the dragon rears back to let lose it''s firey breath, <<$pcs_nickname>> rogue spots a weak point between two of it''s scales. Lunging forward she buries her sword into the dragon. It roars in pain and thrashes about tossing you aside, but you manage to land and roll safely taking no damage. Then the dragon falls over and moves no more, obviously dead." The rest of the group cheers and congratulates you on killing the dragon, you can''t help but feel good about it.'
 		elseif temp => 11:
 			pcs_mood += 10
 			'You roll the dice and Feofan checks the numbers. "You managed to land a backstab on the dragon, roll your damage." Feofan informs you, well that sounds good you think as you roll your dice damage.'
-			'Feofan checks his notes a moment. "As the dragon rears back to let lose it''s firey breath, <<pcs_nickname>> rogue lunges forward scoring a back stab on the dragon. It roars in pain and thrashes about tossing you aside, but you manage to land and roll safely taking no damage. Then the dragon turns on you and tries to bite you." More dice are rolled and you manage to dodge the dragon, as the dragon focuses on you. Julia has manage to heal both Zinaida and Artem back up and it bought enough time for Petka to finish casting his sorceress most powerful spell. Which lands causing a great deal of damage with attacks from the rest the dragon finally falls over dead. The rest of the group congratulates you on landing a powerful hit and distracting the dragon, you can''t help but feel good about it.'
+			'Feofan checks his notes a moment. "As the dragon rears back to let lose it''s firey breath, <<$pcs_nickname>> rogue lunges forward scoring a back stab on the dragon. It roars in pain and thrashes about tossing you aside, but you manage to land and roll safely taking no damage. Then the dragon turns on you and tries to bite you." More dice are rolled and you manage to dodge the dragon, as the dragon focuses on you. Julia has manage to heal both Zinaida and Artem back up and it bought enough time for Petka to finish casting his sorceress most powerful spell. Which lands causing a great deal of damage with attacks from the rest the dragon finally falls over dead. The rest of the group congratulates you on landing a powerful hit and distracting the dragon, you can''t help but feel good about it.'
 		else
 			pcs_mood += 5
 			'You roll the dice and Feofan checks the numbers. "Your weapon hits the dragons scales but fails to pierce them." Feofan informs you.'
-			'Feofan checks his notes a moment. "As the dragon rears back to let lose it''s firey breath, <<pcs_nickname>> rogue lunges forward but fails to hurt the dragon. Then the dragon turns on you and tries to bite you." More dice are rolled and you manage to dodge the dragon, as the dragon focuses on you. Julia has manage to heal both Zinaida and Artem back up and it bought enough time for Petka to finish casting his sorceress most powerful spell. Which lands causing a great deal of damage with attacks from the rest the dragon finally falls over dead. The rest of the group congratulates you on distracting the dragon, you can''t help but feel good about it.'
+			'Feofan checks his notes a moment. "As the dragon rears back to let lose it''s firey breath, <<$pcs_nickname>> rogue lunges forward but fails to hurt the dragon. Then the dragon turns on you and tries to bite you." More dice are rolled and you manage to dodge the dragon, as the dragon focuses on you. Julia has manage to heal both Zinaida and Artem back up and it bought enough time for Petka to finish casting his sorceress most powerful spell. Which lands causing a great deal of damage with attacks from the rest the dragon finally falls over dead. The rest of the group congratulates you on distracting the dragon, you can''t help but feel good about it.'
 		end
 		gs 'stat'
 		act 'Finish the game night':
@@ -304,7 +304,7 @@ if $ARGS[0] = 'keep_playing_on2':
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/library/events/nerd_game/bathing_confront.jpg"></center>'
 			'You tell him, "I grab my sword and tell who ever is there to show themselves now."'
 			'Petka sighs, "Sorry I just wanted to check on you, I didn''t mean to spy on you."'
-			'Feofan then descibes how your character is standing their naked with her bare sword out. Then Petka blurts out, "<<pcs_nickname>> naked?" Then blushes as he realizes what he said. "I-I meant her character!"'
+			'Feofan then descibes how your character is standing their naked with her bare sword out. Then Petka blurts out, "<<$pcs_nickname>> naked?" Then blushes as he realizes what he said. "I-I meant her character!"'
 			*nl
 			'The others start laughing, "Sure you did," they wink, "<<$pcs_nickname>>''s naked body."'
 			'"I didn''t know you were such a perv, Petka!" The tension rises a bit before easing up as the rest tease Petka about his unfortunate choice of words. You tell him your fine and the return to camp, then you finish bathing, get dressed and head back to camp. After you do the rest of them take your lead and one at a time their characters all go and bath as well. Apparently enjoying the more immersive roll playing you are doing.'
@@ -556,7 +556,7 @@ if $ARGS[0] = 'group':
 		'You ponder for a while, "I need to talk to my friends... I''ll be right back."'
 		'As you turn you back the men are hollering, "Did you see her ass?! I wouldn''t mind getting my hands on that. I bet I could make her scream all night long." The men continue to be rowdy as they order another round.'
 		'Feofan finishes by talking as one of the men. "Pay as the gold now and the information is yours or no deal."'
-		'Feofan then says. "Well <<pcs_nickname>> what are you going to do? Pay them or...?"'
+		'Feofan then says. "Well <<$pcs_nickname>> what are you going to do? Pay them or...?"'
 		*nl
 		'You really want the information and you think it''ll be right move for the group, "How much?"'
 		'What seems to be the leader licks his lips and tells you the price he wants you to pay, The price is pretty much the last of the gold your party has. "No haggling, you understand girl! That''s the price, take it or leave it!"'