Browse Source

[fixed] aunt image for gaptek pharmacy.
[changed] generic pharmacist to use random images instead of schedule.
[cleaned] included cleaned dina file, which I reverted non-committed changes on.

3xpurt 5 years ago
parent
commit
a7be8c5323
3 changed files with 27 additions and 41 deletions
  1. 23 23
      locations/dina.qsrc
  2. 3 9
      locations/gaptek.qsrc
  3. 1 9
      locations/pharmacy.qsrc

+ 23 - 23
locations/dina.qsrc

@@ -4,43 +4,43 @@ $brodila = {
 	sexpartkno = 0
 	if home_owned[1] > 0:
 		gt'korr','start'
-	elseif home_owned[4] = 1:    
+	elseif home_owned[4] = 1:
 		gt'korr2x','start'
 	else
 		gt'street', 'start'
-    end
+	end
 }
 
 $brodilr = {
 	if StoryLine = 1 and home_owned[2] = 1:
 		gt 'pavResidential'
-    elseif home_owned[4] = 1:
-        gt'liames'
-    else
-        gt'street','start'
+	elseif home_owned[4] = 1:
+		gt'liames'
+	else
+		gt'street','start'
 	end
 }
 
 $brodilk = {
-    if home_owned[1] > 0:
-        gt'kuhr','start'
-    elseif home_owned[4] = 1:
-        gt'kuhr2x','start'
-    else
+	if home_owned[1] > 0:
+		gt'kuhr','start'
+	elseif home_owned[4] = 1:
+		gt'kuhr2x','start'
+	else
 		gt'street', 'start'
-    end
+	end
 }
 
 $brodils = {
-    if home_owned[1] > 0:
-        gt'sitr','start'
-    elseif home_owned[4] = 1:
-        gt'sitr2x','start'
+	if home_owned[1] > 0:
+		gt'sitr','start'
+	elseif home_owned[4] = 1:
+		gt'sitr2x','start'
 	elseif StoryLine = 1 and home_owned[2] = 1:
 		gt 'sitrPar'
 	else
 		gt'street', 'start'
-    end
+	end
 }
 
 !!This sets the default descriptors and folder names for each default image set
@@ -111,12 +111,12 @@ $rexpot = {
 	gs 'boyStat', 'A166'
 }
 
-$hypnoDaychange = {	
+$hypnoDaychange = {
 	!!if for some reason hypnoTime is too high
 	if hypnoTime > 15:hypnoTime = 15
 	timeTresh = 76 - 4*hypnoType
 	!!Withdrawal effect begings if too strong influence and no visitation
-	if daystart-hypnoDay > 7: 
+	if daystart-hypnoDay > 7:
 		if hypnoAddict = 1:
 			hypnoWithdrawal = 1
 		elseif hypnoAddict = 2:
@@ -136,7 +136,7 @@ $hypnoDaychange = {
 				if hypnoTime < 7:hypnoAddict = 0 & hypnoWithdrawal = 0
 			end
 		else
-			if rand(0,4) = 0: 
+			if rand(0,4) = 0:
 				hypnoStrength = 19
 				hypnoTime -= 1
 				if hypnoTime < 10:hypnoAddict = 1 & hypnoBlock = 0 & hypnoWithdrawal = 1
@@ -156,7 +156,7 @@ $hypnoAddiction = {
 	else
 		missCum += 1
 	end
-	
+
 	if missCum > timeTresh:
 		if hypnoAddict = 1:
 			pcs_mood -= 5
@@ -166,7 +166,7 @@ $hypnoAddiction = {
 			pcs_horny += 20
 		end
 	end
-	
+
 	if hypnoWithdrawal > 0:
 		if hypnoWithdrawal = 1:
 			if missCum >= timeTresh:
@@ -190,7 +190,7 @@ $prezik = {
 			noprotect = 0
 		end
 		prezik -= 1
-	elseif prezik < 0: 
+	elseif prezik < 0:
 		prezik = 0
 	end
 }

+ 3 - 9
locations/gaptek.qsrc

@@ -27,15 +27,9 @@ if $ARGS[0] = 'start' or $message ! '':
 
 	'<center><B><font color="maroon">Pharmacy</font></B></center>'
 	if gaptek_aunt_hours = 1:
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_1.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_aunt_1.jpg"></center>'
 	else
-		if hour >= 8 and hour < 14 and week < 3:
-			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_2.jpg"></center>'
-		elseif hour >= 8 and hour < 14 and week >= 3 and week < 5:
-			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_3.jpg"></center>'
-		else
-			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_4.jpg"></center>'
-		end
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_'+rand(1,4)+'.jpg"></center>'
 	end
 	*nl
 	
@@ -143,7 +137,7 @@ if $ARGS[0] = 'garden':
 	*clr & cla
 	gs 'stat'
 	'<center><B><font color="maroon">Pharmacy</font></B></center>'
-	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_1.jpg"></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_aunt_1.jpg"></center>'
 	*nl
 
 	if npc_QW['A29'] = 2 and gaogorod < 40:

+ 1 - 9
locations/pharmacy.qsrc

@@ -34,15 +34,7 @@ if $ARGS[0] = 'shop' or $ARGS[0] = '':
 	menu_off = 0
 	gs 'stat'
 	*pl '<center><b><font color="maroon">Pharmacy</font></b></center>'
-	!*pl '<center><img <<$set_imgh>> src="images/unused/pharmacy.jpg"></center>'
-	!there are 3 pic from russian 1.2.5, Let make it 3 shift
-	if hour>22 or hour < 7:
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_2.jpg"></center>'
-	elseif hour<17:
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_3.jpg"></center>'
-	else
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_4.jpg"></center>'
-	end
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/pharmacy/apteka_worker_'+rand(1,3)+'.jpg"></center>'
 	*nl
 	if $message ! '':
 		$message