Jelajahi Sumber

[fixed] mom won't pack your lunch if she has thrown you out of the apartment

julzor 4 tahun lalu
induk
melakukan
ffe2522633
1 mengubah file dengan 10 tambahan dan 8 penghapusan
  1. 10 8
      locations/gschool_lunch.qsrc

+ 10 - 8
locations/gschool_lunch.qsrc

@@ -75,15 +75,17 @@ if $ARGS[0] = 'cafeteria':
 		act 'Continue': gt 'gschool_lunch', 'break'
 	end
 
-	act 'Eat bagged lunch':
-		cla
-		menu_off = 1
-		gs 'food', 'bag_lunch'
-		delact 'Finish'
-		gs 'gschool_gossip', 'bagged'
-		act 'Continue': gt 'gschool_lunch', 'break'
+	if home_owned[2] = 1:
+		act 'Eat bagged lunch':
+			cla
+			menu_off = 1
+			gs 'food', 'bag_lunch'
+			delact 'Finish'
+			gs 'gschool_gossip', 'bagged'
+			act 'Continue': gt 'gschool_lunch', 'break'
+		end
 	end
-
+	
 	if money >= 50:
 		act 'Buy food (50 <b>₽</b>)':
 			cla