Terminal 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. # Terminal
  2. set minut += 5
  3. '<center><b><font color="maroon">Storage terminal</font></b></center>'
  4. '<center><img src="images/etogame/terminal.jpg"></center>'
  5. clr
  6. gs 'stat'
  7. !!fcolor = rgb(0, 0, 0)
  8. !!bcolor = rgb(255, 255, 255)
  9. !!lcolor = rgb(106, 90, 205)
  10. 'A plurality of storage buildings to which drive up truck for loading and unloading.'
  11. act 'Leave':
  12. cla
  13. set minut += 5
  14. gt 'nord'
  15. end
  16. if TerminalPapper = 1 and DayTerminalPapper = day:
  17. act 'Classified documents':
  18. cls
  19. set minut += 15
  20. TerminalPapper = 2
  21. fcolor = rgb(0, 0, 0)
  22. bcolor = rgb(255, 255, 255)
  23. lcolor = rgb(106, 90, 205)
  24. gs 'stat'
  25. 'You went to the office and gave the documents to the manager.'
  26. act 'Leave':minut += 5 & gt 'nord'
  27. end
  28. end
  29. if money >= 100:
  30. act 'Buy small items (100 rubles)':
  31. cls
  32. set minut += 15
  33. gs 'stat'
  34. 'You went to the office and spoke with the manager about buying small things.'
  35. if tovarskladlevel = 0:
  36. if tovarL >= 30:'Thinking a bit you realize, you just have nowhere to store the goods and decide to unsubscribe from the purchase.'
  37. if tovarL < 30:
  38. maxtov = 30 - tovarL
  39. 'Do you have a place for storage <<maxtov>> One unit of product.'
  40. act 'Buy':
  41. cls
  42. gs 'stat'
  43. 'Do you have a place for storage <<maxtov>> One unit of product.'
  44. tovarpokup = input("How much product you want to buy at a price 100 rubles apiece?")
  45. if tovarpokup > maxtov or tovarpokup * 100 > money:
  46. 'Manager shakes his head "No, so it will not work"'
  47. else
  48. tovarL += tovarpokup
  49. money -= tovarpokup * 100
  50. gs 'stat'
  51. 'You bought <<tovarpokup>> One unit of small goods and now you have stored <<tovarL>> One unit of product.'
  52. end
  53. act 'Leave':minut+=5&gt $curloc
  54. end
  55. end
  56. end
  57. act 'Leave':minut += 5 & gt $curloc
  58. end
  59. if YouCanGar > 0:
  60. act 'Buy small items for the car storage (100 rubles)':
  61. cls
  62. set minut += 15
  63. gs 'stat'
  64. 'You went to the office and spoke with the manager about buying small things.'
  65. if tovarskladlevel = 0:
  66. if GarTorgItem >= 100:'Thinking a bit you realize, you just have nowhere to store the goods and decide to unsubscribe from the purchase.'
  67. if GarTorgItem < 100:
  68. maxtov = 100 - GarTorgItem
  69. 'Do you have a place for storage <<maxtov>> One unit of product.'
  70. act 'Buy':
  71. cls
  72. gs 'stat'
  73. 'Do you have a place for storage <<maxtov>> One unit of product.'
  74. tovarpokup = input("How much product you want to buy at a price 100 rubles apiece?")
  75. if tovarpokup > maxtov or tovarpokup * 100 > money:
  76. 'Manager shakes his head "No, so it will not work"'
  77. else
  78. GarTorgItem += tovarpokup
  79. money -= tovarpokup * 100
  80. gs 'stat'
  81. 'You bought <<tovarpokup>> One unit of small goods in the garage and now you have stored <<GarTorgItem>> One unit of product.'
  82. end
  83. act 'Leave':minut += 5 & gt $curloc
  84. end
  85. end
  86. end
  87. act 'Leave':minut += 5 & gt 'nord'
  88. end
  89. end
  90. end
  91. --- Terminal ---------------------------------