Explorar o código

[added] A daystart check for getting a special jbo at the photo studuio, so you can't just walking in and out until you trigger one.

bgkjdgbizgblzdgbr %!s(int64=2) %!d(string=hai) anos
pai
achega
3b90555d07
Modificáronse 2 ficheiros con 7 adicións e 5 borrados
  1. 7 3
      locations/foto.qsrc
  2. 0 2
      locations/foto_events.qsrc

+ 7 - 3
locations/foto.qsrc

@@ -149,9 +149,13 @@ if $ARGS[0] = 'studio':
 	*clr & cla
 	killvar '$modelopt'
 
-	if special_model['status'] < min(fame['city_modelling'], 700) and modelfoto['topless'] > 0 and hour < 15 and fame_model_event ! daystart:gt 'foto_events','fame'
-	if special_skill_model['status'] < pcs_mdlng and modelfoto['nip'] > 0 and skill_model_event ! daystart:gt 'foto_events','skill'
-	if foto['documentary'] >= 95 and $pantyworntype = 'none' and modelfoto['shoots']>= foto['documentary_timer']:gt'foto_model_documentary','1st_documentary'
+	if model['spcial_job_day'] ! daystart:
+		model['spcial_job_day'] = daystart
+		if special_model['status'] < min(fame['city_modelling'], 700) and modelfoto['topless'] > 0 and hour < 15: gt 'foto_events', 'fame'
+		if special_skill_model['status'] < pcs_mdlng and modelfoto['nip'] > 0: gt 'foto_events', 'skill'
+		if foto['documentary'] >= 95 and $pantyworntype = 'none' and modelfoto['shoots']>= foto['documentary_timer']: gt 'foto_model_documentary', '1st_documentary'
+	end
+
 	minut += 5
 	gs 'stat'
 	gs 'themes', 'indoors'

+ 0 - 2
locations/foto_events.qsrc

@@ -7,7 +7,6 @@ if $ARGS[0] = 'fame':
 	:reroll_1
 	special_model = 2000
 	special_skill_model = 2000
-	fame_model_event = daystart
 	if first_fame_event < 1:
 		gt'foto_events','topless1'
 	else
@@ -31,7 +30,6 @@ if $ARGS[0] = 'skill':
 	:reroll_2
 	special_model = 2000
 	special_skill_model = 2000
-	skill_model_event = daystart
 	*clr & cla
 	mdlng_skill_event = rand(1,5)
 	if mdlng_skill_event = 1 and sunWeather = 1 and daystage < 3: