1
0

sportShop 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # sportShop
  2. if $ARGS[0] = 'start':
  3. cla
  4. clr
  5. *clr
  6. minut += 5
  7. gs 'stat'
  8. fcolor = rgb(0, 0, 0)
  9. bcolor = rgb(255, 255, 255)
  10. lcolor = rgb(106, 90, 205)
  11. '<center><b><font color="maroon">Sporting goods store</font></b></center>'
  12. '<center><img src="images/etogame/sportshop.jpg"></center>'
  13. act 'Leave':
  14. cla
  15. minut += 5
  16. gt 'torgcentr'
  17. end
  18. act 'In the women''s clothing department':
  19. cla
  20. minut += 5
  21. gt 'sportshop', 'clo'
  22. end
  23. if skak = 0 and money >= 500:
  24. act 'Buy rope (500 rubles)':
  25. cla
  26. minut += 5
  27. money -= 500
  28. skak = 1
  29. act 'Pick up a package':gt 'sportshop', 'start'
  30. end
  31. end
  32. if obruch = 0 and money >= 1500:
  33. act 'Buy hoop (1,500 rubles)':
  34. cla
  35. minut += 5
  36. money -= 1500
  37. obruch = 1
  38. act 'Pick up a package':gt 'sportshop', 'start'
  39. end
  40. end
  41. if bookYog = 0 and money >= 1500:
  42. act 'Buy benefits of yoga (1,500 rubles)':
  43. cla
  44. minut += 5
  45. money -= 1500
  46. bookYog = 1
  47. act 'Pick up a package':gt 'sportshop', 'start'
  48. end
  49. end
  50. !!!WD: Doesn''t exists anymore in 1.0.5
  51. if remsitr = 1 and treadmill = 0 and money >= 5000:
  52. act 'Treadmill 5000 rubles':
  53. cla
  54. minut += 5
  55. money -= 5000
  56. treadmill = 1
  57. 'The attendant informed that they can send it directly to your house.'
  58. act 'Give the address':gt 'sportshop', 'start'
  59. end
  60. end
  61. !!!
  62. end
  63. if $ARGS[0] = 'clo':
  64. $metka = $ARGS[0]
  65. $loc = $CURLOC
  66. $metkaM = $ARGS[0]
  67. $locM = $CURLOC
  68. cla
  69. clr
  70. *clr
  71. mag = 1
  72. minut += 5
  73. gs 'stat'
  74. fcolor = rgb(0, 0, 0)
  75. bcolor = rgb(255, 255, 255)
  76. lcolor = rgb(106, 90, 205)
  77. '<center><b><font color="maroon">Department of women''s clothing.</font></b></center>'
  78. '<center><img src="images/etogame/sportshop.jpg"></center>'
  79. 'All clothing costs 4,000 rubles, sportswear dimensionless.'
  80. act 'Get out of the department':
  81. cla
  82. minut += 5
  83. gt 'sportshop', 'start'
  84. end
  85. if money >= 4000:
  86. i = 1
  87. :loopyoga
  88. if yoga[i] = 0:dynamic 'act ''Look at sportswear <<i>>'':gt ''clothing'', ''view_clothing_item'', ''shop'', ''yoga'', <<i>>, 4000'
  89. i += 1
  90. if i <= 18:jump 'loopyoga'
  91. end
  92. end
  93. --- sportShop ---------------------------------