Browse Source

Merge remote-tracking branch 'julzor/master'

KevinSmarts 4 years ago
parent
commit
1c45029e94
1 changed files with 10 additions and 8 deletions
  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