SHARE
TWEET

problematic piece of code

a guest Apr 25th, 2015 21 Never
  1.  IF master_excitement > 0 and slave["energy"] > -5:
  2.   $text_display += '<br><div id="Anal_rape">          Anal rape<br><div id="clear"><a href = ''EXEC: interaction = 163 & gt "interaction"''><img src = "content\pic\UI overhaul\Anal rape.png"></a></div></div>'
  3.   $text_display += '<div id="tooltip7"><a style="text-decoration: none; padding-top: 75px;" class="icon tooltip-right" tooltip-data="Rape <<$slave_name>> anally"><img src = "content\pic\UI overhaul\toolip1.png"></a></div>'
  4.  elseif master_excitement < 1:
  5.   $text_display += '<br><div id="Anal_rape_gray">          Anal rape<br><div id="clear"><img src = "content\pic\UI overhaul\Anal rape_gray.png"></div></div>'
  6.   $text_display += '<div id="tooltip7"><a style="text-decoration: none; padding-top: 75px;" class="icon tooltip-right" tooltip-data="your sexual excitement are low"><img src = "content\pic\UI overhaul\toolip1gray.png"></a></div>'
  7.  elseif slave["energy"] = 0:
  8.   $text_display += '<br><div id="Anal_rape_gray">          Anal rape<br><div id="clear"><a href = ''EXEC: interaction = 163 & gt "interaction"''><img src = "content\pic\UI overhaul\Anal rape_gray.png"></a></div></div>'
  9.   $text_display += '<div id="tooltip7"><a style="text-decoration: none; padding-top: 75px;" class="icon tooltip-right" tooltip-data="<<$slave_name>> feels tired, she needs to take a bit of rest"><img src = "content\pic\UI overhaul\toolip1gray.png"></a></div>'
  10.  elseif slave["energy"] = -4:
  11.   $text_display += '<br><div id="Anal_rape_gray">          Anal rape<br><div id="clear"><a href = ''EXEC: interaction = 163 & gt "interaction"''><img src = "content\pic\UI overhaul\Anal rape_gray.png"></a></div></div>'
  12.   $text_display += '<div id="tooltip7"><a style="text-decoration: none; padding-top: 75px;" class="icon tooltip-right" tooltip-data="<<$slave_name>> is too exhausted, if you force her to perfom this task she will fall unconsciousness"><img src = "content\pic\UI overhaul\toolip1gray.png"></a></div>'
  13.  END
  14.  
  15. this suppose to check the slave energy and master excitement if any of it is low then it gives the certain type of msg associated with it but it's not doing that
  16.  
  17. IF house_mess > 0 and slave['service'] < 5 and slave["energy"] > -5 and sparks > 15:
  18.  $text_display += '<div id="Housekeeping_tutor">          Housekeeping<br><div id="clear"><a href = "EXEC: interaction = 1711 & gt ''interaction''"><img src = "content\pic\UI overhaul\jeeves.png"></a></div></div>'
  19.  $text_display += '<div id="tooltip1"><a style="text-decoration: none; padding-top: 75px;" class="icon tooltip-right" tooltip-data="Invite a housekeeping tutor for <<$slave_name>>"><img src = "content\pic\UI overhaul\toolip1.png"></a></div>'
  20.  else if house_mess = 0:
  21.  $text_display += {<div id="Housekeeping_tutor_gray">          Housekeeping<br><div id="clear"><img src = "content\pic\UI overhaul\jeeves_gray.png"></div></div>}
  22.  $text_display += '<div id="tooltip1"><a style="text-decoration: none; padding-top: 75px;" class="icon tooltip-right" tooltip-data="house is clean, no environment for the tutor to set up a lesson in"><img src = "content\pic\UI overhaul\toolip1.png"></a></div>'
  23.  else if slave['service'] = 5:
  24.  $text_display += '<div id="Housekeeping_tutor_gray">          Housekeeping<br><div id="clear"><img src = "content\pic\UI overhaul\jeeves_gray.png"></div></div>'
  25.  $text_display += '<div id="tooltip1"><a style="text-decoration: none; padding-top: 75px;" class="icon tooltip-right" tooltip-data="<<$slave_name>> has mastered the housekeeping skills"><img src = "content\pic\UI overhaul\toolip1.png"></a></div>'
  26.  else if slave["energy"] = 0:
  27.  $text_display += '<div id="Housekeeping_tutor_gray">          Housekeeping<br><div id="clear"><a href = "EXEC: interaction = 1711 & gt ''interaction''"><img src = "content\pic\UI overhaul\jeeves_gray.png"></a></div></div>'
  28.  $text_display += '<div id="tooltip1"><a style="text-decoration: none; padding-top: 75px;" class="icon tooltip-right" tooltip-data="<<$slave_name>> feels tired, she needs to take a bit of rest"><img src = "content\pic\UI overhaul\toolip1.png"></a></div>'
  29.  else if slave["energy"] = -4:
  30.  $text_display += '<div id="Housekeeping_tutor_gray">          Housekeeping<br><div id="clear"><a href = "EXEC: interaction = 1711 & gt ''interaction''"><img src = "content\pic\UI overhaul\jeeves_gray.png"></a></div></div>'
  31.  $text_display += '<div id="tooltip1"><a style="text-decoration: none; padding-top: 75px;" class="icon tooltip-right" tooltip-data="<<$slave_name>> is too exhausted, if you force her to perfom this task she will fall unconsciousness"><img src = "content\pic\UI overhaul\toolip1.png"></a></div>'
  32.  else if sparks < 15:
  33.  $text_display += {<div id="Housekeeping_tutor_gray">          Housekeeping<br><div id="clear"><img src = "content\pic\UI overhaul\jeeves_gray.png"></div></div>}
  34.  $text_display += '<div id="tooltip1"><a style="text-decoration: none; padding-top: 75px;" class="icon tooltip-right" tooltip-data="Not enough sparks to invite a tutor"><img src = "content\pic\UI overhaul\toolip1.png"></a></div>'
  35.  END
  36.  
  37. now here is the same structure and this time it is working, why it's working here not there...
RAW Paste Data
Top