mod_addedflavour_A33_Functions.qsrc 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # mod_addedflavour_A33_Functions
  2. if $ARGS[0] = 'config':
  3. $npc_fontcolor['A33'] = 'Maroon'
  4. !Conv
  5. modVar_AF_EventGates['A33-SibSexEv-1'] = 8
  6. !Touch
  7. modVar_AF_EventGates['A33-SibSexEv-2'] = 16
  8. !Kiss
  9. modVar_AF_EventGates['A33-SibSexEv-3'] = 24
  10. !Oral
  11. modVar_AF_EventGates['A33-SibSexEv-4'] = 32
  12. !Sex
  13. modVar_AF_EventGates['A33-SibSexEv-5'] = 40
  14. end
  15. if $ARGS[0] = 'TalkEvents':
  16. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'chkpossible' , 3
  17. if modVar_AF_EventOpen['A33-BroSexTalk-1'] = 1:
  18. act 'Talk about brother' : gt 'mod_addedflavour_A33_Events' , 'A33-SibSexEv-X1'
  19. elseif modVar_AF_EventProgress['A33-SibSexEv'] = modVar_AF_EventGates['A33-SibSexEv-5'] and modVar_AF_EventOpen['A33-BroSexTalk-2'] ! 2:
  20. act 'Talk about brother' : gt 'mod_addedflavour_A33_Events' , 'A33-SibThreesomeEv-X1'
  21. elseif modVar_AF_EventProgress['A33-SibThreesomeEv-SisInv'] = 0 and modVar_AF_EventOpen['A33-BroSexTalk-2'] = 2 and week ! 7 and modVar_AF_Inhib['Result'] = 1:
  22. act 'Invite for a Sunday Picnic' : gt 'mod_addedflavour_A33_Events' , 'A33-SibThreesomeEv-X2'
  23. end
  24. end
  25. !! Code that picks an activity for Kolka and Anya to be doing depending on Sexual Progress !!
  26. if $ARGS[0] = 'ChooseSibAct':
  27. KILLVAR '$modArr_AF_A33_SibActChoices'
  28. if modVar_AF_EventProgress['A33-SibSexEv'] = modVar_AF_EventGates['A33-SibSexEv-5']:
  29. gs 'mod_addedflavour_A33_Functions' , 'A33-SibActSexChoices'
  30. gs 'mod_addedflavour_A33_Functions' , 'A33-SibActOralChoices'
  31. gs 'mod_addedflavour_A33_Functions' , 'A33-SibActKissChoices'
  32. gs 'mod_addedflavour_A33_Functions' , 'A33-SibActTouchChoices'
  33. gs 'mod_addedflavour_A33_Functions' , 'A33-SibActConvChoices'
  34. elseif modVar_AF_EventProgress['A33-SibSexEv'] >= modVar_AF_EventGates['A33-SibSexEv-4']:
  35. gs 'mod_addedflavour_A33_Functions' , 'A33-SibActSexChoices'
  36. elseif modVar_AF_EventProgress['A33-SibSexEv'] >= modVar_AF_EventGates['A33-SibSexEv-3']:
  37. gs 'mod_addedflavour_A33_Functions' , 'A33-SibActOralChoices'
  38. elseif modVar_AF_EventProgress['A33-SibSexEv'] >= modVar_AF_EventGates['A33-SibSexEv-2']:
  39. gs 'mod_addedflavour_A33_Functions' , 'A33-SibActKissChoices'
  40. elseif modVar_AF_EventProgress['A33-SibSexEv'] >= modVar_AF_EventGates['A33-SibSexEv-1']:
  41. gs 'mod_addedflavour_A33_Functions' , 'A33-SibActTouchChoices'
  42. else
  43. gs 'mod_addedflavour_A33_Functions' , 'A33-SibActConvChoices'
  44. end
  45. modVar_AF_ArrayLoc = rand(1,ARRSIZE('$modArr_AF_A33_SibActChoices')) - 1
  46. $modVar_AF_TempStr = $modArr_AF_A33_SibActChoices[modVar_AF_ArrayLoc]
  47. end
  48. !! Fills the array with Conversation Events !!
  49. if $ARGS[0] = 'A33-SibActConvChoices':
  50. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-C1'
  51. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-C2'
  52. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-C3'
  53. end
  54. !! Fills the array with Touch Events !!
  55. if $ARGS[0] = 'A33-SibActTouchChoices':
  56. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-T1'
  57. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-T2'
  58. if modVar_AF_EventProgress['A33-SibSexEv'] > modVar_AF_EventGates['A33-SibSexEv-2'] : $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-T3'
  59. end
  60. !! Fills the array with Kiss Events !!
  61. if $ARGS[0] = 'A33-SibActKissChoices':
  62. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-K1'
  63. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-K2'
  64. end
  65. !! Fills the array with Oral Events !!
  66. if $ARGS[0] = 'A33-SibActOralChoices':
  67. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-O1'
  68. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-O2'
  69. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-O3'
  70. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-O4'
  71. end
  72. !! Fills the array with Sex Events !!
  73. if $ARGS[0] = 'A33-SibActSexChoices':
  74. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-S1'
  75. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-S2'
  76. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-S3'
  77. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-S4'
  78. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-S5'
  79. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-S6'
  80. $modArr_AF_A33_SibActChoices[] = 'A33-SibSexEv-S7'
  81. end
  82. !! Code to calculate the amount of progression in Kolka and Anyas Sexual Relationship !!
  83. if $ARGS[0] = 'AddProgress' and $ARGS[1] = 'A33-SibSexEv':
  84. if modVar_AF_EventProgress['A33-SibSexEv'] < ARGS[3]:
  85. modVar_AF_EventProgress['A33-SibSexEv'] += ARGS[2]
  86. if modVar_AF_EventProgress['A33-SibSexEv'] > ARGS[3] : modVar_AF_EventProgress['A33-SibSexEv'] = ARGS[3]
  87. end
  88. end
  89. --- mod_addedflavour_A33_Functions ---------------------------------