mod_addedflavour_charchor.qsrc 6.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. # mod_addedflavour_charchor
  2. if $ARGS[0] = 'choreographer-overall':
  3. !! Sets up locations for Delivery Jobs !!
  4. if modVar_AF_DeliveryVanHour ! hour and hour >= 9:
  5. modVar_AF_DeliveryVanHour = hour
  6. if $charsche_character_CurActDesc[arrpos('charsche_charlist',28)] = 'Working':
  7. if arrsize('$modArr_AF_DeliveryVanOptionsDaily') = 0:
  8. $charsche_character_CurActLoc[arrpos('charsche_charlist',28)] = $charsche_character_Workplace[arrpos('charsche_charlist',28)]
  9. else
  10. modVar_AF_Rand = rand(1,arrsize('$modArr_AF_DeliveryVanOptionsDaily')) - 1
  11. $charsche_character_CurActLoc[arrpos('charsche_charlist',28)] = $modArr_AF_DeliveryVanOptionsDaily[modVar_AF_Rand]
  12. KILLVAR '$modArr_AF_DeliveryVanOptionsDaily' , modVar_AF_Rand
  13. end
  14. end
  15. if $charsche_character_CurActDesc[arrpos('charsche_charlist',704)] = 'Working':
  16. if arrsize('$modArr_AF_DeliveryVanOptionsDaily') = 0:
  17. $charsche_character_CurActLoc[arrpos('charsche_charlist',704)] = $charsche_character_Workplace[arrpos('charsche_charlist',704)]
  18. else
  19. modVar_AF_Rand = rand(1,arrsize('$modArr_AF_DeliveryVanOptionsDaily')) - 1
  20. $charsche_character_CurActLoc[arrpos('charsche_charlist',704)] = $modArr_AF_DeliveryVanOptionsDaily[modVar_AF_Rand]
  21. KILLVAR '$modArr_AF_DeliveryVanOptionsDaily' , modVar_AF_Rand
  22. end
  23. end
  24. modVar_AF_DeliveryVanHour = hour
  25. end
  26. !! Initiates inter-NPC sex when two are alone in apartment !!
  27. gs 'mod_addedflavour_SFLA_Functions' , 'whoelse' , 'SFLA' , 'Any'
  28. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') = 2 and rand(1,10) = 1 : gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-InterNPC-Sex'
  29. end
  30. if $ARGS[0] = 'choreographer-individual':
  31. !! Let Player know they are at the Night-Club !!
  32. if $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'club' and npc_rel['A<<ARGS[1]>>'] >= 90 and modVar_AF_EventLock['SFLA-ClubActive'] ! daystart and $loc ! 'club':
  33. modVar_AF_EventLock['SFLA-ClubActive'] = daystart
  34. modVar_AF_EventOpen['SFLA-ClubActive'] = ARGS[1]
  35. elseif $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] ! 'club' and modVar_AF_EventOpen['SFLA-ClubActive'] = ARGS[1]:
  36. modVar_AF_EventOpen['SFLA-ClubActive'] = 0
  37. end
  38. !! Handles SFLA NPC Location & Action Alterations !!
  39. if ARGS[1] = 700 or ARGS[1] = 701 or ARGS[1] = 702 or ARGS[1] = 144:
  40. if $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Working' and $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'city_island' and rand(1,10) = 1 : $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Resting' & charsche_character_CurActTime[arrpos('charsche_charlist',ARGS[1])] = rand(20,35)
  41. if week >= 5 and (((hour * 60) + minut) >= 1080 and ((hour * 60) + minut) <= 1380) and charsche_character_CurActPriority[arrpos('charsche_charlist',ARGS[1])] ! 1 and rand(1,10) = 1 : gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , ARGS[1] , 'club' , 'Partying' , rand(30,60)
  42. end
  43. if ARGS[1] = 144:
  44. if $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Working' and $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'dolls' and rand(1,10) = 1 and modVar_AF_EventLock['A144-DollsSexEv'] ! daystart: $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Sex' & charsche_character_CurActTime[arrpos('charsche_charlist',ARGS[1])] = rand(10,30)
  45. end
  46. !! Changes Activities during Mother Stay at City Apartment !!
  47. if ARGS[1] = 29:
  48. if $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'bedr':
  49. if hour < 6 : $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Sleeping'
  50. if modVar_AF_EventLock['A29-AptStayEv-Clothed'] = 1:
  51. if modVar_AF_EventLock['A29-AptStayEv-Bathed'] = 0:
  52. $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'vanr'
  53. $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Bathing'
  54. else
  55. $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'korr'
  56. $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Idle'
  57. charsche_character_CurActTime[arrpos('charsche_charlist',ARGS[1])] = 15
  58. end
  59. end
  60. end
  61. if $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'kuhr':
  62. if modVar_AF_EventProgress['A29-MotherConfidence'] > modVar_AF_EventGates['A29-MotherConfidence-2'] and rand(1,2) = 1:
  63. $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Resting'
  64. end
  65. end
  66. if $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'sitr':
  67. if modVar_AF_EventProgress['A29-MotherConfidence'] > modVar_AF_EventGates['A29-MotherConfidence-5'] and rand(1,3) = 1:
  68. $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Masturbating'
  69. elseif modVar_AF_EventProgress['A29-MotherConfidence'] > modVar_AF_EventGates['A29-MotherConfidence-3'] and rand(1,2) = 1:
  70. $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Lounging'
  71. end
  72. end
  73. if $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'vanr':
  74. if modVar_AF_EventLock['A29-AptStayEv-Bathed'] = 1 : $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'korr' & $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Idle' & charsche_character_CurActTime[arrpos('charsche_charlist',ARGS[1])] = 15
  75. end
  76. if $charsche_character_PrevActLoc[arrpos('charsche_charlist',ARGS[1])] = 'bedr' and $charsche_character_PrevActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Resting' : modVar_AF_EventLock['A29-AptStayEv-Clothed'] = 1
  77. if $charsche_character_PrevActLoc[arrpos('charsche_charlist',ARGS[1])] = 'vanr' and $charsche_character_PrevActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Bathing' : modVar_AF_EventLock['A29-AptStayEv-Bathed'] = 1
  78. end
  79. !! Makes characters horny if in same room as you when looking sexy !!
  80. if (PCloInhibit >= 30 or $clothingworntype = 'nude' or hotcat >= 8) and $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = $loc:
  81. gs 'mod_addedflavour_Functions' , 'npchorncalc' , 'Gain' , ARGS[1] , rand(1,5)
  82. end
  83. !! Changes Junior Cup Hotel Characters to be in the correct location when bathing !!
  84. if strpos($charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])],'mod_addedflavour_city_hotel_Bedr') > 0 and $charsche_character_CurActDesc[arrpos('charsche_charlist',ARGS[1])] = 'Bathing':
  85. $modVar_AF_TempStr = $MID($charsche_character_HomeLoc[arrpos('charsche_charlist',ARGS[1])],len($charsche_character_HomeLoc[arrpos('charsche_charlist',ARGS[1])]))
  86. $charsche_character_CurActLoc[arrpos('charsche_charlist',ARGS[1])] = 'mod_addedflavour_city_hotel_BaRm_<<$modVar_AF_TempStr>>'
  87. end
  88. end
  89. --- mod_addedflavour_charchor ---------------------------------