Browse Source

Changed the update of the different prostitution locations

netuttki 7 months ago
parent
commit
2d2683aa7e
2 changed files with 7 additions and 1 deletions
  1. 1 1
      locations/cikl.qsrc
  2. 6 0
      locations/prostitution_functions.qsrc

+ 1 - 1
locations/cikl.qsrc

@@ -1208,7 +1208,7 @@ if ml_performance['set_lastpracticeday'] ! (daystart-1): repertoire_quality -= 2
 
 !! Check if people will start to seek Sveta randomly for services, based on her reputation
 gs 'prostitution_functions', 'check_for_wlife'
-if prostitute['blocked'] = 0: gs 'prostitution_functions', 'set_pavlovsk_prostitute'
+gs 'prostitution_functions', 'update_prostitution_locations'
 prostitute['earnings_day'] = 0
 prostitute['customer_day'] = 0
 

+ 6 - 0
locations/prostitution_functions.qsrc

@@ -47,6 +47,12 @@ if $ARGS[0] = 'check_for_wlife':
     end
 end
 
+if $ARGS[0] = 'update_prostitution_locations':
+	gs 'prostitution_functions', 'set_pavlovsk_prostitute'
+	if prostitute['gadukino'] = 0: gs 'prostitution_functions', 'set_gadukion_prostitute'
+	if prostitute['road'] = 0: gs 'prostitution_functions', 'set_highway_prostitute'
+end
+
 if $ARGS[0] = 'set_pavlovsk_prostitute':
     if (fame['pav_prostitute'] > 250 or fame['pav_slut'] > 250) and prostitute['blocked'] = 0:
         prostitute['pavlovsk'] = 1