306_dangeon 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. # dangeon
  2. $dundincif = {
  3. cls
  4. gs 'stat'
  5. '8809 = 6'
  6. '7111 = 0'
  7. '2172 = 0'
  8. '6666 = 4'
  9. '1111 = 0'
  10. '3213 = 0'
  11. '7662 = 2'
  12. '9312 = 1'
  13. '0000 = 4'
  14. '2222 = 0'
  15. '3333 = 0'
  16. '5555 = 0'
  17. '8193 = 3'
  18. '8096 = 5'
  19. '7777 = 0'
  20. '9999 = 4'
  21. '7756 = 1'
  22. '6855 = 3'
  23. '9881 = 5'
  24. '5531 = 0'
  25. 'Have a smart sense in such tomfoolery, because often clever fool walks.'
  26. act 'Move away from labels': gt $curloc
  27. }
  28. $dundinboch = {
  29. cls
  30. gs 'stat'
  31. if openstateDM2 = 0: openstateDM2 = 1
  32. 'Chimes hear soon reconcile those who quarrel.'
  33. act 'Move away from the barrel': gt $curloc
  34. }
  35. $dundinsvitok = {
  36. cls
  37. gs 'stat'
  38. svitokRTS = 1
  39. heart += 1
  40. '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.'
  41. act 'Move away': gt $curloc
  42. }
  43. gs 'stat'
  44. if dungeonMark = 0:
  45. '<center><img src="images\picPRE\dunPRE.jpg"></center>'
  46. 'The man-made cave in depth which shows the door.'
  47. act 'Get out of the dungeon': minut += 5 & gt 'obekt2'
  48. act 'Enter the door': minut += 5 & dungeonMark = 1 & gt $curloc
  49. end
  50. if dungeonMark = 1:
  51. '<center><img src="images\picPRE\dunPRE1.jpg"></center>'
  52. 'Quite large and deserted room in which there is nothing but a bunch of bones in the corner.'
  53. act 'Exit': minut += 5 & dungeonMark = 0 & gt $curloc
  54. act 'Go deep into': minut += 5 & dungeonMark = 2 & gt $curloc
  55. end
  56. if dungeonMark = 2:
  57. if svitokRTS = 1:
  58. exit
  59. end
  60. '<center><img src="images\picPRE\dunPRE2.jpg"></center>'
  61. 'Dilapidated gallery in the recesses of which are visible doors to other rooms.'
  62. act 'Exit from the gallery': minut += 5 & dungeonMark = 1 & gt $curloc
  63. act 'Sign in 1yu room': minut += 5 & dungeonMark = 3 & gt $curloc
  64. act 'Sign in 2w room':
  65. cls
  66. if openstateDM = 1:
  67. minut += 5
  68. dungeonMark = 4
  69. gt $curloc
  70. end
  71. if openstateDM = 0:
  72. :markanotherrand
  73. DMN[1] = RAND(0,9)
  74. DMN[2] = RAND(0,9)
  75. DMN[3] = RAND(0,9)
  76. DMN[4] = RAND(0,9)
  77. if DMN[1] = DMN[2] and DMN[1] = DMN[3] and DMN[1] = DMN[4]:jump 'markanotherrand'
  78. if DMN[1] = 8 and DMN[2] = 8 and DMN[3] = 0 and DMN[4] = 9: jump 'markanotherrand'
  79. if DMN[1] = 7 and DMN[2] = 1 and DMN[3] = 1 and DMN[4] = 1: jump 'markanotherrand'
  80. if DMN[1] = 2 and DMN[2] = 1 and DMN[3] = 7 and DMN[4] = 2: jump 'markanotherrand'
  81. if DMN[1] = 3 and DMN[2] = 2 and DMN[3] = 1 and DMN[4] = 3: jump 'markanotherrand'
  82. if DMN[1] = 7 and DMN[2] = 6 and DMN[3] = 6 and DMN[4] = 2: jump 'markanotherrand'
  83. if DMN[1] = 9 and DMN[2] = 3 and DMN[3] = 1 and DMN[4] = 2: jump 'markanotherrand'
  84. if DMN[1] = 8 and DMN[2] = 1 and DMN[3] = 9 and DMN[4] = 3: jump 'markanotherrand'
  85. if DMN[1] = 8 and DMN[2] = 0 and DMN[3] = 9 and DMN[4] = 6: jump 'markanotherrand'
  86. if DMN[1] = 7 and DMN[2] = 7 and DMN[3] = 5 and DMN[4] = 6: jump 'markanotherrand'
  87. if DMN[1] = 6 and DMN[2] = 8 and DMN[3] = 5 and DMN[4] = 5: jump 'markanotherrand'
  88. if DMN[1] = 9 and DMN[2] = 8 and DMN[3] = 8 and DMN[4] = 1: jump 'markanotherrand'
  89. if DMN[1] = 5 and DMN[2] = 5 and DMN[3] = 3 and DMN[4] = 1: jump 'markanotherrand'
  90. i = 0
  91. numdmr = 0
  92. :markdnm
  93. i += 1
  94. if DMN[i] = 0 or DMN[i] = 6 or DMN[i] = 9:
  95. numdmr += 1
  96. elseif DMN[i] = 8:
  97. numdmr += 2
  98. else
  99. end
  100. if i < 4: jump 'markdnm'
  101. numberOSDM = input("<<DMN[1]>><<DMN[2]>><<DMN[3]>><<DMN[4]>>=?")
  102. if numberOSDM < 0 or numberOSDM > 8 or numdmr ! numberOSDM:
  103. MSG("Silence, nothing has changed")
  104. gt $curloc
  105. else
  106. openstateDM = 1
  107. MSG("In the door that just clicked")
  108. gt $curloc
  109. end
  110. end
  111. end
  112. if openstateDM2 = 2: act 'Sign in third room': minut += 5 & dungeonMark = 5 & gt $curloc
  113. end
  114. if dungeonMark = 3:
  115. '<center><img src="images\picPRE\dunPRE3.jpg"></center>'
  116. 'The room in which the middle stands a stone dais on which are various dusty bottles.'
  117. 'Scrawled on the wall of what is <a href="exec:dynamic $dundincif ">signs</a>.'
  118. act 'Leave the room': minut += 5 & dungeonMark = 2 & gt $curloc
  119. end
  120. if dungeonMark = 4:
  121. '<center><img src="images\picPRE\dunPRE4.jpg"></center>'
  122. 'Small room in which there are what that <a href="exec:dynamic $dundinboch ">Drums</a>.'
  123. act 'Leave the room': minut += 5 & dungeonMark = 2 & gt $curloc
  124. if openstateDM2 = 1:
  125. 'In another barrel you see a device where you can enter numbers.'
  126. act 'Enter the numbers':
  127. cls
  128. numberOSDM2 = input("12,1,1,1,2,1,3,?,?,?,?")
  129. if numberOSDM2 = rikudootvet:
  130. openstateDM2 = 2
  131. MSG("Outside that it rattled.")
  132. else
  133. MSG("Silence, nothing has changed")
  134. end
  135. gt $curloc
  136. end
  137. end
  138. end
  139. if dungeonMark = 5:
  140. '<center><img src="images\picPRE\dunPRE5.jpg"></center>'
  141. 'The room in which the middle, sitting on a stone throne cobwebbed skeleton.'
  142. if svitokRTS = 0: 'In the hands of a skeleton lying <a href="exec: dynamic $dundinsvitok ">scroll</a>.'
  143. act 'Leave the room': minut += 5 & dungeonMark = 2 & gt $curloc
  144. end
  145. --- dangeon ---------------------------------