cum_call.qsrc 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # cum_call
  2. !{$ARGS[0] is for the location and should be set for all but vaginal:
  3. 'labia' - 'pantyfront' - 'anus' - 'butt' - 'pantyrear' - 'clothes_hidden' - 'clothes' - 'back' - 'legs'
  4. 'arms' - 'face' - 'mouth' - 'hands' - 'stomach' - 'breasts' - 'hair' - 'internalcondom' - 'precum' - 'mouth_swallow'
  5. 'precum' - is for whenever Sveta has unprotected vaginal sex. It will automatically set the volume to 1.
  6. 'mouth_swallow' does the same as mouth but increaments swallow for the cum eater trait
  7. 'feet' redirects to 'legs'
  8. 'anal' redirects to 'anus' (prevents further errors)
  9. $ARGS[1] is for the name of the sexual partner
  10. ARGS[2] is a for knowing the partner. Defaults to 0. If this is not set to 1 the status window message will mention "some guy" instead of his name.
  11. 0 - unknown sex partner (his name may be known, but she newer saw him before, and likely won't ever again, or she won't remeber it)
  12. 1 - sex partner is known for MC (classmate, neighbor, someone she new beforehand)
  13. 2 - MC is unaware of the act (like unconscious sex)
  14. ARGS[3] is contraception, if left blank it will use the default, if you want to force a particular type:
  15. 1 - he thought you were on the pill but you weren''t.
  16. 2 - you are on the Pill
  17. 3 - Condom. Condoms can still fail vy the code.
  18. 4 - the Condom Broke. This is mostly used to check if cum manage resulted in a broken condom.
  19. 5 - the Condom Slipped off. Like 4, this is mostly to check if the contraception of 3 had a failure. But both 4 and 5 can be specified if you want to write an event where it fails no matter what.
  20. 6 - the condom was Sabotaged but the main character shouldn''t know that
  21. 7 - the Condom was Sabotaged by the main character.
  22. ARGS[4] is for changing the potency, -1 for unable to impregnate, default is 10,000
  23. NOTE volume is ignored for pregnancy risk if this or npc_spermpot[] for the partner is set
  24. ARGS[5] is volume, default is 40 (4ml)
  25. For a simple call you only need the first 3, ie:
  26. gs 'cum_call', 'anus', 'Kolka', 1 - for a known partner
  27. gs 'cum_call', 'anus' - for an unknown partner named "unknown", or
  28. gs 'cum_call', 'anus', 'plumber' - for an unknown partner named "plumber"}
  29. if $ARGS[0] ! 'precum':
  30. $cumboy = $boy
  31. if ARGS[5] ! 0:
  32. sexvolume = ARGS[5]
  33. end
  34. if ARGS[4] ! 0:
  35. sexspecpot = ARGS[4]
  36. else
  37. sexspecpot = 0
  38. end
  39. if ARGS[3] = 1:
  40. sexcontra = 1
  41. elseif ARGS[3] = 2:
  42. sexcontra = 2
  43. elseif ARGS[3] = 3:
  44. sexcontra = 3
  45. elseif ARGS[3] = 4:
  46. sexcontra = 4
  47. elseif ARGS[3] = 5:
  48. sexcontra = 5
  49. elseif ARGS[3] = 6:
  50. sexcontra = 6
  51. elseif ARGS[3] = 7:
  52. sexcontra = 7
  53. end
  54. if ARGS[2] = 2:
  55. sexunaware = 1
  56. elseif ARGS[2] = 1:
  57. sexpartkno = 1
  58. else
  59. sexpartkno = 0
  60. end
  61. !!This check if the name passed is not in the new MGX format
  62. if $ARGS[1] = '' or mid($ARGS[1],2,1) > 10:
  63. if ARGS[2] = 0 or ARGS[2] = 2:
  64. gs 'npcgeneratec', 0, $ARGS[1], rand(18,60)
  65. gs 'boyStat', $npclastgenerated
  66. elseif ARGS[2] = 1:
  67. tempnpcid = arrpos('$npc_usedname', $ARGS[1])
  68. if tempnpcid > 0:
  69. gs 'boystat', tempnpcid
  70. '<br><b><font color="teal">DEVELOPER WARNING: Legacy name cum_call needs upgrade from <<$ARGS[1]>> to A<<tempnpcid>></font></b>'
  71. else
  72. MSG 'There has been an error in the cum_call code. Please contact a developer with what you were doing prior to receiving this message so the error may be fixed. Error type: Improper value for cum_call. Name <<$ARGS[1]>>'
  73. gs 'boyStat', 'D0'
  74. end
  75. end
  76. else
  77. gs 'boyStat', $ARGS[1]
  78. end
  79. if $ARGS[0] = 'labia':
  80. spafinloc = 1
  81. elseif $ARGS[0] = 'pantyfront':
  82. spafinloc = 2
  83. elseif $ARGS[0] = 'anus':
  84. spafinloc = 3
  85. elseif $ARGS[0] = 'anal':
  86. spafinloc = 3
  87. elseif $ARGS[0] = 'butt':
  88. spafinloc = 4
  89. elseif $ARGS[0] = 'pantyrear':
  90. spafinloc = 5
  91. elseif $ARGS[0] = 'clothes_hidden':
  92. spafinloc = 6
  93. elseif $ARGS[0] = 'clothes':
  94. spafinloc = 7
  95. elseif $ARGS[0] = 'back':
  96. spafinloc = 8
  97. elseif $ARGS[0] = 'legs':
  98. spafinloc = 9
  99. elseif $ARGS[0] = 'feet':
  100. spafinloc = 9
  101. elseif $ARGS[0] = 'arms':
  102. spafinloc = 10
  103. elseif $ARGS[0] = 'face':
  104. spafinloc = 11
  105. elseif $ARGS[0] = 'mouth':
  106. spafinloc = 12
  107. elseif $ARGS[0] = 'mouth_swallow':
  108. spafinloc = 12
  109. swallow += 1
  110. elseif $ARGS[0] = 'hands':
  111. spafinloc = 13
  112. elseif $ARGS[0] = 'stomach':
  113. spafinloc = 14
  114. elseif $ARGS[0] = 'breasts':
  115. spafinloc = 15
  116. elseif $ARGS[0] = 'hair':
  117. spafinloc = 16
  118. elseif $ARGS[0] = 'internalcondom':
  119. spafinloc = 17
  120. else
  121. spafinloc = 0
  122. !Vagina and default
  123. end
  124. !{'boy <<$boydesc>> loc <<spafinloc>> contra <<sexcontra>> vol <<sexvolume>> ppt <<sexspecpot>> know <<sexpartkno>> unaware <<sexunaware>> cumboy <<$cumboy>>'}
  125. gs 'Cum_Manage'
  126. $boy = $cumboy
  127. sexcontra = 0
  128. else
  129. !This is to check for pregnancy and stds from precum. It is added for readability when it is used in the code.
  130. !It will call cum_call with potency of 1 40th of what it would be for a normal call.
  131. tempSexspecpot = 0
  132. if ARGS[4] > 0:
  133. tempSexspecpot = ARGS[4] / 40
  134. elseif npc_spermpot[$ARGS[1]] > 0:
  135. tempSexspecpot = npc_spermpot[$ARGS[1]] / 40
  136. else
  137. tempSexspecpot = 10000 / 40
  138. end
  139. gs 'cum_call', '', $ARGS[1], ARGS[2], ARGS[3], tempSexspecpot, 1
  140. killvar 'tempSexspecpot'
  141. end
  142. --- cum_call ---------------------------------