mod_addedflavour_SFLA_Functions.qsrc 79 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369
  1. # mod_addedflavour_SFLA_Functions
  2. if $ARGS[0] = 'configurestart':
  3. modVar_AF_SFLA_DayTracker['Day'] = daystart
  4. modVar_AF_SFLA_AptPerishables['Razor'] = 5
  5. modVar_AF_SFLA_AptPerishables['Ointment'] = 5
  6. modVar_AF_SFLA_AptPerishables['Tampon'] = 5
  7. modVar_AF_SFLA_AptPerishables['Sanpad'] = 5
  8. modVar_AF_SFLA_AptPerishables['Deodorant'] = 5
  9. modVar_AF_SFLA_AptPerishables['Shampoo'] = 5
  10. modVar_AF_SFLA_AptPerishables['Painkillers'] = 5
  11. modVar_AF_SFLA_AptPerishables['Sunlotion'] = 5
  12. modVar_AF_SFLA_AptPerishables['Dishliquid'] = 5
  13. modVar_AF_SFLA_AptPerishables['Biscuits'] = 5
  14. modVar_AF_SFLA_AptPerishables['Lightmeal'] = 5
  15. modVar_AF_SFLA_AptPerishables['Fullmeal'] = 1
  16. modVar_AF_SFLA_AptPerishables['Fatburners'] = 5
  17. modVar_AF_SFLA_AptPerishables['Vitamin'] = 5
  18. modVar_AF_SFLA_AptContributions['PCS'] = 0
  19. modVar_AF_SFLA_AptContributions['700'] = 200
  20. modVar_AF_SFLA_AptContributions['701'] = -100
  21. modVar_AF_SFLA_AptContributions['702'] = 500
  22. modVar_AF_SFLA_AptState['Washdishes'] = 0
  23. modVar_AF_SFLA_AptState['Rent'] = 500 * difficulty
  24. modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 0
  25. modVar_AF_SFLA_AptState['GuestID'] = 0
  26. modVar_AF_LocBlock['SFLA_Bedr1'] = 0
  27. modVar_AF_LocBlock['SFLA_Bedr2'] = 0
  28. modVar_AF_LocBlock['SFLA_Bedr3'] = 0
  29. modVar_AF_RelLock['A700'] = npc_rel['A700']
  30. modVar_AF_RelLock['A701'] = npc_rel['A701']
  31. modVar_AF_RelLock['A702'] = npc_rel['A702']
  32. modVar_AF_RelLock['A34'] = npc_rel['A34']
  33. modVar_AF_RelLock['A144'] = npc_rel['A144']
  34. modVar_AF_NPCGreetingDay['A700'] = 0
  35. modVar_AF_NPCGreetingDay['A701'] = 0
  36. modVar_AF_NPCGreetingDay['A702'] = 0
  37. modVar_AF_NPCGreetingDay['A34'] = 0
  38. $modVar_AF_NPCLastKnownLocation['A700'] = ''
  39. $modVar_AF_NPCLastKnownLocation['A701'] = ''
  40. $modVar_AF_NPCLastKnownLocation['A702'] = ''
  41. modVar_AF_SexProg['A700'] = 0
  42. modVar_AF_SexProg['A701'] = 0
  43. modVar_AF_SexProg['A702'] = 0
  44. modVar_AF_SexProg['A703'] = 0
  45. modVar_AF_SexProg['TouchGate'] = 30
  46. modVar_AF_SexProg['KissGate'] = 40
  47. modVar_AF_SexProg['OralGate'] = 50
  48. modVar_AF_SexProg['VaginalGate'] = 60
  49. modVar_AF_SexProg['ThreesomeGate'] = 80
  50. modVar_AF_SexProg['A700XA701'] = 20
  51. modVar_AF_SexProg['A700XA702'] = 20
  52. modVar_AF_SexProg['A700XA703'] = 0
  53. modVar_AF_SexProg['A34XA700'] = 0
  54. modVar_AF_SexProg['A701XA702'] = 20
  55. modVar_AF_SexProg['A701XA703'] = 0
  56. modVar_AF_SexProg['A34XA701'] = 0
  57. modVar_AF_SexProg['A702XA703'] = 0
  58. modVar_AF_SexProg['A34XA702'] = 0
  59. modVar_AF_SFLA_AptRProg['Lv2Req'] = 12
  60. modVar_AF_SFLA_AptRProg['BaRm'] = 0
  61. modVar_AF_SFLA_AptRProg['BaRmTime'] = 1
  62. modVar_AF_SFLA_AptRProg['BaRmCost'] = 2000
  63. modVar_AF_SFLA_AptRProg['Bedr1'] = 0
  64. modVar_AF_SFLA_AptRProg['Bedr1Time'] = 1
  65. modVar_AF_SFLA_AptRProg['Bedr1Cost'] = 1000
  66. modVar_AF_SFLA_AptRProg['Bedr2'] = 0
  67. modVar_AF_SFLA_AptRProg['Bedr2Time'] = 1
  68. modVar_AF_SFLA_AptRProg['Bedr2Cost'] = 1000
  69. modVar_AF_SFLA_AptRProg['Bedr3'] = 0
  70. modVar_AF_SFLA_AptRProg['Bedr3Time'] = 1
  71. modVar_AF_SFLA_AptRProg['Bedr3Cost'] = 1000
  72. modVar_AF_SFLA_AptRProg['Bedr4'] = 0
  73. modVar_AF_SFLA_AptRProg['Bedr4Time'] = 1
  74. modVar_AF_SFLA_AptRProg['Bedr4Cost'] = 1000
  75. modVar_AF_SFLA_AptRProg['Kit'] = 0
  76. modVar_AF_SFLA_AptRProg['KitTime'] = 2
  77. modVar_AF_SFLA_AptRProg['KitCost'] = 2000
  78. modVar_AF_SFLA_AptRProg['Sitr'] = 0
  79. modVar_AF_SFLA_AptRProg['SitrTime'] = 1
  80. modVar_AF_SFLA_AptRProg['SitrCost'] = 2000
  81. modVar_AF_SFLA_AptRProg['SpRm'] = 0
  82. modVar_AF_SFLA_AptRProg['SpRmTime'] = 2
  83. modVar_AF_SFLA_AptRProg['SpRmCost'] = 3000
  84. end
  85. if $ARGS[0] = 'configureSFLA':
  86. gs 'mod_addedflavour_A700_Functions' , 'A700-FileRepository-Config' , 'Images'
  87. gs 'mod_addedflavour_A700_Functions' , 'A700-FileRepository-Config' , 'Videos'
  88. gs 'mod_addedflavour_A701_Functions' , 'A701-FileRepository-Config' , 'Images'
  89. gs 'mod_addedflavour_A701_Functions' , 'A701-FileRepository-Config' , 'Videos'
  90. gs 'mod_addedflavour_A702_Functions' , 'A702-FileRepository-Config' , 'Images'
  91. gs 'mod_addedflavour_A702_Functions' , 'A702-FileRepository-Config' , 'Videos'
  92. gs 'mod_addedflavour_SFLA_Functions' , 'ActivityImage-Config'
  93. gs 'mod_addedflavour_SFLA_Functions' , 'configurestart'
  94. end
  95. if $ARGS[0] = 'ActivityImage-Config':
  96. KILLVAR '$modArr_AF_Activity_ImagesLoc'
  97. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 1.jpg'
  98. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 2.jpg'
  99. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 3.jpg'
  100. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 4.jpg'
  101. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 5.jpg'
  102. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 6.jpg'
  103. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 7.jpg'
  104. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 8.jpg'
  105. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 9.jpg'
  106. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 10.jpg'
  107. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 11.jpg'
  108. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 12.jpg'
  109. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 13.jpg'
  110. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 14.jpg'
  111. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 15.jpg'
  112. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 16.jpg'
  113. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 17.jpg'
  114. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 18.jpg'
  115. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 19.jpg'
  116. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 20.jpg'
  117. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 21.jpg'
  118. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 22.jpg'
  119. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 23.jpg'
  120. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 24.jpg'
  121. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 25.jpg'
  122. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 26.jpg'
  123. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 27.jpg'
  124. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 28.jpg'
  125. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 29.jpg'
  126. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 30.jpg'
  127. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 31.jpg'
  128. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 32.jpg'
  129. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 33.jpg'
  130. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 34.jpg'
  131. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 35.jpg'
  132. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 36.jpg'
  133. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 37.jpg'
  134. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 38.jpg'
  135. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 39.jpg'
  136. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 40.jpg'
  137. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 41.jpg'
  138. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 42.jpg'
  139. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 43.jpg'
  140. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 44.jpg'
  141. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 45.jpg'
  142. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 46.jpg'
  143. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 47.jpg'
  144. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 48.jpg'
  145. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 49.jpg'
  146. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 50.jpg'
  147. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 51.jpg'
  148. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 52.jpg'
  149. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 53.jpg'
  150. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 54.jpg'
  151. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 55.jpg'
  152. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 56.jpg'
  153. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 57.jpg'
  154. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 58.jpg'
  155. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 59.jpg'
  156. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 60.jpg'
  157. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 61.jpg'
  158. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 62.jpg'
  159. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 63.jpg'
  160. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 64.jpg'
  161. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 65.jpg'
  162. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 66.jpg'
  163. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 67.jpg'
  164. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 68.jpg'
  165. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 69.jpg'
  166. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 70.jpg'
  167. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 71.jpg'
  168. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 72.jpg'
  169. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 73.jpg'
  170. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 74.jpg'
  171. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 75.jpg'
  172. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 76.jpg'
  173. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 77.jpg'
  174. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 78.jpg'
  175. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 79.jpg'
  176. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 80.jpg'
  177. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 81.jpg'
  178. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 82.jpg'
  179. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 83.jpg'
  180. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 84.jpg'
  181. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 85.jpg'
  182. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 86.jpg'
  183. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 87.jpg'
  184. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 88.jpg'
  185. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 89.jpg'
  186. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 90.jpg'
  187. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 91.jpg'
  188. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 92.jpg'
  189. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 93.jpg'
  190. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 94.jpg'
  191. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 95.jpg'
  192. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 96.jpg'
  193. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 97.jpg'
  194. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 98.jpg'
  195. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 99.jpg'
  196. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 100.jpg'
  197. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 101.jpg'
  198. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 102' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  199. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 103' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  200. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 104' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  201. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 105' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  202. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 106' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  203. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 107' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  204. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 108' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  205. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 109' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  206. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 110' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  207. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 111' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  208. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 112' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  209. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 113' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  210. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 114' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  211. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 115' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  212. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 116' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  213. $modArr_AF_Activity_ImagesLoc[] = 'mod/addedflavour/images/locations/city/citycenter/SharedFLApartment/Activity/Activity 117' + iif(modVar_AF_QSPVer = 1,'.gif','.webp')
  214. KILLVAR '$modArr_AF_Activity_ImagesDesc'
  215. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBed}{FM}'
  216. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FFF}'
  217. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{FFFM}'
  218. $modArr_AF_Activity_ImagesDesc[] = '{Shopping}{FFM}'
  219. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{FFFM}'
  220. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FFFM}'
  221. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{FFFM}'
  222. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{FFM}'
  223. $modArr_AF_Activity_ImagesDesc[] = '{Jogging}{FF}'
  224. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{F}'
  225. $modArr_AF_Activity_ImagesDesc[] = '{Shopping}{FFF}'
  226. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FFM}'
  227. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBalcony}{F}'
  228. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBalcony}{F}'
  229. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{FM}'
  230. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FFFF}'
  231. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FM}'
  232. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FM}'
  233. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FFF}'
  234. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{FFF}'
  235. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FM}'
  236. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FM}'
  237. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{FFM}'
  238. $modArr_AF_Activity_ImagesDesc[] = '{Shopping}{FFF}'
  239. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FM}'
  240. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FFM}'
  241. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FFF}'
  242. $modArr_AF_Activity_ImagesDesc[] = '{Jogging}{FM}'
  243. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{FFFF}'
  244. $modArr_AF_Activity_ImagesDesc[] = '{Jogging}{FM}'
  245. $modArr_AF_Activity_ImagesDesc[] = '{Jogging}{FM}'
  246. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FFM}'
  247. $modArr_AF_Activity_ImagesDesc[] = '{Shopping}{FFFM}'
  248. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{F}'
  249. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{FFF}'
  250. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FFM}'
  251. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FFFM}'
  252. $modArr_AF_Activity_ImagesDesc[] = '{Shopping}{FM}'
  253. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{FFF}'
  254. $modArr_AF_Activity_ImagesDesc[] = '{Shopping}{FF}'
  255. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FF}'
  256. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{FF}'
  257. $modArr_AF_Activity_ImagesDesc[] = '{Yoga}{F}'
  258. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{FF}'
  259. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{F}'
  260. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FF}'
  261. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{FFF}'
  262. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{FFFM}'
  263. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FFF}'
  264. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{FFFF}'
  265. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FFFM}'
  266. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FM}'
  267. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{F}'
  268. $modArr_AF_Activity_ImagesDesc[] = '{Computer}{F}'
  269. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{FF}'
  270. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{FFFFM}'
  271. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{FM}'
  272. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FFF}'
  273. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{F}'
  274. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBalcony}{F}'
  275. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBalcony}{FF}'
  276. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{FF}'
  277. $modArr_AF_Activity_ImagesDesc[] = '{Jogging}{FF}'
  278. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{FFM}'
  279. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{FF}'
  280. $modArr_AF_Activity_ImagesDesc[] = '{Shopping}{FF}'
  281. $modArr_AF_Activity_ImagesDesc[] = '{Shopping}{FF}'
  282. $modArr_AF_Activity_ImagesDesc[] = '{Shopping}{FM}'
  283. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{FM}'
  284. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{F}'
  285. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBed}{FF}'
  286. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{FFFM}'
  287. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{F}'
  288. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{FFFF}'
  289. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{FM}'
  290. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{F}'
  291. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{F}'
  292. $modArr_AF_Activity_ImagesDesc[] = '{Jogging}{FM}'
  293. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBed}{F}'
  294. $modArr_AF_Activity_ImagesDesc[] = '{Computer}{FF}'
  295. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBed}{F}'
  296. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FF}'
  297. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{F}'
  298. $modArr_AF_Activity_ImagesDesc[] = '{RelaxGrass}{FF}'
  299. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBed}{FF}'
  300. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{FFF}'
  301. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{F}'
  302. $modArr_AF_Activity_ImagesDesc[] = '{Shopping}{FM}'
  303. $modArr_AF_Activity_ImagesDesc[] = '{Gaming}{FF}'
  304. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBed}{F}'
  305. $modArr_AF_Activity_ImagesDesc[] = '{Eating}{F}'
  306. $modArr_AF_Activity_ImagesDesc[] = '{Yoga}{FM}'
  307. $modArr_AF_Activity_ImagesDesc[] = '{RelaxSofa}{F}'
  308. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBed}{F}'
  309. $modArr_AF_Activity_ImagesDesc[] = '{Yoga}{FF}'
  310. $modArr_AF_Activity_ImagesDesc[] = '{RelaxBalcony}{FM}'
  311. $modArr_AF_Activity_ImagesDesc[] = '{Computer}{F}'
  312. $modArr_AF_Activity_ImagesDesc[] = '{Yoga}{FF}'
  313. $modArr_AF_Activity_ImagesDesc[] = '{WatchTV}{FFFF}'
  314. $modArr_AF_Activity_ImagesDesc[] = '{Computer}{FF}'
  315. $modArr_AF_Activity_ImagesDesc[] = '{Yoga}{F}'
  316. $modArr_AF_Activity_ImagesDesc[] = '{IntimateDancing}{FM}'
  317. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{FM}'
  318. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{FF}'
  319. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{FF}'
  320. $modArr_AF_Activity_ImagesDesc[] = '{Exercise}{FM}'
  321. $modArr_AF_Activity_ImagesDesc[] = '{Exercise}{FF}'
  322. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{F}'
  323. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{FFF}'
  324. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{FFFM}'
  325. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{FFF}'
  326. $modArr_AF_Activity_ImagesDesc[] = '{Exercise}{FM}'
  327. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{FF}'
  328. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{FM}'
  329. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{FFM}'
  330. $modArr_AF_Activity_ImagesDesc[] = '{Dancing}{F}'
  331. $modArr_AF_Activity_ImagesDesc[] = '{IntimateDancing}{FF}'
  332. end
  333. if $ARGS[0] = 'ActivityImage-Generate':
  334. KILLVAR '$ActivityImage_ImageChoice'
  335. KILLVAR 'ActivityImageChoiceOptions'
  336. $modVar_AF_TempStr = '{<<$ARGS[2]>>}'
  337. ActivityImageChoiceLoopCount = 0
  338. ActivityImageChoiceLoopErrorCount = 0
  339. :ActivityImageChoiceLoopStart
  340. if ActivityImageChoiceLoopCount >= arrsize('$modArr_AF_Activity_ImagesDesc') : jump 'ActivityImageChoiceLoopEnd'
  341. if ActivityImageChoiceLoopErrorCount >= 5000 : $modVar_AF_LoopErrorLoc = 'ActivityImageChoiceLoop' & jump 'ActivityImageChoiceErrorFail'
  342. if strpos($modArr_AF_Activity_ImagesDesc[ActivityImageChoiceLoopCount],'{<<$ARGS[1]>>}') > 0 and strpos($modArr_AF_Activity_ImagesDesc[ActivityImageChoiceLoopCount],'<<$modVar_AF_TempStr>>') > 0:
  343. ActivityImageChoiceOptions[] = ActivityImageChoiceLoopCount
  344. end
  345. ActivityImageChoiceLoopCount += 1
  346. ActivityImageChoiceLoopErrorCount += 1
  347. jump 'ActivityImageChoiceLoopStart'
  348. :ActivityImageChoiceLoopEnd
  349. if arrsize('ActivityImageChoiceOptions') = 0:
  350. if $modVar_AF_TempStr = '{FFFF}':
  351. $modVar_AF_TempStr = '{FFF}'
  352. elseif $modVar_AF_TempStr = '{FFF}':
  353. $modVar_AF_TempStr = '{FF}'
  354. elseif $modVar_AF_TempStr = '{FF}':
  355. $modVar_AF_TempStr = '{F}'
  356. elseif $modVar_AF_TempStr = '{FFFFM}':
  357. $modVar_AF_TempStr = '{FFFM}'
  358. elseif $modVar_AF_TempStr = '{FFFM}':
  359. $modVar_AF_TempStr = '{FFM}'
  360. elseif $modVar_AF_TempStr = '{FFM}':
  361. $modVar_AF_TempStr = '{FM}'
  362. else
  363. jump 'ActivityImageChoiceErrorFail'
  364. end
  365. ActivityImageChoiceLoopCount = 0
  366. jump 'ActivityImageChoiceLoopStart'
  367. end
  368. :ActivityImageChoiceErrorFail
  369. modVar_AF_Rand = rand(1,arrsize('ActivityImageChoiceOptions')) - 1
  370. ActivityImage_ImageArrPos = ActivityImageChoiceOptions[modVar_AF_Rand]
  371. $ActivityImage_ImageChoice = $modArr_AF_Activity_ImagesLoc[ActivityImage_ImageArrPos]
  372. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="<<$ActivityImage_ImageChoice>>"></center>'
  373. end
  374. if $ARGS[0] = 'SFLA-AptLive-EndDay':
  375. modVar_AF_SFLA_DayTracker['Day'] = daystart
  376. if (daystart - week) >= modVar_AF_SFLA_DayTracker['Week']:
  377. modVar_AF_SFLA_DayTracker['Week'] = daystart
  378. end
  379. !Loop for NPC Contributions
  380. $modVar_AF_SFLA_CharID = '700'
  381. :NPCContribLoop
  382. modVar_AF_Rand = rand(1,10)
  383. if modVar_AF_SFLA_AptPerishables['Razor'] <= 10 and modVar_AF_Rand >= 9:
  384. gs 'mod_addedflavour_SFLA_Functions' , 'razor' , 'add' , $modVar_AF_SFLA_CharID
  385. elseif modVar_AF_SFLA_AptPerishables['Razor'] = 0 and modVar_AF_Rand >= 5:
  386. gs 'mod_addedflavour_SFLA_Functions' , 'razor' , 'add' , $modVar_AF_SFLA_CharID
  387. end
  388. modVar_AF_Rand = rand(1,10)
  389. if modVar_AF_SFLA_AptPerishables['Razor'] > 0 and modVar_AF_Rand = 10:
  390. gs 'mod_addedflavour_SFLA_Functions' , 'razor' , 'use' , $modVar_AF_SFLA_CharID
  391. end
  392. modVar_AF_Rand = rand(1,10)
  393. if modVar_AF_SFLA_AptPerishables['Ointment'] <= 2 and modVar_AF_Rand >= 9:
  394. gs 'mod_addedflavour_SFLA_Functions' , 'ointment' , 'add' , $modVar_AF_SFLA_CharID
  395. elseif modVar_AF_SFLA_AptPerishables['Ointment'] = 0 and modVar_AF_Rand >= 5:
  396. gs 'mod_addedflavour_SFLA_Functions' , 'ointment' , 'add' , $modVar_AF_SFLA_CharID
  397. end
  398. modVar_AF_Rand = rand(1,10)
  399. if modVar_AF_SFLA_AptPerishables['Ointment'] > 0 and modVar_AF_Rand = 10:
  400. gs 'mod_addedflavour_SFLA_Functions' , 'ointment' , 'use' , $modVar_AF_SFLA_CharID
  401. end
  402. modVar_AF_Rand = rand(1,10)
  403. if modVar_AF_SFLA_AptPerishables['Tampon'] <= 10 and modVar_AF_Rand >= 9:
  404. gs 'mod_addedflavour_SFLA_Functions' , 'tampon' , 'add' , $modVar_AF_SFLA_CharID
  405. elseif modVar_AF_SFLA_AptPerishables['Tampon'] = 0 and modVar_AF_Rand >= 5:
  406. gs 'mod_addedflavour_SFLA_Functions' , 'tampon' , 'add' , $modVar_AF_SFLA_CharID
  407. end
  408. modVar_AF_Rand = rand(1,10)
  409. if modVar_AF_SFLA_AptPerishables['Tampon'] > 0 and modVar_AF_Rand = 10:
  410. gs 'mod_addedflavour_SFLA_Functions' , 'tampon' , 'use' , $modVar_AF_SFLA_CharID
  411. end
  412. modVar_AF_Rand = rand(1,10)
  413. if modVar_AF_SFLA_AptPerishables['Sanpad'] <= 10 and modVar_AF_Rand >= 9:
  414. gs 'mod_addedflavour_SFLA_Functions' , 'sanpad' , 'add' , $modVar_AF_SFLA_CharID
  415. elseif modVar_AF_SFLA_AptPerishables['Sanpad'] = 0 and modVar_AF_Rand >= 5:
  416. gs 'mod_addedflavour_SFLA_Functions' , 'sanpad' , 'add' , $modVar_AF_SFLA_CharID
  417. end
  418. modVar_AF_Rand = rand(1,10)
  419. if modVar_AF_SFLA_AptPerishables['Sanpad'] > 0 and modVar_AF_Rand = 10:
  420. gs 'mod_addedflavour_SFLA_Functions' , 'sanpad' , 'use' , $modVar_AF_SFLA_CharID
  421. end
  422. modVar_AF_Rand = rand(1,10)
  423. if modVar_AF_SFLA_AptPerishables['Deodorant'] <= 10 and modVar_AF_Rand >= 9:
  424. gs 'mod_addedflavour_SFLA_Functions' , 'deodorant' , 'add' , $modVar_AF_SFLA_CharID
  425. elseif modVar_AF_SFLA_AptPerishables['Deodorant'] = 0 and modVar_AF_Rand >= 5:
  426. gs 'mod_addedflavour_SFLA_Functions' , 'deodorant' , 'add' , $modVar_AF_SFLA_CharID
  427. end
  428. modVar_AF_Rand = rand(1,10)
  429. if modVar_AF_SFLA_AptPerishables['Deodorant'] > 0 and modVar_AF_Rand >= 6:
  430. gs 'mod_addedflavour_SFLA_Functions' , 'deodorant' , 'use' , $modVar_AF_SFLA_CharID
  431. end
  432. modVar_AF_Rand = rand(1,10)
  433. if modVar_AF_SFLA_AptPerishables['Shampoo'] <= 10 and modVar_AF_Rand >= 9:
  434. gs 'mod_addedflavour_SFLA_Functions' , 'shampoo' , 'add' , $modVar_AF_SFLA_CharID
  435. elseif modVar_AF_SFLA_AptPerishables['Shampoo'] = 0 and modVar_AF_Rand >= 5:
  436. gs 'mod_addedflavour_SFLA_Functions' , 'shampoo' , 'add' , $modVar_AF_SFLA_CharID
  437. end
  438. modVar_AF_Rand = rand(1,10)
  439. if modVar_AF_SFLA_AptPerishables['Shampoo'] > 0 and modVar_AF_Rand >= 4:
  440. gs 'mod_addedflavour_SFLA_Functions' , 'shampoo' , 'use' , $modVar_AF_SFLA_CharID
  441. end
  442. modVar_AF_Rand = rand(1,10)
  443. if modVar_AF_SFLA_AptPerishables['Painkillers'] <= 10 and modVar_AF_Rand >= 9:
  444. gs 'mod_addedflavour_SFLA_Functions' , 'painkillers' , 'add' , $modVar_AF_SFLA_CharID
  445. elseif modVar_AF_SFLA_AptPerishables['Painkillers'] = 0 and modVar_AF_Rand >= 5:
  446. gs 'mod_addedflavour_SFLA_Functions' , 'painkillers' , 'add' , $modVar_AF_SFLA_CharID
  447. end
  448. modVar_AF_Rand = rand(1,10)
  449. if modVar_AF_SFLA_AptPerishables['Painkillers'] > 0 and modVar_AF_Rand >= 10:
  450. gs 'mod_addedflavour_SFLA_Functions' , 'painkillers' , 'use' , $modVar_AF_SFLA_CharID
  451. end
  452. modVar_AF_Rand = rand(1,10)
  453. if modVar_AF_SFLA_AptPerishables['Sunlotion'] <= 5 and modVar_AF_Rand >= 9:
  454. gs 'mod_addedflavour_SFLA_Functions' , 'sunlotion' , 'add' , $modVar_AF_SFLA_CharID
  455. elseif modVar_AF_SFLA_AptPerishables['Sunlotion'] = 0 and modVar_AF_Rand >= 5:
  456. gs 'mod_addedflavour_SFLA_Functions' , 'sunlotion' , 'add' , $modVar_AF_SFLA_CharID
  457. end
  458. if month < 10 and month >= 3:
  459. modVar_AF_Rand = rand(1,10)
  460. if modVar_AF_SFLA_AptPerishables['Sunlotion'] > 0 and modVar_AF_Rand >= 8:
  461. gs 'mod_addedflavour_SFLA_Functions' , 'sunlotion' , 'use' , $modVar_AF_SFLA_CharID
  462. end
  463. end
  464. modVar_AF_Rand = rand(1,10)
  465. if modVar_AF_SFLA_AptPerishables['Dishliquid'] <= 2 and modVar_AF_Rand >= 9:
  466. gs 'mod_addedflavour_SFLA_Functions' , 'dishliquid' , 'add' , $modVar_AF_SFLA_CharID
  467. elseif modVar_AF_SFLA_AptPerishables['Dishliquid'] = 0 and modVar_AF_Rand >= 5:
  468. gs 'mod_addedflavour_SFLA_Functions' , 'dishliquid' , 'add' , $modVar_AF_SFLA_CharID
  469. end
  470. modVar_AF_SFLA_AptState['Washdishes'] += 1
  471. modVar_AF_Rand = rand(1,15)
  472. if modVar_AF_SFLA_AptState['Washdishes'] > modVar_AF_Rand:
  473. washinguptemp = modVar_AF_SFLA_AptState['Washdishes']
  474. :washinguploopNPC
  475. gs 'mod_addedflavour_SFLA_Functions' , 'dishliquid' , 'use' , $modVar_AF_SFLA_CharID
  476. modVar_AF_SFLA_AptState['Washdishes'] -= 5
  477. if modVar_AF_SFLA_AptState['Washdishes'] < 0 : modVar_AF_SFLA_AptState['Washdishes'] = 0
  478. if modVar_AF_SFLA_AptState['Washdishes'] > 0 and modVar_AF_SFLA_AptPerishables['Dishliquid'] > 0:
  479. jump 'washinguploopNPC'
  480. end
  481. end
  482. modVar_AF_Rand = rand(1,10)
  483. if modVar_AF_SFLA_AptPerishables['Biscuits'] <= 10 and modVar_AF_Rand >= 9:
  484. gs 'mod_addedflavour_SFLA_Functions' , 'biscuits' , 'add' , $modVar_AF_SFLA_CharID
  485. elseif modVar_AF_SFLA_AptPerishables['Biscuits'] = 0 and modVar_AF_Rand >= 5:
  486. gs 'mod_addedflavour_SFLA_Functions' , 'biscuits' , 'add' , $modVar_AF_SFLA_CharID
  487. end
  488. modVar_AF_Rand = rand(1,10)
  489. if $modVar_AF_SFLA_CharID = '701':
  490. modVar_AF_Rand = 10
  491. end
  492. if modVar_AF_SFLA_AptPerishables['Biscuits'] > 0 and modVar_AF_Rand >= 6:
  493. gs 'mod_addedflavour_SFLA_Functions' , 'biscuits' , 'use' , $modVar_AF_SFLA_CharID
  494. end
  495. modVar_AF_Rand = rand(1,10)
  496. if modVar_AF_SFLA_AptPerishables['Lightmeal'] <= 20 and modVar_AF_Rand >= 2:
  497. gs 'mod_addedflavour_SFLA_Functions' , 'lightmeal' , 'add' , $modVar_AF_SFLA_CharID
  498. elseif modVar_AF_SFLA_AptPerishables['Lightmeal'] <= 20 and modVar_AF_Rand >= 6:
  499. gs 'mod_addedflavour_SFLA_Functions' , 'lightmeal' , 'add' , $modVar_AF_SFLA_CharID
  500. gs 'mod_addedflavour_SFLA_Functions' , 'lightmeal' , 'add' , $modVar_AF_SFLA_CharID
  501. gs 'mod_addedflavour_SFLA_Functions' , 'lightmeal' , 'add' , $modVar_AF_SFLA_CharID
  502. elseif modVar_AF_SFLA_AptPerishables['Lightmeal'] = 0:
  503. gs 'mod_addedflavour_SFLA_Functions' , 'lightmeal' , 'add' , $modVar_AF_SFLA_CharID
  504. end
  505. if charsche_activity_Active[arrpos('$charsche_actlist','SFLAKitr - Dinner')] = 0:
  506. if modVar_AF_SFLA_AptPerishables['Lightmeal'] > 0:
  507. gs 'mod_addedflavour_SFLA_Functions' , 'lightmeal' , 'use' , $modVar_AF_SFLA_CharID
  508. end
  509. end
  510. modVar_AF_Rand = rand(1,10)
  511. if modVar_AF_SFLA_AptPerishables['Fatburners'] <= 5 and modVar_AF_Rand >= 9:
  512. gs 'mod_addedflavour_SFLA_Functions' , 'fatburners' , 'add' , $modVar_AF_SFLA_CharID
  513. elseif modVar_AF_SFLA_AptPerishables['Fatburners'] = 0 and modVar_AF_Rand >= 5:
  514. gs 'mod_addedflavour_SFLA_Functions' , 'fatburners' , 'add' , $modVar_AF_SFLA_CharID
  515. end
  516. modVar_AF_Rand = rand(1,10)
  517. if modVar_AF_SFLA_AptPerishables['Vitamin'] > 0 and modVar_AF_Rand >= 10:
  518. gs 'mod_addedflavour_SFLA_Functions' , 'vitamin' , 'use' , $modVar_AF_SFLA_CharID
  519. end
  520. if modVar_AF_SFLA_AptPerishables['Vitamin'] <= 5 and modVar_AF_Rand >= 9:
  521. gs 'mod_addedflavour_SFLA_Functions' , 'vitamin' , 'add' , $modVar_AF_SFLA_CharID
  522. elseif modVar_AF_SFLA_AptPerishables['Fatburners'] = 0 and modVar_AF_Rand >= 5:
  523. gs 'mod_addedflavour_SFLA_Functions' , 'vitamin' , 'add' , $modVar_AF_SFLA_CharID
  524. end
  525. modVar_AF_Rand = rand(1,10)
  526. if modVar_AF_SFLA_AptPerishables['Vitamin'] > 0 and modVar_AF_Rand >= 8:
  527. gs 'mod_addedflavour_SFLA_Functions' , 'fatburners' , 'use' , $modVar_AF_SFLA_CharID
  528. end
  529. modVar_AF_Rand = rand(1,10)
  530. if modVar_AF_SFLA_DayTracker['Week'] = daystart:
  531. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= modVar_AF_SFLA_AptState['Rent']
  532. end
  533. if modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] < -800:
  534. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += (rand(100,200) * 10)
  535. end
  536. modVar_AF_RelLock['A<<$modVar_AF_SFLA_CharID>>'] = npc_rel['A<<$modVar_AF_SFLA_CharID>>']
  537. if $modVar_AF_SFLA_CharID = '700':
  538. $modVar_AF_SFLA_CharID = '701'
  539. jump 'NPCContribLoop'
  540. elseif $modVar_AF_SFLA_CharID = '701':
  541. $modVar_AF_SFLA_CharID = '702'
  542. jump 'NPCContribLoop'
  543. end
  544. !Updated NPC Inter-Relationships
  545. modVar_AF_SexProg['A700XA701'] += rand(1,(6 - difficulty))
  546. if modVar_AF_SexProg['A700XA701'] > 100 : modVar_AF_SexProg['A700XA701'] = 100
  547. modVar_AF_SexProg['A700XA702'] += rand(1,(6 - difficulty))
  548. if modVar_AF_SexProg['A700XA702'] > 100 : modVar_AF_SexProg['A700XA701'] = 100
  549. modVar_AF_SexProg['A701XA702'] += rand(1,(6 - difficulty))
  550. if modVar_AF_SexProg['A701XA702'] > 100 : modVar_AF_SexProg['A700XA701'] = 100
  551. if modVar_AF_SFLA_AptState['GuestID'] = 34 and modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 2:
  552. if modVar_AF_SexProg['A34XA700'] <= modVar_AF_SexProg['TouchGate']:
  553. modVar_AF_SexProg['A34XA700'] += rand(1,(6 - difficulty))
  554. if modVar_AF_SexProg['A34XA700'] > modVar_AF_SexProg['TouchGate'] : modVar_AF_SexProg['A34XA700'] = modVar_AF_SexProg['TouchGate']
  555. else
  556. modVar_AF_SexProg['A34XA700'] += rand(1,(6 - difficulty))
  557. if modVar_AF_SexProg['A34XA700'] > 100 : modVar_AF_SexProg['A34XA700'] = 100
  558. end
  559. if modVar_AF_SexProg['A34XA702'] <= modVar_AF_SexProg['TouchGate']:
  560. modVar_AF_SexProg['A34XA702'] += rand(1,(6 - difficulty))
  561. if modVar_AF_SexProg['A34XA702'] > modVar_AF_SexProg['TouchGate'] : modVar_AF_SexProg['A34XA702'] = modVar_AF_SexProg['TouchGate']
  562. else
  563. modVar_AF_SexProg['A34XA702'] += rand(1,(6 - difficulty))
  564. if modVar_AF_SexProg['A34XA702'] > 100 : modVar_AF_SexProg['A34XA702'] = 100
  565. end
  566. end
  567. !Updated NPC Horny Rating
  568. npc_horny['A700'] += rand(5,(5 * (5 - difficulty)))
  569. npc_horny['A701'] += rand(5,(5 * (5 - difficulty)))
  570. npc_horny['A702'] += rand(5,(5 * (5 - difficulty)))
  571. if modVar_AF_SFLA_AptState['GuestID'] = 34 and modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 2 : npc_horny['A34'] += rand(5,(5 * (5 - difficulty)))
  572. !Prompt Player Finances
  573. if modVar_AF_SFLA_AptState['GuestID'] = 34 and modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 2:
  574. modVar_AF_SFLA_AptContributions['PCS'] -= 350
  575. end
  576. if modVar_AF_SFLA_DayTracker['Week'] = daystart:
  577. modVar_AF_SFLA_AptContributions['PCS'] -= modVar_AF_SFLA_AptState['Rent']
  578. $modVar_AF_PlayerWarning['SFLA-RentPaid'] = 1
  579. else
  580. $modVar_AF_PlayerWarning['SFLA-RentPaid'] = 0
  581. end
  582. if modVar_AF_SFLA_AptContributions['PCS'] < 0:
  583. $modVar_AF_PlayerWarning['SFLA-InDebt'] = 1
  584. else
  585. $modVar_AF_PlayerWarning['SFLA-InDebt'] = 0
  586. end
  587. !Stops Dinner Event from happening after day it is triggered
  588. if charsche_activity_Active[arrpos('$charsche_actlist','SFLAKitr - Dinner')] = 1 : charsche_activity_Active[arrpos('$charsche_actlist','SFLAKitr - Dinner')] = 0
  589. end
  590. if $ARGS[0] = 'SFLA-AptLive-PayIn':
  591. Karta -= ARGS[1]
  592. modVar_AF_SFLA_AptContributions['PCS'] += ARGS[1]
  593. gs 'stat'
  594. end
  595. if $ARGS[0] = 'SFLA-AptLive-PayOut':
  596. Karta += ARGS[1]
  597. modVar_AF_SFLA_AptContributions['PCS'] -= ARGS[1]
  598. gs 'stat'
  599. end
  600. if $ARGS[0] = 'whoelse':
  601. !!$ARGS[1] = location
  602. !!$ARGS[2] = action
  603. KILLVAR '$modVar_AF_SFLA_SharedActPeople'
  604. KILLVAR '$modVar_AF_SFLA_SharedActPeopleAbv'
  605. KILLVAR 'modArr_AF_SFLA_SharedActPeopleArray'
  606. $modVar_AF_SFLA_SharedActPeople = 'You'
  607. $modVar_AF_SFLA_SharedActPeopleAbv = 'F'
  608. $modVar_AF_SFLA_SharedActPeopleAbvTemp = ''
  609. whoelseloopcount = 0
  610. :whoelseloop
  611. if whoelseloopcount >= arrsize('charsche_charlist'):
  612. jump 'whoelseloopend'
  613. end
  614. whoelseloopcharid = charsche_charlist[whoelseloopcount]
  615. if strpos($charsche_character_CurActLoc[whoelseloopcount],$ARGS[1]) > 0:
  616. if $charsche_character_CurActDesc[whoelseloopcount] = $ARGS[2]:
  617. $modVar_AF_SFLA_SharedActPeople = '<<$modVar_AF_SFLA_SharedActPeople>> and <<$npc_usedname[''A<<whoelseloopcharid>>'']>>'
  618. if npc_gender['A<<whoelseloopcharid>>'] = 1 and len($modVar_AF_SFLA_SharedActPeopleAbv) < 4:
  619. $modVar_AF_SFLA_SharedActPeopleAbv = '<<$modVar_AF_SFLA_SharedActPeopleAbv>>F'
  620. elseif len($modVar_AF_SFLA_SharedActPeopleAbvTemp) < 1:
  621. $modVar_AF_SFLA_SharedActPeopleAbvTemp = '<<$modVar_AF_SFLA_SharedActPeopleAbvTemp>>M'
  622. end
  623. modArr_AF_SFLA_SharedActPeopleArray[] = whoelseloopcharid
  624. elseif $ARGS[2] = 'Any':
  625. modArr_AF_SFLA_SharedActPeopleArray[] = whoelseloopcharid
  626. end
  627. end
  628. whoelseloopcount += 1
  629. jump 'whoelseloop'
  630. :whoelseloopend
  631. $modVar_AF_SFLA_SharedActPeopleAbv = '<<$modVar_AF_SFLA_SharedActPeopleAbv>><<$modVar_AF_SFLA_SharedActPeopleAbvTemp>>'
  632. KILLVAR '$modVar_AF_SFLA_SharedActPeopleAbvTemp'
  633. end
  634. if $ARGS[0] = 'npcrelcalc':
  635. !$ARGS[1] = Type of Interaction (means which metric is being affected) (e.g. Casual, Touch, Kiss, Sex)
  636. !ARGS[2] = Amount (Number to represent the amount of time and/or severity of gain)
  637. npcrelcalcloopcount = 0
  638. :npcrelcalcloop
  639. if npcrelcalcloopcount >= arrsize('modArr_AF_SFLA_SharedActPeopleArray'):
  640. jump 'npcrelcalcloopend'
  641. end
  642. npcrelcalcnpcid = modArr_AF_SFLA_SharedActPeopleArray[npcrelcalcloopcount]
  643. if $ARGS[1] = 'Casual':
  644. if npc_rel['A<<npcrelcalcnpcid>>'] < 90:
  645. npc_rel['A<<npcrelcalcnpcid>>'] += ARGS[2]
  646. modVar_AF_npcrelcalc_temp = modVar_AF_RelLock['A<<npcrelcalcnpcid>>'] + (9 - difficulty)
  647. if npc_rel['A<<npcrelcalcnpcid>>'] >= modVar_AF_npcrelcalc_temp : npc_rel['A<<npcrelcalcnpcid>>'] = modVar_AF_npcrelcalc_temp
  648. if npc_rel['A<<npcrelcalcnpcid>>'] > 90 : npc_rel['A<<npcrelcalcnpcid>>'] = 90
  649. end
  650. elseif $ARGS[1] = 'Casual-Insist':
  651. if npc_rel['A<<npcrelcalcnpcid>>'] < 90:
  652. npc_rel['A<<npcrelcalcnpcid>>'] += ARGS[2]
  653. if npc_rel['A<<npcrelcalcnpcid>>'] > 90 : npc_rel['A<<npcrelcalcnpcid>>'] = 90
  654. modVar_AF_RelLock['A<<npcrelcalcnpcid>>'] += ARGS[2]
  655. if (modVar_AF_RelLock['A<<npcrelcalcnpcid>>'] + ARGS[2]) > 90 : modVar_AF_RelLock['A<<npcrelcalcnpcid>>'] = 90
  656. end
  657. elseif $ARGS[1] = 'Dancing':
  658. if npc_rel['A<<npcrelcalcnpcid>>'] < 100 : npc_rel['A<<npcrelcalcnpcid>>'] += ARGS[2]
  659. if npc_rel['A<<npcrelcalcnpcid>>'] > 100 : npc_rel['A<<npcrelcalcnpcid>>'] = 100
  660. elseif $ARGS[1] = 'Sexy':
  661. if modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] > 0 and modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] < modVar_AF_SexProg['TouchGate']:
  662. modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] += ARGS[2]
  663. if modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] > modVar_AF_SexProg['TouchGate'] : modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] = modVar_AF_SexProg['TouchGate']
  664. end
  665. elseif $ARGS[1] = 'Touch':
  666. if modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] > modVar_AF_SexProg['TouchGate'] and modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] < modVar_AF_SexProg['KissGate']:
  667. modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] += ARGS[2]
  668. if modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] > modVar_AF_SexProg['KissGate'] : modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] = modVar_AF_SexProg['KissGate']
  669. end
  670. elseif $ARGS[1] = 'Kiss':
  671. if modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] > modVar_AF_SexProg['KissGate'] and modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] < modVar_AF_SexProg['OralGate']:
  672. modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] += ARGS[2]
  673. if modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] > modVar_AF_SexProg['OralGate'] : modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] = modVar_AF_SexProg['OralGate']
  674. end
  675. elseif $ARGS[1] = 'Oral':
  676. if modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] > modVar_AF_SexProg['OralGate'] and modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] < modVar_AF_SexProg['VaginalGate']:
  677. modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] += ARGS[2]
  678. if modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] > modVar_AF_SexProg['VaginalGate'] : modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] = modVar_AF_SexProg['VaginalGate']
  679. end
  680. elseif $ARGS[1] = 'Vaginal':
  681. modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] += ARGS[2]
  682. if modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] > 100 : modVar_AF_SexProg['A<<npcrelcalcnpcid>>'] = 100
  683. end
  684. npcrelcalcloopcount += 1
  685. jump 'npcrelcalcloop'
  686. :npcrelcalcloopend
  687. KILLVAR 'npcrelcalcnpcid'
  688. end
  689. if $ARGS[0] = 'soundgen':
  690. SFLA_SoundGen_SharedSpace = 0
  691. SFLA_SoundGen_BaRmOccupied = 0
  692. SFLA_SoundGen_TVActive = 0
  693. SFLA_SoundGen_StudyActive = 0
  694. SFLA_SoundGen_SexActive = 0
  695. SFLA_SoundGen_MallActive = 0
  696. if strpos($loc,'SFLA') > 0 : SFLA_SoundGen_SharedSpace = 1
  697. if $loc = 'mod_addedflavour_SFLA_Kit':
  698. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'mod_addedflavour_SFLA_BaRm' , 'Any'
  699. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 0 : SFLA_SoundGen_BaRmOccupied = 1
  700. end
  701. if $loc = 'mod_addedflavour_SFLA_Sitr':
  702. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'mod_addedflavour_SFLA_Sitr' , 'Watch TV'
  703. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 0 : SFLA_SoundGen_TVActive = 1
  704. end
  705. if strpos($loc,'SFLA') > 0:
  706. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , $loc , 'Studying'
  707. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 0 : SFLA_SoundGen_StudyActive = 1
  708. end
  709. if $loc = 'mod_addedflavour_SFLA_Sitr':
  710. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'SFLA' , 'Sex'
  711. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 0 : SFLA_SoundGen_SexActive = 1
  712. end
  713. if $loc = 'torgcentr':
  714. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'torgcentr' , 'Any'
  715. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 0 : SFLA_SoundGen_MallActive = 1
  716. end
  717. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , $loc , 'Any'
  718. if $loc = 'mod_addedflavour_SFLA_Sitr' and SFLA_SoundGen_SexActive = 1:
  719. ClOSE ALL
  720. PLAY 'mod/addedflavour/sound/FemaleMoaning.mp3' , 50
  721. elseif SFLA_SoundGen_SharedSpace = 1 and arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 2:
  722. ClOSE ALL
  723. PLAY 'mod/addedflavour/sound/Talking.mp3' , 50
  724. elseif $loc = 'mod_addedflavour_SFLA_Sitr' and SFLA_SoundGen_TVActive = 1:
  725. ClOSE ALL
  726. PLAY 'mod/addedflavour/sound/TV.mp3' , 50
  727. elseif SFLA_SoundGen_StudyActive = 1:
  728. ClOSE ALL
  729. PLAY 'mod/addedflavour/sound/StudyMusic.mp3' , 50
  730. elseif $loc = 'mod_addedflavour_SFLA_Kit' and SFLA_SoundGen_BaRmOccupied = 1:
  731. ClOSE ALL
  732. PLAY 'mod/addedflavour/sound/ShowerMuffled.mp3' , 50
  733. elseif $loc = 'mod_addedflavour_SFLA_Bal' and weatherFall >= 50 and sunWeather ! 1:
  734. ClOSE ALL
  735. PLAY 'mod/addedflavour/sound/Rain.mp3' , 50
  736. elseif $loc = 'mod_addedflavour_SFLA_Bal' and (weatherFall < 50 or (weatherFall >= 50 and sunWeather = 1)):
  737. ClOSE ALL
  738. PLAY 'mod/addedflavour/sound/StreetSounds.mp3' , 50
  739. elseif SFLA_SoundGen_MallActive = 1 and modVar_AF_SFLAWhistle ! hour:
  740. ClOSE ALL
  741. PLAY 'mod/addedflavour/sound/Whistle.mp3' , 50
  742. modVar_AF_SFLAWhistle = hour
  743. end
  744. KILLVAR 'SFLA_SoundGen_SexActive'
  745. KILLVAR 'SFLA_SoundGen_SharedSpace'
  746. KILLVAR 'SFLA_SoundGen_BaRmOccupied'
  747. KILLVAR 'SFLA_SoundGen_TVActive'
  748. KILLVAR 'SFLA_SoundGen_StudyActive'
  749. KILLVAR 'SFLA_SoundGen_MallActive'
  750. end
  751. if $ARGS[0] = 'npcmessage':
  752. KILLVAR '$modVar_AF_NPCMessage'
  753. $SFLA_NPCMessage_Font = $npc_fontcolor['A<<ARGS[1]>>']
  754. SFLA_NPCMessage_ArrPos = arrpos('charsche_charlist',ARGS[1])
  755. if modVar_AF_NPCGreetingDay['A<<args[1]>>'] ! daystart and (hour >= 4 and hour <= 23):
  756. if hour >= 4 and hour <= 11:
  757. $SFLA_NPCGreeting = 'Good Morning'
  758. elseif hour >= 12 and hour <= 17:
  759. $SFLA_NPCGreeting = 'Good Afternoon'
  760. elseif hour >= 18 and hour <= 23:
  761. $SFLA_NPCGreeting = 'Good Evening'
  762. end
  763. modVar_AF_NPCGreetingDay['A<<args[1]>>'] = daystart
  764. $modVar_AF_NPCMessage = ' - <font color="<<$SFLA_NPCMessage_Font>>"><<$SFLA_NPCGreeting>> ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + '!</font>'
  765. elseif $clothingworntype = 'nude' and (ARGS[1] = 700 or ARGS[1] = 701 or ARGS[1] = 702):
  766. if npc_rel['A<<args[1]>>'] = 100:
  767. $modVar_AF_NPCMessage = ' - <font color="<<$SFLA_NPCMessage_Font>>">Looking fine ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + '! I like what I see!</font>'
  768. if modVar_AF_SexProg['A<<args[1]>>'] = 0 : modVar_AF_SexProg['A<<args[1]>>'] = 1
  769. elseif npc_rel['A<<args[1]>>'] >= 85:
  770. $modVar_AF_NPCMessage = ' - <font color="<<$SFLA_NPCMessage_Font>>">I admit you look good ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + ' but you need to wear something!</font>'
  771. else
  772. $modVar_AF_NPCMessage = ' - <font color="<<$SFLA_NPCMessage_Font>>">Whoa! ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + '! Put some clothes on!</font>'
  773. end
  774. else
  775. $modVar_AF_NPCMessage = ''
  776. end
  777. end
  778. if $ARGS[0] = 'razor':
  779. $modVar_AF_SFLA_CharID = $ARGS[2]
  780. if $ARGS[1] = 'add':
  781. if $modVar_AF_SFLA_CharID = 'PCS':
  782. stanok -= 25
  783. end
  784. modVar_AF_SFLA_AptPerishables['Razor'] = 25
  785. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 350
  786. elseif $ARGS[1] = 'use':
  787. modVar_AF_SFLA_AptPerishables['Razor'] -= 1
  788. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 14
  789. end
  790. end
  791. if $ARGS[0] = 'ointment':
  792. $modVar_AF_SFLA_CharID = $ARGS[2]
  793. if $ARGS[1] = 'add':
  794. if $modVar_AF_SFLA_CharID = 'PCS':
  795. mosolmaz -= 10
  796. end
  797. modVar_AF_SFLA_AptPerishables['Ointment'] = 10
  798. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 372
  799. elseif $ARGS[1] = 'use':
  800. modVar_AF_SFLA_AptPerishables['Ointment'] -= 1
  801. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 38
  802. end
  803. end
  804. if $ARGS[0] = 'tampon':
  805. $modVar_AF_SFLA_CharID = $ARGS[2]
  806. if $ARGS[1] = 'add':
  807. if $modVar_AF_SFLA_CharID = 'PCS':
  808. tampon -= 20
  809. end
  810. modVar_AF_SFLA_AptPerishables['Tampon'] += 20
  811. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 200
  812. elseif $ARGS[1] = 'use':
  813. modVar_AF_SFLA_AptPerishables['Tampon'] -= 1
  814. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 10
  815. end
  816. end
  817. if $ARGS[0] = 'sanpad':
  818. $modVar_AF_SFLA_CharID = $ARGS[2]
  819. if $ARGS[1] = 'add':
  820. if $modVar_AF_SFLA_CharID = 'PCS':
  821. sanpad -= 20
  822. end
  823. modVar_AF_SFLA_AptPerishables['Sanpad'] += 20
  824. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 100
  825. elseif $ARGS[1] = 'use':
  826. modVar_AF_SFLA_AptPerishables['Sanpad'] -= 1
  827. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 5
  828. end
  829. end
  830. if $ARGS[0] = 'deodorant':
  831. $modVar_AF_SFLA_CharID = $ARGS[2]
  832. if $ARGS[1] = 'add':
  833. if $modVar_AF_SFLA_CharID = 'PCS':
  834. deodorant -= 40
  835. end
  836. modVar_AF_SFLA_AptPerishables['Deodorant'] = 40
  837. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 200
  838. elseif $ARGS[1] = 'use':
  839. modVar_AF_SFLA_AptPerishables['Deodorant'] -= 1
  840. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 5
  841. end
  842. end
  843. if $ARGS[0] = 'shampoo':
  844. $modVar_AF_SFLA_CharID = $ARGS[2]
  845. if $ARGS[1] = 'add':
  846. if $modVar_AF_SFLA_CharID = 'PCS':
  847. shampoo -= 30
  848. end
  849. modVar_AF_SFLA_AptPerishables['Shampoo'] += 30
  850. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 200
  851. elseif $ARGS[1] = 'use':
  852. modVar_AF_SFLA_AptPerishables['Shampoo'] -= 1
  853. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 10
  854. end
  855. end
  856. if $ARGS[0] = 'painkillers':
  857. $modVar_AF_SFLA_CharID = $ARGS[2]
  858. if $ARGS[1] = 'add':
  859. if $modVar_AF_SFLA_CharID = 'PCS':
  860. painkillers -= 50
  861. end
  862. modVar_AF_SFLA_AptPerishables['Painkillers'] += 50
  863. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 435
  864. elseif $ARGS[1] = 'use':
  865. modVar_AF_SFLA_AptPerishables['Painkillers'] -= 1
  866. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 7
  867. end
  868. end
  869. if $ARGS[0] = 'sunlotion':
  870. $modVar_AF_SFLA_CharID = $ARGS[2]
  871. if $ARGS[1] = 'add':
  872. if $modVar_AF_SFLA_CharID = 'PCS':
  873. krem -= 20
  874. end
  875. modVar_AF_SFLA_AptPerishables['Sunlotion'] = 20
  876. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 500
  877. elseif $ARGS[1] = 'use':
  878. modVar_AF_SFLA_AptPerishables['Sunlotion'] -= 1
  879. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 25
  880. end
  881. end
  882. if $ARGS[0] = 'dishliquid':
  883. $modVar_AF_SFLA_CharID = $ARGS[2]
  884. if $ARGS[1] = 'add':
  885. if $modVar_AF_SFLA_CharID = 'PCS':
  886. fairy -= 20
  887. end
  888. modVar_AF_SFLA_AptPerishables['Dishliquid'] = 20
  889. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 500
  890. elseif $ARGS[1] = 'use':
  891. modVar_AF_SFLA_AptPerishables['Dishliquid'] -= 1
  892. end
  893. end
  894. if $ARGS[0] = 'biscuits':
  895. $modVar_AF_SFLA_CharID = $ARGS[2]
  896. if $ARGS[1] = 'add':
  897. if $modVar_AF_SFLA_CharID = 'PCS':
  898. pranik -= 10
  899. end
  900. modVar_AF_SFLA_AptPerishables['Biscuits'] += 10
  901. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 400
  902. elseif $ARGS[1] = 'use':
  903. modVar_AF_SFLA_AptPerishables['Biscuits'] -= 1
  904. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 40
  905. end
  906. end
  907. if $ARGS[0] = 'lightmeal':
  908. $modVar_AF_SFLA_CharID = $ARGS[2]
  909. if $ARGS[1] = 'add':
  910. if $modVar_AF_SFLA_CharID = 'PCS':
  911. edaD -= 1
  912. end
  913. modVar_AF_SFLA_AptPerishables['Lightmeal'] += 1
  914. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 300
  915. elseif $ARGS[1] = 'use':
  916. modVar_AF_SFLA_AptPerishables['Lightmeal'] -= 1
  917. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 300
  918. end
  919. end
  920. if $ARGS[0] = 'fullmeal':
  921. $modVar_AF_SFLA_CharID = $ARGS[2]
  922. if $ARGS[1] = 'add':
  923. if $modVar_AF_SFLA_CharID = 'PCS':
  924. eda -= 10
  925. end
  926. modVar_AF_SFLA_AptPerishables['Fullmeal'] += 1
  927. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 800
  928. elseif $ARGS[1] = 'use':
  929. modVar_AF_SFLA_AptPerishables['Fullmeal'] -= 1
  930. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 800
  931. end
  932. end
  933. if $ARGS[0] = 'fatburners':
  934. $modVar_AF_SFLA_CharID = $ARGS[2]
  935. if $ARGS[1] = 'add':
  936. if $modVar_AF_SFLA_CharID = 'PCS':
  937. fatdel -= 12
  938. end
  939. modVar_AF_SFLA_AptPerishables['Fatburners'] += 12
  940. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 248
  941. elseif $ARGS[1] = 'use':
  942. modVar_AF_SFLA_AptPerishables['Fatburners'] -= 1
  943. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 21
  944. end
  945. end
  946. if $ARGS[0] = 'vitamin':
  947. $modVar_AF_SFLA_CharID = $ARGS[2]
  948. if $ARGS[1] = 'add':
  949. if $modVar_AF_SFLA_CharID = 'PCS':
  950. vitamin -= 30
  951. end
  952. modVar_AF_SFLA_AptPerishables['Vitamin'] += 30
  953. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] += 130
  954. elseif $ARGS[1] = 'use':
  955. modVar_AF_SFLA_AptPerishables['Vitamin'] -= 1
  956. modVar_AF_SFLA_AptContributions['<<$modVar_AF_SFLA_CharID>>'] -= 5
  957. end
  958. end
  959. if $ARGS[0] = 'guestvisit':
  960. if $ARGS[2] = 'stay':
  961. $charsche_activity_Location[arrpos('$charsche_actlist','SFLASpRm - Gym')] = 'mod_addedflavour_SFLA_Sitr'
  962. $charsche_activity_Location[arrpos('$charsche_actlist','SFLASpRm - Study')] = 'HomeLoc'
  963. modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 2
  964. elseif $ARGS[2] = 'leave':
  965. $charsche_activity_Location[arrpos('$charsche_actlist','SFLASpRm - Gym')] = 'mod_addedflavour_SFLA_SpRm'
  966. $charsche_activity_Location[arrpos('$charsche_actlist','SFLASpRm - Study')] = 'mod_addedflavour_SFLA_SpRm'
  967. modVar_AF_SFLA_AptState['SpareRoomOccupied'] = 0
  968. end
  969. if $ARGS[1] = 'kolka':
  970. if $ARGS[2] = 'stay':
  971. $charsche_character_HomeLoc[arrpos('charsche_charlist',34)] = 'mod_addedflavour_SFLA_SpRm'
  972. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLABedr - Resting' , 'Add' , 34
  973. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLASitr - Watch TV' , 'Add' , 34
  974. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLASitr - Playing Games' , 'Add' , 34
  975. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLASpRm - Gym' , 'Add' , 34
  976. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLASpRm - Study' , 'Add' , 34
  977. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLABaRm - Bathing' , 'Add' , 34
  978. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLAKitr - Eating' , 'Add' , 34
  979. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLAKitr - Dinner' , 'Add' , 34
  980. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLABal - Resting' , 'Add' , 34
  981. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'cityPark - Resting' , 'Add' , 34
  982. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'Library - Studying' , 'Add' , 34
  983. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'cityMall - Shopping' , 'Add' , 34
  984. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 34 , 'mod_addedflavour_SFLA_SpRm' , 'Resting' , 5
  985. if brother['SexQW'] >= 7 or brothersex >= 7:
  986. modVar_AF_SexProg['A34'] = (modVar_AF_SexProg['VaginalGate'] + 1)
  987. elseif brother['SexQW'] >= 6 or brothersex >= 6:
  988. modVar_AF_SexProg['A34'] = (modVar_AF_SexProg['OralGate'] + 1)
  989. elseif brother['SexQW'] >= 5 or brothersex >= 5:
  990. modVar_AF_SexProg['A34'] = (modVar_AF_SexProg['KissGate'] + 1)
  991. elseif brother['SexQW'] >= 1 or brothersex >= 1:
  992. modVar_AF_SexProg['A34'] = 5
  993. end
  994. modVar_AF_SFLA_KolkaVisit['LeaveDate'] = daystart + 14
  995. elseif $ARGS[2] = 'leave':
  996. !KILLVAR '$modArr_AF_A34_Images'
  997. KILLVAR '$modArr_AF_A34_SexVideo'
  998. $charsche_character_HomeLoc[arrpos('charsche_charlist',34)] = 'Void'
  999. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLABedr - Resting' , 'Remove' , 34
  1000. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLASitr - Watch TV' , 'Remove' , 34
  1001. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLASitr - Playing Games' , 'Remove' , 34
  1002. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLASpRm - Gym' , 'Remove' , 34
  1003. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLASpRm - Study' , 'Remove' , 34
  1004. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLABaRm - Bathing' , 'Remove' , 34
  1005. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLAKitr - Eating' , 'Remove' , 34
  1006. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLAKitr - Dinner' , 'Remove' , 34
  1007. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'SFLABal - Resting' , 'Remove' , 34
  1008. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'cityPark - Resting' , 'Remove' , 34
  1009. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'Library - Studying' , 'Remove' , 34
  1010. gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'cityMall - Shopping' , 'Remove' , 34
  1011. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 34 , 'Void' , 'Idle' , 5
  1012. modVar_AF_SFLA_AptState['GuestID'] = 0
  1013. end
  1014. end
  1015. end
  1016. if $ARGS[0] = 'SFLA-AptGuest-KolkaFlatmateConfirm':
  1017. *clr & cla
  1018. modVar_AF_SFLA_KolkaVisit['A<<args[1]>>'] = 1
  1019. minut += 1
  1020. gs 'stat'
  1021. '<center><b><font color="<<$NPCInteract_FontColour>>"><<$npc_firstname[''A<<NPCInteract_NPCID>>'']>> <<$npc_lastname[''A<<NPCInteract_NPCID>>'']>></font></b></center>'
  1022. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="<<$NPCInteract_ImageChoice>>"></center>'
  1023. *nl
  1024. '"<<$npc_nickname[''A<<args[1]>>'']>>, would it be OK if my Brother comes to stay with us for a couple of weeks. It''d be nice for him to have some time to focus on his school projects and I think it would do him the world of good."'
  1025. *nl
  1026. '<font color="<<$npc_fontcolor[''A<<args[1]>>'']>>">"It''s no problem at all, of course he can stay. You did up the spare room after all."</font>'
  1027. *nl
  1028. '"That''s fantastic, I''ll introduce him when he arrives!"'
  1029. act 'Walk away in happy mood' : gt $loc, $loc_arg
  1030. end
  1031. if $ARGS[0] = 'SFLA-PeoplePresent-Display':
  1032. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , $ARGS[1] , 'Any'
  1033. *nl
  1034. if $loc ! 'torgcentr' : '<b>People Present:</b>'
  1035. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 0:
  1036. KILLVAR '$modArr_AF_SFLA_BusyActList'
  1037. $modArr_AF_SFLA_BusyActList[] = 'Sleeping'
  1038. $modArr_AF_SFLA_BusyActList[] = 'Working'
  1039. peoplepresentloopcount = 0
  1040. :peoplepresentloop
  1041. if peoplepresentloopcount >= arrsize('modArr_AF_SFLA_SharedActPeopleArray'):
  1042. jump 'peoplepresentloopend'
  1043. end
  1044. peoplepresentid = modArr_AF_SFLA_SharedActPeopleArray[peoplepresentloopcount]
  1045. $peoplepresentname = '<<$npc_firstname[''A<<peoplepresentid>>'']>>'
  1046. if $peoplepresentname = 'Igor' : $peoplepresentname = 'Igora'
  1047. peoplepresentcharpos = arrpos('charsche_charlist',peoplepresentid)
  1048. if arrpos('$modArr_AF_SFLA_BusyActList',$charsche_character_CurActDesc[peoplepresentcharpos]) = -1:
  1049. gs 'mod_addedflavour_SFLA_Functions' , 'npcmessage' , peoplepresentid
  1050. else
  1051. KILLVAR '$modVar_AF_NPCMessage'
  1052. end
  1053. if $charsche_character_CurActDesc[peoplepresentcharpos] = 'Studying':
  1054. if strpos($charsche_character_CurActLoc[peoplepresentcharpos],'Bedr') > 0 or $charsche_character_CurActLoc[peoplepresentcharpos] = $charsche_character_HomeLoc[peoplepresentcharpos]:
  1055. '<<$peoplepresentname>> is here studying on the bed' + '<<$modVar_AF_NPCMessage>>'
  1056. else
  1057. '<<$peoplepresentname>> is here studying at a desk' + '<<$modVar_AF_NPCMessage>>'
  1058. end
  1059. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Working':
  1060. if $charsche_character_CurActLoc[peoplepresentcharpos] = 'city_island':
  1061. '<<$peoplepresentname>> is busy attending a lecture'
  1062. elseif $charsche_character_CurActLoc[peoplepresentcharpos] = 'dolls':
  1063. '<<$peoplepresentname>> is busy working on the Shop Floor'
  1064. end
  1065. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Resting':
  1066. if $charsche_character_CurActLoc[peoplepresentcharpos] = 'city_park':
  1067. '<<$peoplepresentname>> is enjoying some time at the Park' + '<<$modVar_AF_NPCMessage>>'
  1068. elseif $charsche_character_CurActLoc[peoplepresentcharpos] = 'mod_addedflavour_SFLA_Bal':
  1069. '<<$peoplepresentname>> is resting on one of the Balcony Chairs' + '<<$modVar_AF_NPCMessage>>'
  1070. elseif strpos($charsche_character_CurActLoc[peoplepresentcharpos],'Bedr') > 0 or $charsche_character_CurActLoc[peoplepresentcharpos] = $charsche_character_HomeLoc[peoplepresentcharpos]:
  1071. '<<$peoplepresentname>> is resting on the bed' + '<<$modVar_AF_NPCMessage>>'
  1072. elseif $charsche_character_CurActLoc[peoplepresentcharpos] = 'mod_addedflavour_SFLA_Sitr':
  1073. '<<$peoplepresentname>> is lounging around and doing nothing in particular' + '<<$modVar_AF_NPCMessage>>'
  1074. elseif $charsche_character_CurActLoc[peoplepresentcharpos] = 'city_island':
  1075. '<<$peoplepresentname>> is resting on University Grounds' + '<<$modVar_AF_NPCMessage>>'
  1076. end
  1077. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Partying':
  1078. '<<$peoplepresentname>> is ' + iif(rand(1,2) = 1,'hitting the dance floor','idling in the communal areas') + '<<$modVar_AF_NPCMessage>>'
  1079. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Yoga':
  1080. '<<$peoplepresentname>> is doing some Yoga' + '<<$modVar_AF_NPCMessage>>'
  1081. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Sleeping':
  1082. if strpos($charsche_character_CurActLoc[peoplepresentcharpos],'Bedr') > 0 or $charsche_character_CurActLoc[peoplepresentcharpos] = $charsche_character_HomeLoc[peoplepresentcharpos]:
  1083. '<<$peoplepresentname>> is fast asleep on the bed'
  1084. elseif strpos($charsche_character_CurActLoc[peoplepresentcharpos],'Sitr') > 0:
  1085. '<<$peoplepresentname>> is asleep on the sofa'
  1086. else
  1087. '<<$peoplepresentname>> is fast asleep here'
  1088. end
  1089. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Working Out':
  1090. if $charsche_character_CurActLoc[peoplepresentcharpos] = 'mod_addedflavour_SFLA_SpRm':
  1091. '<<$peoplepresentname>> is Working Out in the Gym Space' + '<<$modVar_AF_NPCMessage>>'
  1092. elseif $charsche_character_CurActLoc[peoplepresentcharpos] = 'mod_addedflavour_SFLA_Sitr':
  1093. '<<$peoplepresentname>> is Working Out in some free space' + '<<$modVar_AF_NPCMessage>>'
  1094. end
  1095. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Watch TV':
  1096. '<<$peoplepresentname>> is Watching the Television' + '<<$modVar_AF_NPCMessage>>'
  1097. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Playing Games':
  1098. '<<$peoplepresentname>> is playing on the Video Games Console' + '<<$modVar_AF_NPCMessage>>'
  1099. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Computer':
  1100. '<<$peoplepresentname>> is on her laptop' + '<<$modVar_AF_NPCMessage>>'
  1101. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Eating':
  1102. '<<$peoplepresentname>> is eating some food' + '<<$modVar_AF_NPCMessage>>'
  1103. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Bathing':
  1104. '<<$peoplepresentname>> is generally doing Bathroom things' + '<<$modVar_AF_NPCMessage>>'
  1105. elseif $charsche_character_CurActDesc[peoplepresentcharpos] = 'Modelling':
  1106. if peoplepresentid = 144:
  1107. '<a href="exec: gt ''foto_models2'',''anushka_1'' "><<$peoplepresentname>></a> is idling around the Agency' + '<<$modVar_AF_NPCMessage>>'
  1108. else
  1109. '<<$peoplepresentname>> is idling around the Agency' + '<<$modVar_AF_NPCMessage>>'
  1110. end
  1111. end
  1112. peoplepresentloopcount += 1
  1113. jump 'peoplepresentloop'
  1114. :peoplepresentloopend
  1115. KILLVAR 'modArr_AF_SFLA_PeoplePresentArray'
  1116. if modArr_AF_SFLA_SharedActPeopleArray[0] ! 0:
  1117. modArr_AF_SFLA_PeoplePresentArray[] = modArr_AF_SFLA_SharedActPeopleArray[0]
  1118. $peoplepresentshortname = '<<$npc_nickname[''A<<modArr_AF_SFLA_PeoplePresentArray[0]>>'']>>'
  1119. if arrpos('$modArr_AF_SFLA_BusyActList',$charsche_character_CurActDesc[arrpos('charsche_charlist',modArr_AF_SFLA_PeoplePresentArray[0])]) = -1:
  1120. act 'Speak to <<$peoplepresentshortname>>' : gt 'mod_addedflavour_SFLA_NPCInteract' , 'start' , modArr_AF_SFLA_PeoplePresentArray[0]
  1121. end
  1122. end
  1123. if modArr_AF_SFLA_SharedActPeopleArray[1] ! 0:
  1124. modArr_AF_SFLA_PeoplePresentArray[] = modArr_AF_SFLA_SharedActPeopleArray[1]
  1125. $peoplepresentshortname = '<<$npc_nickname[''A<<modArr_AF_SFLA_PeoplePresentArray[1]>>'']>>'
  1126. if arrpos('$modArr_AF_SFLA_BusyActList',$charsche_character_CurActDesc[arrpos('charsche_charlist',modArr_AF_SFLA_PeoplePresentArray[1])]) = -1:
  1127. act 'Speak to <<$peoplepresentshortname>>' : gt 'mod_addedflavour_SFLA_NPCInteract' , 'start' , modArr_AF_SFLA_PeoplePresentArray[1]
  1128. end
  1129. end
  1130. if modArr_AF_SFLA_SharedActPeopleArray[2] ! 0:
  1131. modArr_AF_SFLA_PeoplePresentArray[] = modArr_AF_SFLA_SharedActPeopleArray[2]
  1132. $peoplepresentshortname = '<<$npc_nickname[''A<<modArr_AF_SFLA_PeoplePresentArray[2]>>'']>>'
  1133. if arrpos('$modArr_AF_SFLA_BusyActList',$charsche_character_CurActDesc[arrpos('charsche_charlist',modArr_AF_SFLA_PeoplePresentArray[2])]) = -1:
  1134. act 'Speak to <<$peoplepresentshortname>>' : gt 'mod_addedflavour_SFLA_NPCInteract' , 'start' , modArr_AF_SFLA_PeoplePresentArray[2]
  1135. end
  1136. end
  1137. if modArr_AF_SFLA_SharedActPeopleArray[3] ! 0:
  1138. modArr_AF_SFLA_PeoplePresentArray[] = modArr_AF_SFLA_SharedActPeopleArray[3]
  1139. $peoplepresentshortname = '<<$npc_nickname[''A<<modArr_AF_SFLA_PeoplePresentArray[3]>>'']>>'
  1140. if arrpos('$modArr_AF_SFLA_BusyActList',$charsche_character_CurActDesc[arrpos('charsche_charlist',modArr_AF_SFLA_PeoplePresentArray[3])]) = -1:
  1141. act 'Speak to <<$peoplepresentshortname>>' : gt 'mod_addedflavour_SFLA_NPCInteract' , 'start' , modArr_AF_SFLA_PeoplePresentArray[3]
  1142. end
  1143. end
  1144. else
  1145. if $loc ! 'torgcentr' : 'You don''t see anyone here'
  1146. end
  1147. end
  1148. if $ARGS[0] = 'SFLA-UpgradeRoom-Check':
  1149. modVar_AF_Temp = 0
  1150. if $ARGS[1] = 'Bedr1' : modVar_AF_Temp = 700
  1151. if $ARGS[1] = 'Bedr2' : modVar_AF_Temp = 701
  1152. if $ARGS[1] = 'Bedr3' : modVar_AF_Temp = 702
  1153. $modVar_AF_RoomRenovation = $ARGS[1]
  1154. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , $loc , 'Any'
  1155. if modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>'] = 0:
  1156. if modVar_AF_Temp ! 0 and $loc = $charsche_character_HomeLoc[arrpos('charsche_charlist',modVar_AF_Temp)] and npc_rel['A<<modVar_AF_Temp>>'] >= 50:
  1157. act 'Renovate <<$npc_firstname[''A<<modVar_AF_Temp>>'']>>''s Room' : gt 'mod_addedflavour_SFLA_Functions' , 'SFLA-UpgradeRoom-Work' , $modVar_AF_RoomRenovation , 'start'
  1158. elseif modVar_AF_Temp = 0:
  1159. act 'Renovate Room' : gt 'mod_addedflavour_SFLA_Functions' , 'SFLA-UpgradeRoom-Work' , $modVar_AF_RoomRenovation , 'start'
  1160. end
  1161. elseif modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>'] >= 1 and modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>'] < modVar_AF_SFLA_AptRProg['Lv2Req']:
  1162. SFLA_UpgradeBarWidth = (modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>'] * 100) / modVar_AF_SFLA_AptRProg['Lv2Req']
  1163. SFLA_UpgradeAntiBarWidth = 100 - SFLA_UpgradeBarWidth
  1164. '<center><b>Upgrade Progress:</b><table border=1 width=50%><tr><td style="text-align:right" bgcolor="blue" width=<<SFLA_UpgradeBarWidth>>%><font color="blue">|</font></td><td bgcolor="red" width=<<SFLA_UpgradeAntiBarWidth>>%><font color="red">|</font></td></tr></table></center>'
  1165. if modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>'] >= 2 and arrsize('modArr_AF_SFLA_SharedActPeopleArray') = 0:
  1166. act 'Work on renovation (<<modVar_AF_SFLA_AptRProg[''<<$ARGS[1]>>Time'']>>:00)' : gt 'mod_addedflavour_SFLA_Functions' , 'SFLA-UpgradeRoom-Work', $modVar_AF_RoomRenovation , 'upgrade'
  1167. end
  1168. *nl
  1169. elseif modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>'] = modVar_AF_SFLA_AptRProg['Lv2Req']:
  1170. modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>'] += 1
  1171. if $ARGS[0] ! 'Bedr4' : modVar_AF_SFLA_AptContributions['PCS'] += modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>Cost']
  1172. KILLVAR 'modArr_AF_SFLA_SharedActPeopleArray'
  1173. if $ARGS[1] = 'Bedr1' or $ARGS[1] = 'Bedr2' or $ARGS[1] = 'Bedr3':
  1174. modArr_AF_SFLA_SharedActPeopleArray[] = modVar_AF_Temp
  1175. gs 'mod_addedflavour_SFLA_Functions' , 'npcrelcalc' , 'Casual-Insist' , 10
  1176. '<center><b>You have finished renovating the <<$npc_firstname[''A<<modVar_AF_Temp>>'']>>''s Room! You look forward to see how happy she will be with the work you have done.</b></center>'
  1177. elseif $ARGS[1] = 'SpRm':
  1178. modArr_AF_SFLA_SharedActPeopleArray[] = 700
  1179. modArr_AF_SFLA_SharedActPeopleArray[] = 701
  1180. modArr_AF_SFLA_SharedActPeopleArray[] = 702
  1181. gs 'mod_addedflavour_SFLA_Functions' , 'npcrelcalc' , 'Casual-Insist' , 8
  1182. '<center><b>You have finished renovating the Spare Room! Not only is it now an open and free space but we have the option to use it as a Guest Room.</b></center>'
  1183. elseif $ARGS[1] = 'Sitr' or $ARGS[1] = 'Kit' or $ARGS[1] = 'BaRm':
  1184. modArr_AF_SFLA_SharedActPeopleArray[] = 700
  1185. modArr_AF_SFLA_SharedActPeopleArray[] = 701
  1186. modArr_AF_SFLA_SharedActPeopleArray[] = 702
  1187. if $ARGS[1] = 'Sitr' : charsche_activity_Active[arrpos('$charsche_actlist','SFLASitr - Playing Games')] = 1
  1188. gs 'mod_addedflavour_SFLA_Functions' , 'npcrelcalc' , 'Casual-Insist' , 5
  1189. '<center><b>You have finished renovating this room! You feel that everyone else will appreciate you for your efforts as well as getting to experience the benefits of a job well done.</b></center>'
  1190. end
  1191. *nl
  1192. end
  1193. end
  1194. if $ARGS[0] = 'SFLA-UpgradeRoom-Work':
  1195. *clr & cla
  1196. KILLVAR '$modVar_AF_RoomRenovation'
  1197. if $ARGS[2] = 'start':
  1198. '<center><b><font color="maroon">Upgrade Room - Are You Sure?</font></b></center>'
  1199. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/buildingwork.jpg"></center>'
  1200. *nl
  1201. SFLA_UpgradeRoom_Time = modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>Time'] * (modVar_AF_SFLA_AptRProg['Lv2Req'] - 2)
  1202. '<center>Do you want to upgrade this room? It will take <<SFLA_UpgradeRoom_Time>> Hours and cost <<modVar_AF_SFLA_AptRProg[''<<$ARGS[1]>>Cost'']>>₽.</center>'
  1203. '<center><a href="exec: modVar_AF_SFLA_AptRProg[''<<$ARGS[1]>>''] = 1 & gt ''mod_addedflavour_SFLA_<<$ARGS[1]>>'' , ''start'' ">Yes</a> or <a href="exec: gt ''mod_addedflavour_SFLA_<<$ARGS[1]>>'' , ''start'' ">No</a></center>'
  1204. *nl
  1205. '<center>If you do then you can purchase the necessary materials at "Ilyich and Biryukov construction".</center>'
  1206. elseif $ARGS[2] = 'upgrade':
  1207. minut += modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>Time'] * 60
  1208. modVar_AF_SFLA_AptRProg['<<$ARGS[1]>>'] += 1
  1209. gs 'stat'
  1210. '<center><b><font color="maroon">Upgrade Room - Progressing</font></b></center>'
  1211. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/system/buildingwork.jpg"></center>'
  1212. *nl
  1213. 'You slog away at rebuilding the room; replacing fixtures, moving furniture, changing decor, etc. It is slow, meaningful progress but progress nevertheless...'
  1214. act 'Take a break' : gt 'mod_addedflavour_SFLA_<<$ARGS[1]>>' , 'start'
  1215. end
  1216. end
  1217. if $ARGS[0] = 'SFLA-AptBoard-Contributions':
  1218. *clr & cla
  1219. menu_off = 1
  1220. '<center><b>Individual Contributions</b></center>'
  1221. if modVar_AF_SFLA_AptContributions['700'] > modVar_AF_SFLA_AptContributions['701'] and modVar_AF_SFLA_AptContributions['700'] > modVar_AF_SFLA_AptContributions['702'] and modVar_AF_SFLA_AptContributions['700'] > modVar_AF_SFLA_AptContributions['PCS']:
  1222. SFLA_Contrib_HV = modVar_AF_SFLA_AptContributions['700']
  1223. elseif modVar_AF_SFLA_AptContributions['701'] > modVar_AF_SFLA_AptContributions['700'] and modVar_AF_SFLA_AptContributions['701'] > modVar_AF_SFLA_AptContributions['702'] and modVar_AF_SFLA_AptContributions['701'] > modVar_AF_SFLA_AptContributions['PCS']:
  1224. SFLA_Contrib_HV = modVar_AF_SFLA_AptContributions['701']
  1225. elseif modVar_AF_SFLA_AptContributions['702'] > modVar_AF_SFLA_AptContributions['700'] and modVar_AF_SFLA_AptContributions['702'] > modVar_AF_SFLA_AptContributions['701'] and modVar_AF_SFLA_AptContributions['702'] > modVar_AF_SFLA_AptContributions['PCS']:
  1226. SFLA_Contrib_HV = modVar_AF_SFLA_AptContributions['701']
  1227. elseif modVar_AF_SFLA_AptContributions['PCS'] > modVar_AF_SFLA_AptContributions['700'] and modVar_AF_SFLA_AptContributions['PCS'] > modVar_AF_SFLA_AptContributions['701'] and modVar_AF_SFLA_AptContributions['PCS'] > modVar_AF_SFLA_AptContributions['702']:
  1228. SFLA_Contrib_HV = modVar_AF_SFLA_AptContributions['PCS']
  1229. end
  1230. if SFLA_Contrib_HV > 5000 : SFLA_Contrib_HV = 5000
  1231. $SFLA_CharID = '700'
  1232. :SitrContribLoop
  1233. SFLA_Amount = modVar_AF_SFLA_AptContributions['<<$SFLA_CharID>>']
  1234. if SFLA_Amount > 0:
  1235. if SFLA_Amount < SFLA_Contrib_HV:
  1236. SFLA_BarWidth = (SFLA_Amount * 100 / SFLA_Contrib_HV)
  1237. elseif SFLA_Amount >= SFLA_Contrib_HV:
  1238. SFLA_BarWidth = 100
  1239. end
  1240. elseif SFLA_Amount < 0:
  1241. SFLA_Amount_Adj = ((SFLA_Amount - SFLA_Amount) - SFLA_Amount)
  1242. if SFLA_Amount_Adj < SFLA_Contrib_HV:
  1243. SFLA_BarWidth = (SFLA_Amount_Adj * 100 / SFLA_Contrib_HV)
  1244. elseif SFLA_Amount_Adj >= SFLA_Contrib_HV:
  1245. SFLA_BarWidth = 100
  1246. end
  1247. else
  1248. SFLA_BarWidth = 0
  1249. end
  1250. if SFLA_Amount > 0:
  1251. SFLA_Sec1 = 45
  1252. SFLA_Sec2 = 0
  1253. SFLA_Sec4 = (SFLA_BarWidth * 45 / 100)
  1254. SFLA_Sec5 = 45 - SFLA_Sec4
  1255. $SFLA_Contrib_LeftBar = ''
  1256. $SFLA_Contrib_RightBar = 'bgcolor="blue" '
  1257. elseif SFLA_Amount < 0:
  1258. SFLA_Sec2 = (SFLA_BarWidth * 45 / 100)
  1259. SFLA_Sec1 = 45 - SFLA_Sec2
  1260. SFLA_Sec4 = 0
  1261. SFLA_Sec5 = 45
  1262. $SFLA_Contrib_LeftBar = 'bgcolor="red" '
  1263. $SFLA_Contrib_RightBar = ''
  1264. else
  1265. SFLA_Sec1 = 45
  1266. SFLA_Sec2 = 0
  1267. SFLA_Sec4 = 0
  1268. SFLA_Sec5 = 45 - SFLA_Sec4
  1269. $SFLA_Contrib_LeftBar = ''
  1270. $SFLA_Contrib_RightBar = ''
  1271. end
  1272. if $SFLA_CharID = 'PCS':
  1273. $SFLA_CharName = $pcs_firstname
  1274. $SFLA_FontColour = 'Black'
  1275. else
  1276. $SFLA_CharName = $npc_firstname['A<<$SFLA_CharID>>']
  1277. $SFLA_FontColour = $npc_fontcolor['A<<$SFLA_CharID>>']
  1278. end
  1279. '<center><table><tr><td></td><td></td><td style="text-align:center"><u><font color="<<$SFLA_FontColour>>"><<$SFLA_CharName>></font></u></td><td></td><td></td></tr><tr><td width=<<SFLA_Sec1>>%></td><td <<$SFLA_Contrib_LeftBar>>width=<<SFLA_Sec2>>%></td><td width=10% style="text-align:center"><<modVar_AF_SFLA_AptContributions[''<<$SFLA_CharID>>'']>>₽</td><td <<$SFLA_Contrib_RightBar>>width=<<SFLA_Sec4>>%></td><td width=<<SFLA_Sec5>>%></td></tr></table></center>'
  1280. if $SFLA_CharID = '700':
  1281. $SFLA_CharID = '701'
  1282. jump 'SitrContribLoop'
  1283. elseif $SFLA_CharID = '701':
  1284. $SFLA_CharID = '702'
  1285. jump 'SitrContribLoop'
  1286. elseif $SFLA_CharID = '702':
  1287. $SFLA_CharID = 'PCS'
  1288. jump 'SitrContribLoop'
  1289. end
  1290. *nl
  1291. '<center><b>Rent per Person</b></center>'
  1292. '<center><<modVar_AF_SFLA_AptState[''Rent'']>>₽ at beginning of week</center>'
  1293. *nl
  1294. '<center><b>Actions</b></center>'
  1295. '<center>Pay into Household Account - ' + iif(Karta >= 100,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''SFLA-AptLive-PayIn'' , 100 & gt ''mod_addedflavour_SFLA_Functions'' , ''SFLA-AptBoard-Contributions'' ">(+100)</a>','') + iif(Karta >= 1000,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''SFLA-AptLive-PayIn'' , 1000 & gt ''mod_addedflavour_SFLA_Functions'' , ''SFLA-AptBoard-Contributions'' ">(+1000)</a>','') + iif(Karta < 100,'(You do not have enough money in your account)','') + '</center>'
  1296. '<center>Remove Money from Household Account - ' + iif(modVar_AF_SFLA_AptContributions['PCS'] >= 100,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''SFLA-AptLive-PayOut'' , 100 & gt ''mod_addedflavour_SFLA_Functions'' , ''SFLA-AptBoard-Contributions'' ">(-100)</a>','') + iif(modVar_AF_SFLA_AptContributions['PCS'] >= 1000,'<a href="exec: gs ''mod_addedflavour_SFLA_Functions'' , ''SFLA-AptLive-PayOut'' , 1000 & gt ''mod_addedflavour_SFLA_Functions'' , ''SFLA-AptBoard-Contributions'' ">(-1000)</a>','') + iif(modVar_AF_SFLA_AptContributions['PCS'] < 100,'(You cannot take any more money out of your account)','') + '</center>'
  1297. act 'Return' : gt $loc, $loc_arg
  1298. end
  1299. if $ARGS[0] = 'ShowSchedule':
  1300. '<b>University - Lesson Schedule:</b>'
  1301. *nl
  1302. if ARGS[1] = 700:
  1303. 'Mondays - Mornings'
  1304. 'Tuesday - Mornings & Afternoons'
  1305. 'Wednesdays - Afternoons'
  1306. 'Thursdays - Afternoons'
  1307. 'Fridays - Mornings & Afternoons'
  1308. elseif ARGS[1] = 701:
  1309. 'Mondays - Mornings & Afternoons'
  1310. 'Tuesday - Mornings'
  1311. 'Wednesdays - Mornings'
  1312. 'Thursdays - Mornings & Afternoons'
  1313. 'Fridays - Afternoons'
  1314. elseif ARGS[1] = 702:
  1315. 'Mondays - Afternoons'
  1316. 'Tuesday - Mornings & Afternoons'
  1317. 'Wednesdays - Afternoons'
  1318. 'Thursdays - Mornings & Afternoons'
  1319. 'Fridays - Mornings'
  1320. end
  1321. end
  1322. if $ARGS[0] = 'SFLA-InterNPC-Sex':
  1323. modVar_AF_Temp = modArr_AF_SFLA_SharedActPeopleArray[0]
  1324. modVar_AF_Temp2 = modArr_AF_SFLA_SharedActPeopleArray[1]
  1325. if charsche_character_CurActPriority[arrpos('charsche_charlist',modVar_AF_Temp)] = 2 and charsche_character_CurActPriority[arrpos('charsche_charlist',modVar_AF_Temp2)] = 2:
  1326. if npc_horny['A<<modVar_AF_Temp>>'] >= 50 and npc_horny['A<<modVar_AF_Temp2>>'] >= 50 and (modVar_AF_SexProg['A<<modVar_AF_Temp>>XA<<modVar_AF_Temp2>>'] >= modVar_AF_SexProg['TouchGate'] or modVar_AF_SexProg['A<<modVar_AF_Temp2>>XA<<modVar_AF_Temp>>'] >= modVar_AF_SexProg['TouchGate']):
  1327. modVar_AF_Rand = rand(0,1)
  1328. modVar_AF_Temp3 = arrpos('charsche_charlist',modArr_AF_SFLA_SharedActPeopleArray[modVar_AF_Rand])
  1329. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , modArr_AF_SFLA_SharedActPeopleArray[0] , $charsche_character_HomeLoc[modVar_AF_Temp3] , 'Sex' , rand(5,20)
  1330. gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , modArr_AF_SFLA_SharedActPeopleArray[1] , $charsche_character_HomeLoc[modVar_AF_Temp3] , 'Sex' , rand(5,20)
  1331. gs 'mod_addedflavour_Functions' , 'npchorncalc' , 'Loss' , modArr_AF_SFLA_SharedActPeopleArray[0] , rand(20,50)
  1332. gs 'mod_addedflavour_Functions' , 'npchorncalc' , 'Loss' , modArr_AF_SFLA_SharedActPeopleArray[1] , rand(20,50)
  1333. end
  1334. end
  1335. end
  1336. --- mod_addedflavour_SFLA_Functions ---------------------------------