SHARE
TWEET

Untitled

a guest Apr 22nd, 2015 52 Never
  1. adding option for assistant health checkup and Augmentation surgery
  2. ----------------------------------------------------------------------------------
  3. location=#options
  4. :::from the line 175 where it says $hospital_options[1]:::
  5. :::after Examine slave add the following codes:::
  6. IF assistant_state = 1 and sparks => 5:
  7.  $text_display += {<div id="under">Examine assistant (5 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 13312 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  8.  else
  9.  $text_display += {<div id="under_gray">Examine assistant (5 sparks)<br></div>}  
  10. END
  11. :::after Augmentation surgery add the following codes:::
  12. IF assistant['reabilitation'] < 1 and assistant_state = 1:
  13.  $text_display += {<div id="under">Augmentation assistant surgery<br><div id = "clear"><a href = 'EXEC: sp_txt = 3 & gt $curloc'><img src = "content\pic\clear.gif"></a></div></div>}
  14.  else
  15.  $text_display += {<div id="under_gray">Augmentation assistant surgery<br></div>}
  16. END
  17. :::after $hospital_options[12] code ends add the following codes:::
  18. !assistant
  19. $hospital_options[13] = {
  20.     $text_display = '<br><br>'
  21.     if assistant_issues = 6: $text_display = ''
  22.     if assistant_issues ! 0:
  23.         if assistant["wounds"] = 1 and sparks => 5:
  24.                         $text_display += {<br><div id="under">Wound treatment (5 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331211 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  25.                         elseif assistant["wounds"] = 1 and sparks < 5: $text_display += {<br><div id="under_gray">Wound treatment (5 sparks)<br></div>}
  26.                         end
  27.         if assistant["wounds"] = 2 and sparks => 10:
  28.                         $text_display += {<br><div id="under">Wound treatment (10 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331211 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  29.                         elseif assistant["wounds"] = 2 and sparks < 10: $text_display += {<br><div id="under_gray">Wound treatment (10 sparks)<br></div>}
  30.                         end
  31.         if assistant["wounds"] = 3 and sparks => 25:
  32.                         $text_display += {<br><div id="under">Wound treatment (25 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331211 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  33.                         elseif assistant["wounds"] = 3 and sparks < 25: $text_display += {<br><div id="under_gray">Wound treatment (25 sparks)<br></div>}
  34.                         end
  35.         if assistant["wounds"] = 4 and sparks => 50:
  36.                         $text_display += {<br><div id="under">Wound treatment (50 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331211 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  37.                         elseif assistant["wounds"] = 4 and sparks < 50: $text_display += {<br><div id="under_gray">Wound treatment (50 sparks)<br></div>}
  38.                         end
  39.         if assistant["wounds"] = 5 and sparks => 100:
  40.                         $text_display += {<br><div id="under">Wound treatment (100 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331211 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  41.                         elseif assistant["wounds"] = 5 and sparks < 100: $text_display += {<br><div id="under_gray">Wound treatment (100 sparks)<br></div>}
  42.                         end
  43.         IF assistant_stimulation = 1:
  44.                         if assistant["res"] = 0 and sparks => 50:
  45.                                 $text_display += {<br><div id="under">Reanimation (50 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331261 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  46.                                 elseif assistant["res"] = 0 and sparks < 50: $text_display += {<br><div id="under_gray">Reanimation (50 sparks)<br></div>}
  47.                                 end
  48.                         if assistant["res"] = 1 and sparks => 100:
  49.                                 $text_display += {<br><div id="under">Reanimation (100 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331261 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  50.                                 elseif assistant["res"] = 1 and sparks < 100: $text_display += {<br><div id="under_gray">Reanimation (100 sparks)<br></div>}
  51.                                 end
  52.                         if assistant["res"] = 2 and sparks => 250:
  53.                                 $text_display += {<br><div id="under">Reanimation (250 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331261 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  54.                                 elseif assistant["res"] = 2 and sparks < 250: $text_display += {<br><div id="under_gray">Reanimation (250 sparks)<br></div>}
  55.                                 end
  56.                         if assistant["res"] = 3 and sparks => 500:
  57.                                 $text_display += {<br><div id="under">Reanimation (500 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331261 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  58.                                 elseif assistant["res"] = 3 and sparks < 500: $text_display += {<br><div id="under_gray">Reanimation (500 sparks)<br></div>}
  59.                                 end
  60.                         if assistant["res"] => 4 and sparks => 1000:
  61.                                 $text_display += {<br><div id="under">Reanimation (1000 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331261 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  62.                                 elseif assistant["res"] => 4 and sparks < 1000: $text_display += {<br><div id="under_gray">Reanimation (1000 sparks)<br></div>}
  63.                                 end
  64.                 END
  65.         if assistant_abortion = 1 and sparks => 10:
  66.                         $text_display += {<br><div id="under">Abortion (10 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331241 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  67.                         elseif assistant_abortion = 1 and sparks < 10: $text_display += {<br><div id="under_gray">Abortion (10 sparks)<br></div>}
  68.                         end
  69.         if assistant_insidous_abortion = 1 and sparks => 25:
  70.                         $text_display += {<br><div id="under">Xenoparasite extraction (25 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331251 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  71.                         elseif assistant_insidous_abortion = 1 and sparks < 25: $text_display += {<br><div id="under_gray">Xenoparasite extraction (25 sparks)<br></div>}
  72.                         end
  73.         if cure_assistant_ill = 1 and sparks => 25:
  74.                         $text_display += {<br><div id="under">Disease treatment (25 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331221 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  75.                         elseif cure_assistant_ill = 1 and sparks < 25: $text_display += {<br><div id="under_gray">Disease treatment (25 sparks)<br></div>}
  76.                         end
  77.         if assistant["scares"] = 1 and sparks => 5:
  78.                         $text_display += {<br><div id="under">Scar removal (5 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331231 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  79.                         elseif assistant["scares"] = 1 and sparks < 5: $text_display += {<br><div id="under_gray">Scar removal (5 sparks)<br></div>}
  80.                         end
  81.         if assistant["scares"] = 2 and sparks => 10:
  82.                         $text_display += {<br><div id="under">Scar removal (10 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331231 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  83.                         elseif assistant["scares"] = 2 and sparks < 10: $text_display += {<br><div id="under_gray">Scar removal (10 sparks)<br></div>}
  84.                         end
  85.         if assistant["scares"] = 3 and sparks => 25:
  86.                         $text_display += {<br><div id="under">Scar removal (25 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331231 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  87.                         elseif assistant["scares"] = 3 and sparks < 25: $text_display += {<br><div id="under_gray">Scar removal (25 sparks)<br></div>}
  88.                         end
  89.         if assistant["scares"] = 4 and sparks => 50:
  90.                         $text_display += {<br><div id="under">Scar removal (50 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331231 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  91.                         elseif assistant["scares"] = 4 and sparks < 50: $text_display += {<br><div id="under_gray">Scar removal (50 sparks)<br></div>}
  92.                         end
  93.         if assistant["scares"] = 5 and sparks => 100:
  94.                         $text_display += {<br><div id="under">Scar removal (100 sparks)<br><div id = "clear"><a href = 'EXEC: interaction_city = 331231 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  95.                         elseif assistant["scares"] = 5 and sparks < 100: $text_display += {<br><div id="under_gray">Scar removal (100 sparks)<br></div>}
  96.                         end
  97.         $text_display += {<br><div id="under">Refuse services<br><div id = "clear"><a href = 'EXEC: city_form = 33 & gt "city_menu_form"'><img src = "content\pic\clear.gif"></a></div></div>}
  98.     else:
  99.         interaction_city = 331
  100.         gt "interaction_city"
  101.     end
  102. }
  103. :::after $hospital_options[2] code ends add the following codes:::
  104. !assistant
  105. $hospital_options[3] = {
  106. $text_display = '<br><br>'
  107. IF sparks => 5 and assistant['pregnant'] = 0 and assistant['fertility'] = 0:
  108.  $text_display += {<div id="under">Sterilization<div id = "clear"><a href = 'EXEC: interaction_city = 332112 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  109.  else
  110.  $text_display += {<div id="under_gray">Sterilization<br></div>}
  111. END
  112. IF sparks => 50 and assistant['fertility'] = -1:
  113.  $text_display += {<div id="under">Restore fertility<div id = "clear"><a href = 'EXEC: interaction_city = 332212 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  114. END
  115. IF sparks => 25 and assistant['breast_enchanced'] = 0:
  116.  $text_display += {<div id="under">Breast augmentation<div id = "clear"><a href = 'EXEC: interaction_city = 33222 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  117.  else
  118.  $text_display += {<div id="under_gray">Breast augmentation<br></div>}
  119. END
  120. IF sparks => 25 and assistant_virginity = 2:
  121.  $text_display += {<div id="under">Virginity restoration<div id = "clear"><a href = 'EXEC: interaction_city = 33231 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  122.  else
  123.  $text_display += {<div id="under_gray">Virginity restoration<br></div>}
  124. END
  125. IF sparks => 250 and assistant['beauty_enchanced'] = 0 and assistant_rate['beauty'] < 160:
  126.  $text_display += {<div id="under">Neoplasty<div id = "clear"><a href = 'EXEC: interaction_city = 33242 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  127.  else
  128.  $text_display += {<div id="under_gray">Neoplasty<br></div>}
  129. END
  130. IF sparks => 25 and assistant['lactation'] = 0 and assistant['age'] ! CONST_INT['loli_age']:
  131.  $text_display += {<div id="under">Permanent lactation<div id = "clear"><a href = 'EXEC: interaction_city = 33251 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  132.  else
  133.  $text_display += {<div id="under_gray">Permanent lactation<br></div>}
  134. END
  135. IF sparks => 50 and assistant['fertility'] = 0:
  136.  $text_display += {<div id="under">Oviparity<div id = "clear"><a href = 'EXEC: interaction_city = 33261 & gt "interaction_city"'><img src = "content\pic\clear.gif"></a></div></div>}
  137.  else
  138.  $text_display += {<div id="under_gray">Oviparity<br></div>}
  139. END
  140. $text_display += {<br><div id="under">Other services<br><div id = "clear"><a href = 'EXEC: sp_txt = 1 & gt $curloc'><img src = "content\pic\clear.gif"></a></div></div>}
  141. }
  142. ----------------------------------------------------------------------------------
  143. location=interaction_city->
  144. :::after the code IF interaction_city = 3326: ends add the following codes:::
  145. !assistant checkup
  146. IF interaction_city = 13312:
  147.  npc = 1
  148.  $npc_id = 'doctor'
  149.  $place = 'hospital'
  150.  $return_lock  = 'shop_general'
  151.  !added validation visit - if for diagnosis has been paid previously, the second time money will not be taken until you get out of the center
  152.  if spark_pay_assistant = 0: sparks -= 5 & spark_pay_assistant = 1
  153.  assistant_issues = 0
  154.  txt_count = 0
  155.  killvar 'cure_assistant_ill'
  156.  killvar 'assistant_abortion'
  157.  killvar 'assistant_insidous_abortion'
  158.  killvar 'assistant_stimulation'
  159.  $text[1] = '   [DOCTOR]
  160.    - <<$assistant_name>> is completely healthy, <<$master_name>>. At least nothing that would require medical intervention. If you want, I''ll write you a certificate of her condition, for presentation to potential buyers.'
  161.  IF assistant['stamina'] < 1 or assistant['energy'] = -5:
  162.   assistant_issues += 1
  163.   txt_count += 1  
  164.   assistant_stimulation = 1
  165.   $text[assistant_issues] = '      [DOCTOR]
  166. <div style="font-size: 95%;">   - <<$assistant_name>> in a coma and did not respond to any stimulus. With proper care, she can recover after a while, but in the worst case death is possible. We can use stimulants to bring her back to life, but it does not solve the problem completely. The body tends to reject stimulants, so that at each subsequent resuscitation we will have to use more and more expensive.</div>'  
  167.  END
  168.  IF assistant['pregnant'] > 0 and assistant['fertility'] = 0:
  169.   assistant_issues += 1
  170.   txt_count += 1  
  171.   assistant_abortion = 1
  172.   $text[assistant_issues] = '      [DOCTOR]
  173.    - <<$assistant_name>> is pregnant. Fetus is quite healthy and viable for now. If pregnancy does not abort, then you will have to give a girl for Vatican, when the pregnancy becomes obvious, they have strict laws about these things. Abortion will cost 10 sparks.'  
  174.  END
  175.  IF assistant['parasite'] > 0:
  176.   assistant_issues += 1
  177.   txt_count += 1  
  178.   assistant_insidous_abortion = 1
  179.   $text[assistant_issues] = '   [DOCTOR]
  180.    - <<$assistant_name>>... is pregnant. But not quite by conventional manner. It''s some type of xenoparasite, likely larva of a Fog fiend. If we do not remove it in the near future, the larva will devour the insides of the girl and bowels out. The removing operation will cost 25 sparks.'  
  181.  END
  182.  IF assistant["scares"] = 1:
  183.   assistant_issues += 1
  184.   txt_count += 1  
  185.  $text[assistant_issues] = '   [DOCTOR]
  186.    - Your assistant has a small scar that slightly spoils the appearance. We could make a little plastic surgery to remove it. Only for five sparks.'  
  187.  END
  188.  IF assistant["scares"] = 2:
  189.   assistant_issues += 1
  190.   txt_count += 1  
  191.  $text[assistant_issues] = '   [DOCTOR]
  192.    - Your assistant has a few old scars that affects her... salable condition. We can remove them and restore softness and smoothness to her skin. The operation will cost 10 sparks.'    
  193.  END
  194.  IF assistant["scares"] = 3:
  195.   assistant_issues += 1
  196.   txt_count += 1  
  197.  $text[assistant_issues] = '   [DOCTOR]
  198.    - As you can see, your assistant has rather impressive scars. But nothing that can not handle with a good old-fashioned plastic surgery. Twenty-five sparks, an hour and she will be as good as new!'  
  199.  END
  200.  IF assistant["scares"] = 4:
  201.   assistant_issues += 1
  202.   txt_count += 1  
  203.  $text[assistant_issues] = '   [DOCTOR]
  204.    - Looks like your assistant has a hard fate, <<$master_name>>. These scars look very impressive, but they not decorate her. Needs a serious intervention to get rid of this horror. The procedure will cost fifty sparks.'  
  205.  END
  206.  IF assistant["scares"] = 5:
  207.   assistant_issues += 1
  208.   txt_count += 1  
  209.  $text[assistant_issues] = '   [DOCTOR]
  210.    - Oh boy. The woman is rarely seen with such a terrible scars. They would rather fit to the old viking... Is she a gladiator? Oh well, it does not matter, we can remove them. But the work is very delicate, the operation will cost you a hundred sparks.'    
  211.  END  
  212.  IF assistant["wounds"] = 1:
  213.   assistant_issues += 1
  214.   txt_count += 1  
  215.   $text[assistant_issues] = '   [DOCTOR]
  216.    - Good that you have applied to us, <<$master_name>>. She has a slight wound, almost a scratch, but who knows what complications can be. Restorative treatment will cost only a five sparks.'
  217.  END
  218.  IF assistant["wounds"] = 2:
  219.   assistant_issues += 1
  220.   txt_count += 1  
  221.   $text[assistant_issues] = '   [DOCTOR]
  222.    - Do not worry, the injury is not too severe and not threatening to her life. It can heal itself after a week or two, but it is safer and faster to receive treatment from us. Just ten sparks and she as good as new. There will be no scars, I guarantee.'
  223.  END
  224.  IF assistant["wounds"] = 3:
  225.   assistant_issues += 1
  226.   txt_count += 1  
  227.   $text[assistant_issues] = '   [DOCTOR]
  228.    - This is a pretty serious wound, I do not recommend you to self-medicate. The process will be long and in any case there will be scars. But we can heal the wound quickly and without consequences, just for twenty-five sparks.'
  229.  END
  230.  IF assistant["wounds"] = 4:
  231.   assistant_issues += 1
  232.   txt_count += 1  
  233.   $text[assistant_issues] = '   [DOCTOR]
  234.    - I am afraid injures that your assistant has is very heavy, <<$master_name>>. Treatment will cost fifty sparks, but I still recommend you pay it. If you leave things as they are, the consequences of such injuries can be very serious.'
  235.  END
  236.  IF assistant["wounds"] => 5:
  237.   assistant_issues += 1
  238.   txt_count += 1  
  239.   $text[assistant_issues] = '   [DOCTOR]
  240.    - Put her on a stretcher, quick! Such injuries are usually not compatible with life. <<$master_name>>, if you want to save the girl, she urgently needs a surgery. It will cost you 100 sparks, but note that it is likely a matter of life and death!'
  241.  END  
  242.  IF assistant['ill'] > 0:
  243.   assistant_issues += 1
  244.   txt_count += 1  
  245.   cure_assistant_ill = 1
  246.   $text[assistant_issues] = '   [DOCTOR]
  247.    - We diagnosed rotphilis on your assistant, <<$master_name>>. I would not recommend to sell her with a disease if you do not want lower your reputation. But it can be treated. Only for twenty-five sparks.'
  248.  END
  249.  IF assistant_issues > 0:
  250.   skip_to = 13
  251.   $sp_text[13] = '   [DOCTOR]
  252. - So, <<$master_name>>, do you want to order from us any medical procedures?'
  253.  END
  254. END
  255.  
  256. !assistant wounds
  257. IF interaction_city = 331211:
  258.     $place = 'hospital'
  259.     $return_lock  = 'shop_general'
  260.     $text[1] = '   They take your assistant for about an hour, then returns her back. She looks quite healthy. Even traces of wounds left.'
  261.     if assistant["wounds"] = 1:
  262.         sparks -= 5
  263.     elseif assistant["wounds"] = 2:
  264.         sparks -= 10
  265.     elseif assistant["wounds"] = 3:
  266.         sparks -= 25
  267.     elseif assistant["wounds"] = 4:
  268.         sparks -= 50
  269.     elseif assistant["wounds"] = 5:
  270.         sparks -= 100
  271.     elseif assistant["wounds"] ! 0:
  272.         msg 'assistant["wounds"] = <<assistant["wounds"]>>, assistant["wounds"] -> [0, 5]!'
  273.     end
  274.  
  275.     assistant["wounds"] = 0
  276.     assistant_rate["wounds"] = 0
  277.     assistant['neg_sick'] = 0
  278.  
  279.     !If there are still some - jump on the old menu. copypaste interaction_city = 3312
  280.     IF assistant_issues > 0:
  281.         skip_to = 13
  282.         $sp_text[13] = '   [DOCTOR]
  283. - So, <<$master_name>>, do you want to order from us any medical procedures?'
  284.         assistant_issues -= 1
  285.     END
  286. END
  287.  
  288. !assistant cure
  289. IF interaction_city = 331221:
  290.  $place = 'hospital'
  291.  $return_lock  = 'shop_general'
  292.   $text[1] = '   They take your assistant for about an hour, then returns her back. She looks quite healthy.'
  293.  sparks -= 25
  294.  killvar 'cure_assistant_ill'
  295.  assistant["ill"] = 0
  296.  !removing bad moodlet
  297.  assistant['neg_assistant_ill'] = 0
  298.  
  299.  !If there are still some - jump on the old menu. copypaste interaction_city = 3312
  300.  IF assistant_issues > 0:
  301.      skip_to = 13
  302.      $sp_text[13] = '   [DOCTOR]
  303. - So, <<$master_name>>, do you want to order from us any medical procedures?'
  304.      assistant_issues -= 1
  305.  END
  306. END
  307.  
  308. !assistant scares
  309. IF interaction_city = 331231:
  310.  $place = 'hospital'
  311.  $return_lock  = 'shop_general'
  312.   $text[1] = '   They take your assistant for about an hour, then returns her back. Scars disappeared as if by magic.'
  313.  
  314.  if assistant["scares"] = 1:
  315.     sparks -= 5
  316.  elseif assistant["scares"] = 2:
  317.     sparks -= 10
  318.  elseif assistant["scares"] = 3:
  319.     sparks -= 25
  320.  elseif assistant["scares"] = 4:
  321.     sparks -= 50
  322.  elseif assistant["scares"] = 5:
  323.     sparks -= 100
  324.  elseif assistant["scares"] ! 0:
  325.     msg 'assistant["scares"] = <<assistant["scares"]>>, assistant["scares"] -> [0, 5]!'
  326.  end
  327.  
  328.  assistant["scares"] = 0
  329.  assistant_rate["scares"] = 0
  330.  
  331.  !If there are still some - jump on the old menu. copypaste interaction_city = 3312
  332.  IF assistant_issues > 0:
  333.      skip_to = 13
  334.      $sp_text[13] = '   [DOCTOR]
  335. - So, <<$master_name>>, do you want to order from us any medical procedures?'
  336.      assistant_issues -= 1
  337.  END
  338. END
  339.  
  340. !assistant pregnant
  341. IF interaction_city = 331241:
  342.  $place = 'hospital'
  343.  $return_lock  = 'shop_general'
  344.  $text[1] = '   They take your assistant for about an hour, then returns her back. She looks quite healthy.'
  345.  sparks -= 10
  346.  killvar 'assistant_abortion'
  347.  assistant["pregnant"] = 0
  348.  
  349.  !If there are still some - jump on the old menu. copypaste interaction_city = 3312
  350.  IF assistant_issues > 0:
  351.      skip_to = 13
  352.      $sp_text[13] = '   [DOCTOR]
  353. - So, <<$master_name>>, do you want to order from us any medical procedures?'
  354.      assistant_issues -= 1
  355.  END
  356. END
  357.  
  358. !assistant insidous abortion
  359. IF interaction_city = 331251:
  360.  $place = 'hospital'
  361.  $return_lock  = 'shop_general'
  362.  $text[1] = '   They take your assistant for about an hour, then returns her back. She looks quite healthy.'
  363.  sparks -= 25
  364.  killvar 'assistant_insidous_abortion'
  365.  assistant_insidous_abortion = 0
  366.  assistant["parasite"] = 0
  367.  
  368.  !If there are still some - jump on the old menu. copypaste interaction_city = 3312
  369.  IF assistant_issues > 0:
  370.      skip_to = 13
  371.      $sp_text[13] = '   [DOCTOR]
  372. - So, <<$master_name>>, do you want to order from us any medical procedures?'
  373.      assistant_issues -= 1
  374.  END
  375. END
  376.  
  377. !assistant res
  378. IF interaction_city = 331261:
  379.  $place = 'hospital'
  380.  $return_lock  = 'shop_general'
  381.  txt_count = 1
  382.  $text[1] = '   They put some kind of dropper to your assistant, and then they hit her a couple of times with a electric discharge and injects an adrenaline in the heart. She wakes up.'
  383.  assistant["res"] += 1
  384.  if assistant["res"] > 5: assistant["res"] = 5
  385.  if assistant["res"] = 1: sparks -= 50
  386.  if assistant["res"] = 2: sparks -= 100
  387.  if assistant["res"] = 3: sparks -= 250
  388.  if assistant["res"] = 4: sparks -= 500
  389.  if assistant["res"] = 5: sparks -= 1000
  390.  assistant["energy"] = 0
  391.  if assistant["stamina"] < 2: assistant["stamina"] = 2
  392.  if assistant['starvation'] > 0: assistant['starvation'] = 0
  393.  assistant_state = 1
  394.  assistant_stimulation = 0
  395.  
  396.  !If there are still some - jump on the old menu. copypaste interaction_city = 3312
  397.  IF assistant_issues > 0:
  398.      skip_to = 13
  399.      $sp_text[13] = '   [DOCTOR]
  400. - So, <<$master_name>>, do you want to order from us any medical procedures?'
  401.      assistant_issues -= 1
  402.  END
  403. END
  404.  
  405. !assistant no fertility
  406. IF interaction_city = 332112:
  407.  $place = 'hospital'
  408.  $return_lock  = 'shop_general'
  409.  txt_count = 1
  410.  txt = 1
  411.  npc = 1
  412.  $npc_id = 'doctor'
  413.  $text[1] = '   [DOCTOR]
  414.    - After this operation, <<$assistant_name>> can no longer get pregnant. The effect is reversible. The health consequences are minimal. <BR> Cost of the procedure is <b>5 sparks</b>. Rehabilitation period <b>2 days</b>. '
  415.  $yes = {
  416. sparks -= 5
  417. assistant['energy'] -= 2
  418. dynamic $assistant_energy_drop
  419. assistant["fertility_revealed"] = 1
  420. assistant_rate['stamina'] -= 5
  421. assistant['reabilitation'] = 2
  422. assistant['fertility'] = -1
  423. gt 'shop_general'}
  424.  $no = {sp_txt = 3
  425. gt 'shop_general'}
  426.  gt 'choice_screen'
  427. END
  428.  
  429. !assistant Restoring the fertility
  430. IF interaction_city = 332212:
  431.  $place = 'hospital'
  432.  $return_lock  = 'shop_general'
  433.  txt_count = 1
  434.  txt = 1
  435.  npc = 1
  436.  $npc_id = 'doctor'
  437.  $text[1] = '   [DOCTOR]
  438.    - Restoring the fertility ability of the female body harder than sterilization. The health consequences are average. <BR> Cost of the procedure <b>50 sparks</b>. Rehabilitation period <b>7 days</b>. '
  439.  $yes = {
  440. sparks -= 50
  441. assistant['energy'] -= 3
  442. dynamic $assistant_energy_drop
  443. assistant["fertility_revealed"] = 1
  444. assistant_rate['stamina'] -= 10
  445. assistant['reabilitation'] = 7
  446. assistant['fertility'] = 0
  447. gt 'shop_general'}
  448.  $no = {sp_txt = 3
  449. gt 'shop_general'}
  450.  gt 'choice_screen'
  451. END
  452.  
  453. !assistant enlarge breast
  454. IF interaction_city = 33222:
  455.  $place = 'hospital'
  456.  $return_lock  = 'shop_general'
  457.  txt_count = 1
  458.  txt = 1
  459.  npc = 1
  460.  $npc_id = 'doctor'
  461.  $text[1] = '   [DOCTOR]
  462.    - We can increase breast size of your assistant by one with saving the original body shape. The health consequences are average. <BR> Cost of the procedure <b>25 sparks</b>. Rehabilitation period <b>5 days</b>. '
  463.  $yes = {
  464. sparks -= 25
  465. assistant['energy'] -= 3
  466. dynamic $assistant_energy_drop
  467. assistant_rate['stamina'] -= 10
  468. assistant['reabilitation'] = 5
  469. dynamic $enlarge_assistant_breast
  470. gt 'shop_general'}
  471.  $no = {sp_txt = 3
  472. gt 'shop_general'}
  473.  gt 'choice_screen'
  474. END
  475.  
  476. !assistant restore the hymen
  477. IF interaction_city = 33231:
  478.  $place = 'hospital'
  479.  $return_lock  = 'shop_general'
  480.  txt_count = 1
  481.  txt = 1
  482.  npc = 1
  483.  $npc_id = 'doctor'
  484.  $text[1] = '   [DOCTOR]
  485.    - We can restore the hymen of your assistant so that no one would guess that she was not innocent. The health consequences are minimal. <BR> Cost of the procedure <b>25 sparks</b>. Rehabilitation period <b>1 day</b>. '
  486.  $yes = {
  487. sparks -= 25
  488. assistant_virginity = 1
  489. assistant['energy'] -= 2
  490. dynamic $assistant_energy_drop
  491. assistant_rate['stamina'] -= 3
  492. assistant['reabilitation'] = 1
  493. gt 'shop_general'}
  494.  $no = {sp_txt = 3
  495. gt 'shop_general'}
  496.  gt 'choice_screen'
  497. END
  498.  
  499. !assistant Neoplasty
  500. IF interaction_city = 33242:
  501.  $place = 'hospital'
  502.  $return_lock  = 'shop_general'
  503.  txt_count = 1
  504.  txt = 1
  505.  npc = 1
  506.  $npc_id = 'doctor'
  507.  $text[1] = '   [DOCTOR]
  508.    - We can remove some of the disadvantages in appearance of your assistant and make her more attractive. Significant health consequences. <BR> Cost of the procedure <b>250 sparks</b>. Rehabilitation period <b>20 days</b>. '
  509.  $yes = {
  510. sparks -= 250
  511. assistant['energy'] = -4
  512. assistant_rate['stamina'] -= 20
  513. assistant['reabilitation'] = 20
  514. assistant['beauty_enchanced'] = 1
  515. if assistant_rate["beauty"] = 10: assistant_rate["beauty"] = 21
  516. if assistant_rate["beauty"] = 20: assistant_rate["beauty"] = 41
  517. if assistant_rate["beauty"] = 40: assistant_rate["beauty"] = 81
  518. if assistant_rate["beauty"] = 80: assistant_rate["beauty"] = 161
  519. interaction_city = 33244
  520. gt 'interaction_city'}
  521.  $no = {sp_txt = 3
  522. gt 'shop_general'}
  523.  gt 'choice_screen'
  524. END
  525.  
  526. !assistant appearance
  527. IF interaction_city = 33244:
  528.  $place = 'hospital'
  529.  $return_lock  = 'shop_general'
  530.  txt_count = 1
  531.  txt = 1
  532.  npc = 1
  533.  $npc_id = 'doctor'
  534.  $text[1] = '   [DOCTOR]
  535.    - If you wish, we can not simply remove the disadvantages, but also completely change the appearance of your assistant. Work with the bone structure is still necessary, so why not adapt her to suit your personal tastes?'
  536.  $yes = {txt = 0
  537. gt 'plastics'}
  538.  $no = {sp_txt = 3
  539. gt 'shop_general'}
  540.  gt 'choice_screen'
  541. END
  542.  
  543. !assistant lactation
  544. IF interaction_city = 33251:
  545.  $place = 'hospital'
  546.  $return_lock  = 'shop_general'
  547.  txt_count = 1
  548.  txt = 1
  549.  npc = 1
  550.  $npc_id = 'doctor'
  551.  $text[1] = '   [DOCTOR]
  552.    - We fully remake breast of your assistant, so that her breast will become a real milk factory. Milk yield will depend on her health, nutritional status, mood, and of course the size of the breast. The health consequences are average. <BR> Cost of the procedure <b>25 sparks</b>. Rehabilitation period <b>10 days</b>. '
  553.  $yes = {
  554. sparks -= 25
  555. assistant['energy'] -= 4
  556. dynamic $assistant_energy_drop
  557. assistant_rate['stamina'] -= 15
  558. assistant['reabilitation'] = 10
  559. assistant['lactation'] = 1
  560. gt 'shop_general'}
  561.  $no = {sp_txt = 3
  562. gt 'shop_general'}
  563.  gt 'choice_screen'
  564. END
  565.  
  566. !assistant egglaying
  567. IF interaction_city = 33261:
  568.  $place = 'hospital'
  569.  $return_lock  = 'shop_general'
  570.  txt_count = 1
  571.  txt = 1
  572.  npc = 1
  573.  $npc_id = 'doctor'
  574.  $text[1] = '   [DOCTOR]
  575.    - We can transplant a womb of hisorian harpy to your assistant and instead of children she will produce large tasty eggs, like a bird. Significant health consequences. <BR> Cost of the procedure <b>50 sparks</b>. Rehabilitation period <b>20 days</b>. '
  576.  $yes = {
  577. sparks -= 25
  578. assistant['energy'] = -4
  579. assistant_rate['stamina'] -= 20
  580. assistant['reabilitation'] = 20
  581. assistant['fertility'] = 1
  582. assistant['vaginal_modification'] = 4
  583. gt 'shop_general'}
  584.  $no = {sp_txt = 3
  585. gt 'shop_general'}
  586.  gt 'choice_screen'
  587. END
  588. ----------------------------------------------------------------------------------
  589. location=plastics
  590. :::at the line number 23 add the following codes:::
  591. IF assistant['age'] = CONST_INT['young_age'] and txt = 0:
  592.  txt = 201
  593.  min_txt = 201
  594.  txt_count = 273
  595. END
  596.  
  597. IF assistant['age'] = CONST_INT['loli_age'] and txt = 0:
  598.  txt = 1
  599.  min_txt = 1
  600.  txt_count = 58
  601. END
  602.  
  603. IF assistant['age'] = CONST_INT['milf_age'] and txt = 0:
  604.  txt = 501
  605.  min_txt = 501
  606.  txt_count = 569
  607. END
  608. :::at the line 76 add the following codes:::
  609. $yes = {$assistant['fullimage'] = $fullimage[txt]
  610. $assistant['ava'] = $seed_ava[txt]
  611. $assistant['ava_gray'] = $seed_ava_gray[txt]
  612. $assistant['ava_clear'] = $seed_ava_clear[txt]
  613. assistant_type = txt
  614. killobj
  615. gt 'shop_general'
  616. }
  617. ----------------------------------------------------------------------------------
  618. location=next_day
  619. :::at the line 1300 add and replace to the following codes:::
  620. assistant['milk_gain'] = 0
  621. IF assistant['lactation'] > 0:
  622.  assistant['milk_gain'] = assistant["boobs"] + assistant["stamina"] - 3
  623.  if assistant['age'] = CONST_INT['milf_age']: assistant['milk_gain'] += 2
  624.  if assistant['fat'] = 0: assistant['milk_gain'] = assistant['milk_gain']/2
  625.  if assistant['fat'] > 1: assistant['milk_gain'] += 1
  626.  if assistant['fat'] > 2: assistant['milk_gain'] += 2
  627.  if assistant['fat'] > 3: assistant['milk_gain'] += 4
  628.  if assistant['fat'] > 4: assistant['milk_gain'] += 8  
  629.  assistant['cream_gain'] = assistant['milk_gain']/3
  630.  assistant_rate['custom'] += 1
  631.  assistant['lactation'] = 1
  632.  if assistant['milk_gain'] > 2: assistant['lactation'] = 2
  633.  if assistant['milk_gain'] > 5: assistant['lactation'] = 3
  634.  if assistant['milk_gain'] > 8: assistant['lactation'] = 4
  635.  if assistant['milk_gain'] > 11: assistant['lactation'] = 5  
  636. END
  637. ----------------------------------------------------------------------------------
  638. location=$newloc
  639. :::make sure from line 865 to line 877 says the following codes
  640. !assistant
  641. !traits
  642. $assistant_features_list = ''
  643. IF assistant["wounds"] > 0: $assistant_features_list += '<<$slave_wounds[assistant["wounds"]]>><BR>'
  644. IF assistant["scares"] > 0: $assistant_features_list += '<<$slave_scares[assistant["scares"]]>><BR>'
  645. IF assistant["bruises"] > 0: $assistant_features_list += '<<$slave_bruises[assistant["bruises"]]>><BR>'
  646. IF assistant['reabilitation'] > 0: $assistant_features_list += 'Recovery [<<assistant["reabilitation"]>>]<BR>'
  647. IF assistant_virginity < 2: $assistant_features_list += 'Virgin<BR>'
  648. if assistant['fertility'] = -2: $assistant_features_list += 'Immature<BR>'
  649. IF assistant["fertility"] = -1: $assistant_features_list += 'Sterile<BR>'
  650. IF assistant["fertility"] = 1: $assistant_features_list += 'Egglaying<BR>'
  651. IF assistant["pregnant"] = 1 and assistant['pregnant_revealed'] > 0: $assistant_features_list += 'Pregnant<BR>'
  652. IF assistant['arena_level'] > 4: $assistant_features_list += 'Arena champion<BR>'
  653. ----------------------------------------------------------------------------------
  654. location=#dynamic
  655. :::at the line 1814 add the following codes:::
  656. $enlarge_assistant_breast = {
  657. assistant['breast_enchanced'] = 1
  658. assistant["boobs"] += 1
  659. if assistant["sub_pazuri"] > 0 and assistant["sub_pazuri"] < 5: assistant["sub_pazuri"] += 1
  660. if $assistant["boobs_img"] = 'boobs_G': $assistant["boobs_img"] = 'boobs_H'
  661. if $assistant["boobs_img"] = 'boobs_F': $assistant["boobs_img"] = 'boobs_G'
  662. if $assistant["boobs_img"] = 'boobs_EE': $assistant["boobs_img"] = 'boobs_F'
  663. if $assistant["boobs_img"] = 'boobs_E': $assistant["boobs_img"] = 'boobs_F'
  664. if $assistant["boobs_img"] = 'boobs_DD': $assistant["boobs_img"] = 'boobs_EE'
  665. if $assistant["boobs_img"] = 'boobs_D': $assistant["boobs_img"] = 'boobs_E'
  666. if $assistant["boobs_img"] = 'boobs_CC': $assistant["boobs_img"] = 'boobs_DD'
  667. if $assistant["boobs_img"] = 'boobs_C': $assistant["boobs_img"] = 'boobs_D'
  668. if $assistant["boobs_img"] = 'boobs_BB': $assistant["boobs_img"] = 'boobs_CC'
  669. if $assistant["boobs_img"] = 'boobs_B': $assistant["boobs_img"] = 'boobs_C'
  670. if $assistant["boobs_img"] = 'boobs_A': $assistant["boobs_img"] = 'boobs_B'
  671.  
  672. if $assistant["boobs_img"] = 'boobs_FP': $assistant["boobs_img"] = 'boobs_HP'
  673. if $assistant["boobs_img"] = 'boobs_EP': $assistant["boobs_img"] = 'boobs_FP'
  674. if $assistant["boobs_img"] = 'boobs_DP': $assistant["boobs_img"] = 'boobs_EP'
  675. if $assistant["boobs_img"] = 'boobs_CP': $assistant["boobs_img"] = 'boobs_DP'
  676. if $assistant["boobs_img"] = 'boobs_BP': $assistant["boobs_img"] = 'boobs_CP'
  677. if $assistant["boobs_img"] = 'boobs_AP': $assistant["boobs_img"] = 'boobs_BP'
  678. }
  679. ----------------------------------------------------------------------------------
  680. location=city_menu_form
  681. :::at the line 20 at the following code:::
  682. spark_pay_assistant = 0
  683. ----------------------------------------------------------------------------------
RAW Paste Data
Top