vokzaltorg.qsrc 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # vokzaltorg
  2. cls
  3. minut += 30
  4. prodskill = pcs_apprnc/4 + pcs_sprt + pcs_dom
  5. if prodskill < 20:prodskill = 20
  6. if prodskill > 150:minimumtov = 3
  7. if prodskill > 100 and prodskill <= 150:minimumtov = 2
  8. if prodskill < 100:minimumtov = 1
  9. tovarand = rand(minimumtov, prodskill / 10)
  10. if tovarand > tovarL:tovarand = tovarL
  11. tovpay = tovarand * 300
  12. money += tovpay
  13. tovarL -= tovarand
  14. sprt_exp += rand(0, 1)
  15. TorgVokzalTimes += 1
  16. pcs_dom += 1
  17. gs 'stat'
  18. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/market/peron.jpg"></center>'
  19. 'You manage to sell <<tovarand>> trinkets to passengers today, while earning <<tovpay>> <b>₽</b>.'
  20. act 'Leave':
  21. cls
  22. gs 'stat'
  23. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
  24. if pcs_intel + pcs_prcptn > 80 and rand(0,5) = 5:
  25. 'Two police officers had been keeping an eye on you while you were trying to sell your goods, and when you move to leave the platform they move to intercept you, but you time your leaving with a large group of students and hide yourself amongst them. The police officers get caught up in the crowd and your route clear opens up.'
  26. act 'Leave':minut += 1 & gt 'vokzalGin'
  27. exit
  28. else
  29. 'Two police officers had been keeping an eye on you while you were trying to sell your goods, and when you move to leave the platform they approach you. Captain Katalkin says: "Excuse me miss, we saw you were attempting to sell items to passengers. Do you have the proper permits for that? We need to see your papers."'
  30. end
  31. if money >= 500:
  32. act 'Bribe them (500 <b>₽</b>)':
  33. cls
  34. money -= 500
  35. gs 'stat'
  36. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
  37. 'You smile at them: "Permits, officer? Of course I have the permits, one moment..."'
  38. 'You look around and, when you''re sure the coast is clear, stick out your hand with a 500 <b>₽</b> note in it.'
  39. 'The police officers smile at you and quickly take the money before they walk away: "I see everything''s in order. Have a nice day, miss."'
  40. act 'Leave':minut += 1 & gt 'vokzalGin'
  41. end
  42. end
  43. act 'Beg him to forgive you':
  44. cls
  45. gs 'stat'
  46. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
  47. 'You show him your best innocent face and say: "Please sir, times are tough! I''ll get the permit, I''m sorry! Please let me go, I promise it won''t happen again!"'
  48. if katalkinSexOnce = 0:
  49. schtraf = 500
  50. 'Captain Katalkin grins at you: "We''ll see... come with me to the police station, we''ll have to have a little chat about this."'
  51. act 'Go to the police station':minut += 5 & katalkinNoexit = 1 & gt 'katalkin'
  52. else
  53. if katalkinSexDay+7 >= daystart:
  54. 'Captain Katalkin recognizes you and grins, remembering his recent adventures with you: "You again? Well okay, go on then, run along."'
  55. act 'Thank him and leave':minut += 1 & gt 'vokzalGin'
  56. elseif katalkinSexDay + 7 < daystart:
  57. 'Captain Katalkin suddenly recognizes you and frowns: "<<$pcs_nickname>>? You haven''t come to see me in a long time... I thought we had an agreement. Are you avoiding me?"'
  58. act 'No you haven''t!':
  59. cls
  60. gs 'stat'
  61. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
  62. 'You blurt out a mixture of protests and apologies: "No sir! I''ve just been busy, that''s all... I''m sorry."'
  63. 'Captain Katalkin''s face brightens: "We can fix that. You''re coming with me to the police station now. I think I need to perform a thorough cavity search, to make sure you''re not smuggling anything."'
  64. 'He firmly puts his hand on your shoulder, and begins to walk towards the police station.'
  65. act 'Blush and let him guide you':minut += 5 & katalkinNoexit = 1 & gt 'katalkin'
  66. end
  67. end
  68. end
  69. end
  70. act 'Admit you have no permit':
  71. cls
  72. money = 0
  73. tovarL = 0
  74. minut += 120
  75. pcs_mood += 5
  76. gs'stat'
  77. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
  78. 'You decide to come clean to them, and admit you don''t have the required papers. The policemen do what you expected. They take you to the police station and confiscate all of your money and items, even the money that you didn''t earn by selling souvenirs. You try to object, but they don''t listen and tell you you''re lucky to not end up in jail for this. After two hours and a stern talking-to about the importance of permits, you''re free to go. You feel terrible.'
  79. act 'Leave the police station':minut += 1 & gt'vokzalGin'
  80. end
  81. end
  82. --- vokzaltorg ---------------------------------