Advertisement
Guest User

Untitled

a guest
Feb 17th, 2018
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Imports System.IO
  2. Imports System.Random
  3. Module Module1
  4.     Dim nieznana_powrot As Boolean = False
  5.     Dim ekwipunek_powrot As Boolean = False
  6.     Dim dmg_wep As String
  7.     Dim obrazenia As String
  8.     Dim sztylet_dmg As Boolean
  9.     Dim dmg1 As Integer
  10.     Dim dmg2 As Integer
  11.     Dim bestia_hp As Integer
  12.     Dim dmg1_bestia As Integer
  13.     Sub Main()
  14.         My.Computer.Audio.Play("Sounds\ambient_menu.wav",
  15.         AudioPlayMode.BackgroundLoop)
  16.         Console.SetWindowSize(100, 20)
  17.         Console.Title = "►The Sound Of Darkness◄"
  18.         Console.Clear()
  19.         Console.ForegroundColor = ConsoleColor.DarkGray
  20.         Dim random As New Random
  21.         Dim rng As New Random
  22. menu:
  23.         Console.Clear()
  24.         Console.WriteLine("")
  25.         Console.WriteLine("
  26.       ,--,--'.         .---.               .       ,_   .-,--.                              
  27.       `- |   |-. ,-.   \___  ,-. . . ,-. ,-|   ,-. |_   ' |   \ ,-. ,-. . , ,-. ,-. ,-. ,-.
  28.        , |   | | |-'       \ | | | | | | | |   | | |    , |   / ,-| |   |/  | | |-' `-. `-.
  29.        `-'   ' ' `-'   `---' `-' `-' ' ' `-'   `-' |    `-^--'  `-^ '   |\  ' ' `-' `-' `-'
  30.                                                    '                    ' `              ")
  31.         Console.WriteLine("                       ╔═══════════════════════════════════════════════════╗")
  32.         Console.WriteLine("                       ║                                                   ║")
  33.         Console.WriteLine("                       ║  [ 'wczytaj'  ] Wczytaj grę                       ║")
  34.         Console.WriteLine("                       ║  [ 'nowa gra' ] Nowa gra                          ║")
  35.         Console.WriteLine("                       ║  [ 'about'    ] About                             ║")
  36.         Console.WriteLine("                       ║                                                   ║")
  37.         Console.WriteLine("                       ╚═══════════════════════════════════════════════════╝")
  38.         Console.ForegroundColor = ConsoleColor.Gray
  39.         Console.WriteLine("")
  40.         Console.WriteLine("")
  41.         Console.WriteLine("")
  42.         Console.WriteLine("")
  43.         Console.Write(" > ")
  44.         Dim inputmenu = Console.ReadLine()
  45.         If inputmenu = "wczytaj" Then
  46.             GoTo powrot
  47.         Else
  48.  
  49.         End If
  50.  
  51.         If inputmenu = "nowa gra" Then
  52.             GoTo nowagra
  53.         Else
  54.  
  55.         End If
  56.  
  57.         If inputmenu = "about" Then
  58.             GoTo autor
  59.         Else
  60.  
  61.         End If
  62.  
  63.         Console.Clear()
  64.         Console.ForegroundColor = ConsoleColor.Red
  65.         Console.WriteLine("
  66. ┌────────────────────────────┐
  67. │      Nieznana komenda      │
  68. └────────────────────────────┘
  69. ")
  70.         Console.ForegroundColor = ConsoleColor.White
  71.         Threading.Thread.Sleep(1500)
  72.         nieznana_powrot = True
  73.         GoTo menu
  74.  
  75. nowagra:
  76.         My.Settings.cave = True
  77.         My.Settings.Save()
  78.         My.Computer.Audio.Stop()
  79.         My.Computer.Audio.Play("Sounds\ambient_cave.wav",
  80.         AudioPlayMode.BackgroundLoop)
  81.         Console.SetWindowSize(120, 30)
  82.         Console.Clear()
  83.         Console.WriteLine("")
  84.         Console.WriteLine("")
  85.         Console.WriteLine("")
  86.         Console.WriteLine("")
  87.         Console.WriteLine("")
  88.         Console.WriteLine("")
  89.         Console.WriteLine("")
  90.         Console.WriteLine("")
  91.         Console.WriteLine("")
  92.         Console.WriteLine("")
  93.         Console.WriteLine("")
  94.         Console.WriteLine("")
  95.         Console.ForegroundColor = ConsoleColor.DarkCyan
  96.         Console.WriteLine("   Wersja gry (0.1) jest w fazie testów. Może zawierać błędy. Wszelkie problemy proszę zgłaszać e-mailem na adres:")
  97.         Console.WriteLine("                  piotr.filip.szewczyk@gmail.com. Dziękuję za pobranie gry. Życzę miłego grania.")
  98.         Console.WriteLine("                              INFORMACJA O ZAPISIE: GRA OBSŁUGUJE FUNKCJĘ AUTOZAPISU.")
  99.         Console.WriteLine("                                    (C)2018 Piotr Szewczyk. All rights reserved")
  100.  
  101.         Threading.Thread.Sleep(7000)
  102.         Console.Clear()
  103.         Console.WriteLine("")
  104.         Console.WriteLine("")
  105.         Console.WriteLine("")
  106.         Console.WriteLine("")
  107.         Console.WriteLine("")
  108.         Console.WriteLine("")
  109.         Console.WriteLine("")
  110.         Console.WriteLine("")
  111.         Console.WriteLine("")
  112.         Console.WriteLine("")
  113.         Console.WriteLine("")
  114.         Console.WriteLine("")
  115.         Console.ForegroundColor = ConsoleColor.DarkGray
  116.         Console.WriteLine("   Ciemność... kiedy wszystko co znałeś i kochałeś zostaje ci zabrane... Myślisz jedynie o swym gniewie, nienawiści,
  117.                                         nawet zemście... i wtedy nikt cię nie uratuje.")
  118.         Console.WriteLine("")
  119.         Console.WriteLine("   `Masashi Kishimoto")
  120.         Threading.Thread.Sleep(7000)
  121.         My.Settings.skrzynka1 = False
  122.         My.Settings.wep = ""
  123.         My.Settings.money = 0
  124.         My.Settings.szafa1 = False
  125.         My.Settings.rana = True
  126.         My.Settings.hp = 100
  127.         My.Settings.strenght = 5
  128.         My.Settings.defense = 4
  129.         My.Settings.skrytka1 = False
  130.         My.Settings.wytrzymalosc = 2
  131.         My.Settings.exp = 0
  132.         My.Settings.lvl = 1
  133.         My.Settings.inv1 = ""
  134.         My.Settings.inv2 = ""
  135.         My.Settings.inv3 = ""
  136.         My.Settings.inv4 = ""
  137.         My.Settings.inv5 = ""
  138.         My.Settings.inv6 = ""
  139.         My.Settings.inv7 = ""
  140.         My.Settings.inv8 = ""
  141.         My.Settings.inv9 = ""
  142.         My.Settings.inv10 = ""
  143.         My.Settings.Save()
  144. x0y0:
  145.         Console.SetWindowSize(120, 30)
  146.         Console.Clear()
  147.         'wprowadzenie x=0 y=0
  148.        My.Settings.x = 0
  149.         My.Settings.y = 0
  150.         My.Settings.Save()
  151.         Console.ForegroundColor = ConsoleColor.Blue
  152.         Console.WriteLine(" ┌────────────────────────┐")
  153.         Console.ForegroundColor = ConsoleColor.Red
  154.         Console.Write("   HP " & My.Settings.hp & " ")
  155.         Console.ForegroundColor = ConsoleColor.Cyan
  156.         Console.Write("  " & My.Settings.lvl & " LVL ")
  157.         Console.ForegroundColor = ConsoleColor.DarkYellow
  158.         Console.Write("  " & My.Settings.money & "$  ")
  159.         Console.ForegroundColor = ConsoleColor.Blue
  160.         Console.WriteLine("")
  161.         Console.WriteLine(" └────────────────────────┘")
  162.         Console.WriteLine("")
  163.         Console.ForegroundColor = ConsoleColor.Gray
  164.         Console.WriteLine(" Powoli otwierasz oczy. Okazuje się, że leżysz na jakiejś kamiennej posadzce.
  165. W powietrzu uonosi się zapach stęchlizny. Po chwili usiłujesz wstać, co przychodzi ci z trudem.
  166. Gdy podniosłeś się z wilgotnej ziemi, rozglądasz się po pomieszczeniu. Kamienne ściany ociekają wodą, a po posadzce
  167. tu i ówdzie chodzą karaluchy. Pokój oświetlany jest pochodnią. Usiłujesz sobię przypomnieć, kim jesteś i co tu robisz.
  168. Skupiasz się. Nic nie przychodzi ci do głowy. Nagle czujesz ostry ból w nodze.
  169. Podwijasz prawą nogawkę szarych spodni. Rana, niezbyt głęboka. Powinieneś ją jak najszybciej opatrzyć.
  170. Jeszcze raz rozglądasz się po pomieszczeniu. Przed tobą znajdują się wielkie żelazne drzwi.
  171. Po lewej stronie pod ścianą stoi jakaś skrzynia.")
  172.         Console.WriteLine("")
  173.         Console.ForegroundColor = ConsoleColor.DarkBlue
  174.         Console.WriteLine(" Co chcesz zrobić?")
  175.         Console.ForegroundColor = ConsoleColor.DarkMagenta
  176.         Console.WriteLine("
  177. ┌───────────────────────────────┬─────────────────────────┐
  178. │ Opuść pomieszczenie           │ idz polnoc              │
  179. │ Zajrzyj do skrzyni            │ przeszukaj skrzynia     │
  180. └───────────────────────────────┴─────────────────────────┘
  181. ")
  182.         Console.WriteLine("")
  183.         Console.ForegroundColor = ConsoleColor.DarkYellow
  184.         Console.Write("> ")
  185.         Console.ForegroundColor = ConsoleColor.White
  186.         Dim input1 As String = Console.ReadLine
  187.  
  188.         If input1 = "ekwipunek" Then
  189.  
  190.  
  191.             GoTo ekwipunek
  192.  
  193.         Else
  194.  
  195.         End If
  196.  
  197.         If input1 = "idz polnoc" Then
  198.             My.Settings.x = 0
  199.             My.Settings.y = 1
  200.             My.Settings.Save()
  201.             If My.Settings.rana = True Then
  202.                 My.Settings.hp = My.Settings.hp - 5
  203.                 My.Settings.Save()
  204.             Else
  205.  
  206.             End If
  207.  
  208.             GoTo x0y1
  209.         Else
  210.  
  211.         End If
  212.  
  213.         If input1 = "przeszukaj skrzynia" And My.Settings.skrzynka1 = False Then
  214.  
  215.             GoTo skrzynia
  216.         ElseIf My.Settings.skrzynka1 = True And input1 = "przeszukaj skrzynia" Then
  217.             Console.Clear()
  218.             Console.ForegroundColor = ConsoleColor.Red
  219.             Console.WriteLine("
  220. ┌──────────────────────────────────────────┐
  221. │      Przeszukiwałeś już to miejsce!      │
  222. └──────────────────────────────────────────┘
  223. ")
  224.             Console.ForegroundColor = ConsoleColor.White
  225.             Threading.Thread.Sleep(1500)
  226.             nieznana_powrot = True
  227.             GoTo powrot
  228.         Else
  229.  
  230.         End If
  231.  
  232.         Console.Clear()
  233.         Console.ForegroundColor = ConsoleColor.Red
  234.         Console.WriteLine("
  235. ┌────────────────────────────┐
  236. │      Nieznana komenda      │
  237. └────────────────────────────┘
  238. ")
  239.         Console.ForegroundColor = ConsoleColor.White
  240.         Threading.Thread.Sleep(1500)
  241.         nieznana_powrot = True
  242.         GoTo powrot
  243. x0y1:
  244.         My.Settings.x = 0
  245.         My.Settings.Save()
  246.         My.Settings.y = 1
  247.         My.Settings.Save()
  248.         Console.SetWindowSize(120, 30)
  249.         'wyjscie przez drzwi
  250.        Console.Clear()
  251.         My.Settings.Upgrade()
  252.         Console.ForegroundColor = ConsoleColor.Blue
  253.         Console.WriteLine(" ┌────────────────────────┐")
  254.         Console.ForegroundColor = ConsoleColor.Red
  255.         Console.Write("   HP " & My.Settings.hp & " ")
  256.         Console.ForegroundColor = ConsoleColor.Cyan
  257.         Console.Write("  " & My.Settings.lvl & " LVL ")
  258.         Console.ForegroundColor = ConsoleColor.DarkYellow
  259.         Console.Write("  " & My.Settings.money & "$  ")
  260.         Console.ForegroundColor = ConsoleColor.Blue
  261.         Console.WriteLine("")
  262.         Console.WriteLine(" └────────────────────────┘")
  263.         Console.WriteLine("")
  264.         Console.ForegroundColor = ConsoleColor.Gray
  265.         Console.WriteLine(" Napierasz na ciężkie żelazne drzwi. Te otwierają się głośno skrzypiąc.
  266. Przechodzisz przez kamienny próg. Twoim oczom ukazuje się pokój nie większy od poprzedniego. Na ścianach widnieją
  267. stare zakurzone obrazy. W kącie mieści się równie zakurzona co obrazy szafka z trzema
  268. szufladami. Stary wytarty dywan cuchnie pleśnią. Po lewej znajdują się drzwi, tym razem drewniane.
  269. W tym momencie poczułeś jeszcze mocniejsze ukłucie niż poprzednie.
  270. Spoglądasz z nadzieją na szafkę - ,,Może tu znajdę coś przydatnego''. W tym momencie usłyszałeś trzask
  271. zamykanych drzwi. Gwałtownie obracasz się za siebie. Drzwi, które otworzyłeś, są zamknięte.
  272. Wygląda na to, że nie możesz wrócić.")
  273.         If My.Settings.rana = True Then
  274.             Console.ForegroundColor = ConsoleColor.Red
  275.             Console.WriteLine(" Nieopatrzona rana. [-5HP]")
  276.         Else
  277.  
  278.         End If
  279.         Console.WriteLine("")
  280.         Console.ForegroundColor = ConsoleColor.DarkBlue
  281.         Console.WriteLine(" Co chcesz zrobić?")
  282.         Console.ForegroundColor = ConsoleColor.DarkMagenta
  283.         Console.WriteLine("
  284. ┌───────────────────────────────┬─────────────────────────┐
  285. │ Przyjrzyj się obrazom         │ zbadaj obrazy           │
  286. │ Zajrzyj do szafki             │ przeszukaj szafka       │
  287. │ Opuść pomieszczenie           │ idz zachod              │
  288. └───────────────────────────────┴─────────────────────────┘
  289. ")
  290.         Console.WriteLine("")
  291.         Console.ForegroundColor = ConsoleColor.DarkYellow
  292.         Console.Write("> ")
  293.         My.Settings.Save()
  294.         Console.ForegroundColor = ConsoleColor.White
  295.         Dim input2 As String = Console.ReadLine()
  296.  
  297.         If input2 = "idz zachod" Then
  298.             My.Settings.x = 1
  299.             My.Settings.y = 1
  300.             My.Settings.Save()
  301.  
  302.             If My.Settings.rana = True Then
  303.                 My.Settings.hp = My.Settings.hp - 5
  304.                 My.Settings.Save()
  305.             Else
  306.  
  307.             End If
  308.             GoTo x1y1
  309.         Else
  310.  
  311.         End If
  312.         If input2 = "zbadaj obrazy" And My.Settings.skrytka1 = False Then
  313.             If My.Settings.rana = True Then
  314.                 My.Settings.hp = My.Settings.hp - 5
  315.                 My.Settings.Save()
  316.             Else
  317.  
  318.             End If
  319.             GoTo obrazy
  320.  
  321.         ElseIf My.Settings.skrytka1 = True And input2 = "zbadaj obrazy" Then
  322.             Console.Clear()
  323.             Console.ForegroundColor = ConsoleColor.Red
  324.             Console.WriteLine("
  325. ┌──────────────────────────────────────────┐
  326. │      Przeszukiwałeś już to miejsce!      │
  327. └──────────────────────────────────────────┘
  328. ")
  329.             Console.ForegroundColor = ConsoleColor.White
  330.             Threading.Thread.Sleep(1500)
  331.             nieznana_powrot = True
  332.             GoTo powrot
  333.         Else
  334.  
  335.         End If
  336.  
  337.  
  338.  
  339.         If input2 = "przeszukaj szafka" And My.Settings.szafa1 = False Then
  340.             GoTo szafka
  341.         ElseIf My.Settings.szafa1 = True And input2 = "przeszukaj szafka" Then
  342.             Console.Clear()
  343.             Console.ForegroundColor = ConsoleColor.Red
  344.             Console.WriteLine("
  345. ┌──────────────────────────────────────────┐
  346. │      Przeszukiwałeś już to miejsce!      │
  347. └──────────────────────────────────────────┘
  348. ")
  349.             Console.ForegroundColor = ConsoleColor.White
  350.             Threading.Thread.Sleep(1500)
  351.             nieznana_powrot = True
  352.             GoTo powrot
  353.         Else
  354.  
  355.         End If
  356.  
  357.         If input2 = "ekwipunek" Then
  358.             GoTo ekwipunek
  359.  
  360.         Else
  361.  
  362.         End If
  363.  
  364.         If input2 = "idz zachod" Then
  365.             My.Settings.x = 1
  366.             My.Settings.y = 1
  367.             My.Settings.Save()
  368.             GoTo x1y1
  369.         Else
  370.  
  371.         End If
  372.         Console.Clear()
  373.         Console.ForegroundColor = ConsoleColor.Red
  374.         Console.WriteLine("
  375. ┌────────────────────────────┐
  376. │      Nieznana komenda      │
  377. └────────────────────────────┘
  378. ")
  379.         Console.ForegroundColor = ConsoleColor.White
  380.         Threading.Thread.Sleep(1500)
  381.         nieznana_powrot = True
  382.         GoTo powrot
  383. x1y1:
  384.         Console.SetWindowSize(120, 30)
  385.         'Duży korytarz
  386.        Console.Clear()
  387.         Console.ForegroundColor = ConsoleColor.Blue
  388.         Console.WriteLine(" ┌────────────────────────┐")
  389.         Console.ForegroundColor = ConsoleColor.Red
  390.         Console.Write("   HP " & My.Settings.hp & " ")
  391.         Console.ForegroundColor = ConsoleColor.Cyan
  392.         Console.Write("  " & My.Settings.lvl & " LVL ")
  393.         Console.ForegroundColor = ConsoleColor.DarkYellow
  394.         Console.Write("  " & My.Settings.money & "$  ")
  395.         Console.ForegroundColor = ConsoleColor.Blue
  396.         Console.WriteLine("")
  397.         Console.WriteLine(" └────────────────────────┘")
  398.         Console.WriteLine("")
  399.         Console.ForegroundColor = ConsoleColor.Gray
  400.         Console.WriteLine(" Drewniane drzwi otwierają się z łatwością, wcale przy tym nie skrzypiąc.
  401. Tak jak poprzednio drzwi zamykają się za tobą.
  402. Twoim oczom ukazuje się ogromny pokój, przypominający mały korytarz.
  403. W oddali na końcu pomieszczenia dostrzegasz drzwi. Mogą być zablokowane. Nagle znieruchomiałeś.
  404. Wielka owłosiona bestia, na dwóch kończynach przypominających łapy, stoi nieopodal ciebie, wrogo się przyglądając.
  405. Jej pysk ocieka śliną, a nozdrza gwałtownie się rozchyliły. Strach tak cię sparaliżował, że nie możesz się ruszyć.
  406. Twoje gardło się zaciska, z trudem przełykasz ślinę.
  407. Próbujesz opanować strach, lecz daremnie. Będziesz musiał walczyć.
  408. To nieuniknione...")
  409.         If My.Settings.rana = True Then
  410.             Console.ForegroundColor = ConsoleColor.Red
  411.             Console.WriteLine(" Nieopatrzona rana. [-5HP]")
  412.         Else
  413.  
  414.         End If
  415.         Console.WriteLine("")
  416.         Console.ForegroundColor = ConsoleColor.DarkBlue
  417.         Console.WriteLine(" Co chcesz zrobić?")
  418.         Console.ForegroundColor = ConsoleColor.DarkMagenta
  419.         Console.WriteLine("
  420. ┌───────────────────────────────┬─────────────────────────┐
  421. │ Walcz z bestią                │ walcz bestia            │
  422. └───────────────────────────────┴─────────────────────────┘
  423. ")
  424.         Console.WriteLine("")
  425.         Console.ForegroundColor = ConsoleColor.DarkYellow
  426.         Console.Write("> ")
  427.         Console.ForegroundColor = ConsoleColor.White
  428.         Dim input4 As String = Console.ReadLine()
  429.         If input4 = "ekwipunek" Then
  430.             GoTo ekwipunek
  431.  
  432.         Else
  433.  
  434.         End If
  435.  
  436.         If input4 = "walcz bestia" Then
  437.             GoTo walka_bestia
  438.         Else
  439.  
  440.         End If
  441.  
  442.         Console.Clear()
  443.         Console.ForegroundColor = ConsoleColor.Red
  444.         Console.WriteLine("
  445. ┌────────────────────────────┐
  446. │      Nieznana komenda      │
  447. └────────────────────────────┘
  448. ")
  449.         Console.ForegroundColor = ConsoleColor.White
  450.         Threading.Thread.Sleep(1500)
  451.         nieznana_powrot = True
  452.         GoTo powrot
  453.  
  454.  
  455. x1y2:
  456.         My.Settings.x = 1
  457.         My.Settings.y = 2
  458.         Console.SetWindowSize(120, 30)
  459.         'Duży korytarz cd po walce
  460.        Console.Clear()
  461.         Console.ForegroundColor = ConsoleColor.Blue
  462.         Console.WriteLine(" ┌────────────────────────┐")
  463.         Console.ForegroundColor = ConsoleColor.Red
  464.         Console.Write("   HP " & My.Settings.hp & " ")
  465.         Console.ForegroundColor = ConsoleColor.Cyan
  466.         Console.Write("  " & My.Settings.lvl & " LVL ")
  467.         Console.ForegroundColor = ConsoleColor.DarkYellow
  468.         Console.Write("  " & My.Settings.money & "$  ")
  469.         Console.ForegroundColor = ConsoleColor.Blue
  470.         Console.WriteLine("")
  471.         Console.WriteLine(" └────────────────────────┘")
  472.         Console.WriteLine("")
  473.         Console.ForegroundColor = ConsoleColor.Gray
  474.         Console.WriteLine(" Udało ci się. Pokonałeś to monstrum. Odczuwasz satysfakcję zmieszaną ze strachem.
  475. Twoje nogi drżą, jakby miały zaraz ugiąć się pod twoim ciężarem. Spoglądasz na zakrwawione ręce.
  476. Oczy napełniają ci się łzami. Klękasz na ziemi, cicho łkając. Próbujesz powstrzymać łzy i się
  477. uspokoić. Udaje ci się to po kilku minutach. Podnosisz się z brudnej, wilgotnej ziemi.
  478. Odruchowo otrzepujesz swoje ubranie pociągając nosem. Rozglądasz się. Dostępne jest tylko jedno wyjście.
  479. ")
  480.         If My.Settings.rana = True Then
  481.             Console.ForegroundColor = ConsoleColor.Red
  482.             Console.WriteLine(" Nieopatrzona rana. [-5HP]")
  483.         Else
  484.  
  485.         End If
  486.         Console.WriteLine("")
  487.         Console.ForegroundColor = ConsoleColor.DarkBlue
  488.         Console.WriteLine(" Co chcesz zrobić?")
  489.         Console.ForegroundColor = ConsoleColor.DarkMagenta
  490.         Console.WriteLine("
  491. ┌───────────────────────────────┬─────────────────────────┐
  492. │ Opuść korytarz                │ idz zachod              │
  493. └───────────────────────────────┴─────────────────────────┘
  494. ")
  495.         Console.WriteLine("")
  496.         Console.ForegroundColor = ConsoleColor.DarkYellow
  497.         Console.Write("> ")
  498.         Console.ForegroundColor = ConsoleColor.White
  499.         Dim input5 As String = Console.ReadLine()
  500.         If input5 = "idz zachod" Then
  501.             My.Settings.x = 2
  502.             My.Settings.y = 2
  503.             My.Settings.Save()
  504.             GoTo x2y2
  505.         Else
  506.  
  507.         End If
  508.         Console.Clear()
  509.         Console.ForegroundColor = ConsoleColor.Red
  510.         Console.WriteLine("
  511. ┌────────────────────────────┐
  512. │      Nieznana komenda      │
  513. └────────────────────────────┘
  514. ")
  515.         Console.ForegroundColor = ConsoleColor.White
  516.         Threading.Thread.Sleep(1500)
  517.         nieznana_powrot = True
  518.         GoTo powrot
  519.  
  520. x2y2:
  521.  
  522.         My.Settings.x = 2
  523.         My.Settings.Save()
  524.         My.Settings.y = 2
  525.         My.Settings.Save()
  526.         Console.SetWindowSize(120, 30)
  527.         'niewielki pokoik ze stacją leczenia
  528.        Console.Clear()
  529.         My.Settings.Upgrade()
  530.         Console.ForegroundColor = ConsoleColor.Blue
  531.         Console.WriteLine(" ┌────────────────────────┐")
  532.         Console.ForegroundColor = ConsoleColor.Red
  533.         Console.Write("   HP " & My.Settings.hp & " ")
  534.         Console.ForegroundColor = ConsoleColor.Cyan
  535.         Console.Write("  " & My.Settings.lvl & " LVL ")
  536.         Console.ForegroundColor = ConsoleColor.DarkYellow
  537.         Console.Write("  " & My.Settings.money & "$  ")
  538.         Console.ForegroundColor = ConsoleColor.Blue
  539.         Console.WriteLine("")
  540.         Console.WriteLine(" └────────────────────────┘")
  541.         Console.WriteLine("")
  542.         Console.ForegroundColor = ConsoleColor.Gray
  543.         Console.WriteLine(" Przechodzisz przez drzwi. Znajdujesz się w bardzo małym pokoju. Wkoło na podłodze, leżą
  544. porozrzucane jakieś kartki. Twoją uwagę przykuwa maszyna po lewej stronie. Namalowany na jej boku zielony krzyżyk,
  545. świadczy o tym, że jest to jakaś stacja lecznicza. Na końcu pomieszczenia znajdują się kolejne drzwi.")
  546.         If My.Settings.rana = True Then
  547.             Console.ForegroundColor = ConsoleColor.Red
  548.             Console.WriteLine(" Nieopatrzona rana. [-5HP]")
  549.         Else
  550.  
  551.         End If
  552.         Console.WriteLine("")
  553.         Console.ForegroundColor = ConsoleColor.DarkBlue
  554.         Console.WriteLine(" Co chcesz zrobić?")
  555.         Console.ForegroundColor = ConsoleColor.DarkMagenta
  556.         Console.WriteLine("
  557. ┌───────────────────────────────┬─────────────────────────┐
  558. │ Skorzystaj ze stacji          │ skorzystaj stacja       │
  559. │ Opuść pomieszczenie           │ idz polnoc              │
  560. └───────────────────────────────┴─────────────────────────┘
  561. ")
  562.         Console.WriteLine("")
  563.         Console.ForegroundColor = ConsoleColor.DarkYellow
  564.         Console.Write("> ")
  565.         My.Settings.Save()
  566.         Console.ForegroundColor = ConsoleColor.White
  567.         Dim input6 As String = Console.ReadLine()
  568.  
  569.         If input6 = "skorzystaj stacja" Then
  570.             GoTo stacja_lecznicza
  571.         Else
  572.  
  573.         End If
  574.  
  575.         If input6 = "idz polnoc" Then
  576.             GoTo x2y3
  577.         Else
  578.  
  579.         End If
  580.  
  581.  
  582.         Console.Clear()
  583.         Console.ForegroundColor = ConsoleColor.Red
  584.         Console.WriteLine("
  585. ┌────────────────────────────┐
  586. │      Nieznana komenda      │
  587. └────────────────────────────┘
  588. ")
  589.         Console.ForegroundColor = ConsoleColor.White
  590.         Threading.Thread.Sleep(1500)
  591.         nieznana_powrot = True
  592.         GoTo powrot
  593.  
  594.  
  595. x2y3:
  596.         My.Settings.x = 2
  597.         My.Settings.Save()
  598.         My.Settings.y = 3
  599.         My.Settings.Save()
  600.         Console.SetWindowSize(120, 30)
  601.         'duża arena
  602.        Console.Clear()
  603.         My.Settings.Upgrade()
  604.         Console.ForegroundColor = ConsoleColor.Blue
  605.         Console.WriteLine(" ┌────────────────────────┐")
  606.         Console.ForegroundColor = ConsoleColor.Red
  607.         Console.Write("   HP " & My.Settings.hp & " ")
  608.         Console.ForegroundColor = ConsoleColor.Cyan
  609.         Console.Write("  " & My.Settings.lvl & " LVL ")
  610.         Console.ForegroundColor = ConsoleColor.DarkYellow
  611.         Console.Write("  " & My.Settings.money & "$  ")
  612.         Console.ForegroundColor = ConsoleColor.Blue
  613.         Console.WriteLine("")
  614.         Console.WriteLine(" └────────────────────────┘")
  615.         Console.WriteLine("")
  616.         Console.ForegroundColor = ConsoleColor.Gray
  617.         Console.WriteLine(" Wahając się otwierasz drzwi. Twoim oczom ukazuje się wielka arena. Ku twoim zdziwieniu
  618. arenę oświetla słońce, które wpada przez szybę w suficie. Nie pamiętasz kiedy je ostatnio widziałeś. ,,Czyli cały czas byłem na powierzchni'' - myślisz.
  619. Rozglądasz się po arenie. Dostregasz kilka bestii podobnych do tej, z którą ostatnio walczyłeś. Nieopodal ciebie stoi jakaś szkaradna postać, wyglądem
  620. przypominająca wielkiego pająka. Będziesz musiał stoczyć kilka bitew. Na szczęście za po prawej znajduje się stacja lecznicza.")
  621.         If My.Settings.rana = True Then
  622.             Console.ForegroundColor = ConsoleColor.Red
  623.             Console.WriteLine(" Nieopatrzona rana. [-5HP]")
  624.         Else
  625.  
  626.         End If
  627.         Console.ForegroundColor = ConsoleColor.Red
  628.         If My.Settings.arena1_bestia_1 = True Then
  629.             Console.WriteLine(" Bestia stoi na północ od ciebie.")
  630.         Else
  631.  
  632.         End If
  633.  
  634.         If My.Settings.arena1_pajak_1 = True Then
  635.             Console.WriteLine(" Wielki pająk znajduje się na zachód od ciebie.")
  636.         Else
  637.  
  638.         End If
  639.         Console.WriteLine("")
  640.         Console.ForegroundColor = ConsoleColor.DarkBlue
  641.         Console.WriteLine(" Co chcesz zrobić?")
  642.         Console.ForegroundColor = ConsoleColor.DarkMagenta
  643.         Console.WriteLine("
  644. ┌───────────────────────────────┬─────────────────────────┐
  645. │ Idź na północ                 │ idz polnoc              │
  646. │ Idź na zachód                 │ idz zachod              │
  647. └───────────────────────────────┴─────────────────────────┘
  648. ")
  649.         Console.WriteLine("")
  650.         Console.ForegroundColor = ConsoleColor.DarkYellow
  651.         Console.Write("> ")
  652.         My.Settings.Save()
  653.         Console.ForegroundColor = ConsoleColor.White
  654.         Dim input7 As String = Console.ReadLine()
  655.  
  656.  
  657.  
  658. walka_bestia:
  659.         My.Computer.Audio.Play("Sounds\ambient_fight.wav",
  660.         AudioPlayMode.BackgroundLoop)
  661.         If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  662.             sztylet_dmg = True
  663.         Else
  664.             sztylet_dmg = False
  665.         End If
  666.         Dim bestia_hp As Integer = 50
  667.         Console.Clear()
  668.         If sztylet_dmg = True Then
  669.             dmg1 = 8
  670.             dmg2 = 10
  671.         Else
  672.             dmg1 = 1
  673.             dmg2 = 1
  674.         End If
  675.         Console.ForegroundColor = ConsoleColor.Red
  676.         Console.WriteLine("
  677. ┌──────────────────────────────────────────────────┐
  678. │                      Walka                       │
  679. └──────────────────────────────────────────────────┘
  680. ")
  681.         Console.Write("<Bestia " & bestia_hp & "HP" & ">")
  682.         Console.ForegroundColor = ConsoleColor.DarkYellow
  683.         Console.Write(" podbiega do ciebie!")
  684.         Console.WriteLine("")
  685.         Threading.Thread.Sleep(3000)
  686.         If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  687.             'wstawić skrypt dodający obrażenia dzięki poziomie umiejetnosci sily
  688.            Console.ForegroundColor = ConsoleColor.DarkMagenta
  689.             Console.Write("<Ty " & My.Settings.hp & "HP" & "   >")
  690.             Console.ForegroundColor = ConsoleColor.DarkYellow
  691.             Console.Write(" Wyciągasz swój sztylet.")
  692.             dmg1 = 8
  693.             dmg2 = 10
  694.             Console.WriteLine("")
  695.             Threading.Thread.Sleep(3000)
  696.             Dim sztylet_dmg = True
  697.             My.Settings.Save()
  698.         Else
  699.             sztylet_dmg = False
  700.             My.Settings.Save()
  701.             dmg1 = 1
  702.             dmg2 = 1 + Math.Round(My.Settings.strenght / 2)
  703.             Console.ForegroundColor = ConsoleColor.DarkMagenta
  704.             Console.Write("<Ty " & My.Settings.hp & "HP" & "   >")
  705.             Console.ForegroundColor = ConsoleColor.DarkYellow
  706.             Console.Write(" Przygotowujesz swoje pięści.")
  707.             Console.WriteLine("")
  708.             Threading.Thread.Sleep(3000)
  709.         End If
  710. bestia_loop:
  711.         Randomize()
  712.         Dim dmg_bestia As Integer
  713.         dmg_bestia = rng.Next(9, 12)
  714.         If dmg_bestia = 11 Then
  715.             GoTo unik
  716.         Else
  717.  
  718.         End If
  719.         Console.ForegroundColor = ConsoleColor.Red
  720.         Console.Write("<Bestia " & bestia_hp & "HP" & ">")
  721.         Console.ForegroundColor = ConsoleColor.DarkYellow
  722.         Console.Write(" Zaatakowała i zadała ")
  723. bez_uniku:
  724.         My.Settings.hp = My.Settings.hp - dmg_bestia
  725.         My.Settings.Save()
  726.         Console.ForegroundColor = ConsoleColor.Red
  727.         Console.Write(dmg_bestia & " obrażeń.")
  728.         Console.WriteLine("")
  729.         Threading.Thread.Sleep(3000)
  730.         If My.Settings.hp = 0 Or My.Settings.hp <= 0 Then
  731.             GoTo dead
  732.         Else
  733.  
  734.         End If
  735.         GoTo bez_uniku2
  736. unik:
  737.         Console.ForegroundColor = ConsoleColor.Red
  738.         Console.Write("<Bestia " & bestia_hp & "HP" & ">")
  739.         Console.ForegroundColor = ConsoleColor.DarkYellow
  740.         Console.Write(" Chybiła!")
  741.         Console.WriteLine("")
  742.         Threading.Thread.Sleep(3000)
  743.         Randomize()
  744. bez_uniku2:
  745.         Dim dmg_1 As Integer
  746.         dmg_1 = rng.Next(dmg1, dmg2)
  747.         bestia_hp = bestia_hp - dmg_1
  748.         My.Settings.Save()
  749.         Console.ForegroundColor = ConsoleColor.DarkMagenta
  750.         Console.Write("<Ty " & My.Settings.hp & "HP" & "    >")
  751.         Console.ForegroundColor = ConsoleColor.DarkYellow
  752.         Console.Write(" Atakujesz bestię! Zadajesz ")
  753.         Console.ForegroundColor = ConsoleColor.Red
  754.         Console.Write(dmg_1)
  755.         Console.Write(" obrażeń.")
  756.         Console.WriteLine("")
  757.         Threading.Thread.Sleep(3000)
  758.         If My.Settings.hp = 0 Or My.Settings.hp <= 0 Then
  759.             GoTo dead
  760.         ElseIf bestia_hp = 0 Or bestia_hp <= 0 Then
  761.             GoTo victory_bestia_1
  762.         Else
  763.             GoTo bestia_loop
  764.         End If
  765.         Console.ReadKey()
  766.  
  767.         Console.Clear()
  768.         Console.ForegroundColor = ConsoleColor.Red
  769.         Console.WriteLine("
  770. ┌────────────────────────────┐
  771. │      Nieznana komenda      │
  772. └────────────────────────────┘
  773. ")
  774.         Console.ForegroundColor = ConsoleColor.White
  775.         Threading.Thread.Sleep(1500)
  776.         nieznana_powrot = True
  777.         GoTo powrot
  778. obrazy:
  779.         Console.Clear()
  780.         Console.ForegroundColor = ConsoleColor.Blue
  781.         Console.WriteLine(" ┌───────────────────────┐")
  782.         Console.ForegroundColor = ConsoleColor.Red
  783.         Console.Write("   HP " & My.Settings.hp & " ")
  784.         Console.ForegroundColor = ConsoleColor.Cyan
  785.         Console.Write("  " & My.Settings.lvl & " LVL ")
  786.         Console.ForegroundColor = ConsoleColor.DarkYellow
  787.         Console.Write("  " & My.Settings.money & "$  ")
  788.         Console.ForegroundColor = ConsoleColor.Blue
  789.         Console.WriteLine("")
  790.         Console.WriteLine(" └───────────────────────┘")
  791.         Console.WriteLine("")
  792.         Console.ForegroundColor = ConsoleColor.Gray
  793.         Console.WriteLine(" Podchodzisz do kolorowych obrazów na ścianie. Jeden przedstawia kobietę zbierającą
  794. marchewki na polu, a drugi mężczyznę w czarnym kapeluszu. Wtem dostrzegasz, że pod pierwszym
  795. obrazem coś jest. Odchylasz go i twoim oczom ukazuje się mała metalowa skrzynka z
  796. namalowanym czerwonym krzyżykiem. ,,Nareszcie!'' - mówisz w myślach, uśmiechając się ze
  797. szczęścia, przy tym zastanawiając się, kto mógł ją tutaj położyć.
  798. Jakby umieszczono ją tu specjalnie dla ciebie... ")
  799.         If My.Settings.rana = True Then
  800.             Console.ForegroundColor = ConsoleColor.Red
  801.             Console.WriteLine(" Nieopatrzona rana. [-5HP]")
  802.         Else
  803.  
  804.         End If
  805.         Console.WriteLine("")
  806.         Console.WriteLine("")
  807.         Console.ForegroundColor = ConsoleColor.Cyan
  808.         Console.WriteLine(" Naciśnij dowolny przycisk, aby wziąć apteczkę i jej użyć.")
  809.         Console.ReadKey()
  810.         My.Settings.rana = False
  811.         My.Settings.skrytka1 = True
  812.         My.Settings.hp = 100
  813.         My.Settings.Save()
  814.         GoTo apteczka
  815.  
  816. szafka:
  817.         Console.SetWindowSize(120, 30)
  818.         Console.Clear()
  819.         If My.Settings.x = 0 And My.Settings.y = 1 And My.Settings.szafa1 = False Then
  820.             Console.ForegroundColor = ConsoleColor.Blue
  821.             Console.WriteLine(" ┌────────────────────────┐")
  822.             Console.ForegroundColor = ConsoleColor.Red
  823.             Console.Write("   HP " & My.Settings.hp & " ")
  824.             Console.ForegroundColor = ConsoleColor.Cyan
  825.             Console.Write("  " & My.Settings.lvl & " LVL ")
  826.             Console.ForegroundColor = ConsoleColor.DarkYellow
  827.             Console.Write("  " & My.Settings.money & "$  ")
  828.             Console.ForegroundColor = ConsoleColor.Blue
  829.             Console.WriteLine("")
  830.             Console.WriteLine(" └────────────────────────┘")
  831.             Console.WriteLine("")
  832.             Console.ForegroundColor = ConsoleColor.Gray
  833.             Console.Write(" Szafkę pokrywa gruba warstwa kurzu. W środkowej szufladzie brakuje klamki. Powoli otwierasz pierwszą.
  834. Znajdujesz ")
  835.             Console.ForegroundColor = ConsoleColor.DarkBlue
  836.             Console.Write("artefakt cienia. ")
  837.             Console.ForegroundColor = ConsoleColor.Gray
  838.             Console.Write(" W drugiej szufladzie nic nie ma, nie licząc mysich odchodów.
  839. W ostatniej szufladzie zaś znalazłeś ")
  840.             Console.ForegroundColor = ConsoleColor.DarkYellow
  841.             Console.Write("45$.")
  842.             Console.WriteLine("")
  843.             Console.ForegroundColor = ConsoleColor.Gray
  844.             Console.WriteLine(" ,,Artefakt...'' - myślisz. Zastanawia cię również, po co ci te pieniądze.")
  845.             Console.WriteLine("")
  846.             Console.ForegroundColor = ConsoleColor.Cyan
  847.             Console.WriteLine(" Naciśnij dowolny przycisk, aby wziąć przedmioty ze skrzyni.")
  848.             Console.ReadKey()
  849.  
  850.             If My.Settings.inv1 = "" Then
  851.                 My.Settings.inv1 = " Artefakt cienia   [+5 do siły]"
  852.                 My.Settings.strenght = My.Settings.strenght + 5
  853.                 My.Settings.money = My.Settings.money + 45
  854.                 My.Settings.szafa1 = True
  855.                 My.Settings.Save()
  856.             ElseIf My.Settings.inv2 = "" Then
  857.                 My.Settings.inv2 = " Artefakt cienia   [+5 do siły]"
  858.                 My.Settings.strenght = My.Settings.strenght + 5
  859.                 My.Settings.money = My.Settings.money + 45
  860.                 My.Settings.szafa1 = True
  861.                 My.Settings.Save()
  862.             ElseIf My.Settings.inv3 = "" Then
  863.                 My.Settings.inv3 = " Artefakt cienia   [+5 do siły]"
  864.                 My.Settings.strenght = My.Settings.strenght + 5
  865.                 My.Settings.money = My.Settings.money + 45
  866.                 My.Settings.szafa1 = True
  867.                 My.Settings.Save()
  868.             ElseIf My.Settings.inv4 = "" Then
  869.                 My.Settings.inv4 = " Artefakt cienia   [+5 do siły]"
  870.                 My.Settings.strenght = My.Settings.strenght + 5
  871.                 My.Settings.money = My.Settings.money + 45
  872.                 My.Settings.szafa1 = True
  873.                 My.Settings.Save()
  874.             ElseIf My.Settings.inv5 = "" Then
  875.                 My.Settings.inv5 = " Artefakt cienia   [+5 do siły]"
  876.                 My.Settings.strenght = My.Settings.strenght + 5
  877.                 My.Settings.money = My.Settings.money + 45
  878.                 My.Settings.szafa1 = True
  879.                 My.Settings.Save()
  880.             ElseIf My.Settings.inv6 = "" Then
  881.                 My.Settings.inv6 = " Artefakt cienia   [+5 do siły]"
  882.                 My.Settings.strenght = My.Settings.strenght + 5
  883.                 My.Settings.money = My.Settings.money + 45
  884.                 My.Settings.szafa1 = True
  885.                 My.Settings.Save()
  886.             ElseIf My.Settings.inv7 = "" Then
  887.                 My.Settings.inv7 = " Artefakt cienia   [+5 do siły]"
  888.                 My.Settings.strenght = My.Settings.strenght + 5
  889.                 My.Settings.money = My.Settings.money + 45
  890.                 My.Settings.szafa1 = True
  891.                 My.Settings.Save()
  892.             ElseIf My.Settings.inv8 = "" Then
  893.                 My.Settings.inv8 = " Artefakt cienia   [+5 do siły]"
  894.                 My.Settings.strenght = My.Settings.strenght + 5
  895.                 My.Settings.money = My.Settings.money + 45
  896.                 My.Settings.szafa1 = True
  897.                 My.Settings.Save()
  898.             ElseIf My.Settings.inv9 Then
  899.                 My.Settings.inv9 = " Artefakt cienia   [+5 do siły]"
  900.                 My.Settings.strenght = My.Settings.strenght + 5
  901.                 My.Settings.money = My.Settings.money + 45
  902.                 My.Settings.szafa1 = True
  903.                 My.Settings.Save()
  904.             ElseIf My.Settings.inv10 = "" Then
  905.                 My.Settings.inv10 = " Artefakt cienia   [+5 do siły]"
  906.                 My.Settings.strenght = My.Settings.strenght + 5
  907.                 My.Settings.money = My.Settings.money + 45
  908.                 My.Settings.szafa1 = True
  909.                 My.Settings.Save()
  910.             Else
  911.                 Console.Clear()
  912.                 Console.ForegroundColor = ConsoleColor.Red
  913.                 Console.WriteLine("
  914. ┌────────────────────────────────────┐
  915. │    Nie masz miejsca w ekwipunku!   │
  916. └────────────────────────────────────┘
  917. ")
  918.                 Threading.Thread.Sleep(1500)
  919.                 nieznana_powrot = True
  920.                 GoTo powrot
  921.             End If
  922.         End If
  923. skrzynia:
  924.         Console.SetWindowSize(120, 30)
  925.         Console.Clear()
  926.         If My.Settings.x = 0 And My.Settings.y = 0 Then
  927.             Console.ForegroundColor = ConsoleColor.Blue
  928.             Console.WriteLine(" ┌────────────────────────┐")
  929.             Console.ForegroundColor = ConsoleColor.Red
  930.             Console.Write("   HP " & My.Settings.hp & " ")
  931.             Console.ForegroundColor = ConsoleColor.Cyan
  932.             Console.Write("  " & My.Settings.lvl & " LVL ")
  933.             Console.ForegroundColor = ConsoleColor.DarkYellow
  934.             Console.Write("  " & My.Settings.money & "$  ")
  935.             Console.ForegroundColor = ConsoleColor.Blue
  936.             Console.WriteLine("")
  937.             Console.WriteLine(" └────────────────────────┘")
  938.             Console.WriteLine("")
  939.             Console.ForegroundColor = ConsoleColor.Gray
  940.             Console.Write(" Wielka drewniana skrzynia, aż prosi się o otwarcie.
  941. Unosisz wieko. W środku znajduje się ")
  942.             Console.ForegroundColor = ConsoleColor.DarkBlue
  943.             Console.Write("sztylet.")
  944.             Console.WriteLine("")
  945.             Console.ForegroundColor = ConsoleColor.Gray
  946.             Console.WriteLine(" ,,Byłoby lepiej gdybym znalazł jakiś bandaż... Ale dobre i to'' - myślisz. ")
  947.             Console.WriteLine("")
  948.             Console.ForegroundColor = ConsoleColor.Cyan
  949.             Console.WriteLine(" Naciśnij dowolny przycisk, aby wziąć przedmioty ze skrzyni.")
  950.             Console.ReadKey()
  951.  
  952.             If My.Settings.inv1 = "" Then
  953.                 My.Settings.inv1 = " Sztylet                                    [8-10 DMG]"
  954.                 My.Settings.skrzynka1 = True
  955.                 My.Settings.Save()
  956.             ElseIf My.Settings.inv2 = "" Then
  957.                 My.Settings.inv2 = " Sztylet                                    [8-10 DMG]"
  958.                 My.Settings.skrzynka1 = True
  959.                 My.Settings.Save()
  960.             ElseIf My.Settings.inv3 = "" Then
  961.                 My.Settings.inv3 = " Sztylet                                    [8-10 DMG]"
  962.                 My.Settings.skrzynka1 = True
  963.                 My.Settings.Save()
  964.             ElseIf My.Settings.inv4 = "" Then
  965.                 My.Settings.inv4 = " Sztylet                                    [8-10 DMG]"
  966.                 My.Settings.skrzynka1 = True
  967.                 My.Settings.Save()
  968.             ElseIf My.Settings.inv5 = "" Then
  969.                 My.Settings.inv5 = " Sztylet                                    [8-10 DMG]"
  970.                 My.Settings.skrzynka1 = True
  971.                 My.Settings.Save()
  972.             ElseIf My.Settings.inv6 = "" Then
  973.                 My.Settings.inv6 = " Sztylet                                    [8-10 DMG]"
  974.                 My.Settings.skrzynka1 = True
  975.                 My.Settings.Save()
  976.             ElseIf My.Settings.inv7 = "" Then
  977.                 My.Settings.inv7 = " Sztylet                                    [8-10 DMG]"
  978.                 My.Settings.skrzynka1 = True
  979.                 My.Settings.Save()
  980.             ElseIf My.Settings.inv8 = "" Then
  981.                 My.Settings.inv8 = " Sztylet                                    [8-10 DMG]"
  982.                 My.Settings.skrzynka1 = True
  983.                 My.Settings.Save()
  984.             ElseIf My.Settings.inv9 Then
  985.                 My.Settings.inv9 = " Sztylet                                    [8-10 DMG]"
  986.                 My.Settings.skrzynka1 = True
  987.                 My.Settings.Save()
  988.             ElseIf My.Settings.inv10 = "" Then
  989.                 My.Settings.inv10 = " Sztylet                                    [8-10 DMG]"
  990.                 My.Settings.skrzynka1 = True
  991.                 My.Settings.Save()
  992.             Else
  993.                 Console.Clear()
  994.                 Console.ForegroundColor = ConsoleColor.Red
  995.                 Console.WriteLine("
  996. ┌────────────────────────────────────┐
  997. │   Nie masz miejsca w ekwipunku!    │
  998. └────────────────────────────────────┘
  999. ")
  1000.                 Threading.Thread.Sleep(1500)
  1001.                 nieznana_powrot = True
  1002.                 GoTo powrot
  1003.             End If
  1004.             Console.ReadKey()
  1005.  
  1006.         Else
  1007.  
  1008.         End If
  1009.  
  1010. ekwipunek:
  1011.         Console.SetWindowSize(55, 30)
  1012.         If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1013.             obrazenia = "8-10"
  1014.         Else
  1015.             obrazenia = "1"
  1016.         End If
  1017.         Console.Clear()
  1018.         Console.ForegroundColor = ConsoleColor.DarkYellow
  1019.         Console.WriteLine("
  1020. ┌─────────────────────Ekwipunek─────────────────────┐
  1021. │                     10 slotów                     │
  1022. ├───────────────────────────────────────────────────┤
  1023. │ 'wyrzuc <nazwa>'           //Wyrzuć przedmiot     │
  1024. │ 'dobadz <np.sztylet, noz>' //Dobądź broń          │
  1025. │ 'powrot'                   //Wyjście z ekwipunku  │
  1026. │ 'uzyj <np. apteczka>'      //Użyj przedmiotu      │
  1027. └───────────────────────────────────────────────────┘")
  1028.         Console.ForegroundColor = ConsoleColor.DarkGreen
  1029.         Console.WriteLine(" ┌─────────────────────Staystyki─────────────────────┐")
  1030.         Console.ForegroundColor = ConsoleColor.Red
  1031.         Console.WriteLine("   OBRAŻENIA      " & obrazenia)
  1032.         Console.ForegroundColor = ConsoleColor.Blue
  1033.         Console.WriteLine("   OBRONA         " & My.Settings.defense)
  1034.         Console.ForegroundColor = ConsoleColor.DarkYellow
  1035.         Console.WriteLine("   SIŁA           " & My.Settings.strenght)
  1036.         Console.ForegroundColor = ConsoleColor.DarkGreen
  1037.         Console.WriteLine(" └───────────────────────────────────────────────────┘")
  1038.         Console.WriteLine("")
  1039.         Console.ForegroundColor = ConsoleColor.DarkMagenta
  1040.         Console.WriteLine(My.Settings.inv1)
  1041.         Console.WriteLine(My.Settings.inv2)
  1042.         Console.WriteLine(My.Settings.inv3)
  1043.         Console.WriteLine(My.Settings.inv4)
  1044.         Console.WriteLine(My.Settings.inv5)
  1045.         Console.WriteLine(My.Settings.inv6)
  1046.         Console.WriteLine(My.Settings.inv7)
  1047.         Console.WriteLine(My.Settings.inv8)
  1048.         Console.WriteLine(My.Settings.inv9)
  1049.         Console.WriteLine(My.Settings.inv10)
  1050.         Console.ForegroundColor = ConsoleColor.DarkCyan
  1051.         Console.WriteLine(" ─────────────────────────────────────────────────────")
  1052.         Console.ForegroundColor = ConsoleColor.Cyan
  1053.         Console.Write("  Wybrana broń:")
  1054.         Console.ForegroundColor = ConsoleColor.Blue
  1055.         Console.Write(My.Settings.wep)
  1056.         Console.ForegroundColor = ConsoleColor.DarkCyan
  1057.         Console.WriteLine("")
  1058.         Console.WriteLine(" ─────────────────────────────────────────────────────")
  1059.         Console.ForegroundColor = ConsoleColor.DarkYellow
  1060.         Console.Write("> ")
  1061.         Console.ForegroundColor = ConsoleColor.White
  1062.         Dim ekwipunekinput = Console.ReadLine()
  1063.         If ekwipunekinput = "powrot" Then
  1064.             ekwipunek_powrot = True
  1065.             GoTo powrot
  1066.  
  1067.         End If
  1068.  
  1069.  
  1070.         If ekwipunekinput = "dobadz sztylet" Then
  1071.             If My.Settings.inv1 = " Sztylet                                    [8-10 DMG]" Then
  1072.                 My.Settings.wep = " Sztylet [8-10 DMG]"
  1073.                 My.Settings.Save()
  1074.                 GoTo ekwipunek
  1075.             ElseIf My.Settings.inv2 = " Sztylet                                    [8-10 DMG]" Then
  1076.                 My.Settings.wep = " Sztylet [8-10 DMG]"
  1077.                 My.Settings.Save()
  1078.                 GoTo ekwipunek
  1079.             ElseIf My.Settings.inv3 = " Sztylet                                    [8-10 DMG]" Then
  1080.                 My.Settings.wep = " Sztylet [8-10 DMG]"
  1081.                 My.Settings.Save()
  1082.                 GoTo ekwipunek
  1083.             ElseIf My.Settings.inv4 = " Sztylet                                    [8-10 DMG]" Then
  1084.                 My.Settings.wep = " Sztylet [8-10 DMG]"
  1085.                 My.Settings.Save()
  1086.                 GoTo ekwipunek
  1087.             ElseIf My.Settings.inv5 = " Sztylet                                    [8-10 DMG]" Then
  1088.                 My.Settings.wep = " Sztylet [8-10 DMG]"
  1089.                 My.Settings.Save()
  1090.                 GoTo ekwipunek
  1091.             ElseIf My.Settings.inv6 = " Sztylet                                    [8-10 DMG]" Then
  1092.                 My.Settings.wep = " Sztylet [8-10 DMG]"
  1093.                 My.Settings.Save()
  1094.                 GoTo ekwipunek
  1095.             ElseIf My.Settings.inv7 = " Sztylet                                    [8-10 DMG]" Then
  1096.                 My.Settings.wep = " Sztylet [8-10 DMG]"
  1097.                 My.Settings.Save()
  1098.                 GoTo ekwipunek
  1099.             ElseIf My.Settings.inv8 = " Sztylet                                    [8-10 DMG]" Then
  1100.                 My.Settings.wep = " Sztylet [8-10 DMG]"
  1101.                 My.Settings.Save()
  1102.                 GoTo ekwipunek
  1103.             ElseIf My.Settings.inv9 = " Sztylet                                    [8-10 DMG]" Then
  1104.                 My.Settings.wep = " Sztylet [8-10 DMG]"
  1105.                 My.Settings.Save()
  1106.                 GoTo ekwipunek
  1107.             ElseIf My.Settings.inv10 = " Sztylet                                    [8-10 DMG]" Then
  1108.                 My.Settings.wep = " Sztylet [8-10 DMG]"
  1109.                 My.Settings.Save()
  1110.                 Console.Clear()
  1111.                 GoTo ekwipunek
  1112.             Else
  1113.                 Console.Clear()
  1114.                 Console.ForegroundColor = ConsoleColor.Red
  1115.                 Console.WriteLine("
  1116. ┌──────────────────────────────────────────────────┐
  1117. │        Nie posiadasz sztyletu w ekwipunku!       │
  1118. └──────────────────────────────────────────────────┘
  1119. ")
  1120.                 Console.ForegroundColor = ConsoleColor.White
  1121.                 Threading.Thread.Sleep(2000)
  1122.                 nieznana_powrot = True
  1123.                 GoTo ekwipunek
  1124.             End If
  1125.         End If
  1126.  
  1127.  
  1128.         If ekwipunekinput = "wyrzuc sztylet" Then
  1129.             If My.Settings.inv1 = " Sztylet                                    [8-10 DMG]" Then
  1130.                 My.Settings.inv1 = ""
  1131.                 My.Settings.Save()
  1132.                 If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1133.                     My.Settings.wep = ""
  1134.                     My.Settings.Save()
  1135.                 Else
  1136.  
  1137.                 End If
  1138.                 Console.Clear()
  1139.                 Console.ForegroundColor = ConsoleColor.Green
  1140.                 Console.WriteLine("
  1141. ┌──────────────────────────────────────────────────┐
  1142. │                Wyrzuciłeś sztylet!               │
  1143. └──────────────────────────────────────────────────┘
  1144. ")
  1145.                 Console.ForegroundColor = ConsoleColor.White
  1146.                 Threading.Thread.Sleep(2000)
  1147.                 nieznana_powrot = True
  1148.                 GoTo ekwipunek
  1149.             ElseIf My.Settings.inv2 = " Sztylet                                    [8-10 DMG]" Then
  1150.                 My.Settings.inv2 = ""
  1151.                 My.Settings.Save()
  1152.                 If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1153.                     My.Settings.wep = ""
  1154.                     My.Settings.Save()
  1155.                 Else
  1156.  
  1157.                 End If
  1158.                 Console.Clear()
  1159.                 Console.ForegroundColor = ConsoleColor.Green
  1160.                 Console.WriteLine("
  1161. ┌──────────────────────────────────────────────────┐
  1162. │                Wyrzuciłeś sztylet!               │
  1163. └──────────────────────────────────────────────────┘
  1164. ")
  1165.                 Console.ForegroundColor = ConsoleColor.White
  1166.                 Threading.Thread.Sleep(2000)
  1167.                 nieznana_powrot = True
  1168.                 GoTo ekwipunek
  1169.             ElseIf My.Settings.inv3 = " Sztylet                                    [8-10 DMG]" Then
  1170.                 My.Settings.inv3 = ""
  1171.                 My.Settings.Save()
  1172.                 If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1173.                     My.Settings.wep = ""
  1174.                     My.Settings.Save()
  1175.                 Else
  1176.  
  1177.                 End If
  1178.                 Console.Clear()
  1179.                 Console.ForegroundColor = ConsoleColor.Green
  1180.                 Console.WriteLine("
  1181. ┌──────────────────────────────────────────────────┐
  1182. │                Wyrzuciłeś sztylet!               │
  1183. └──────────────────────────────────────────────────┘
  1184. ")
  1185.                 Console.ForegroundColor = ConsoleColor.White
  1186.                 Threading.Thread.Sleep(2000)
  1187.                 nieznana_powrot = True
  1188.                 GoTo ekwipunek
  1189.             ElseIf My.Settings.inv4 = " Sztylet                                    [8-10 DMG]" Then
  1190.                 My.Settings.inv4 = ""
  1191.                 My.Settings.Save()
  1192.                 If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1193.                     My.Settings.wep = ""
  1194.                     My.Settings.Save()
  1195.                 Else
  1196.  
  1197.                 End If
  1198.                 Console.Clear()
  1199.                 Console.ForegroundColor = ConsoleColor.Green
  1200.                 Console.WriteLine("
  1201. ┌──────────────────────────────────────────────────┐
  1202. │                Wyrzuciłeś sztylet!               │
  1203. └──────────────────────────────────────────────────┘
  1204. ")
  1205.                 Console.ForegroundColor = ConsoleColor.White
  1206.                 Threading.Thread.Sleep(2000)
  1207.                 nieznana_powrot = True
  1208.                 GoTo ekwipunek
  1209.             ElseIf My.Settings.inv5 = " Sztylet                                    [8-10 DMG]" Then
  1210.                 My.Settings.inv5 = ""
  1211.                 My.Settings.Save()
  1212.                 If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1213.                     My.Settings.wep = ""
  1214.                     My.Settings.Save()
  1215.                 Else
  1216.  
  1217.                 End If
  1218.                 Console.Clear()
  1219.                 Console.ForegroundColor = ConsoleColor.Green
  1220.                 Console.WriteLine("
  1221. ┌──────────────────────────────────────────────────┐
  1222. │                Wyrzuciłeś sztylet!               │
  1223. └──────────────────────────────────────────────────┘
  1224. ")
  1225.                 Console.ForegroundColor = ConsoleColor.White
  1226.                 Threading.Thread.Sleep(2000)
  1227.                 nieznana_powrot = True
  1228.                 GoTo ekwipunek
  1229.             ElseIf My.Settings.inv6 = " Sztylet                                    [8-10 DMG]" Then
  1230.                 My.Settings.inv6 = ""
  1231.                 My.Settings.Save()
  1232.                 If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1233.                     My.Settings.wep = ""
  1234.                     My.Settings.Save()
  1235.                 Else
  1236.  
  1237.                 End If
  1238.                 Console.Clear()
  1239.                 Console.ForegroundColor = ConsoleColor.Green
  1240.                 Console.WriteLine("
  1241. ┌──────────────────────────────────────────────────┐
  1242. │                Wyrzuciłeś sztylet!               │
  1243. └──────────────────────────────────────────────────┘
  1244. ")
  1245.                 Console.ForegroundColor = ConsoleColor.White
  1246.                 Threading.Thread.Sleep(2000)
  1247.                 nieznana_powrot = True
  1248.                 GoTo ekwipunek
  1249.             ElseIf My.Settings.inv7 = " Sztylet                                    [8-10 DMG]" Then
  1250.                 My.Settings.inv7 = ""
  1251.                 My.Settings.Save()
  1252.                 If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1253.                     My.Settings.wep = ""
  1254.                     My.Settings.Save()
  1255.                 Else
  1256.  
  1257.                 End If
  1258.                 Console.Clear()
  1259.                 Console.ForegroundColor = ConsoleColor.Green
  1260.                 Console.WriteLine("
  1261. ┌──────────────────────────────────────────────────┐
  1262. │                Wyrzuciłeś sztylet!               │
  1263. └──────────────────────────────────────────────────┘
  1264. ")
  1265.                 Console.ForegroundColor = ConsoleColor.White
  1266.                 Threading.Thread.Sleep(2000)
  1267.                 nieznana_powrot = True
  1268.                 GoTo ekwipunek
  1269.             ElseIf My.Settings.inv8 = " Sztylet                                    [8-10 DMG]" Then
  1270.                 My.Settings.inv8 = ""
  1271.                 My.Settings.Save()
  1272.                 If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1273.                     My.Settings.wep = ""
  1274.                     My.Settings.Save()
  1275.                 Else
  1276.  
  1277.                 End If
  1278.                 Console.Clear()
  1279.                 Console.ForegroundColor = ConsoleColor.Green
  1280.                 Console.WriteLine("
  1281. ┌──────────────────────────────────────────────────┐
  1282. │                Wyrzuciłeś sztylet!               │
  1283. └──────────────────────────────────────────────────┘
  1284. ")
  1285.                 Console.ForegroundColor = ConsoleColor.White
  1286.                 Threading.Thread.Sleep(2000)
  1287.                 nieznana_powrot = True
  1288.                 GoTo ekwipunek
  1289.             ElseIf My.Settings.inv9 = " Sztylet                                    [8-10 DMG]" Then
  1290.                 My.Settings.inv9 = ""
  1291.                 My.Settings.Save()
  1292.                 If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1293.                     My.Settings.wep = ""
  1294.                     My.Settings.Save()
  1295.                 Else
  1296.  
  1297.                 End If
  1298.                 Console.Clear()
  1299.                 Console.ForegroundColor = ConsoleColor.Green
  1300.                 Console.WriteLine("
  1301. ┌──────────────────────────────────────────────────┐
  1302. │                Wyrzuciłeś sztylet!               │
  1303. └──────────────────────────────────────────────────┘
  1304. ")
  1305.                 Console.ForegroundColor = ConsoleColor.White
  1306.                 Threading.Thread.Sleep(2000)
  1307.                 nieznana_powrot = True
  1308.                 GoTo ekwipunek
  1309.             ElseIf My.Settings.inv10 = " Sztylet                                    [8-10 DMG]" Then
  1310.                 My.Settings.inv10 = ""
  1311.                 My.Settings.Save()
  1312.                 If My.Settings.wep = " Sztylet [8-10 DMG]" Then
  1313.                     My.Settings.wep = ""
  1314.                     My.Settings.Save()
  1315.                 Else
  1316.  
  1317.                 End If
  1318.  
  1319.                 Console.Clear()
  1320.                 Console.ForegroundColor = ConsoleColor.Green
  1321.                 Console.WriteLine("
  1322. ┌──────────────────────────────────────────────────┐
  1323. │                Wyrzuciłeś sztylet!               │
  1324. └──────────────────────────────────────────────────┘
  1325. ")
  1326.                 Console.ForegroundColor = ConsoleColor.White
  1327.                 Threading.Thread.Sleep(2000)
  1328.                 nieznana_powrot = True
  1329.                 GoTo ekwipunek
  1330.             ElseIf My.Settings.wep = "Sztylet                                    [8-10 DMG]" Then
  1331.                 My.Settings.wep = ""
  1332.                 My.Settings.Save()
  1333.                 Console.Clear()
  1334.                 Console.ForegroundColor = ConsoleColor.Green
  1335.                 Console.WriteLine("
  1336. ┌──────────────────────────────────────────────────┐
  1337. │                Wyrzuciłeś sztylet!               │
  1338. └──────────────────────────────────────────────────┘
  1339. ")
  1340.                 Console.ForegroundColor = ConsoleColor.White
  1341.                 Threading.Thread.Sleep(2000)
  1342.                 nieznana_powrot = True
  1343.                 GoTo ekwipunek
  1344.             Else
  1345.                 Console.Clear()
  1346.                 Console.ForegroundColor = ConsoleColor.Red
  1347.                 Console.WriteLine("
  1348. ┌──────────────────────────────────────────────────┐
  1349. │        Nie posiadasz sztyletu w ekwipunku!       │
  1350. └──────────────────────────────────────────────────┘
  1351. ")
  1352.                 Console.ForegroundColor = ConsoleColor.White
  1353.                 Threading.Thread.Sleep(2000)
  1354.                 nieznana_powrot = True
  1355.                 GoTo ekwipunek
  1356.             End If
  1357.         End If
  1358.  
  1359.         If ekwipunekinput = "wyrzuc artefakt cienia" Then
  1360.             If My.Settings.inv1 = " Artefakt cienia   [+5 do siły]" Then
  1361.                 My.Settings.inv1 = ""
  1362.                 My.Settings.Save()
  1363.                 Console.Clear()
  1364.                 Console.ForegroundColor = ConsoleColor.Green
  1365.                 Console.WriteLine("
  1366. ┌──────────────────────────────────────────────────┐
  1367. │            Wyrzuciłeś artefakt cienia!           │
  1368. └──────────────────────────────────────────────────┘
  1369. ")
  1370.                 My.Settings.strenght = My.Settings.strenght - 5
  1371.                 Console.ForegroundColor = ConsoleColor.White
  1372.                 Threading.Thread.Sleep(2000)
  1373.                 nieznana_powrot = True
  1374.                 GoTo ekwipunek
  1375.             ElseIf My.Settings.inv2 = " Artefakt cienia   [+5 do siły]" Then
  1376.                 My.Settings.inv2 = ""
  1377.                 My.Settings.Save()
  1378.                 Console.Clear()
  1379.                 Console.ForegroundColor = ConsoleColor.Green
  1380.                 Console.WriteLine("
  1381. ┌──────────────────────────────────────────────────┐
  1382. │            Wyrzuciłeś artefakt cienia!           │
  1383. └──────────────────────────────────────────────────┘
  1384. ")
  1385.                 My.Settings.strenght = My.Settings.strenght - 5
  1386.                 Console.ForegroundColor = ConsoleColor.White
  1387.                 Threading.Thread.Sleep(2000)
  1388.                 nieznana_powrot = True
  1389.                 GoTo ekwipunek
  1390.             ElseIf My.Settings.inv3 = " Artefakt cienia   [+5 do siły]" Then
  1391.                 My.Settings.inv3 = ""
  1392.                 My.Settings.Save()
  1393.                 Console.Clear()
  1394.                 Console.ForegroundColor = ConsoleColor.Green
  1395.                 Console.WriteLine("
  1396. ┌──────────────────────────────────────────────────┐
  1397. │            Wyrzuciłeś artefakt cienia!           │
  1398. └──────────────────────────────────────────────────┘
  1399. ")
  1400.                 My.Settings.strenght = My.Settings.strenght - 5
  1401.                 Console.ForegroundColor = ConsoleColor.White
  1402.                 Threading.Thread.Sleep(2000)
  1403.                 nieznana_powrot = True
  1404.                 GoTo ekwipunek
  1405.             ElseIf My.Settings.inv4 = " Artefakt cienia   [+5 do siły]" Then
  1406.                 My.Settings.inv4 = ""
  1407.                 My.Settings.Save()
  1408.                 Console.Clear()
  1409.                 Console.ForegroundColor = ConsoleColor.Green
  1410.                 Console.WriteLine("
  1411. ┌──────────────────────────────────────────────────┐
  1412. │            Wyrzuciłeś artefakt cienia!           │
  1413. └──────────────────────────────────────────────────┘
  1414. ")
  1415.                 My.Settings.strenght = My.Settings.strenght - 5
  1416.                 Console.ForegroundColor = ConsoleColor.White
  1417.                 Threading.Thread.Sleep(2000)
  1418.                 nieznana_powrot = True
  1419.                 GoTo ekwipunek
  1420.             ElseIf My.Settings.inv5 = " Artefakt cienia   [+5 do siły]" Then
  1421.                 My.Settings.inv5 = ""
  1422.                 My.Settings.Save()
  1423.                 Console.Clear()
  1424.                 Console.ForegroundColor = ConsoleColor.Green
  1425.                 Console.WriteLine("
  1426. ┌──────────────────────────────────────────────────┐
  1427. │            Wyrzuciłeś artefakt cienia!           │
  1428. └──────────────────────────────────────────────────┘
  1429. ")
  1430.                 My.Settings.strenght = My.Settings.strenght - 5
  1431.                 Console.ForegroundColor = ConsoleColor.White
  1432.                 Threading.Thread.Sleep(2000)
  1433.                 nieznana_powrot = True
  1434.                 GoTo ekwipunek
  1435.             ElseIf My.Settings.inv6 = " Artefakt cienia   [+5 do siły]" Then
  1436.                 My.Settings.inv6 = ""
  1437.                 My.Settings.Save()
  1438.                 Console.Clear()
  1439.                 Console.ForegroundColor = ConsoleColor.Green
  1440.                 Console.WriteLine("
  1441. ┌──────────────────────────────────────────────────┐
  1442. │            Wyrzuciłeś artefakt cienia!           │
  1443. └──────────────────────────────────────────────────┘
  1444. ")
  1445.                 My.Settings.strenght = My.Settings.strenght - 5
  1446.                 Console.ForegroundColor = ConsoleColor.White
  1447.                 Threading.Thread.Sleep(2000)
  1448.                 nieznana_powrot = True
  1449.                 GoTo ekwipunek
  1450.             ElseIf My.Settings.inv7 = " Artefakt cienia   [+5 do siły]" Then
  1451.                 My.Settings.inv7 = ""
  1452.                 My.Settings.Save()
  1453.                 Console.Clear()
  1454.                 Console.ForegroundColor = ConsoleColor.Green
  1455.                 Console.WriteLine("
  1456. ┌──────────────────────────────────────────────────┐
  1457. │            Wyrzuciłeś artefakt cienia!           │
  1458. └──────────────────────────────────────────────────┘
  1459. ")
  1460.                 My.Settings.strenght = My.Settings.strenght - 5
  1461.                 Console.ForegroundColor = ConsoleColor.White
  1462.                 Threading.Thread.Sleep(2000)
  1463.                 nieznana_powrot = True
  1464.                 GoTo ekwipunek
  1465.             ElseIf My.Settings.inv8 = " Artefakt cienia   [+5 do siły]" Then
  1466.                 My.Settings.inv8 = ""
  1467.                 My.Settings.Save()
  1468.                 Console.Clear()
  1469.                 Console.ForegroundColor = ConsoleColor.Green
  1470.                 Console.WriteLine("
  1471. ┌──────────────────────────────────────────────────┐
  1472. │            Wyrzuciłeś artefakt cienia!           │
  1473. └──────────────────────────────────────────────────┘
  1474. ")
  1475.                 My.Settings.strenght = My.Settings.strenght - 5
  1476.                 Console.ForegroundColor = ConsoleColor.White
  1477.                 Threading.Thread.Sleep(2000)
  1478.                 nieznana_powrot = True
  1479.                 GoTo ekwipunek
  1480.             ElseIf My.Settings.inv9 = " Artefakt cienia   [+5 do siły]" Then
  1481.                 My.Settings.inv9 = ""
  1482.                 My.Settings.Save()
  1483.                 Console.Clear()
  1484.                 Console.ForegroundColor = ConsoleColor.Green
  1485.                 Console.WriteLine("
  1486. ┌──────────────────────────────────────────────────┐
  1487. │            Wyrzuciłeś artefakt cienia!           │
  1488. └──────────────────────────────────────────────────┘
  1489. ")
  1490.                 My.Settings.strenght = My.Settings.strenght - 5
  1491.                 Console.ForegroundColor = ConsoleColor.White
  1492.                 Threading.Thread.Sleep(2000)
  1493.                 nieznana_powrot = True
  1494.                 GoTo ekwipunek
  1495.             ElseIf My.Settings.inv10 = " Artefakt cienia   [+5 do siły]" Then
  1496.                 My.Settings.inv10 = ""
  1497.                 My.Settings.Save()
  1498.                 Console.Clear()
  1499.                 Console.ForegroundColor = ConsoleColor.Green
  1500.                 Console.WriteLine("
  1501. ┌──────────────────────────────────────────────────┐
  1502. │            Wyrzuciłeś artefakt cienia!           │
  1503. └──────────────────────────────────────────────────┘
  1504. ")
  1505.                 My.Settings.strenght = My.Settings.strenght - 5
  1506.                 Console.ForegroundColor = ConsoleColor.White
  1507.                 Threading.Thread.Sleep(2000)
  1508.                 nieznana_powrot = True
  1509.                 GoTo ekwipunek
  1510.             Else
  1511.                 Console.Clear()
  1512.                 Console.ForegroundColor = ConsoleColor.Red
  1513.                 Console.WriteLine("
  1514. ┌──────────────────────────────────────────────────┐
  1515. │    Nie posiadasz artefaktu cienia w ekwipunku!   │
  1516. └──────────────────────────────────────────────────┘
  1517. ")
  1518.                 Console.ForegroundColor = ConsoleColor.White
  1519.                 Threading.Thread.Sleep(2000)
  1520.                 nieznana_powrot = True
  1521.                 GoTo ekwipunek
  1522.             End If
  1523.         End If
  1524.  
  1525.  
  1526.         Console.Clear()
  1527.         Console.ForegroundColor = ConsoleColor.Red
  1528.         Console.WriteLine("
  1529. ┌────────────────────────────┐
  1530. │      Nieznana komenda      │
  1531. └────────────────────────────┘
  1532. ")
  1533.         Console.ForegroundColor = ConsoleColor.White
  1534.         Threading.Thread.Sleep(1500)
  1535.         GoTo ekwipunek
  1536.  
  1537. apteczka:
  1538.         Console.Clear()
  1539.         Console.ForegroundColor = ConsoleColor.Green
  1540.         Console.WriteLine("
  1541. ┌────────────────────────────────────────────┐
  1542. │ Opatrzyłeś swoje rany. Twoje HP wynosi 100 │
  1543. └────────────────────────────────────────────┘
  1544. ")
  1545.         nieznana_powrot = True
  1546.         Console.ForegroundColor = ConsoleColor.White
  1547.         Threading.Thread.Sleep(2000)
  1548.         GoTo powrot
  1549. powrot:
  1550.         If My.Settings.cave = True And ekwipunek_powrot = False And nieznana_powrot = False Then
  1551.             My.Computer.Audio.Play("Sounds\ambient_cave.wav",
  1552.         AudioPlayMode.BackgroundLoop)
  1553.         Else
  1554.             ekwipunek_powrot = False
  1555.             nieznana_powrot = False
  1556.         End If
  1557.         If My.Settings.x = 0 And My.Settings.y = 0 Then
  1558.  
  1559.             GoTo x0y0
  1560.         Else
  1561.  
  1562.         End If
  1563.  
  1564.         If My.Settings.x = 0 And My.Settings.y = 1 Then
  1565.  
  1566.             GoTo x0y1
  1567.         Else
  1568.  
  1569.         End If
  1570.  
  1571.         If My.Settings.x = 1 And My.Settings.y = 1 Then
  1572.  
  1573.             GoTo x1y1
  1574.         Else
  1575.  
  1576.         End If
  1577.  
  1578.         If My.Settings.x = 1 And My.Settings.y = 2 Then
  1579.             If My.Settings.rana = True Then
  1580.                 My.Settings.hp = My.Settings.hp - 5
  1581.                 My.Settings.Save()
  1582.             Else
  1583.  
  1584.             End If
  1585.             GoTo x1y2
  1586.         Else
  1587.  
  1588.         End If
  1589.  
  1590.         If My.Settings.x = 2 And My.Settings.y = 2 Then
  1591.             GoTo x2y2
  1592.         Else
  1593.  
  1594.         End If
  1595.  
  1596. autor:
  1597.         Console.Clear()
  1598.         Console.ForegroundColor = ConsoleColor.DarkGray
  1599.         Console.WriteLine("")
  1600.         Console.WriteLine(" ╔══════════════════════ About ══════════════════════╗")
  1601.         Console.WriteLine(" ║ Kod: Piotr Szewczyk                               ║")
  1602.         Console.WriteLine(" ║ Scenariusz: Piotr Szewczyk                        ║")
  1603.         Console.WriteLine(" ║ Cała masa innych rzeczy: Piotr Szewczyk           ║")
  1604.         Console.WriteLine(" ║ Opisy lokacji: Piotr Szewczyk                     ║")
  1605.         Console.WriteLine(" ║                                                   ║")
  1606.         Console.WriteLine(" ║ (C)2018 Piotr Szewczyk                            ║")
  1607.         Console.WriteLine(" ╚═══════════════════════════════════════════════════╝")
  1608.         Console.ReadKey()
  1609.         GoTo menu
  1610.  
  1611. dead:
  1612.         Console.ForegroundColor = ConsoleColor.DarkGray
  1613.         Console.Clear()
  1614.         My.Computer.Audio.Play("Sounds\ambient_menu.wav",
  1615.         AudioPlayMode.BackgroundLoop)
  1616.         Console.WriteLine("")
  1617.         Console.WriteLine(" ╔════════════════ Zostałeś pokonany ════════════════╗")
  1618.         Console.WriteLine(" ║                                                   ║")
  1619.         Console.WriteLine(" ║            Padłeś nieprzytomny na ziemię          ║")
  1620.         Console.WriteLine(" ║                    To koniec.                     ║")
  1621.         Console.WriteLine(" ║                                                   ║")
  1622.         Console.WriteLine(" ║                                                   ║")
  1623.         Console.WriteLine(" ║      Naciśnij dowolny przycisk, aby wczytać       ║")
  1624.         Console.WriteLine(" ║              ostatni zapisany punkt               ║")
  1625.         Console.WriteLine(" ╚═══════════════════════════════════════════════════╝")
  1626.         My.Settings.hp = 100
  1627.         My.Settings.Save()
  1628.         Console.ReadKey()
  1629.         GoTo powrot
  1630. victory_bestia_1:
  1631.         Console.Clear()
  1632.         Console.ForegroundColor = ConsoleColor.Green
  1633.         Console.WriteLine(" ╔════════════════════ Zwycięstwo ═══════════════════╗")
  1634.         Console.WriteLine(" ║                                                   ║")
  1635.         Console.WriteLine(" ║                   Nagroda: 150 XP                 ║")
  1636.         Console.WriteLine(" ╚═══════════════════════════════════════════════════╝")
  1637.         Threading.Thread.Sleep(3000)
  1638.         nieznana_powrot = True
  1639.         GoTo x1y2
  1640.  
  1641. victory_bestia:
  1642.         Console.Clear()
  1643.         Console.ForegroundColor = ConsoleColor.Green
  1644.         Console.WriteLine(" ╔════════════════════ Zwycięstwo ═══════════════════╗")
  1645.         Console.WriteLine(" ║                                                   ║")
  1646.         Console.WriteLine(" ║                   Nagroda: 150 XP                 ║")
  1647.         Console.WriteLine(" ╚═══════════════════════════════════════════════════╝")
  1648.         Threading.Thread.Sleep(3000)
  1649.         nieznana_powrot = True
  1650.         GoTo powrot
  1651.  
  1652. stacja_lecznicza:
  1653.         Console.SetWindowSize(120, 30)
  1654.         'stacja lecznicza
  1655.        Console.Clear()
  1656.         My.Settings.Upgrade()
  1657.         Console.ForegroundColor = ConsoleColor.Blue
  1658.         Console.WriteLine(" ┌────────────────────────┐")
  1659.         Console.ForegroundColor = ConsoleColor.Red
  1660.         Console.Write("   HP " & My.Settings.hp & " ")
  1661.         Console.ForegroundColor = ConsoleColor.Cyan
  1662.         Console.Write("  " & My.Settings.lvl & " LVL ")
  1663.         Console.ForegroundColor = ConsoleColor.DarkYellow
  1664.         Console.Write("  " & My.Settings.money & "$  ")
  1665.         Console.ForegroundColor = ConsoleColor.Blue
  1666.         Console.WriteLine("")
  1667.         Console.WriteLine(" └────────────────────────┘")
  1668.         Console.WriteLine("")
  1669.         Console.ForegroundColor = ConsoleColor.Gray
  1670.         Console.WriteLine(" Podchodzisz do stacji leczniczej. Kształtem przypomina szafkę. Gdy do niej podchodzisz, ekran nagle rozbłyska.")
  1671.         Console.WriteLine("")
  1672.         Console.WriteLine(" ╔════════════════ Stacja lecznicza ═════════════════╗")
  1673.         Console.WriteLine(" ║                                                   ║")
  1674.         Console.WriteLine(" ║         Aby skorzystać z leczenia zapłać          ║")
  1675.         Console.WriteLine(" ║                       20$                         ║")
  1676.         Console.WriteLine(" ║                                                   ║")
  1677.         Console.WriteLine(" ╚═══════════════════════════════════════════════════╝")
  1678.         Console.WriteLine("")
  1679.         Console.WriteLine(" Wygląda na to, że jeśli chcsz skorzystać z leczenia, musisz zapłacić.")
  1680.         If My.Settings.rana = True Then
  1681.             Console.ForegroundColor = ConsoleColor.Red
  1682.             Console.WriteLine(" Nieopatrzona rana. [-5HP]")
  1683.         Else
  1684.  
  1685.         End If
  1686.         Console.WriteLine("")
  1687.         Console.ForegroundColor = ConsoleColor.DarkBlue
  1688.         Console.WriteLine(" Co chcesz zrobić?")
  1689.         Console.ForegroundColor = ConsoleColor.DarkMagenta
  1690.         Console.WriteLine("
  1691. ┌───────────────────────────────┬─────────────────────────┐
  1692. │ Ulecz się                     │ skorzystaj stacja       │
  1693. │ Powrót                        │ powrot                  │
  1694. └───────────────────────────────┴─────────────────────────┘
  1695. ")
  1696.         Console.WriteLine("")
  1697.         Console.ForegroundColor = ConsoleColor.DarkYellow
  1698.         Console.Write("> ")
  1699.         Console.ForegroundColor = ConsoleColor.White
  1700.         Dim stacjainput = Console.ReadLine
  1701.  
  1702.         If stacjainput = "skorzystaj stacja" Then
  1703.             GoTo stacja_uleczanie
  1704.         Else
  1705.  
  1706.         End If
  1707.  
  1708.         If stacjainput = "powrot" Then
  1709.             GoTo powrot
  1710.         Else
  1711.  
  1712.         End If
  1713.  
  1714.  
  1715.         Console.Clear()
  1716.         Console.ForegroundColor = ConsoleColor.Red
  1717.         Console.WriteLine("
  1718. ┌────────────────────────────┐
  1719. │      Nieznana komenda      │
  1720. └────────────────────────────┘
  1721. ")
  1722.         Console.ForegroundColor = ConsoleColor.White
  1723.         Threading.Thread.Sleep(1500)
  1724.         nieznana_powrot = True
  1725.         GoTo powrot
  1726.  
  1727. stacja_uleczanie:
  1728.  
  1729.         Console.SetWindowSize(120, 30)
  1730.         'stacja lecznicza uleczanie się
  1731.        Console.Clear()
  1732.         My.Settings.Upgrade()
  1733.         Console.ForegroundColor = ConsoleColor.Blue
  1734.         Console.WriteLine(" ┌────────────────────────┐")
  1735.         Console.ForegroundColor = ConsoleColor.Red
  1736.         Console.Write("   HP " & My.Settings.hp & " ")
  1737.         Console.ForegroundColor = ConsoleColor.Cyan
  1738.         Console.Write("  " & My.Settings.lvl & " LVL ")
  1739.         Console.ForegroundColor = ConsoleColor.DarkYellow
  1740.         Console.Write("  " & My.Settings.money & "$  ")
  1741.         Console.ForegroundColor = ConsoleColor.Blue
  1742.         Console.WriteLine("")
  1743.         Console.WriteLine(" └────────────────────────┘")
  1744.         Console.WriteLine("")
  1745.         Console.ForegroundColor = ConsoleColor.Gray
  1746.         Console.WriteLine(" Koło niewielkiego owtworu mruga zielona lampka. Wahając się wkładasz rękę do otworu. Poczułeś ukłucie. Twoje
  1747. rany się zagoiły, a ty od razu czujesz się lepiej.")
  1748.         Console.WriteLine("")
  1749.         My.Settings.rana = False
  1750.         Console.WriteLine("")
  1751.         My.Settings.hp = 100
  1752.         My.Settings.Save()
  1753.         Console.ForegroundColor = ConsoleColor.Cyan
  1754.         Console.WriteLine(" Naciśnij dowolny przycisk, aby kontynuować.")
  1755.         Console.ReadKey()
  1756.         GoTo powrot
  1757. brak_kasy:
  1758.         Console.Clear()
  1759.         Console.ForegroundColor = ConsoleColor.Red
  1760.         Console.WriteLine("
  1761. ┌───────────────────────────────────┐
  1762. │      Nie masz tyle pieniędzy      │
  1763. └───────────────────────────────────┘
  1764. ")
  1765.         Console.ForegroundColor = ConsoleColor.White
  1766.         Threading.Thread.Sleep(1500)
  1767.         nieznana_powrot = True
  1768.         GoTo stacja_lecznicza
  1769.  
  1770.     End Sub
  1771.  
  1772.  
  1773. End Module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement