bratva_pornstudio.qsrc 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. # bratva_pornstudio
  2. ! sites of post-judgment
  3. ! work office
  4. $location_type = 'public_indoors'
  5. $loc = $curloc
  6. gs 'bratva_events','bratva_check'
  7. if $args[0] = '' or $args[0] = 'main':
  8. *clr & cla
  9. CLOSE ALL
  10. $loc_arg = 'start'
  11. $loc = 'pornstudio'
  12. $menu_loc = 'pornstudio'
  13. $menu_arg = 'start'
  14. menu_off = 0
  15. gs 'themes', 'indoors'
  16. gs 'stat'
  17. if studio['init'] = 0: gs 'bratva_pornstudio_init'
  18. '<center><b><font color="maroon">Office</font></b></center>'
  19. '<center><img <<$set_imgh>> src="mod/Bratva/locations/city/north/pornstudio/office.jpg"></center>'
  20. 'Studio Office. From here you direct casting and filming.
  21. Monthly you pay 10000r. for rent + 500r. for each renovation of premises.
  22. You give 25% of the profit for the "roof", another 20% - taxes.
  23. 10% of the remaining amount is credited to your card, the rest - to the studio balance.'
  24. if hour >= 15 and hour <= 16: 'Sitting on the couch are some<a href="exec: gt ''mod_bratva_start''"> Bratva members</a>.'
  25. gs 'bratva_pornstudio','navigation'
  26. !Conditions start the event with masturbation
  27. if pcs_horny >= 40 and hour >= 9 and hour <= 14: act' Caress yourself looking porn': gt 'bratva_studioQW','ofisevent1'
  28. !Terms and conditions start with Stamos
  29. if week <= 5 and studio['ofisevent9_day'] ! daystart and rand(1,4) = 1: gt 'bratva_studioQW','ofisevent9'
  30. ! 25% chance of tripping
  31. if bratva['location'] = 3:
  32. !Conditions of the start of the event with Inna and Gennady
  33. if studio['inna'] = 1 and studio['ofisevent2_day'] ! daystart and rand(1,4) = 1: gt 'bratva_studioQW','ofisevent2'
  34. !The condition of the start of the event with Inna''s threesome
  35. if studio['ofisevent2'] >= 5 and studio['ofisevent3_day'] ! daystart and rand(1,4) = 1: gt 'bratva_studioQW','ofisevent3'
  36. !Conditions for starting the event with Gennady
  37. if week > 5 and studio['ofisevent10_day'] ! daystart: gt 'bratva_studioQW','ofisevent10'
  38. !The condition of the start of the event with Stas and Gennady
  39. if studio['ofisevent11_day'] ! daystart and rand(1,4) = 1: gt 'bratva_studioQW','ofisevent11'
  40. !The condition for starting a mini event in the office with a make-up artist
  41. if studio['ofisevent2'] = 0 and rand(1,3) = 1: gt 'bratva_studioQW','mini4'
  42. !The condition for starting a mini-event in office 4 and above
  43. if studio['room,2'] >= 4 and rand(1,3) = 1: gt 'bratva_studioQW','mini5'
  44. end
  45. if hour < 9 or hour > 18: exit
  46. act 'List of actresses': gt 'bratva_pornstudio_actress','actress_list'
  47. act 'Filmography studios': gt 'bratva_pornstudio_films','films'
  48. act 'Studio information': gt 'bratva_pornstudio','studio'
  49. !---
  50. if studio['film_day'] ! daystart: act 'To make a movie': gs 'bratva_pornstudio_films','select_film',-1,-1
  51. act 'How it works':
  52. *clr & cla
  53. act 'Close': gt 'bratva_pornstudio'
  54. 'Monthly you pay 10000r. for rent + 500r. for each renovation of premises.
  55. You give 25% of the profit for the "roof", another 20% - taxes.
  56. 10% of the remaining amount is credited to your card, the rest - to the studio balance.
  57. Only one movie can be made per day. The quality and, therefore, the rating of the film depends on the development of the infrastructure, but during the repair the shooting is impossible.
  58. At the moment you can have a maximum of 5 actresses. Each of them has its own set of available genres for filming. For hiring you have to pay an actress bonus of 10,000 rubles.
  59. To restore the actress need 2 days or more, depending on the genre of the previous film and the development of the recreation area.
  60. In the lesboscenes, the second actress will always be your heroine - if she is not available, you will not be able to make a film.
  61. Profit depends on the number of views, advertising can help increase them, but not all advertising is good - choose the right time and amount. After 10 days, the possibility of advertising the film is cut off.
  62. Daily the number of views will fall and over time the film will cease to make a profit.'
  63. end
  64. end
  65. ! гримерка
  66. if $args[0] = 'dressing_room':
  67. *clr & cla
  68. $loc_arg = $args[0]
  69. gs 'bratva_pornstudio','navigation',$args[0]
  70. '<center><b><font color="maroon">Office</font></b></center>'
  71. '<center><img <<$set_imgh>> src="mod/Bratva/locations/city/north/pornstudio/grim.jpg"></center>'
  72. 'Make-up room, where entertainers of the cheerful genre are preparing for the shooting. Here you can dress up and apply make-up.'
  73. ! Conditions of the start of the event with Inna in the bathroom
  74. if bratva['location'] = 3 and studio['ofisevent3'] >= 5 and rand(1,4) = 1 and studio['ofisevent4_day'] ! daystart: gt 'bratva_studioQW','ofisevent4'
  75. ! The condition of the start of the event in the bathroom
  76. if bratva['location'] = 3 and studio['ofisevent6'] = daystart: gt 'bratva_studioQW','ofisevent8'
  77. ! The condition for starting mini-events in the dressing room
  78. if hour >= 10 and hour < 18 and rand(1,4) = 1: gt 'bratva_studioQW','mini2'
  79. ! The condition for starting mini-events in the dressing room 3 and above
  80. if hour >= 10 and hour < 18 and studio['room,1'] >= 3 and rand(1,4) = 1: gt 'bratva_studioQW','mini3'
  81. end
  82. ! set
  83. if $args[0] = 'shooting_space':
  84. *clr & cla
  85. $loc_arg = $args[0]
  86. gs 'bratva_pornstudio','navigation',$args[0]
  87. '<center><b><font color="maroon">Office</font></b></center>'
  88. '<center><img <<$set_imgh>> src="mod/Bratva/locations/city/north/pornstudio/studia.jpg"></center>'
  89. 'Spacious studio with bright lighting and comfortable wide sofas and beds, on which most of the scenes are shot. It made a good repair, I can not believe that before it was the usual warehouse.'
  90. !Conditions for starting a mini event in a studio
  91. if hour >= 10 and hour <= 20 and rand(1,4) = 1: gt 'bratva_studioQW','mini1'
  92. end
  93. ! navigation
  94. if $args[0] = 'navigation':
  95. act '<b>Leave<b>': minut += rand(10,15) & gt 'city_industrial'
  96. if studio['upgrade'] > 0:
  97. *clr
  98. '<center><img <<$set_imgh>> src="mod/Bratva/locations/city/north/pornstudio/closed.jpg"></center>'
  99. 'The studio is closed for renovation! Opening through <<studio[''upgrade'']>> day.'
  100. exit
  101. end
  102. if $args[1] ! '' and $args[1] ! 'main': act '<font color=maroon>Office</font>': gt 'bratva_pornstudio','main'
  103. if $args[1] ! 'dressing_room': act '<font color=maroon>Dressing Room</font>': gt 'bratva_pornstudio','dressing_room'
  104. if $args[1] ! 'shooting_space': act '<font color=maroon>Set</font>': gt 'bratva_pornstudio','shooting_space'
  105. end
  106. ! description of studio premises
  107. if $args[0] = 'studio':
  108. *clr & cla
  109. act 'Close': gt 'bratva_pornstudio'
  110. $_studio_str = '<div class="film-info">Profit for the current month: <b><<studio[''money_month'']>></b>р.'
  111. $_studio_str += 'Last month profit: <b><<studio[''money_last_month'']>></b>р.'
  112. $_studio_str += 'Studio balance: <b><<studio[''money'']>></b>р.</div>'
  113. $_studio_str
  114. !--
  115. $_studio_str = '<tr><th>Title</th><th>Status</th><th>...</th>'
  116. $_studio_name[0] = 'Set'
  117. $_studio_name[1] = 'Make-up room'
  118. $_studio_name[2] = 'Office'
  119. $_studio_name[3] = 'Rest zone'
  120. i = 0
  121. :loop_studio
  122. if i < 4:
  123. $_studio_str += '<tr><td>'+$_studio_name[i]+'</td><td><img src="mod/Bratva/locations/city/north/pornstudio/rating/'+(studio['room,<<i>>']*2)+'.png"></td><td>'+func('bratva_pornstudio','mk_upgrade_str','<<i>>')+'</td></tr>'
  124. i += 1
  125. jump 'loop_studio'
  126. end
  127. '<center><table width=700 class="film-table">'+$_studio_str+'</table></center>'
  128. killvar '$_studio_name'
  129. killvar '$_studio_str'
  130. end
  131. ! link building for studio improvement
  132. ! $args[1] - room id
  133. if $args[0] = 'mk_upgrade_str':
  134. _studio_id = val($args[1])
  135. _studio_price[0] = 40000
  136. _studio_price[1] = 20000
  137. _studio_price[2] = 30000
  138. _studio_price[3] = 50000
  139. _studio_upgrade_price = (studio['room,<<_studio_id>>'] + 1)*_studio_price[_studio_id]
  140. if studio['room,<<_studio_id>>'] < 5:
  141. $result = iif(studio['money'] >= _studio_upgrade_price,'<a href="exec:gt''bratva_pornstudio'',''studio_upgrade'',<<_studio_id>>,<<_studio_upgrade_price>>">Upgrade (<<_studio_upgrade_price>>р.)</a>','Upgrade (<<_studio_upgrade_price>>р.)')
  142. else
  143. $result = ''
  144. end
  145. killvar '_studio_id'
  146. killvar '_studio_price'
  147. killvar '_studio_upgrade_price'
  148. end
  149. ! studio repair
  150. if $args[0] = 'studio_upgrade':
  151. *clr & cla
  152. act '<b>Leave<b>':
  153. minut += rand(10,15)
  154. gt 'city_industrial'
  155. end
  156. studio['upgrade_room'] = args[1]
  157. studio['upgrade'] = 3 + studio['room,<<args[1]>>']
  158. _studio_upgrade_price = args[2]
  159. studio['money'] -= _studio_upgrade_price
  160. '<center><img <<$set_imgh>> src="mod/Bratva/locations/city/north/pornstudio/closed.jpg"></center>'
  161. 'Studio closes on <<studio[''upgrade'']>> days for repairs which will cost <<_studio_upgrade_price>>р.'
  162. killvar '_studio_upgrade_price'
  163. end
  164. ! daily recalculations
  165. if $args[0] = 'update_info':
  166. ! studio renovation
  167. if studio['upgrade'] > 0:
  168. studio['upgrade'] -= 1
  169. if studio['upgrade'] = 0:
  170. studio['room,<<studio[''upgrade_room'']>>'] += 1
  171. studio['upgrade_room'] = -1
  172. end
  173. end
  174. ! movie ratings
  175. gs 'bratva_pornstudio_films','update_films_info'
  176. ! actress ratings
  177. gs 'bratva_pornstudio_actress','update_actress_info'
  178. ! studio ratings
  179. studio['work_rating'] = studio['room,0'] * 6 + studio['room,1'] * 6 + studio['room,2'] * 3 + studio['room,3'] * 5
  180. studio['rating'] = (func('bratva_pornstudio_films','avg_rating') + func('bratva_pornstudio_actress','avg_rating'))/2
  181. end
  182. --- bratva_pornstudio ---------------------------------