Ver código fonte

[fixed] small stuff in anushapt, parchurch and stat_display

julzor 4 anos atrás
pai
commit
058295f35b
3 arquivos alterados com 5 adições e 8 exclusões
  1. 2 3
      locations/ParChurch.qsrc
  2. 1 0
      locations/anushapt.qsrc
  3. 2 5
      locations/stat_display.qsrc

+ 2 - 3
locations/ParChurch.qsrc

@@ -247,15 +247,14 @@ if $ARGS[0] = 'pray':
 			pcs_horny -= 40
 			pcs_mood += 50
 			church_moral += 1 
-			minut += (60 - randtime)
+			minut += rand(30,60)
 			'The Nave is lit only with small candles, leaving your surroundings in darkness. You start to get a weird vibe, one you can''t quite shake. Suddenly you get the urge to pray very intensely. Before you know it, an hour went by and you feel a bit reborn.'
 			'"That felt refreshing," you mumble to yourself.'
 		elseif (hour >= 20 or hour <= 6) and church_moral >= 30 and church_moral < 60:
 			pcs_horny = 0
 			pcs_mood += 50
 			church_moral += 1 
-			if randtime > 60: randtime = 60
-			minut += (60 - randtime)
+			minut += rand(30,60)
 			if nark > 1: nark = nark/2
 			'The Nave is lit only with small candles, leaving your surroundings in darkness, but you find it comforting. You get the urge to pray very intensely. Before you know it, an hour went by and you feel a bit reborn and cleansed.'
 			'"That felt refreshing," you mumble to yourself.'

+ 1 - 0
locations/anushapt.qsrc

@@ -1518,6 +1518,7 @@ if $ARGS[0] = 'kitchen':
 		'As you start to enter the kitchen you overhear some muffled voices that are getting louder and louder as they go on... You notice that the door being a bit ajar as you sneak towards it to overhear what is being said.'
 		act 'Leave':gt 'anushapt','hallway'
 		act 'Listen':
+			cla & *nl
 			'Anushka''s mother is standing with her hands in the air, talking loudly to Eduard, "What is wrong with your daughter?! She''s always got an attitude towards me?!"'
 			'Eduard tries his best to keep his calm, "Well, if you would''ve been a better mother maybe she wouldn''t have turned out like this..."'
 			'"What did you say?!" Valeria starts yelling, "She''s just like her father, out all night doing God knows what! Have you heard the rumors about her!?"'

+ 2 - 5
locations/stat_display.qsrc

@@ -122,13 +122,10 @@ end
 
 !!----------------- Money -------------------------------
 
-$pockets = 'Pockets'
-if bag > 0: $pockets = 'Purse'
 if bankAccount = 0 and stolmoney = 0:
-	$stat_msg += 'You have <b><<money>> ₽</b> in your <<$pockets>>.'
+	$stat_msg += 'You have <b><<money>> ₽</b> in your '+iif(bag > 0, 'purse.', 'pockets.')
 else
-	!combine money status to single line
-	$stat_msg += '<<$pockets>>: <b><<money>> ₽</b>'
+	$stat_msg += iif(bag > 0, 'Purse.', 'Pockets.')+': <b><<money>> ₽</b>'
 	if stolmoney > 0: $stat_msg += ', Drawer <b><<stolmoney>> ₽</b>'
 	if bankAccount = 1:
 		if karta >= 0: