Browse Source

[changed] birth control desk drawer stff

hornguy6 2 năm trước cách đây
mục cha
commit
5553a15589
1 tập tin đã thay đổi với 56 bổ sung23 xóa
  1. 56 23
      locations/stol.qsrc

+ 56 - 23
locations/stol.qsrc

@@ -262,35 +262,68 @@ if $ARGS[0] = 'bc':
 	gs 'stat'
 	gs 'din_bad'
 	'In the drawer of your desk, you store your birth control.'
-	if prezik + prezikcount + preziksabo > 0:
-		if preziktype = 2 or preziksabo > 0:
-			'You have <<iif(preziktype = 2, prezikcount, prezikcount+prezik)>> normal, and <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> sabotaged <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
-		elseif preziktype < 2 and preziksabo = 0:
-			'You have <<prezik+prezikcount>> <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
+	act 'Close the drawer':gt $loc, $loc_arg
+	act'Check your condoms':		
+		if prezik + prezikcount + preziksabo > 0:
+			if $locclass = 'bedr':
+				*clr
+				'<center><img <<$set_imgh>> src="images/shared/accessories/birthcontrol/condoms.jpg"></center>'
+			end
+			if preziktype = 2 or preziksabo > 0:
+				'You have <<iif(preziktype = 2, prezikcount, prezikcount+prezik)>> normal, and <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> sabotaged <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
+			elseif preziktype < 2 and preziksabo = 0:
+				'You have <<prezik+prezikcount>> <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
+			end
+			*nl
+		else
+			if $locclass = 'bedr':
+				*clr
+				'<center><img <<$set_imgh>> src="images/shared/home/bedroom/drawer_empty.jpg"></center>'
+			end
+			'You are out of condoms.'
 		end
-		*nl
-	else
-		'You are out of condoms.'
 	end
-	if tabletki > 0 and pillsleft[ptype] > 0:
-		'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkiedt">birth control pills</a> and <<pillsleft[ptype]>> pills left in your opened package.</b>'
-	elseif tabletki	= 0 and pillsleft[ptype] > 0:
-		'You have <<pillsleft[ptype]>> <a href="exec:dynamic $d_tabletkiedt">birth control pills</a> left.</b>'
-	elseif tabletki > 0 and pillsleft[ptype] = 0:
-		'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkiedt">birth control pills</a>.'
-	else
-		'You are out of birth control pills.'
+	
+	act'Check your birth control pills':
+		if tabletki > 0 or pillsleft[ptype] > 0:
+			if $locclass = 'bedr':
+				*clr
+				'<center><img <<$set_imgh>> src="images/shared/accessories/birthcontrol/bc_pills.jpg"></center>'
+			end
+			if tabletki > 0 and pillsleft[ptype] > 0:
+				'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkiedt">birth control pills</a> and <<pillsleft[ptype]>> pills left in your opened package.</b>'
+			elseif tabletki	= 0 and pillsleft[ptype] > 0:
+				'You have <<pillsleft[ptype]>> <a href="exec:dynamic $d_tabletkiedt">birth control pills</a> left.</b>'
+			elseif tabletki > 0 and pillsleft[ptype] = 0:
+				'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkiedt">birth control pills</a>.'
+			end
+		else
+			if $locclass = 'bedr':
+				*clr
+				'<center><img <<$set_imgh>> src="images/shared/home/bedroom/drawer_empty.jpg"></center>'
+			end
+			'You are out of birth control pills.'
+		end
 	end
-	if morning_after_pill > 0:
-		if morning_after_pill = 1:
-			'You have one <a href="exec:gs''medical_din'',''morning_after_pill''">morning after pill</a>.'
+	act'Check your morning after pills':
+		if morning_after_pill > 0:
+			if $locclass = 'bedr':
+				*clr
+				'<center><img <<$set_imgh>> src="images/shared/accessories/birthcontrol/morning_after_pill.jpg"></center>'
+			end
+			if morning_after_pill = 1:
+				'You have a <a href="exec:gs''medical_din'',''morning_after_pill''">morning after pill</a> hidden in the back corner of the drawer.'
+			else
+				'You have <b><<birth_control[''morning_after'']>></b> <a href="exec:gs''medical_din'',''morning_after_pill''">morning after pills</a> stacked in the back corner of the drawer.'
+			end
 		else
-			'You have <b><<birth_control[''morning_after'']>></b> <a href="exec:gs''medical_din'',''morning_after_pill''">morning after pills</a>.'
+			if $locclass = 'bedr':
+				*clr
+				'<center><img <<$set_imgh>> src="images/shared/home/bedroom/drawer_empty.jpg"></center>'
+			end
+			'You have no morning after pills.'
 		end
-	else
-		'You have no morning after pills.'
 	end
-	act 'Close the drawer':gt $loc, $loc_arg
 end
 
 --- stol ---------------------------------