1
0

time 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. # time
  2. If month = 1 and pogodaday ! day:
  3. pogodaday = day
  4. temper = rand(-30, 8)
  5. if temper <= 0:
  6. osadki = rand(0, 10)
  7. if osadki < painweather:
  8. $osadki = 'Clear.'
  9. else
  10. $osadki = 'Goes fluffy snow.'
  11. end
  12. else
  13. osadki = rand(0, 10)
  14. if osadki < painweather:
  15. $osadki = 'Clear the snow begins to melt some places forming slush.'
  16. else
  17. $osadki = 'Wet snow falls, which immediately melts forming slush.'
  18. end
  19. end
  20. $pogoda = 'On the street there is snow, the temperature <<temper>> degrees Celsius. <<$osadki>>'
  21. end
  22. If month = 2 and pogodaday ! day:
  23. pogodaday = day
  24. temper = rand(-35, 8)
  25. if temper <= 0:
  26. osadki = rand(0, 10)
  27. if osadki < painweather:
  28. $osadki = 'Cloudy and windy.'
  29. else
  30. $osadki = 'It''s snowing.'
  31. end
  32. else
  33. osadki = rand(0, 10)
  34. if osadki < painweather:
  35. $osadki = 'Clear the snow begins to melt some places forming slush.'
  36. else
  37. $osadki = 'Wet snow falls, which immediately melts forming slush.'
  38. end
  39. end
  40. $pogoda = 'On the street there is snow, the temperature <<temper>> degrees Celsius. <<$osadki>>'
  41. end
  42. If month = 3 and pogodaday ! day:
  43. pogodaday = day
  44. temper = rand(-20, 17)
  45. if temper <= 0:
  46. osadki = rand(0, 10)
  47. if osadki < painweather:
  48. $osadki = 'Clear and cloudless.'
  49. else
  50. $osadki = 'It''s snowing.'
  51. end
  52. else
  53. osadki = rand(0, 10)
  54. if osadki < painweather:
  55. $osadki = 'Clear the snow begins to melt some places forming slush.'
  56. else
  57. $osadki = 'Wet snow falls, which immediately melts forming slush.'
  58. end
  59. end
  60. $pogoda = 'On the street there is snow, the temperature <<temper>> degrees Celsius. <<$osadki>>'
  61. end
  62. If month = 4 and pogodaday ! day:
  63. pogodaday = day
  64. temper = rand(2, 20)
  65. osadki = rand(0, 10)
  66. if osadki < painweather:
  67. if hour >= 7 and hour <= 20:
  68. $osadki = 'Clear.'
  69. else
  70. $osadki = 'Clear.'
  71. end
  72. else
  73. $osadki = 'Rain.'
  74. end
  75. $pogoda = 'On the street the snow melts, the temperature <<temper>> degrees Celsius. <<$osadki>>'
  76. end
  77. If month = 5 and pogodaday ! day:
  78. pogodaday = day
  79. temper = rand(7, 25)
  80. osadki = rand(0, 10)
  81. if osadki < painweather:
  82. $osadki = 'Clear.'
  83. else
  84. $osadki = 'Rain.'
  85. end
  86. $pogoda = 'From puddles in the street rastaevshego snow, dirt and debris all around seem after winter, something where new grass pleases the eye with its greenery, the temperature <<temper>> degrees Celsius. <<$osadki>>'
  87. end
  88. If month = 6 and pogodaday ! day:
  89. pogodaday = day
  90. temper = rand(15, 35)
  91. osadki = rand(0, 10)
  92. if osadki < painweather:
  93. $osadki = 'Clear.'
  94. else
  95. $osadki = 'Rain.'
  96. end
  97. $pogoda = 'On the street the green grass, the temperature <<temper>> degrees Celsius. <<$osadki>>'
  98. end
  99. If month = 7 and pogodaday ! day:
  100. pogodaday = day
  101. temper = rand(20, 40)
  102. osadki = rand(0, 10)
  103. if osadki < painweather:
  104. $osadki = 'Clear.'
  105. else
  106. $osadki = 'Warm rain comes.'
  107. end
  108. $pogoda = 'Green grass on the street, the temperature <<temper>> degrees Celsius. <<$osadki>>'
  109. end
  110. If month = 8 and pogodaday ! day:
  111. pogodaday = day
  112. temper = rand(20, 35)
  113. osadki = rand(0, 10)
  114. if osadki < painweather:
  115. $osadki = 'Clear.'
  116. else
  117. $osadki = 'Warm rain comes.'
  118. end
  119. $pogoda = 'Outdoors green grass, where some are already visible yellowing leaves, temperature <<temper>> degrees Celsius. <<$osadki>>'
  120. end
  121. If month = 9 and pogodaday ! day:
  122. pogodaday = day
  123. temper = rand(10, 30)
  124. osadki = rand(0, 10)
  125. if osadki < painweather:
  126. $osadki = 'Clear.'
  127. else
  128. $osadki = 'Rain.'
  129. end
  130. $pogoda = 'Street zhuhnet grass, visible yellow leaves, the temperature <<temper>> degrees Celsius. <<$osadki>>'
  131. end
  132. If month = 10 and pogodaday ! day:
  133. pogodaday = day
  134. temper = rand(2, 20)
  135. osadki = rand(0, 10)
  136. if osadki < painweather:
  137. $osadki = 'Clear.'
  138. else
  139. $osadki = 'Goes cold rain.'
  140. end
  141. $pogoda = 'On the street faded grass, falling yellow leaves, mud and puddles around, temperature <<temper>> degrees Celsius. <<$osadki>>'
  142. end
  143. If month = 11 and pogodaday ! day:
  144. pogodaday = day
  145. temper = rand(-20, 17)
  146. if temper <= 0:
  147. osadki = rand(0, 10)
  148. if osadki < painweather:
  149. $osadki = 'Clear and cloudless.'
  150. else
  151. $osadki = 'It''s snowing.'
  152. end
  153. else
  154. osadki = rand(0, 10)
  155. if osadki < painweather:
  156. $osadki = 'Clear the snow begins to melt some places forming slush.'
  157. else
  158. $osadki = 'Cold rain.'
  159. end
  160. end
  161. $pogoda = 'The street is dirty and thin snow cover, temperature <<temper>> degrees Celsius. <<$osadki>>'
  162. end
  163. If month = 12 and pogodaday ! day:
  164. pogodaday = day
  165. temper = rand(-30, 8)
  166. if temper <= 0:
  167. osadki = rand(0, 10)
  168. if osadki < painweather:
  169. $osadki = 'Cloudy and windy.'
  170. else
  171. $osadki = 'Goes fluffy snow.'
  172. end
  173. else:
  174. osadki = rand(0, 10)
  175. if osadki < painweather:
  176. $osadki = 'Clear the snow begins to melt some places forming slush.'
  177. else
  178. $osadki = 'Wet snow falls, which immediately melts forming slush.'
  179. end
  180. end
  181. $pogoda = 'On the street there is snow, the temperature <<temper>> degrees Celsius. <<$osadki>>'
  182. end
  183. pl '<<$pogoda>>'
  184. if osadki >= painweather and umbrella = 0:
  185. if mop > 1:
  186. mop = 0
  187. 'You do not have an umbrella.'
  188. end
  189. if hapri = 1:
  190. hapri = 0
  191. if curly > 0:curly -= 1
  192. 'You do not have an umbrella.'
  193. end
  194. end
  195. if isprok = 0 and mesec > 0 and preg = 0:
  196. '<b><font color="red">You have the blood flowing in the legs and staining the linen clothes.</font></b>'
  197. if clrbelo > 0:clrbelo -= 1
  198. sweat += 1
  199. manna -= 10
  200. willpower -= 10
  201. gs 'starenie'
  202. end
  203. ! WD: Fix vibrator arousal triggering every time module is called, moved too 'stat' location
  204. !!!0.2.6 extension: Optimized a bit of code
  205. !! if vibratorin = 1:horny += rand(1, 5)
  206. !!!
  207. if hour = 0:
  208. fcolor = rgb(255, 255, 255)
  209. bcolor = rgb(0, 0, 0)
  210. elseif hour = 1:
  211. fcolor = rgb(255, 255, 255)
  212. bcolor = rgb(5, 5, 5)
  213. elseif hour = 2:
  214. fcolor = rgb(255, 255, 255)
  215. bcolor = rgb(10, 10, 10)
  216. elseif hour = 3:
  217. fcolor = rgb(255, 255, 255)
  218. bcolor = rgb(30, 15, 15)
  219. elseif hour = 4:
  220. fcolor = rgb(255, 255, 255)
  221. bcolor = rgb(60, 20, 20)
  222. elseif hour = 5:
  223. fcolor = rgb(255, 255, 255)
  224. bcolor = rgb(100, 40, 40)
  225. elseif hour = 6:
  226. fcolor = rgb(0, 0, 0)
  227. bcolor = rgb(200, 100, 100)
  228. elseif hour = 7:
  229. fcolor = rgb(0, 0, 0)
  230. bcolor = rgb(250, 150, 150)
  231. elseif hour = 8:
  232. fcolor = rgb(0, 0, 0)
  233. bcolor = rgb(250, 200, 200)
  234. elseif hour = 9:
  235. fcolor = rgb(0, 0, 0)
  236. bcolor = rgb(250, 245, 245)
  237. elseif hour = 10:
  238. fcolor = rgb(0, 0, 0)
  239. bcolor = rgb(255, 250, 250)
  240. elseif hour = 11:
  241. fcolor = rgb(0, 0, 0)
  242. bcolor = rgb(255, 255, 255)
  243. elseif hour = 12:
  244. fcolor = rgb(0, 0, 0)
  245. bcolor = rgb(255, 255, 255)
  246. elseif hour = 13:
  247. fcolor = rgb(0, 0, 0)
  248. bcolor = rgb(255, 255, 255)
  249. elseif hour = 14:
  250. fcolor = rgb(0, 0, 0)
  251. bcolor = rgb(255, 250, 250)
  252. elseif hour = 15:
  253. fcolor = rgb(0, 0, 0)
  254. bcolor = rgb(255, 245, 245)
  255. elseif hour = 16:
  256. fcolor = rgb(0, 0, 0)
  257. bcolor = rgb(250, 240, 240)
  258. elseif hour = 17:
  259. fcolor = rgb(0, 0, 0)
  260. bcolor = rgb(250, 230, 230)
  261. elseif hour = 18:
  262. fcolor = rgb(0, 0, 0)
  263. bcolor = rgb(250, 220, 220)
  264. elseif hour = 19:
  265. fcolor = rgb(0, 0, 0)
  266. bcolor = rgb(250, 210, 210)
  267. elseif hour = 20:
  268. fcolor = rgb(0, 0, 0)
  269. bcolor = rgb(250, 200, 200)
  270. elseif hour = 21:
  271. fcolor = rgb(0, 0, 0)
  272. bcolor = rgb(250, 150, 150)
  273. elseif hour = 22:
  274. fcolor = rgb(255, 255, 255)
  275. bcolor = rgb(25, 25, 25)
  276. elseif hour = 23:
  277. fcolor = rgb(255, 255, 255)
  278. bcolor = rgb(5, 5, 5)
  279. end
  280. if temper <= 0:
  281. if palto = 1:bonusZ = -3
  282. if palto = 2:bonusZ = 0
  283. if palto = 3:bonusZ = 3
  284. if temper < -10 and palto = 1:
  285. frost += 1
  286. if energy < 5:frost += 1
  287. if tanga = 0:frost += 1
  288. if sweat > 0:frost += 1
  289. elseif temper < -20 and palto = 2:
  290. frost += 1
  291. if energy < 5:frost += 1
  292. if sweat > 0:frost += 1
  293. elseif temper< -30 and palto = 3:
  294. frost += 1
  295. end
  296. if palto <= 0:
  297. if temper < -10:frost += 1
  298. if temper < -20:frost += 2
  299. if temper < -30:frost += 5
  300. end
  301. if frost >= 12:sick += 1
  302. if sick > 0 and sickstage = 0:sickstage = 1
  303. end
  304. --- time ---------------------------------