Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cls
- title "Dungeon X"
- echo Dungeon X
- echo.
- echo Copyright Glampkoo.inc
- pause
- :menu
- cls
- echo 1. Start
- echo 2. Instructions
- echo 3. Codes
- echo 4. Exit
- set /p answer=Select the option by typing the respective number and press enter.
- if %answer%==1 goto start
- if %answer%==2 goto instr
- if %answer%==3 goto codes
- if %answer%==4 goto exit
- goto menu
- :codes
- cls
- echo WIP!
- echo.
- pause
- goto menu
- :exit
- cls
- echo Do you really want to exit? [y/n]
- set /p answer=
- if %answer%==y goto exitreally
- if %answer%==n goto menu
- goto exit
- :exitreally
- cls
- echo Thanks for playing!
- pause
- exit
- :instr
- cls
- echo Instructions
- echo.
- echo The game gives you options (for example):
- echo 1.Run
- echo 2.Grab it.
- echo Just select the respective number and press Enter.
- echo.
- echo Sometimes the game can give hints to do certain things in certain places. Be cautious!
- echo.
- echo During the game you can leave the game by typping "quit" (then enter) to exit the game and "menu" (then enter) to go to menu
- pause
- goto Menu
- :start
- cls
- echo You are about to enter the Dungeon.
- echo Until now, no explorers/adventurers haven't returned.
- echo.
- echo 1. Enter
- echo 2. Leave
- set /p answer=
- if %answer%==1 goto dungeon_entrance
- if %answer%==2 goto coward
- if %answer%==quit goto exitreally
- if %answer%==menu goto menu
- goto start
- :coward
- cls
- echo You little coward.
- exit
- :dungeon_entrance
- cls
- echo You entered the dungeon, and you see two doors.
- echo.
- echo 1. Right room
- echo 2. Left room
- echo 3. Go straight
- set /p answer=ÿÿ
- if %answer%==1 goto room1
- if %answer%==2 goto room2
- if %answer%==3 goto door1
- if %answer%==quit goto exitreally
- if %answer%==menu goto menu
- goto dungeon_entrance
- :dungeon_entrance_leave
- cls
- echo You left the room and you return to the entrance.
- echo.
- echo 1. Right room
- echo 2. Left room
- echo 3. Go straight
- set /p answer=ÿÿ
- if %answer%==1 goto room1
- if %answer%==2 goto room2
- if %answer%==3 goto door3
- if %answer%==quit goto exitreally
- if %answer%==menu goto menu
- goto dungeon_entrance_leave
- :room1
- cls
- echo You see a desk, a bed, a painting of an old man, and a bookshelf.
- echo What do you want to examine?
- echo.
- echo 1. Desk
- echo 2. Bed
- echo 3. Painting
- echo 4. Bookshelf
- echo 5. Leave
- set /p answer=
- if %answer%==1 goto room1_desk
- if %answer%==2 goto room1_bed
- if %answer%==3 goto room1_painting
- if %answer%==4 goto room1_shelf
- if %answer%==5 goto dungeon_entrance_leave
- if %answer%==quit goto exitreally
- if %answer%==menu goto menu
- goto room1
- :room1_desk
- cls
- echo You examined everything and you only found a bunch of papers. Read them?[y/n]
- set /p answer=
- if %answer%==y goto paper1
- if %answer%==n goto room1
- if %answer%==quit goto exitreally
- if %answer%==menu goto menu
- goto room1_desk
- :paper1
- cls
- echo "More 26 prisoners were added to the dungeon. One of the is very strong and doesn't want to be bothered."
- pause
- echo "Our total amount of prisoners is 272."
- pause
- echo I can't read what's next. Probably the papers belong to the dungeon's Warden.
- pause
- goto room1
- :room1_bed
- cls
- echo It's just a bed.
- echo.
- echo 1. Sleep
- echo 2. Leave the bed
- set /p answer=
- if %answer%==1 goto sleep
- if %answer%==2 goto room1
- if %answer%==quit goto exitreally
- if %answer%==menu goto menu
- goto room1_bed
- :sleep
- cls
- echo You slept nicely but it's time to move on.
- pause
- goto room1
- :room1_painting
- cls
- echo It's a painting of an old man. Probably father of the Warden.
- echo.
- echo 1. Take a close look.
- echo 2. Leave it.
- set /p answer=
- if %answer%==1 goto painting
- if %answer%==2 goto room1
- if %answer%==quit goto exitreally
- if %answer%==menu goto menu
- goto room1_painting
- :painting
- cls
- echo You throughly examined the picture and there was some numbers in it: 25b9
- pause
- goto room1
- :room1_shelf
- cls
- echo There are a lot of books about prisons/dungeons and their managment.
- echo.
- echo 1. Read them?
- echo 2. Leave them.
- set /p answer=
- if %answer%==1 goto books
- if %answer%==2 goto room1
- if %answer%==quit goto exitreally
- if %answer%==menu goto menu
- :books
- cls
- echo Don't waste your time, just play the game!
- pause
- goto room1
- :room2
- cls
- echo It's a bathroom. There's nothing to do here.
- pause
- goto dungeon_entrance_leave
- :door1
- cls
- echo There are some stairs down. Want to go down? [y/n]
- set /p answer=
- if %answer%==y goto stairsdown1
- if %answer%==n goto dungeon_entrance_leave
- if %answer%==quit goto exitreally
- if %answer%==menu goto menu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement