sitrPar 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # sitrPar
  2. CLOSE ALL
  3. act 'Leave the room':gt 'korrPar'
  4. $metkaM = $ARGS[0]
  5. $locM = $CURLOC
  6. $metka = $ARGS[0]
  7. $loc = $CURLOC
  8. $location_type = 'private'
  9. clr
  10. minut += 1
  11. gs 'stat'
  12. fcolor = rgb(0, 0, 0)
  13. bcolor = rgb(255, 255, 255)
  14. lcolor = rgb(106, 90, 205)
  15. '<center><b><font color="maroon">Hall</font></b></center>'
  16. ! WD: Correct Image path ~ "images/qwest/alter/<<$loc>>.jpg"
  17. '<center><img src="images/qwest/alter/sitrpar.jpg"></center>'
  18. 'The living room has a <a href="exec:gt ''tvPar''">TV</a>, which is near the window. In front of the TV is a sofa, 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.'
  19. gs 'family'
  20. if month = 12 and day >= 20:'A Christmas tree stands next to the TV, decorated with tinsel garlands and other ornaments.'
  21. if month = 12 and day = 31 and hour >= 20:
  22. act 'Celebrate the New Year with your family.':
  23. cls
  24. Astat_rel[29] = 100
  25. Astat_rel[28] = 100
  26. Astat_rel[33] = 100
  27. Astat_rel[34] = 100
  28. money += 5000
  29. hour = 23
  30. minut = 0
  31. minut += 120
  32. son = 0
  33. manna += 1000
  34. wipo += 1000
  35. gs 'food', 'l_meal'
  36. gs 'stat'
  37. '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.'
  38. act 'Leave':gt $curloc
  39. end
  40. elseif month = 1 and day = 1:
  41. act 'Eat some leftovers at the festive table.':
  42. cla
  43. *clr
  44. frost = 0
  45. minut += 15
  46. health += 10
  47. manna += 20
  48. fat += 2
  49. energy += 20
  50. water += 20
  51. cumspclnt = 2
  52. gs 'cum_cleanup'
  53. fbreath = 0
  54. gs 'stat'
  55. '<center><img src="images/pics/food.jpg"></center>'
  56. 'You have finished the leftovers remaining on the table from the holidays.'
  57. act 'Get up from the table':gt $locM, $metkaM
  58. end
  59. end
  60. --- sitrPar ---------------------------------