shortgs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. # shortgs
  2. !! smoker - handles all changes which happen when PC smokes one cigarette
  3. !! use : gs 'shortgs','smoker'
  4. if $ARGS[0] = 'smoker':
  5. siga -= 1
  6. smoker += 1
  7. smokeHour = hour
  8. smokeDay = daystart
  9. smokeminut = minut + 5
  10. smokerNeed = 0
  11. cumspclnt = 2
  12. gs 'cum_cleanup'
  13. pcs_breath = 0
  14. pcs_mood += 100
  15. wipo += 100
  16. if pcs_energy < 80: pcs_energy += 4
  17. gs '$menu_obnovit'
  18. end &!--- smoker ---
  19. !! milk_me
  20. !! use href="exec:gt ''shortgs'',''milk_me''"
  21. if $ARGS[0] = 'milk_me':
  22. minut += 15
  23. if $location_type ! 'bathroom':
  24. 'You can''t use it here.'
  25. elseif lactatemv > 0 and pain['nipples'] < 60:
  26. '<center><img <<$set_imgh>> src="images/pc/body/tits/pump_lactating.jpg"></center>'
  27. 'You attach the pump to your breast and start rythmically squeezing the bulb until your breasts feel empty.<br>You give it a few more pumps and detach the pump.<br>You filled the bottle with <<lactatemv>>ml of your milk.'
  28. breastcounter += 1
  29. lactatemv = 0
  30. if breastpumped = 1:pain['nipples'] += 10 & 'Your nipples are feeling sore.'
  31. breastpumped = 1
  32. pcs_nips += rand(0,1)
  33. if bcream_used = 1:pcs_nips += 1
  34. elseif lactate = 0 and pain['nipples'] < 60:
  35. if rand(1,100) + breastcounter >= rand(100,200):
  36. '<center><img <<$set_imgh>> src="images/pc/body/tits/lactate_start.jpg"></center>'
  37. 'As usual, you attach the pump but after a few pumps white liquid suddenly starts spurting from your nipples.<br>You started lactating!'
  38. lactate = 1
  39. lactatemv = 0
  40. lactatemm = 10
  41. else
  42. '<center><img <<$set_imgh>> src="images/pc/body/tits/t<<tits>>.jpg"></center>'
  43. 'You attach the pump to your nipples and start squeezing the bulb. The vacuum feels good on your nipples.<br>A few droplets of liquid come out of your nipples but it is not milk.'
  44. breastcounter += 1
  45. if breastpumped = 1:pain['nipples'] += 10 & 'Your nipples are feeling sore.'
  46. breastpumped = 1
  47. pcs_nips += rand(0,1)
  48. if bcream_used = 1:pcs_nips += 1
  49. end
  50. else
  51. 'Your nipples feel too sore to use the pump right now.'
  52. end
  53. act 'Finish':gt $loc, $metka
  54. end &! --- milk_me ---
  55. !! following function counts the number of guys which PC slept with.
  56. !! use func('shortgs','guy') or func('shortgs','guy',X) for subset (X can be 'A','B','C','AB','AC','BC')
  57. if $ARGS[0] = 'guy':
  58. r_sht=0
  59. if $ARGS[1] = '': $temptask = 'ABC' else $temptask = $ARGS[1]
  60. :loop_shtty
  61. $temptaskchar = mid($temptask,1,1)
  62. $temptask = mid($temptask,2,len($temptask)-1)
  63. s_sht=0
  64. :loop_shya
  65. if s_sht<=dyneval("result = <<$temptaskchar>>arraynumber"):
  66. s_sht += 1
  67. if npc_sex['<<$temptaskchar>><<s_sht>>'] > 0: r_sht = r_sht + iif(npc_gender['<<$temptaskchar>><<s_sht>>'] = 0,1,0)
  68. jump 'loop_shya'
  69. end
  70. if len($temptask) > 0:jump 'loop_shtty'
  71. result = r_sht
  72. killvar 'r_sht'
  73. killvar '$temptask'
  74. killvar '$temptaskchar'
  75. killvar 's_sht'
  76. end &! --- guy ---
  77. !! following function counts the number of girls which PC slept with.
  78. !! use func('shortgs','girl') or func('shortgs','girl',X) for subset (X can be 'A','B','C','AB','AC','BC')
  79. if $ARGS[0] = 'girl':
  80. r_sht=0
  81. if $ARGS[1] = '': $temptask = 'ABC' else $temptask = $ARGS[1]
  82. :loop_shttl
  83. $temptaskchar = mid($temptask,1,1)
  84. $temptask = mid($temptask,2,len($temptask)-1)
  85. s_sht=0
  86. :loop_shl
  87. if s_sht<=dyneval("result = <<$temptaskchar>>arraynumber"):
  88. s_sht += 1
  89. if npc_sex['<<$temptaskchar>><<s_sht>>'] > 0: r_sht = r_sht + iif(npc_gender['<<$temptaskchar>><<s_sht>>'] = 1,1,0)
  90. jump 'loop_shl'
  91. end
  92. if len($temptask) > 0: jump 'loop_shttl'
  93. result = r_sht
  94. killvar 'r_sht'
  95. killvar '$temptask'
  96. killvar '$temptaskchar'
  97. killvar 's_sht'
  98. end &! --- girl ---
  99. !! following procedure should be used when PC gets naked, but it should be paired with the reverse procedure
  100. !! use gs 'shortgs','undress'
  101. if $ARGS[0] = 'undress':
  102. gs 'clothing','strip'
  103. if tanga = 1:panties = 1 & tanga = 0
  104. end &! --- undress ---
  105. !! reverse procedure, it can be modified for lose or stolen panties later.
  106. !! use gs 'shortgs','dress'
  107. if $ARGS[0] = 'dress':
  108. gs 'clothing','wear_last_worn'
  109. if panties = 1:tanga = 1
  110. panties = 0
  111. end &! --- dress ---
  112. !! procedure, which prevents PC to leave a room naked.
  113. !! use gs 'shortgs','checkdress',' <<$loc>>,<<$metka>> ' or equivalent
  114. if $ARGS[0] = 'checkdress':
  115. if $clothingworntype = 'nude':
  116. msg '<b><font color="red">You need to get dressed before going out.</font></b>'
  117. dynamic 'gt <<$ARGS[1]>>'
  118. end
  119. end &! --- checkdress ---
  120. --- shortgs ---------------------------------