dinmother.qsrc 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # dinmother
  2. !! Dynamic code has been translated to static code for performance and savegame size reasons.
  3. !! The dynamic variables still exist for compatibility reasons.
  4. !! Whenever possible, don''t use dynamic code (use "gs 'dinmother', 'xxx'" instead of "dynamic $xxx").
  5. $d_mother[1] = "gs 'dinmother', 'd_mother[1]'"
  6. if $ARGS[0] = 'd_mother[1]':
  7. !scandal with my mother
  8. 'You try having a talk with your mother, but she dislikes you way too much to even pretend to be interested in what you have to say. After a while, you give up and leave her alone. Maybe she''ll be in a better mood later.'
  9. if mothersorryday!daystart:
  10. act 'Apologize':
  11. cla
  12. menu_off = 1
  13. mothersorryday=daystart
  14. npc_rel['A29']+=(pcs_intel/10)+(pcs_apprnc/20)
  15. gs'stat'
  16. 'You profusely apologize to your mother and promise you''ll try to be a better person. Even though she''s still upset with you, you can tell her attitude towards you is slightly milder than before.'
  17. act 'Move away from her':gt $loc, $loc_arg
  18. end
  19. end
  20. end
  21. $d_mother[2] = "gs 'dinmother', 'd_mother[2]'"
  22. if $ARGS[0] = 'd_mother[2]':
  23. !strained relations
  24. 'You try to have a talk with your mother, but her answers are really short and she sounds kind of annoyed. After a few minutes she cuts the conversation short, saying she has other things to do now.'
  25. if mothersorryday!daystart:
  26. act 'Try to get on her good side':
  27. cla
  28. menu_off = 1
  29. mothersorryday=daystart
  30. npc_rel['A29']+=(pcs_intel/10)+(pcs_apprnc/20)
  31. gs'stat'
  32. 'You cling onto your mother and try to butter her up a little, talking about things she enjoys. This actually gets her to engage in conversation with you and after a while she seems to be a bit friendlier towards you.'
  33. act 'Move away from her':gt $loc, $loc_arg
  34. end
  35. end
  36. end
  37. $d_mother[3] = "gs 'dinmother', 'd_mother[3]'"
  38. if $ARGS[0] = 'd_mother[3]':
  39. !good relationship
  40. motherTalk = rand (1,10)
  41. if motherTalk = 1:
  42. 'You have a chat with your <<$npc_nickname[''A29'']>>, and she talks about how she and her friends used to make fun of the teachers at school when she was young.'
  43. end
  44. if motherTalk = 2:
  45. 'You barely have any memories of your real father, and are curious about him. When you see your mother in the kitchen you decide to ask: "<<$npc_nickname[''A29'']>>... about my real father... what was he like? What happened between you two?"'
  46. 'You seem to have struck a sore spot. Your mother''s face saddens, and after a few seconds she replies: "I have no idea where Mikhail is and what he does now, I haven''t seen him in many years. We went to the same school when we were young, and were dating back then... nothing serious. Things weren''t great between us, but then I got pregnant with your sister Anya. Our parents forced us to get married. We tried to make the most of it, and for a while things didn''t seem so bad. A few months after I had you, we got into a huge argument though. We decided we couldn''t live together any more, and got divorced." You can''t help but notice she won''t tell you what the argument was about, but you don''t interrupt her. It''s rare enough to get her to talk about your real father as it is.'
  47. '"A year later I married Vladimir, your stepfather. We had Kolka together, but Vladimir always treated you and Anya as if they were his own daughters too. He looked after you, bathed you, told you stories at night and took you for walks whenever he could." Those memories seem to have cheered her up, and she has a serene smile on her face. "Vladimir really is a wonderful man..." she adds, while you thank her for the story and let her get back to what she was doing.'
  48. end
  49. if motherTalk = 3:
  50. 'You have a chat with your <<$npc_nickname[''A29'']>>, and she talks about how to properly apply and remove make-up and how to care for your skin.'
  51. end
  52. if motherTalk = 4:
  53. 'You have a chat with your <<$npc_nickname[''A29'']>>, and she tells you how she likes to go to the village and see the countryside.'
  54. end
  55. if motherTalk = 5:
  56. 'You have a chat with your <<$npc_nickname[''A29'']>>, and she tells you that the market is a great place to find a lot of cheap and useful things.'
  57. end
  58. if motherTalk = 6:
  59. 'You have a chat with your <<$npc_nickname[''A29'']>>, and she tells you that she previously worked as a salesgirl at the market. The wages were rather poor however, and when she got harrassed by Gopniks during her work one too many times she quit.'
  60. end
  61. if motherTalk = 7:
  62. 'You have a chat with your <<$npc_nickname[''A29'']>>, and she tells you how she misses her youth and envies you.'
  63. end
  64. if motherTalk = 8:
  65. 'You have a chat with your <<$npc_nickname[''A29'']>>, and she tells you how she was angry with Anya, when she decided not to go to the university.'
  66. end
  67. if motherTalk = 9:
  68. 'You have a chat with your <<$npc_nickname[''A29'']>>, and she tells you that education is very important and that she hopes you won''t make the same mistake your sister made by not going to the university.'
  69. end
  70. if motherTalk = 10:
  71. 'You have a chat with your <<$npc_nickname[''A29'']>>, and she tells you she had to go to the tailor at the garment factory to get some clothes adjusted after she had went up a few sizes. She proudly added that she had to go back and have them readjusted again when she lost the weight a few months later.'
  72. end
  73. end
  74. $d_mother[4] = "gs 'dinmother', 'd_mother[4]'"
  75. if $ARGS[0] = 'd_mother[4]':
  76. *clr
  77. $result = '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/mom/posuda'+rand(1,3)+'.jpg"></center><br>Your <a href="exec:gt ''mother''"><<$npc_nickname[''A29'']>></a> stands near the sink, washing dishes.'
  78. end
  79. $d_mother[5] = "gs 'dinmother', 'd_mother[5]'"
  80. if $ARGS[0] = 'd_mother[5]':
  81. *clr
  82. $result = '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/mom/gotovka.jpg"></center><br>Your <a href="exec:gt ''mother''"><<$npc_nickname[''A29'']>></a> is preparing meals.'
  83. end
  84. $d_mother[6] = "gs 'dinmother', 'd_mother[6]'"
  85. if $ARGS[0] = 'd_mother[6]':
  86. *clr
  87. $result = '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/mom/tea.jpg"></center><br>Your <a href="exec:gt ''mother''"><<$npc_nickname[''A29'']>></a> is drinking tea.'
  88. end
  89. $d_mother[7] = "gs 'dinmother', 'd_mother[7]'"
  90. if $ARGS[0] = 'd_mother[7]':
  91. *clr
  92. $result = '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/mom/prost'+rand(1,11)+'.jpg"></center><br>Your <a href="exec:gt ''mother''"><<$npc_nickname[''A29'']>></a> is busy in the kitchen and unaware of your presence.'
  93. end
  94. $d_mother[8] = "gs 'dinmother', 'd_mother[8]'"
  95. if $ARGS[0] = 'd_mother[8]':
  96. *clr
  97. $result = '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/mom/uborka'+rand(1,3)+'.jpg"></center><br>Your <a href="exec:gt ''mother''"><<$npc_nickname[''A29'']>></a> is cleaning with a broom in her hand.'
  98. end
  99. --- dinmother ---------------------------------