1
0

105_bouling 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. # bouling
  2. $sexloc = $CURLOC
  3. gs 'stat'
  4. <<<<<<< 105_bouling
  5. '<center><B>Bowling</B></center>'
  6. '<center><img src="images\img\centr\boul.jpg"></center>'
  7. act 'Leave': gt 'torgcentr'
  8. if hour >= 8 and hour <= 20:
  9. act 'Play 300 rubles (1:00)':
  10. if money < 300: 'You have no money'
  11. if money >= 300:
  12. set money -= 300
  13. set boulingnav += rand(0,3)
  14. set minut += 60
  15. set boulrand = rand(0,9)
  16. set boulvar = 0
  17. if boulrand = 0:
  18. cla
  19. 'To suit you two guys and offer to play with them'
  20. act 'Gamble, bet 2000': set boulvar = 1 & gt 'bouling','randwin'
  21. act 'Leave': gt 'torgcentr'
  22. end
  23. if boulrand = 1:
  24. cla
  25. 'To suit you two girls and offer to play with them against two guys prize 5000, at a loss of sex.'
  26. act 'Play': set boulvar = 2 & gt 'bouling','randwin'
  27. act 'Leave': gt 'torgcentr'
  28. end
  29. if boulrand > 1:
  30. cla
  31. 'You played billiards'
  32. act 'Leave': gt 'torgcentr'
  33. end
  34. end
  35. end
  36. if money >= 300:
  37. act 'Play for money':
  38. set money -= 300
  39. set minut += 60
  40. set boulvar = 0
  41. gt 'bouling','randwin'
  42. end
  43. end
  44. =======
  45. '<center><B>bowling</B></center>'
  46. '<center><img src="img/centr/boul.jpg" ></center>'
  47. act 'Get_Away':gt'torgcentr'
  48. if hour >= 8 and hour <= 20:
  49. act 'play 300 rubles per hour':
  50. if money<300:'You have no money'
  51. if money>=300:
  52. set money-=300
  53. set boulingnav+=rand(0,3)
  54. set minut+=60
  55. set boulrand=rand(0,9)
  56. set boulvar=0
  57. if boulrand=0:
  58. cla
  59. 'For you fit two guys and offer to play with them'
  60. act 'Play for Money, rate 2000':set boulvar=1&gt 'bouling','randwin'
  61. act 'Get_Away':gt'torgcentr'
  62. end
  63. if boulrand=1:
  64. cla
  65. 'For you fit two girls and offer to play with them against two guys, prize 5000, at a loss of sex.'
  66. act 'play':set boulvar=2&gt 'bouling','randwin'
  67. act 'Get_Away':gt'torgcentr'
  68. end
  69. if boulrand>1:
  70. cla
  71. 'You played billiards'
  72. act 'Get_Away':gt'torgcentr'
  73. end
  74. end
  75. end
  76. if money>=300:
  77. act 'Play for Money':
  78. set money-=300
  79. set minut+=60
  80. set boulvar=0
  81. gt 'bouling','randwin'
  82. end
  83. end
  84. >>>>>>> 105_bouling
  85. end
  86. if $ARGS[0] = 'randwin':
  87. cla
  88. <<<<<<< 105_bouling
  89. if boulingnav < 10: set boulwin = rand(0,10)
  90. if boulingnav >= 10 and boulingnav < 20: set boulwin = rand(0,12)
  91. if boulingnav >= 20 and boulingnav < 30: set boulwin = rand(0,14)
  92. if boulingnav >= 30 and boulingnav < 40: set boulwin = rand(0,16)
  93. if boulingnav >= 40 and boulingnav < 50: set boulwin = rand(0,18)
  94. if boulingnav >= 50 and boulingnav < 60: set boulwin = rand(0,20)
  95. if boulingnav >= 60 and boulingnav < 70: set boulwin = rand(0,22)
  96. if boulingnav >= 70 and boulingnav < 80: set boulwin = rand(0,24)
  97. if boulingnav >= 80 and boulingnav < 90: set boulwin = rand(0,26)
  98. if boulingnav >= 90: set boulwin = rand(0,28)
  99. if boulwin > 10 and boulvar = 1:
  100. set money += 2000
  101. 'You won and received 2000 rubles.'
  102. act 'Leave': gt 'torgcentr'
  103. end
  104. if boulwin > 10 and boulvar = 2:
  105. set money += 5000
  106. 'You won and received 5000 rubles.'
  107. act 'Leave': gt 'torgcentr'
  108. end
  109. if boulwin <= 10 and boulvar = 1:
  110. set picrand = 14
  111. if money >= 2000:
  112. 'You lose and have to pay 2000 rubles.'
  113. act 'Offer in-kind': xgt 'sexdvoe','var'
  114. act 'Pay':
  115. set money -= 2000
  116. gt 'torgcentr'
  117. end
  118. end
  119. if money < 2000:
  120. 'You lost, but you do not have money to pay, only one payment method.'
  121. act 'In kind': xgt 'sexdvoe','var'
  122. end
  123. end
  124. if boulwin <= 10 and boulvar = 2:
  125. set picrand = 11
  126. 'You lose, will push the legs.'
  127. act 'Pay': gt 'sexorg','var'
  128. end
  129. if boulwin > 10 and boulvar = 0:
  130. set money += 300
  131. 'You won and got 300 rubles.'
  132. act 'Leave': gt 'torgcentr'
  133. end
  134. if boulwin <= 10 and boulvar = 0:
  135. !set money -= 300
  136. 'You lost and paid 300 rubles.'
  137. act 'Leave': gt 'torgcentr'
  138. end
  139. =======
  140. if boulingnav<10:set boulwin=rand(0,10)
  141. if boulingnav>=10 and boulingnav<20:set boulwin=rand(0,12)
  142. if boulingnav>=20 and boulingnav<30:set boulwin=rand(0,14)
  143. if boulingnav>=30 and boulingnav<40:set boulwin=rand(0,16)
  144. if boulingnav>=40 and boulingnav<50:set boulwin=rand(0,18)
  145. if boulingnav>=50 and boulingnav<60:set boulwin=rand(0,20)
  146. if boulingnav>=60 and boulingnav<70:set boulwin=rand(0,22)
  147. if boulingnav>=70 and boulingnav<80:set boulwin=rand(0,24)
  148. if boulingnav>=80 and boulingnav<90:set boulwin=rand(0,26)
  149. if boulingnav>=90:set boulwin=rand(0,28)
  150. if boulwin>10 and boulvar=1:
  151. set money+=2000
  152. 'You won and received 2000 RUB.'
  153. act 'Get_Away':gt'torgcentr'
  154. end
  155. if boulwin>10 and boulvar=2:
  156. set money+=5000
  157. 'You won and received 5000 RUB.'
  158. act 'Get_Away':gt'torgcentr'
  159. end
  160. if boulwin<=10 and boulvar=1:
  161. set picrand=14
  162. if money>=2000:
  163. 'You lose and have to pay 2000 RUB.'
  164. act 'suggest kind': xgt'sexdvoe','var'
  165. act 'pay':
  166. set money-=2000
  167. gt'torgcentr'
  168. end
  169. end
  170. if money<2000:
  171. 'you lost, but you have no money to pay, only one payment method.'
  172. act 'in_kind': xgt'sexdvoe','var'
  173. end
  174. end
  175. if boulwin<=10 and boulvar=2:
  176. set picrand=11
  177. 'you lost, have to push the legs.'
  178. act 'pay':gt 'sexorg','var'
  179. end
  180. if boulwin>10 and boulvar=0:
  181. set money+=300
  182. 'You won and received 300 RUB.'
  183. act 'Get_Away':gt'torgcentr'
  184. end
  185. if boulwin<=10 and boulvar=0:
  186. !set money-=300
  187. 'You lost and paid 300 RUB.'
  188. act 'Get_Away':gt'torgcentr'
  189. end
  190. >>>>>>> 105_bouling
  191. end
  192. if $ARGS[0] = 'start':
  193. <<<<<<< 105_bouling
  194. '<center><B>Bowling</B></center>'
  195. '<center><img src="images\img\centr\boul.jpg"></center>'
  196. act 'Leave': gt 'bouling'
  197. =======
  198. '<center><B>bowling</B></center>'
  199. '<center><img src="img/centr/boul.jpg" ></center>'
  200. act 'Get_Away':gt'bouling'
  201. >>>>>>> 105_bouling
  202. end
  203. --- bouling ---------------------------------