瀏覽代碼

School Images

Scarlett Schäfer 2 年之前
父節點
當前提交
effca54cc0
共有 2 個文件被更改,包括 10 次插入2 次删除
  1. 5 1
      source/location/school/grounds.qsps
  2. 5 1
      source/location/school/hallway.qsps

+ 5 - 1
source/location/school/grounds.qsps

@@ -8,7 +8,11 @@ if $ARGS[0] = 'info':
 elseif $ARGS[0] = 'show':
     gs 'util_location','render_title','School Grounds'
 
-    gs 'util_image','render_image','locations/apartments/testBedroom.jpg'
+    if FUNC('util_time','sunPosition',-1) = 'night':
+        gs 'util_image','render_image','locations/school/ground_night.jpg'
+    else
+        gs 'util_image','render_image','locations/school/ground.jpg'
+    end
 
     gs 'util_location','render_goto','residential',300,'Leave'
     gs 'util_location','render_goto','school_hallway',60,'Enter'

+ 5 - 1
source/location/school/hallway.qsps

@@ -8,7 +8,11 @@ if $ARGS[0] = 'info':
 elseif $ARGS[0] = 'show':
     gs 'util_location','render_title','School Hallway'
 
-    gs 'util_image','render_image','locations/apartments/testBedroom.jpg'
+    if FUNC('util_time','sunPosition',-1) = 'night':
+        gs 'util_image','render_image','locations/school/hallway_night.jpg'
+    else
+        gs 'util_image','render_image','locations/school/hallway.jpg'
+    end
 
     if FUNC('util_vars','get','school','isStudent') = 1:
         gs 'util_action','render_action','Go to school','gt ''util_event'',''start'',''school_schoolday'' ','','','R'