384_dangeon 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. # dangeon
  2. <<<<<<< 384_dangeon
  3. $dundincif = {
  4. cls
  5. gs 'stat'
  6. '8809 = 6'
  7. '7111 = 0'
  8. '2172 = 0'
  9. '6666 = 4'
  10. '1111 = 0'
  11. '3213 = 0'
  12. '7662 = 2'
  13. '9312 = 1'
  14. '0000 = 4'
  15. '2222 = 0'
  16. '3333 = 0'
  17. '5555 = 0'
  18. '8193 = 3'
  19. '8096 = 5'
  20. '7777 = 0'
  21. '9999 = 4'
  22. '7756 = 1'
  23. '6855 = 3'
  24. '9881 = 5'
  25. '5531 = 0'
  26. 'Have a smart sense in such tomfoolery, because often clever fool walks.'
  27. act 'Move away from labels': gt $curloc
  28. }
  29. $dundinboch = {
  30. cls
  31. gs 'stat'
  32. if openstateDM2 = 0: openstateDM2 = 1
  33. 'Chimes hear soon reconcile those who quarrel.'
  34. act 'Move away from the barrel': gt $curloc
  35. }
  36. $dundinsvitok = {
  37. cls
  38. gs 'stat'
  39. svitokRTS = 1
  40. heart += 1
  41. 'You picked up the scroll and he crumbled. As if you breathed in the wind. You listen to the feelings and understand that you have something changed. You feel like somewhere, as if in another dimension another beating heart belongs to you, which will die for you in battle.'
  42. act 'Move away': gt $curloc
  43. =======
  44. $dundincif={
  45. cls
  46. gs'stat'
  47. '8809 = 6
  48. 7111 = 0
  49. 2172 = 0
  50. 6666 = 4
  51. 1111 = 0
  52. 3213 = 0
  53. 7662 = 2
  54. 9312 = 1
  55. 0000 = 4
  56. 2222 = 0
  57. 3333 = 0
  58. 5555 = 0
  59. 8193 = 3
  60. 8096 = 5
  61. 7777 = 0
  62. 9999 = 4
  63. 7756 = 1
  64. 6855 = 3
  65. 9881 = 5
  66. 5531 = 0
  67. There is a clever sense in such tomfoolery, because often clever fool walks.
  68. '
  69. act 'Move away from the inscriptions':gt $curloc
  70. }
  71. $dundinboch={
  72. cls
  73. gs'stat'
  74. if openstateDM2=0:openstateDM2=1
  75. 'Soon you will hear the chimes, reconcile those who quarrel.'
  76. act 'Move away from the barrel':gt $curloc
  77. }
  78. $dundinsvitok={
  79. cls
  80. gs'stat'
  81. svitokRTS=1
  82. heart+=1
  83. 'You picked up the scroll and he crumbled. As if you breathed in the wind. You listened to feel and understand that in you that something has changed. You feel like somewhere, as if in another dimension another beating heart belongs to you, which will die for you in battle.'
  84. act 'move_away':gt $curloc
  85. >>>>>>> 384_dangeon
  86. }
  87. <<<<<<< 384_dangeon
  88. gs 'stat'
  89. if dungeonMark = 0:
  90. '<center><img src="images\picPRE\dunPRE.jpg"></center>'
  91. 'The man-made cave in depth which shows the door.'
  92. act 'Get out of the dungeon': minut += 5 & gt 'obekt2'
  93. act 'Enter the door': minut += 5 & dungeonMark = 1 & gt $curloc
  94. =======
  95. gs'stat'
  96. if dungeonMark=0:
  97. '<center><img src="picPRE/dunPRE.jpg" ></center>'
  98. 'Man-made caves which can be seen in the depths of the door.'
  99. act 'Get out of the dungeon':minut+=5&gt'obekt2'
  100. act 'Sign on the door':minut+=5&dungeonMark=1&gt $curloc
  101. >>>>>>> 384_dangeon
  102. end
  103. <<<<<<< 384_dangeon
  104. if dungeonMark = 1:
  105. '<center><img src="images\picPRE\dunPRE1.jpg"></center>'
  106. 'Quite large and deserted room in which there is nothing but a bunch of bones in the corner.'
  107. act 'Exit': minut += 5 & dungeonMark = 0 & gt $curloc
  108. act 'Go deep into': minut += 5 & dungeonMark = 2 & gt $curloc
  109. end
  110. if dungeonMark = 2:
  111. if svitokRTS = 1:
  112. exit
  113. end
  114. '<center><img src="images\picPRE\dunPRE2.jpg"></center>'
  115. 'Dilapidated gallery in the recesses of which are visible doors to other rooms.'
  116. act 'Exit from the gallery': minut += 5 & dungeonMark = 1 & gt $curloc
  117. act 'Sign in 1yu room': minut += 5 & dungeonMark = 3 & gt $curloc
  118. act 'Sign in 2w room':
  119. cls
  120. if openstateDM = 1:
  121. minut += 5
  122. dungeonMark = 4
  123. gt $curloc
  124. end
  125. if openstateDM = 0:
  126. :markanotherrand
  127. DMN[1] = RAND(0,9)
  128. DMN[2] = RAND(0,9)
  129. DMN[3] = RAND(0,9)
  130. DMN[4] = RAND(0,9)
  131. if DMN[1] = DMN[2] and DMN[1] = DMN[3] and DMN[1] = DMN[4]:jump 'markanotherrand'
  132. if DMN[1] = 8 and DMN[2] = 8 and DMN[3] = 0 and DMN[4] = 9: jump 'markanotherrand'
  133. if DMN[1] = 7 and DMN[2] = 1 and DMN[3] = 1 and DMN[4] = 1: jump 'markanotherrand'
  134. if DMN[1] = 2 and DMN[2] = 1 and DMN[3] = 7 and DMN[4] = 2: jump 'markanotherrand'
  135. if DMN[1] = 3 and DMN[2] = 2 and DMN[3] = 1 and DMN[4] = 3: jump 'markanotherrand'
  136. if DMN[1] = 7 and DMN[2] = 6 and DMN[3] = 6 and DMN[4] = 2: jump 'markanotherrand'
  137. if DMN[1] = 9 and DMN[2] = 3 and DMN[3] = 1 and DMN[4] = 2: jump 'markanotherrand'
  138. if DMN[1] = 8 and DMN[2] = 1 and DMN[3] = 9 and DMN[4] = 3: jump 'markanotherrand'
  139. if DMN[1] = 8 and DMN[2] = 0 and DMN[3] = 9 and DMN[4] = 6: jump 'markanotherrand'
  140. if DMN[1] = 7 and DMN[2] = 7 and DMN[3] = 5 and DMN[4] = 6: jump 'markanotherrand'
  141. if DMN[1] = 6 and DMN[2] = 8 and DMN[3] = 5 and DMN[4] = 5: jump 'markanotherrand'
  142. if DMN[1] = 9 and DMN[2] = 8 and DMN[3] = 8 and DMN[4] = 1: jump 'markanotherrand'
  143. if DMN[1] = 5 and DMN[2] = 5 and DMN[3] = 3 and DMN[4] = 1: jump 'markanotherrand'
  144. i = 0
  145. numdmr = 0
  146. :markdnm
  147. i += 1
  148. if DMN[i] = 0 or DMN[i] = 6 or DMN[i] = 9:
  149. numdmr += 1
  150. elseif DMN[i] = 8:
  151. numdmr += 2
  152. else
  153. end
  154. if i < 4: jump 'markdnm'
  155. numberOSDM = input("<<DMN[1]>><<DMN[2]>><<DMN[3]>><<DMN[4]>>=?")
  156. if numberOSDM < 0 or numberOSDM > 8 or numdmr ! numberOSDM:
  157. MSG("Silence, nothing has changed")
  158. gt $curloc
  159. else
  160. openstateDM = 1
  161. MSG("In the door that just clicked")
  162. gt $curloc
  163. end
  164. end
  165. end
  166. if openstateDM2 = 2: act 'Sign in third room': minut += 5 & dungeonMark = 5 & gt $curloc
  167. end
  168. if dungeonMark = 3:
  169. '<center><img src="images\picPRE\dunPRE3.jpg"></center>'
  170. 'The room in which the middle stands a stone dais on which are various dusty bottles.'
  171. 'Scrawled on the wall of what is <a href="exec:dynamic $dundincif ">signs</a>.'
  172. act 'Leave the room': minut += 5 & dungeonMark = 2 & gt $curloc
  173. end
  174. if dungeonMark = 4:
  175. '<center><img src="images\picPRE\dunPRE4.jpg"></center>'
  176. 'Small room in which there are what that <a href="exec:dynamic $dundinboch ">Drums</a>.'
  177. act 'Leave the room': minut += 5 & dungeonMark = 2 & gt $curloc
  178. if openstateDM2 = 1:
  179. 'In another barrel you see a device where you can enter numbers.'
  180. act 'Enter the numbers':
  181. cls
  182. numberOSDM2 = input("12,1,1,1,2,1,3,?,?,?,?")
  183. if numberOSDM2 = rikudootvet:
  184. openstateDM2 = 2
  185. MSG("Outside that it rattled.")
  186. else
  187. MSG("Silence, nothing has changed")
  188. end
  189. gt $curloc
  190. end
  191. end
  192. end
  193. if dungeonMark = 5:
  194. '<center><img src="images\picPRE\dunPRE5.jpg"></center>'
  195. 'The room in which the middle, sitting on a stone throne cobwebbed skeleton.'
  196. if svitokRTS = 0: 'In the hands of a skeleton lying <a href="exec: dynamic $dundinsvitok ">scroll</a>.'
  197. act 'Leave the room': minut += 5 & dungeonMark = 2 & gt $curloc
  198. end
  199. =======
  200. if dungeonMark=1:
  201. '<center><img src="picPRE/dunPRE1.jpg" ></center>'
  202. 'Quite a large and desolate room in which there is nothing but a heap of bones in a corner.'
  203. act 'Go_Out':minut+=5&dungeonMark=0&gt $curloc
  204. act 'Go deep into the':minut+=5&dungeonMark=2&gt $curloc
  205. end
  206. if dungeonMark=2:
  207. if svitokRTS=1:
  208. exit
  209. end
  210. '<center><img src="picPRE/dunPRE2.jpg" ></center>'
  211. 'Dilapidated gallery in the recesses of which are visible doors to other rooms.'
  212. act 'Exit from the gallery':minut+=5&dungeonMark=1&gt $curloc
  213. act 'Log in 1th room':minut+=5&dungeonMark=3&gt $curloc
  214. act 'Log in 2th room':
  215. cls
  216. if openstateDM=1:
  217. minut+=5
  218. dungeonMark=4
  219. gt $curloc
  220. end
  221. if openstateDM=0:
  222. :markanotherrand
  223. DMN[1]=RAND(0,9)
  224. DMN[2]=RAND(0,9)
  225. DMN[3]=RAND(0,9)
  226. DMN[4]=RAND(0,9)
  227. if DMN[1]=DMN[2] and DMN[1]=DMN[3] and DMN[1]=DMN[4]:jump'markanotherrand'
  228. if DMN[1]=8 and DMN[2]=8 and DMN[3]=0 and DMN[4]=9:jump'markanotherrand'
  229. if DMN[1]=7 and DMN[2]=1 and DMN[3]=1 and DMN[4]=1:jump'markanotherrand'
  230. if DMN[1]=2 and DMN[2]=1 and DMN[3]=7 and DMN[4]=2:jump'markanotherrand'
  231. if DMN[1]=3 and DMN[2]=2 and DMN[3]=1 and DMN[4]=3:jump'markanotherrand'
  232. if DMN[1]=7 and DMN[2]=6 and DMN[3]=6 and DMN[4]=2:jump'markanotherrand'
  233. if DMN[1]=9 and DMN[2]=3 and DMN[3]=1 and DMN[4]=2:jump'markanotherrand'
  234. if DMN[1]=8 and DMN[2]=1 and DMN[3]=9 and DMN[4]=3:jump'markanotherrand'
  235. if DMN[1]=8 and DMN[2]=0 and DMN[3]=9 and DMN[4]=6:jump'markanotherrand'
  236. if DMN[1]=7 and DMN[2]=7 and DMN[3]=5 and DMN[4]=6:jump'markanotherrand'
  237. if DMN[1]=6 and DMN[2]=8 and DMN[3]=5 and DMN[4]=5:jump'markanotherrand'
  238. if DMN[1]=9 and DMN[2]=8 and DMN[3]=8 and DMN[4]=1:jump'markanotherrand'
  239. if DMN[1]=5 and DMN[2]=5 and DMN[3]=3 and DMN[4]=1:jump'markanotherrand'
  240. i=0
  241. numdmr=0
  242. :markdnm
  243. i+=1
  244. if DMN[i]=0 or DMN[i]=6 or DMN[i]=9:
  245. numdmr+=1
  246. elseif DMN[i]=8:
  247. numdmr+=2
  248. else
  249. end
  250. if i<4:jump'markdnm'
  251. numberOSDM=input("<<DMN[1]>><<DMN[2]>><<DMN[3]>><<DMN[4]>>=?")
  252. if numberOSDM<0 or numberOSDM>8 or numdmr!numberOSDM:
  253. MSG("silence, nothing has changed")
  254. gt $curloc
  255. else
  256. openstateDM=1
  257. MSG("At the door that something clicked")
  258. gt $curloc
  259. end
  260. end
  261. end
  262. if openstateDM2=2:act 'Log in 3th room':minut+=5&dungeonMark=5&gt $curloc
  263. end
  264. if dungeonMark=3:
  265. '<center><img src="picPRE/dunPRE3.jpg" ></center>'
  266. 'The room in which the center of the standing stone dais on which there are a variety of dusty bottles.'
  267. 'Scrawled on the wall of what is <a href="exec:dynamic $dundincif ">insignia</a>.'
  268. act 'Exit the room':minut+=5&dungeonMark=2&gt $curloc
  269. end
  270. if dungeonMark=4:
  271. '<center><img src="picPRE/dunPRE4.jpg" ></center>'
  272. 'Small room in which there are some that <a href="exec:dynamic $dundinboch ">barrels</a>.'
  273. act 'Exit the room':minut+=5&dungeonMark=2&gt $curloc
  274. if openstateDM2=1:
  275. 'In the other barrel you see a device where you can enter the numbers.'
  276. act 'Enter digits':
  277. cls
  278. numberOSDM2=input("12,1,1,1,2,1,3,?,?,?,?")
  279. if numberOSDM2=rikudootvet:
  280. openstateDM2=2
  281. MSG("Outside.")
  282. else
  283. MSG("silence, nothing has changed")
  284. end
  285. gt $curloc
  286. end
  287. end
  288. end
  289. if dungeonMark=5:
  290. '<center><img src="picPRE/dunPRE5.jpg" ></center>'
  291. 'The room in which the middle, sitting on a stone throne skeleton covered with cobwebs.'
  292. if svitokRTS=0:'In the hands of the skeleton is <a href="exec:dynamic $dundinsvitok ">scroll</a>.'
  293. act 'Exit the room':minut+=5&dungeonMark=2&gt $curloc
  294. end
  295. >>>>>>> 384_dangeon
  296. --- dangeon ---------------------------------