mirror 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # mirror
  2. if $ARGS[0] = 'start':
  3. cla
  4. clr
  5. gs 'stat'
  6. gs 'portmirror'
  7. $gt1 = 'mirror'
  8. $gt2 = 'fin'
  9. dynamic $portmirror
  10. act 'Move away from the mirror':
  11. cla
  12. gt '<<$gt1>>', '<<$gt2>>'
  13. end
  14. end
  15. if $ARGS[0] = 'fin':
  16. cla
  17. gt $locM, $metkaM
  18. !'
  19. if housr = 1 and housrA = 1 and housrMir = 0 and fitMir = 0 and saunaYouRoom = 0:
  20. housrA = 0
  21. gt 'korr'
  22. end
  23. if housr = 1 and housrA = 1 and housrMir = 1 and fitMir = 0 and saunaYouRoom = 0:
  24. housrA = 0
  25. housrMir = 0
  26. gt 'bedr'
  27. end
  28. if housrA = 0 and fitMir = 1 and saunaYouRoom = 0:
  29. fitMir = 0
  30. gt 'fit', 'razd'
  31. end
  32. if housrA = 0 and stripMir = 1 and saunaYouRoom = 0:
  33. stripMir = 0
  34. gt 'stwork', 'start'
  35. end
  36. if housrA = 0 and palMir = 1 and saunaYouRoom = 0:
  37. palMir = 0
  38. gt 'palatka', 'start'
  39. end
  40. if saunaYouRoom = 1:
  41. saunaYouRoom = 0
  42. gt $locBroom, $metkaBroom
  43. end
  44. if housrA = 0 and obMir = 1:
  45. obMir = 0
  46. gt 'obroom', 'start'
  47. end
  48. if housrA = 0 and borMir = 1:
  49. borMir = 0
  50. gt 'bordel', 'start'
  51. end
  52. if housrA = 0 and tanhouse1 = 1:
  53. tanhouse1 = 0
  54. gt 'spalnya'
  55. end
  56. '!
  57. end
  58. --- mirror ---------------------------------