1
0

bouling 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. # bouling
  2. $sexloc = $CURLOC
  3. cls
  4. $location_type = 'public_indoors'
  5. gs 'stat'
  6. '<center><b>Bowling</b></center>'
  7. '<center><img src="images/img/centr/boul.jpg"></center>'
  8. act 'Leave':gt 'torgcentr'
  9. if hour >= 8 and hour <= 20:
  10. act 'Play (300 <b>₽</b>) (1:00)':
  11. if money < 300:
  12. 'You don''t have enough money.'
  13. else
  14. money -= 300
  15. minut += 60
  16. boulvar = 0
  17. boulingnav += rand(0, 3)
  18. boulrand = rand(0, 9)
  19. dynamic $CatName, 'Bowling Competitor'
  20. dynamic $CatName, 'Bowling Competitor', '$boy1'
  21. if boulrand = 0:
  22. cla
  23. 'You see two guys and they challenge you to a game.'
  24. act 'Gamble (2000 <b>₽</b>)':boulvar = 1 & gt 'bouling', 'randwin'
  25. act 'Leave':gt 'torgcentr'
  26. elseif boulrand = 1:
  27. cla
  28. 'You meet two girls and they suggest challenging two guys to a game: Prize 5000 <b>₽</b>, lose and they have sex with you.'
  29. act 'Play':boulvar = 2 & gt 'bouling', 'randwin'
  30. act 'Leave':gt 'torgcentr'
  31. elseif boulrand > 1:
  32. cla
  33. 'You play a game.'
  34. act 'Leave':gt 'torgcentr'
  35. end
  36. end
  37. end
  38. if money >= 300:
  39. act 'Play for money (300 <b>₽</b>)':
  40. money -= 300
  41. minut += 60
  42. boulvar = 0
  43. gt 'bouling', 'randwin'
  44. end
  45. end
  46. end
  47. if $ARGS[0] = 'randwin':
  48. cla
  49. if boulingnav < 10:boulwin = rand(0, 10)
  50. if boulingnav >= 10 and boulingnav < 20:boulwin = rand(0, 12)
  51. if boulingnav >= 20 and boulingnav < 30:boulwin = rand(0, 14)
  52. if boulingnav >= 30 and boulingnav < 40:boulwin = rand(0, 16)
  53. if boulingnav >= 40 and boulingnav < 50:boulwin = rand(0, 18)
  54. if boulingnav >= 50 and boulingnav < 60:boulwin = rand(0, 20)
  55. if boulingnav >= 60 and boulingnav < 70:boulwin = rand(0, 22)
  56. if boulingnav >= 70 and boulingnav < 80:boulwin = rand(0, 24)
  57. if boulingnav >= 80 and boulingnav < 90:boulwin = rand(0, 26)
  58. if boulingnav >= 90:boulwin = rand(0, 28)
  59. if boulwin > 10 and boulvar = 0:
  60. money += 300
  61. 'You won and received 300 <b>₽</b>.'
  62. act 'Get_Away':gt 'torgcentr'
  63. elseif boulwin > 10 and boulvar = 1:
  64. money += 2000
  65. 'You won and received 2,000 <b>₽</b>.'
  66. act 'Leave':gt 'torgcentr'
  67. elseif boulwin > 10 and boulvar = 2:
  68. money += 5000
  69. 'You won and received 5,000 <b>₽</b>.'
  70. act 'Leave':gt 'torgcentr'
  71. elseif boulwin <= 10 and boulvar = 0:
  72. money -= 300
  73. 'You lost and paid 300 <b>₽</b>.'
  74. act 'Leave':gt 'torgcentr'
  75. elseif boulwin <= 10 and boulvar = 1:
  76. picrand = 14
  77. if money >= 2000:
  78. 'You lose and have to pay 2,000 <b>₽</b>.'
  79. act 'Offer sex instead':xgt 'sexdvoe', 'var'
  80. act 'Pay':
  81. money -= 2000
  82. gt 'torgcentr'
  83. end
  84. else
  85. 'You lost, but you do not have money to pay, only one thing for it.'
  86. act 'Offer sex instead':xgt 'sexdvoe', 'var'
  87. end
  88. elseif boulwin <= 10 and boulvar = 2:
  89. picrand = 11
  90. 'You lose, open those legs.'
  91. act 'Pay':gt 'sexorg', 'var'
  92. end
  93. end
  94. if $ARGS[0] = 'start':gt 'bouling'
  95. --- bouling ---------------------------------