Просмотр исходного кода

[Fixed] some old variable for the morning after pill

Awesome 8 месяцев назад
Родитель
Сommit
d711c51d31
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      locations/medical_din.qsrc
  2. 1 1
      locations/mother_chats.qsrc
  3. 1 1
      locations/stol.qsrc

+ 1 - 1
locations/medical_din.qsrc

@@ -259,7 +259,7 @@ if $ARGS[0] = 'morning_after_pill_function':
 		killvar 'temp_ID'
 	end
 	stat['morning_after_pill'] += 1
-	morning_after_pill -= 1
+	mc_inventory['morning_after_pill'] -= 1
 end
 
 if $ARGS[0] = 'morning_after_pill':

+ 1 - 1
locations/mother_chats.qsrc

@@ -35,7 +35,7 @@ if $ARGS[0] = 'rape_talk':
 		'Your <<$npc_nickname[''A29'']>> looks at you with concern, "Well <<$pcs_nickname>>, did he do anything else? I mean... Sorry, this isn''t coming out right." Your <<$npc_nickname[''A29'']>> stops and you both start crying again as you hug each other for a while longer.'
 		
 		act 'You don''t know':
-			morning_after_pill +=1
+			mc_inventory['morning_after_pill'] +=1
 			cla & *clr
 			minut += 5
 			gs 'stat'

+ 1 - 1
locations/stol.qsrc

@@ -380,7 +380,7 @@ if $ARGS[0] = 'bc':
 			if mc_inventory['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.'
+				'You have <b><<mc_inventory[''morning_after_pill'']>></b> <a href="exec:gs''medical_din'',''morning_after_pill''">morning after pills</a> stacked in the back corner of the drawer.'
 			end
 		else
 			if $locclass = 'bedr':