1
0
Prechádzať zdrojové kódy

[changed] Restricted body art event to once per day and only Saturdays

Kevin_Smarts 6 mesiacov pred
rodič
commit
e7f306e620
2 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 1 0
      locations/dibodi.qsrc
  2. 1 1
      locations/ugol.qsrc

+ 1 - 0
locations/dibodi.qsrc

@@ -3,6 +3,7 @@
 menu_off = 1
 menu_off = 1
 
 
 if $ARGS[0] = 'os1':
 if $ARGS[0] = 'os1':
+	body_paint_day = daystart
 	*clr & cla
 	*clr & cla
 	gs'stat'
 	gs'stat'
     '<center><img <<$set_imgh>> src="images/locations/pushkin/artstudio/downud1.jpg"></center>'
     '<center><img <<$set_imgh>> src="images/locations/pushkin/artstudio/downud1.jpg"></center>'

+ 1 - 1
locations/ugol.qsrc

@@ -6,7 +6,7 @@ $location_type = 'public_outdoors'
 minut += 15
 minut += 15
 gs 'stat'
 gs 'stat'
 '<center><img <<$set_imgh>> src="images/locations/pushkin/ugelm1.jpg" ></center>'
 '<center><img <<$set_imgh>> src="images/locations/pushkin/ugelm1.jpg" ></center>'
-if rand(0,3) >= 0 and temper > 14:
+if rand(0,3) >= 0 and temper > 14 and week = 6 and body_paint_day ! daystart:
 	gs 'dibodi', 'os1'
 	gs 'dibodi', 'os1'
 else
 else
 	'Entering the passage, you discover a strange collection of shades of brown, the walls covered in streaks, cracks, and plaster and the floor dirty. It seems this area is not as well maintained as the outside.'
 	'Entering the passage, you discover a strange collection of shades of brown, the walls covered in streaks, cracks, and plaster and the floor dirty. It seems this area is not as well maintained as the outside.'