1
0

dangeon.qsrc 5.1 KB

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