igorhome 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # igorhome
  2. $location_type = 'indoors'
  3. if $ARGS[0] = 'vann':
  4. *clr & cla
  5. minut += 5
  6. gs 'stat'
  7. $location_type = 'bathroom'
  8. '<center><h4><font color="maroon">Bathroom</font></h4></center>'
  9. '<center><img src="images/qwest/alter/kruglov/vann.jpg"></center>'
  10. 'Bathroom. Here you can take a shower.'
  11. act 'Take a shower':
  12. *clr & cla
  13. minut += 10
  14. dynamic $showerdin
  15. gs 'stat'
  16. '<center><h4><font color="maroon">Bathroom</font></h4></center>'
  17. '<center><img src="'+'images/qwest/alter/kruglov/mitsa.gif'+'"></center>'
  18. 'You took a shower.'
  19. act 'Out': gt 'IgorHome','kor'
  20. end
  21. act 'Out': gt 'IgorHome', 'kor'
  22. end
  23. if $ARGS[0] = 'kor':
  24. *clr & cla
  25. minut += 5
  26. gs 'stat'
  27. '<center><h4><font color="maroon">Entrance hall</font></h4></center>'
  28. '<center><img src="images/qwest/alter/kruglov/kor.jpg"></center>'
  29. act 'Room Igor': gt 'IgorHome','Igorkom'
  30. act 'Bathroom': gt 'IgorHome','vann'
  31. act 'Go': gt 'pavResidential'
  32. end
  33. if $ARGS[0] = 'Igorkom':
  34. *clr & cla
  35. minut += 5
  36. gs 'stat'
  37. '<center><h4><font color="maroon">Room Igor</font></h4></center>'
  38. '<center><img src="images/qwest/alter/kruglov/kom.jpg"></center>'
  39. 'You see <a href="exec:GT ''IgorEv'', ''hometalk''">Igor</a>.' + iif(DimaLoveIgor>1,'On the bed lies a Teddy bear with a heart in hands.','')
  40. act 'Out':gt 'IgorHome','kor'
  41. end
  42. if hour = 20:
  43. *clr & cla
  44. 'Igor looked at his watch and asked: "Go to disco?"'
  45. act 'To go with Igor': & minut += 20 & gt 'gdkin'
  46. act 'Say goodbye and go home': gt 'pavResidential'
  47. end
  48. if hour = 23:
  49. *clr & cla
  50. 'You looked at the clock and said you should go home.'
  51. act 'Say goodbye and go home': gt 'pavResidential'
  52. end
  53. --- igorhome ---------------------------------