sitrPar.qsrc 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # sitrPar
  2. CLOSE ALL
  3. act 'Leave the room':gt 'korrPar'
  4. $metka = ''
  5. $loc = 'sitrPar'
  6. $location_type = 'private'
  7. $locclass = 'sitroom'
  8. clr
  9. minut += 1
  10. gs 'stat'
  11. if night_mode = 1:
  12. fcolor = rgb(255, 255, 255)
  13. bcolor = rgb(0, 0, 0)
  14. lcolor = rgb(106, 90, 205)
  15. else
  16. fcolor = rgb(0, 0, 0)
  17. bcolor = rgb(255, 255, 255)
  18. lcolor = rgb(106, 90, 205)
  19. end
  20. '<center><b><font color="maroon">Living Room</font></b></center>'
  21. ! WD: Correct Image path ~ "images/qwest/alter/<<$loc>>.jpg"
  22. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/sitrpar.jpg"></center>'
  23. ''
  24. 'The living room has a <a href="exec:gt ''TV'',''pav''">TV</a>, which is near the window. In front of the TV is a <a href="exec:gt ''family'',''sofa''">sofa bed</a>, on which your brother sleeps at night. A large tapestry covers one wall, while the other wall has several shelves on it, stocked with books and other things.'
  25. gs 'family'
  26. gs 'subkid'
  27. if month = 12 and day >= 20:'A Christmas tree stands next to the TV, decorated with tinsel garlands and other ornaments.'
  28. if month = 12 and day = 31 and hour >= 20:
  29. act 'Celebrate the New Year with your family.':
  30. cls
  31. npc_rel['A29'] = 100
  32. npc_rel['A28'] = 100
  33. npc_rel['A33'] = 100
  34. npc_rel['A34'] = 100
  35. money += 5000
  36. hour = 23
  37. minut = 0
  38. minut += 120
  39. pcs_sleep = 0
  40. pcs_mood += 100
  41. wipo += 1000
  42. gs 'food', 'l_meal'
  43. gs 'stat'
  44. 'You sit at the festive table laid in front of the TV and celebrate the New Year with your family, the TV providing some background noise. At the table people strike up a conversation and common problems are forgotten for a while, everyone is having fun talking to each other. At midnight, everyone wishes one another a happy New Year and enjoys the champagne and fireworks outside. Your mom gives you an envelope with a greeting card and five thousand <b>₽</b>. For a while you continue to watch TV, enjoying the champagne and company of your family, but after a while everyone is kind of tired and one by one they go to bed.'
  45. act 'Leave':gt $loc, $metka
  46. end
  47. elseif month = 1 and day = 1:
  48. act 'Eat some leftovers at the festive table.':
  49. cla
  50. *clr
  51. frost = 0
  52. minut += 15
  53. pcs_health += 10
  54. pcs_mood += 20
  55. fat += 2
  56. pcs_energy += 20
  57. pcs_hydra += 20
  58. cumspclnt = 2
  59. gs 'cum_cleanup'
  60. pcs_breath = 0
  61. gs 'stat'
  62. '<center><img <<$set_imgh>> src="images/shared/food/food.jpg"></center>'
  63. 'You have finished the leftovers remaining on the table from the holidays.'
  64. act 'Get up from the table':gt $loc, $metka
  65. end
  66. end
  67. --- sitrPar ---------------------------------