mod_addedflavour_SFLA_Sitr.qsrc 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # mod_addedflavour_SFLA_Sitr
  2. if $ARGS[0] = 'start' or $ARGS[0] = '':
  3. *clr & cla
  4. CLOSE ALL
  5. $locM = 'mod_addedflavour_SFLA_Sitr'
  6. $locM_arg = 'start'
  7. $loc = 'mod_addedflavour_SFLA_Sitr'
  8. $loc_arg = 'start'
  9. $menu_loc = 'mod_addedflavour_SFLA_Sitr'
  10. $menu_arg = 'start'
  11. menu_off = 0
  12. $location_type = 'private'
  13. $locclass = 'livingr'
  14. gs 'themes', 'indoors'
  15. gs 'mod_addedflavour_charsche' , 'chkschedule'
  16. gs 'stat'
  17. if modVar_AF_SFLA_AptContributions['PCS'] < 0:
  18. $modVar_AF_PlayerWarning['SFLA-InDebt'] = 1
  19. else
  20. $modVar_AF_PlayerWarning['SFLA-InDebt'] = 0
  21. end
  22. if modVar_AF_SFLA_AptContributions['PCS'] < -5000 and (hour >= 9 and hour < 23):
  23. gt 'mod_addedflavour_SFLA_Events' , 'SFLA-AptLive-KickOut'
  24. end
  25. if sound = 0 : gs 'mod_addedflavour_SFLA_Functions' , 'soundgen'
  26. if modVar_AF_LocBlock['SFLA_Bedr1'] = 1:
  27. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'mod_addedflavour_SFLA_Bedr1' , 'Sex'
  28. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') = 0 : modVar_AF_LocBlock['SFLA_Bedr1'] = 0
  29. elseif modVar_AF_LocBlock['SFLA_Bedr2'] = 1:
  30. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'mod_addedflavour_SFLA_Bedr2' , 'Sex'
  31. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') = 0 : modVar_AF_LocBlock['SFLA_Bedr2'] = 0
  32. elseif modVar_AF_LocBlock['SFLA_Bedr3'] = 1:
  33. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'mod_addedflavour_SFLA_Bedr3' , 'Sex'
  34. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') = 0 : modVar_AF_LocBlock['SFLA_Bedr3'] = 0
  35. end
  36. if modVar_AF_SFLA_AptRProg['Sitr'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
  37. $modVar_AF_TempStr = 'Lv2'
  38. else
  39. $modVar_AF_TempStr = 'Lv1'
  40. end
  41. '<center><b><font color="maroon">Living Room</font></b></center>'
  42. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Sitr<<$modVar_AF_TempStr>>.jpg"></center>'
  43. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-UpgradeRoom-Check' , 'Sitr'
  44. if modVar_AF_SFLA_AptRProg['Sitr'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
  45. 'You are standing in a very nice looking Living Room with plenty of space and seating, all set in an environment of peace and comfort.'
  46. else
  47. 'You are standing in an open Lounge. It is acting as the hub for the whole apartment as well as the first room you see as you come through the door.'
  48. end
  49. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'mod_addedflavour_SFLA_Sitr'
  50. *nl
  51. '<b>Bulletin Board:</b>'
  52. 'A Sheet of Paper detailing Apartment <a href="exec: gt ''mod_addedflavour_SFLA_Functions'' , ''SFLA-AptBoard-Contributions'' ">Finances</a>'
  53. *nl
  54. if $modVar_AF_PlayerWarning['SFLA-RentPaid'] = 1:
  55. '<font color="Red">Your Rent of <<modVar_AF_SFLA_AptState[''Rent'']>>₽ has been taken out of your contributions for this week</font>'
  56. *nl
  57. end
  58. if $modVar_AF_PlayerWarning['SFLA-InDebt'] = 1:
  59. modVar_AF_Temp = (modVar_AF_SFLA_AptContributions['PCS'] - modVar_AF_SFLA_AptContributions['PCS']) - modVar_AF_SFLA_AptContributions['PCS']
  60. '<font color="Red">You are behind in your payments by <<modVar_AF_Temp>>₽</font>'
  61. *nl
  62. end
  63. if modVar_AF_SFLA_KolkaVisit['LeaveDate'] = daystart:
  64. '<font color="Red">Kolka is leaving the Apartment to go back home today</font>'
  65. *nl
  66. elseif modVar_AF_SFLA_KolkaVisit['LeaveDate'] - 1 = daystart:
  67. '<font color="Red">Kolka is leaving the Apartment to go back home tomorrow</font>'
  68. *nl
  69. end
  70. '<b>Furniture:</b>'
  71. 'A Sofa to Relax on or <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''watchtv'' ">Watch TV</a>'
  72. act 'Watch TV (0:30)' : gt 'mod_addedflavour_SFLA_Events' , 'watchtv'
  73. if modVar_AF_SFLA_AptRProg['Sitr'] >= modVar_AF_SFLA_AptRProg['Lv2Req']:
  74. *nl
  75. '<b>Activities</b>'
  76. 'A <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''videogames'' ">Video Game Console</a> hooked up to the TV'
  77. act 'Play Video Games(0:30)' : gt 'mod_addedflavour_SFLA_Events' , 'videogames'
  78. end
  79. act 'Relax (0:30)' : gt 'mod_addedflavour_SFLA_Events' , 'relax' , 30
  80. if komp = 1:
  81. act 'Fetch Laptop (0:15)' : gt 'mod_addedflavour_SFLA_Events' , 'computertime' , 'PCS'
  82. end
  83. act '<b>Go To Kitchen</b>' : minut += 1 & gt 'mod_addedflavour_SFLA_Kit' , 'start'
  84. if modVar_AF_LocBlock['SFLA_Bedr1'] = 0:
  85. act '<b>Go To Kazumi''s Room</b>' : minut += 1 & gt 'mod_addedflavour_SFLA_Bedr1' , 'start'
  86. end
  87. if modVar_AF_LocBlock['SFLA_Bedr2'] = 0:
  88. act '<b>Go To Elizabeth''s Room</b>' : minut += 1 & gt 'mod_addedflavour_SFLA_Bedr2' , 'start'
  89. end
  90. if modVar_AF_LocBlock['SFLA_Bedr3'] = 0:
  91. act '<b>Go To Janina''s Room</b>' : minut += 1 & gt 'mod_addedflavour_SFLA_Bedr3' , 'start'
  92. end
  93. act '<b>Go To <<$pcs_firstname>>''s Room</b>' : minut += 1 & gt 'mod_addedflavour_SFLA_Bedr4' , 'start'
  94. act '<b>Go To Spare Room</b>' : minut += 1 & gt 'mod_addedflavour_SFLA_SpRm' , 'start'
  95. act '<b>Go To Balcony</b>' : minut += 1 & gt 'mod_addedflavour_SFLA_Bal' , 'start'
  96. if $clothingworntype ! 'nude':
  97. act '<b>Leave Apartment</b>' : minut += 5 & gt 'city_center'
  98. else
  99. *nl
  100. '<b>You cannot leave the Apartment with no clothes on!!!</b>'
  101. end
  102. end
  103. --- mod_addedflavour_SFLA_Sitr ---------------------------------