1
0

cum_call.qsrc 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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 increments 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 never saw him before, and likely won't ever again, or she won't remember 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 $boy ! $ARGS[1] and $ARGS[1] ! '': $boy = $ARGS[1]
  32. !!This check if the name passed is not in the new MGX format
  33. if $ARGS[1] = '' or isnum(mid($ARGS[1],2)) = 0:
  34. if ARGS[2] = 0 or ARGS[2] = 2:
  35. gs 'npcgeneratec', 0, $ARGS[1], rand(18,60), 0, 1
  36. gs 'boyStat', $npclastgenerated
  37. elseif ARGS[2] = 1:
  38. tempnpcid = arrpos('$npc_usedname', $ARGS[1])
  39. if tempnpcid > 0:
  40. gs 'boystat', tempnpcid
  41. '<br><b><font color="teal">DEVELOPER WARNING: Legacy name cum_call needs upgrade from <<$ARGS[1]>> to A<<tempnpcid>></font></b>'
  42. else
  43. 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]>>'
  44. gs 'boyStat', 'D0'
  45. end
  46. end
  47. else
  48. gs 'boyStat', $ARGS[1]
  49. end
  50. sexvolume = iif(ARGS[5] ! 0, ARGS[5], 40)
  51. sexspecpot = ARGS[4]
  52. sexcontra = max(0, min(7, ARGS[3]), sexcontra)
  53. sexpartkno = iif(npc_love[$boy] > 0, 1, 0)
  54. if ARGS[2] = 2:
  55. sexunaware = 1
  56. elseif ARGS[2] = 1:
  57. sexpartkno = 1
  58. end
  59. if arrpos('$ARGS', 'labia') >= 0:
  60. spafinloc = 1
  61. elseif arrpos('$ARGS', 'pantyfront') >= 0:
  62. spafinloc = 2
  63. elseif arrpos('$ARGS', 'anus') >= 0:
  64. spafinloc = 3
  65. elseif arrpos('$ARGS', 'anal') >= 0:
  66. spafinloc = 3
  67. elseif arrpos('$ARGS', 'butt') >= 0:
  68. spafinloc = 4
  69. elseif arrpos('$ARGS', 'pantyrear') >= 0:
  70. spafinloc = 5
  71. elseif arrpos('$ARGS', 'clothes_hidden') >= 0:
  72. spafinloc = 6
  73. elseif arrpos('$ARGS', 'clothes') >= 0:
  74. spafinloc = 7
  75. elseif arrpos('$ARGS', 'back') >= 0:
  76. spafinloc = 8
  77. elseif arrpos('$ARGS', 'legs') >= 0:
  78. spafinloc = 9
  79. elseif arrpos('$ARGS', 'feet') >= 0:
  80. spafinloc = 9
  81. elseif arrpos('$ARGS', 'arms') >= 0:
  82. spafinloc = 10
  83. elseif arrpos('$ARGS', 'face') >= 0:
  84. spafinloc = 11
  85. elseif arrpos('$ARGS', 'mouth') >= 0:
  86. spafinloc = 12
  87. elseif arrpos('$ARGS', 'mouth_swallow') >= 0:
  88. spafinloc = 12
  89. stat['swallow'] += 1
  90. elseif arrpos('$ARGS', 'hands') >= 0:
  91. spafinloc = 13
  92. elseif arrpos('$ARGS', 'stomach') >= 0:
  93. spafinloc = 14
  94. elseif arrpos('$ARGS', 'breasts') >= 0:
  95. spafinloc = 15
  96. elseif arrpos('$ARGS', 'hair') >= 0:
  97. spafinloc = 16
  98. elseif arrpos('$ARGS', 'internalcondom') >= 0:
  99. spafinloc = 17
  100. else
  101. spafinloc = max(0, min(17, ARGS[0]))
  102. !Vagina and default
  103. end
  104. !{'boy <<$boydesc>> loc <<spafinloc>> contra <<sexcontra>> vol <<sexvolume>> ppt <<sexspecpot>> know <<sexpartkno>> unaware <<sexunaware>> cumboy <<$cumboy>>'}
  105. gs 'Cum_Manage'
  106. if $cumboy ! '': $boy = $cumboy & killvar '$cumboy'
  107. sexcontra = 0
  108. else
  109. !This is to check for pregnancy and stds from precum. It is added for readability when it is used in the code.
  110. !It will call cum_call with potency of 1 40th of what it would be for a normal call.
  111. tempSexspecpot = 0
  112. if ARGS[4] > 0:
  113. tempSexspecpot = ARGS[4] / 40
  114. elseif npc_spermpot[$ARGS[1]] > 0:
  115. tempSexspecpot = npc_spermpot[$ARGS[1]] / 40
  116. else
  117. tempSexspecpot = 10000 / 40
  118. end
  119. gs 'cum_call', '', $ARGS[1], ARGS[2], ARGS[3], tempSexspecpot, 1
  120. killvar 'tempSexspecpot'
  121. end
  122. --- cum_call ---------------------------------