1
0
Quellcode durchsuchen

Merge remote-tracking branch 'julzor/master'

KevinSmarts vor 4 Jahren
Ursprung
Commit
1c45029e94
1 geänderte Dateien mit 10 neuen und 8 gelöschten Zeilen
  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