Ver código fonte

Maid: Set Nicholas Apartment as home

Christine 5 anos atrás
pai
commit
ab5b9e54c5
3 arquivos alterados com 6 adições e 2 exclusões
  1. 4 0
      locations/nichUtil.qsrc
  2. 1 1
      locations/obj_din.qsrc
  3. 1 1
      locations/set_home.qsrc

+ 4 - 0
locations/nichUtil.qsrc

@@ -203,6 +203,8 @@ elseif $ARGS[0] = 'fired':
 	'It takes you a few moments to process what just happened:'
 	'You have just been fired. And kind of lost your home, too.'
 	
+	home_owned[7] = 0
+	
 	nichWork = 4
 	
 	gs 'nichUtil', 'clearVars'
@@ -213,6 +215,8 @@ end
 
 !! initializes variables when hired, might mess everything up if called at any other time
 if $ARGS[0] = 'hired':
+	home_owned[7] = 1
+
 	nichWork = 2
 	nichWorkState = 0
 	nichPerformance = 45

+ 1 - 1
locations/obj_din.qsrc

@@ -272,7 +272,7 @@ if $ARGS[0] = 'cur_home':
 	if home_owned[4] = 1: 'Set current home as <a href="exec:gs ''set_home'', 4 & gs ''obj_din'', ''cur_home''">Old town apartment</a>'
 	if home_owned[5] > 2: 'Set current home as <a href="exec:gs ''set_home'', 5 & gs ''obj_din'', ''cur_home''">My mansion</a>'
 	if home_owned[6] = 1: 'Set current home as <a href="exec:gs ''set_home'', 6 & gs ''obj_din'', ''cur_home''">My hotel room in Pavlovsk</a>'
-	if home_owned[7] = 1: 'Set current home as <a href="exec:gs ''set_home'', 7 & gs ''obj_din'', ''cur_home''">Tanya''s house</a>'
+	if home_owned[7] = 1: 'Set current home as <a href="exec:gs ''set_home'', 7 & gs ''obj_din'', ''cur_home''">Nicholas'' apartment</a>'
 	if home_owned[8] = 1: 'Set current home as <a href="exec:gs ''set_home'', 8 & gs ''obj_din'', ''cur_home''">Niko''s apartment</a>'
 	if home_owned[9] = 1: 'Set current home as <a href="exec:gs ''set_home'', 9 & gs ''obj_din'', ''cur_home''">Uncle Sergey''s apartment</a>'
 	if home_owned[10] = 1: 'Set current home as <a href="exec:gs ''set_home'', 10 & gs ''obj_din'', ''cur_home''">Lyceum school</a>'

+ 1 - 1
locations/set_home.qsrc

@@ -20,7 +20,7 @@ elseif home_cur = 6:
 	$home_name = 'My hotel room in Pavlovsk'
 	$home_town = 'pavlovsk'
 elseif home_cur = 7:
-	$home_name = 'Tanya''s house'
+	$home_name = 'Nicholas'' Apartment'
 	$home_town = 'city'
 elseif home_cur = 8:
 	$home_name = 'Niko''s apartment'