initial commit

This commit is contained in:
Rushil Umaretiya 2024-02-28 13:43:34 -05:00
commit 85625bc83b
31 changed files with 2909 additions and 0 deletions

File diff suppressed because it is too large Load Diff

11
Knight's Path/slot1.dlb Normal file
View File

@ -0,0 +1,11 @@
1
juan
1
1
1000
5
8
8
10
10
Unactive

View File

@ -0,0 +1,129 @@
@echo off
echo.
echo Castle 1
echo.
echo o
echo .-""^|
echo ^|-""^|
echo ^| ._--+.
echo .^|-"" '.
echo +:' '.
echo ^| '. _.-'^|
echo ^| + .-" J
echo _.+ .....'.'^| '.-" ^|
echo _.-"" '. ..'88888888^| + J''..
echo +:" '.'88888888888;-+. ^| _+.^|8888:
echo ^| \ _.-+888888888_." _.F F +:' '.8888'....
echo L \ _.-"" ^|8888_.-" _." J J J '. +88888888:
echo ^| '+" ^|_.-" _.-" ^| ^| ^| + '.888888'._''.
echo .'8L L J _.-" ^| ^| ^| '. '.88_.-" '.
echo :888^| ^| J-" F F F '. _.-" '.
echo :88888L L _+ L J J J '^|. ';
echo :888888J ^| +-" \ L _.+.^|.+. F '. _.-" F
echo :8888888^| L L\ \^| _.-" ' '. J '. .-" ^|
echo :8888888.L ^| ^| \ ', _.-" '. ^| "..-" J'.
echo :888888: ^| L L '. \ _.-+. '. :+-. ^| F88'.
echo 888888: L ^| ^| \ ;.-"" '. :-" ":+ J ^|88888:
echo :888888: ^| L L +:"" '. _.-" .-" ^| ^| J:888888:
echo :888888: L ^| ^| J \ '.-' _.-' J J F :888888:
echo :88888: \ L L L \ _.-+ _.-' ^| ^| ^| :888888:
echo :888888: \^| ^| ^| '. _.-" ^|-" J J J :888888:
echo :888888'. +'\ J \ _.-" F ,-T"\ ^| ^| .-' :888888:
echo :888888 '. \ L +" J / ^| J J J .-' .'888888:
echo :8888888 : \ ^| ^| ^| F '.^|.-'+^|-' .' 8888888:
echo :8888888 : \ J ^| F J '... .' 888888888:
echo :8888888 : \ L ^| J ^| \88'.''.''''.' 8888888888:
echo :8888888 : \^| ^| ^| .-'\ \8888888888888888888888:
echo :8888888 '. J ^| F-' .'\ \8888888888888888888.'
echo :88888888 : L ^| J : 8\ \8888888888888888.'
echo :88888888 : ^| ^| .+ ...' 88\ \8888888888.''.'
echo :88888888 : J ^| .-' .' 8888\ \'.'''.'.'
echo :88888888 : \ ^| .-' .' 888888888.\ _-'
echo :888888888 : \^|-' .' 888888888.' \_-"
echo '.88888888'.. : 8888888.'
echo :88888888 ''''.''.' 88888888:
echo :8888888888888888888888888888:
echo :88888888888888888888888888:
echo :888888888888888888888888:
echo ''.8888888888888...'.'''
echo '''''......''
echo.
echo.
echo.
pause
cls
echo.
echo Castle 2
echo.
echo /\
echo /`:\
echo /`'`:\
echo /`'`'`:\
echo /`'`'`'`:\
echo /`'`'`'`'`:\
echo ^|`'`'`'`:^|
echo _ _ _ _ _ ^|] ,-. :^|_ _ _ _
echo ^|^|^| ^|^| ^|^| ^|^| ^| ^| ^|_^| ^|^|^| ^|^| ^|^| ^|^| ^|
echo ^|`' `' `' `'.^| ^| _'=' ^|`' `' `' `'.^|
echo : .:; ^|'-' : .:;
echo \-..____..:/ _ _ _ _ _ _^| _ _'-\-..____..:/
echo :--------:_,' ^|^| ^|^| ^|^| ^|^| ^|^| ^|^| ^|^| `.::--------:
echo ^|] .:^|:. `' `'_`' `' `' `' `' ^| '-' .:^|
echo ^| ,-. .[^|:._ '-' ____ ___ ^| ,-.'-^|
echo ^| ^| ^| .:^|'--'_ ,'____`. '---' ^| ^| ^|.:^|
echo ^| ^|_^| .:^|:.'--' ()/,^| ^|`^|`.\() __ ^| ^|_^|.:^|
echo ^| '=' .:^|:. ^|::_^|_^|_^|\^|:: '--' ^| _'='.:^|
echo ^| __ .:^|:. ;^|^|-,-,-,-,^|; ^| '--' .:^|
echo ^|'--' .:^|:. _ ; ^|^| ^|:^| ^| .:^|
echo ^| .:^|:.'-': ^|^| ^|;^| _ ^|] _:^|
echo ^| '-^|:. ; ^|^| :^|^| '-' ^| '--^|
echo ^| _ .:^|]. ; ^|^| ;^|^|] ^| _ .:^|
echo ^| '-' .:^|:. : [^|^| ;^|^|^| ^| '-' .:^|
echo ,', ;._____.::-- ;----^>'-,--,:-'^<'--------;._____.::.`.
echo (( ( )_;___,' ,' , ; //________( ) ))
echo `. _`--------' : -,' ' , ' '; //- _ `--------' ,'
echo __ .--' ;,' ,' , ': // -.._ __ _.- -
echo `- -- _ ;',' ,' ,' ,;/_ -. --- _,
echo _,. /-:,_,_,_,_,_,_(/:-\ , ,. _
echo -' `-'--'-'-'-'-'-'-'-''--'-' `-'`' `'`' `
echo.
echo.
echo.
pause
cls
A
/ \
/ \
A <_____>
/ \ _ _^|_\157_^|_ _
/ \ ]=I=I=I=I=[
<_____> \-^|-^|-^|-/
_ _^|_\157_^|_ _ ^| ^|
]=I=I=I=I=[ _^|_ _ ^| A
\-^|-^|-^|-/ ]=I=[ ^| A / \
^| ^| A \^|/ ^| / \ / \
^| ^| / \ ^|Y ^| / \<_____>
^| /^\ ^| / \ ^| ^| <_____>^| ^|
^| ^| ^| ^| <_____> ^| [] ^| _ _^|_\157_^|_^| ^|
^| ^|_^| ^| ^| ^| ^| ^| ]=I=I=I=I^| ^|
^| ^| _^|_\157_^|_ _ ^| ^| \-^|-^|_ _^|_\157_^|_ _
^| ^|=I=I=I=I=[ ^| [] ^| ]=I=I=I=I=[
_ _^|_ _ _^|_-_-^|-^|-/_ _^|_ _ _^|_ /^\ \-^|-^|-^|-/
]=I=I=I=I=I=[ ^| ]=I=I=I=I=I=^|O^| ^| ^|
\-^|-^|-^|-^|-/ ^| \-\-^|-^|-/-/ \^| ^| /^\ ^|
^| [] ^| _ _ _^|_ _^| _____^|_ ^| ^| ^| ^| ^|
^| [] ^|=I=I=I=I=[^| /vvvvvvv\^| ^| === ^|
_ _^|_ _ _ _^|_-_-^|-^|-/ ^|/vvvvvvvvv\ ^| ^|
]=I=I=I=I=I=I=[ ^| <===========> _ _^|_ _ _^|_ _
\-\--^|-^|--/-/ ^| ^|^| [] [] ^| ]=I=I=I=I=I=[
^| ^| _ _ _^|_ ^|^|_ _ _ _ _^|_ _\--^|-^|-^|--/
^| ^|=I=I=I=I=I=I=I=I=I=I=I=I=^| ^|
^| [] ^|-=-=-=-=-=-=-=-=-=-=-=-=-^| []^|
^| ^| ___ ^| ^|
^| ^| / \ ^| ^|
^| ^| ^| ^| ^| ^|
_/^| ^|\_ ^| ^| _/^| ^|\_
echo.
echo.
pause

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Models/Icons/._Shop.ico Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
Models/Icons/Shop-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

BIN
Models/Icons/Shop.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -0,0 +1,223 @@
:Save Menu
echo ___________________________
echo ^| ^|
echo ^| SLOT 1 ^|
echo ^| ^|
if exist slot1.dlb echo ^| -IN USE- ^|
if not exist slot1.dlb echo ^| -EMPTY- ^|
echo ^| ^|
echo ^|___________________________^|
echo.
echo.
echo ___________________________
echo ^| ^|
echo ^| SLOT 2 ^|
echo ^| ^|
if exist slot2.dlb echo ^| -IN USE- ^|
if not exist slot2.dlb echo ^| -EMPTY- ^|
echo ^| ^|
echo ^|___________________________^|
echo.
echo.
echo ___________________________
echo ^| ^|
echo ^| SLOT 3 ^|
echo ^| ^|
if exist slot3.dlb echo ^| -IN USE- ^|
if not exist slot3.dlb echo ^| -EMPTY- ^|
echo ^| ^|
echo ^|___________________________^|
echo.
echo.
echo ___________________________
echo ^| ^|
echo ^| SLOT 4 ^|
echo ^| ^|
if exist slot4.dlb echo ^| -IN USE- ^|
if not exist slot4.dlb echo ^| -EMPTY- ^|
echo ^| ^|
echo ^|___________________________^|
echo.
echo.
echo ___________________________
echo ^| ^|
echo ^| SLOT 5 ^|
echo ^| ^|
if exist slot5.dlb echo ^| -IN USE- ^|
if not exist slot5.dlb echo ^| -EMPTY- ^|
echo ^| ^|
echo ^|___________________________^|
echo.
echo.
echo Type the number of the slot:
set /p SaveOption=
if %SaveOption% == 1 goto Slot1Save
if %SaveOption% == 2 goto Slot2Save
if %SaveOption% == 3 goto Slot3Save
if %SaveOption% == 4 goto Slot4Save
if %SaveOption% == 5 goto Slot5Save
goto
:Load Menu
echo ___________________________
echo ^| ^|
echo ^| SLOT 1 ^|
echo ^| ^|
if exist slot1.dlb echo ^| -IN USE- ^|
if not exist slot1.dlb echo ^| -EMPTY- ^|
echo ^| ^|
echo ^|___________________________^|
echo.
echo.
echo ___________________________
echo ^| ^|
echo ^| SLOT 2 ^|
echo ^| ^|
if exist slot2.dlb echo ^| -IN USE- ^|
if not exist slot2.dlb echo ^| -EMPTY- ^|
echo ^| ^|
echo ^|___________________________^|
echo.
echo.
echo ___________________________
echo ^| ^|
echo ^| SLOT 3 ^|
echo ^| ^|
if exist slot3.dlb echo ^| -IN USE- ^|
if not exist slot3.dlb echo ^| -EMPTY- ^|
echo ^| ^|
echo ^|___________________________^|
echo.
echo.
echo ___________________________
echo ^| ^|
echo ^| SLOT 4 ^|
echo ^| ^|
if exist slot4.dlb echo ^| -IN USE- ^|
if not exist slot4.dlb echo ^| -EMPTY- ^|
echo ^| ^|
echo ^|___________________________^|
echo.
echo.
echo ___________________________
echo ^| ^|
echo ^| SLOT 5 ^|
echo ^| ^|
if exist slot5.dlb echo ^| -IN USE- ^|
if not exist slot5.dlb echo ^| -EMPTY- ^|
echo ^| ^|
echo ^|___________________________^|
echo.
echo.
echo Type the number of the slot:
set /p LoadOption=
if %LoadOption% == 1 goto Slot1Load
if %LoadOption% == 2 goto Slot2Load
if %LoadOption% == 3 goto Slot3Load
if %LoadOption% == 4 goto Slot4Load
if %LoadOption% == 5 goto Slot5Load
goto
:Slot1Save
(
echo %name%
echo %exp%
echo %monexp%
echo %gold%
echo %lives%
)>slot1.dlb
goto Battle
:Slot1Load
(
set /p name=
set /p exp=
set /p monexp=
set /p gold=
set /p lives=
)<slot1.dlb
goto Battle
:Slot2Save
(
echo %name%
echo %exp%
echo %monexp%
echo %gold%
echo %lives%
)>slot2.dlb
goto Battle
:Slot2Load
(
set /p name=
set /p exp=
set /p monexp=
set /p gold=
set /p lives=
)<slot2.dlb
goto Battle
:Slot3Save
(
echo %name%
echo %exp%
echo %monexp%
echo %gold%
echo %lives%
)>slot3.dlb
goto Battle
:Slot3Load
(
set /p name=
set /p exp=
set /p monexp=
set /p gold=
set /p lives=
)<slot3.dlb
goto Battle
:Slot4Save
(
echo %name%
echo %exp%
echo %monexp%
echo %gold%
echo %lives%
)>slot4.dlb
goto Battle
:Slot4Load
(
set /p name=
set /p exp=
set /p monexp=
set /p gold=
set /p lives=
)<slot4.dlb
goto Battle
:Slot5Save
(
echo %name%
echo %exp%
echo %monexp%
echo %gold%
echo %lives%
)>slot5dlb
goto Battle
:Slot5Load
(
set /p name=
set /p exp=
set /p monexp=
set /p gold=
set /p lives=
)<slot5.dlb
goto Battle

538
Shop/Shop.bat Normal file
View File

@ -0,0 +1,538 @@
@echo off
mode 1000
color 70
set gold=1000
set GoldenGunStatus=Unactive
set AKStatus=Unactive
set SteelSwordStatus=Unactive
set exp=5
:Shop
cls
echo.
echo.
echo Gold: %gold%G
echo.
echo.
echo _________________________________________________________
echo / \
echo / \
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo \____/ \_____/ \_____/ \_____/ \_____/ \_____/ \_____/ \____/
echo ^| ^|
echo ^| ___________ ^|
echo ^| ^| _ _ ^| ^|
echo ^| ^|^|_^| ^|_^|^| ^|
echo ^| ^| ^| ^|
echo ^| ^| ^|___^| ^| ^|
echo ^| ^|___________^| / ^|
echo ^| ^| / ^|
echo ^| _____^|_____/ ^|
echo ^| / ^| ^|
echo ^| / ^| ^|
echo ^| / ^| ^|
echo __^|_______________________________________________^|__
echo / \
echo ^| Bob's Shops ^|
echo \_____________________________________________________/
echo.
echo.
echo __________________________________
echo _
echo ^|_^|
echo \^|/
echo / \
echo Bob:
call :Typing "Hi, my name's Bob. Proud owner of Bob's Shops. Welcome to my shop. We sell a variety of things here such as literally anything to help you with your journey. My primary existance is mainly for that one reason. Please help me..."
echo.
echo __________________________________
echo.
pause
cls
echo.
echo.
echo Gold: %gold%G %exp%
echo.
echo.
echo _________________________________________________________
echo / \
echo / \
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo \____/ \_____/ \_____/ \_____/ \_____/ \_____/ \_____/ \____/
echo ^| ^|
echo ^| ___________ ^|
echo ^| ^| _ _ ^| ^|
echo ^| ^|^|_^| ^|_^|^| ^|
echo ^| ^| ^| ^|
echo ^| ^| ^|___^| ^| ^|
echo ^| ^|___________^| / ^|
echo ^| ^| / ^|
echo ^| _____^|_____/ ^|
echo ^| / ^| ^|
echo ^| / ^| ^|
echo ^| / ^| ^|
echo __^|_______________________________________________^|__
echo / \
echo ^| Bob's Shops ^|
echo \_____________________________________________________/
echo.
echo.
echo __________________________________
echo _
echo ^|_^|
echo \^|/
echo / \
echo Bob:
call :Typing "What would you like?"
echo.
echo _________ _________ _________
echo [ WEAPONS ] [ MAGIC ] [UPGRADES ]
echo [Press (W)] [Press (M)] [Press (U)]
echo [_________] [_________] [_________]
echo.
echo __________________________________
echo.
echo Enter your choice:
set /p shopoption=
if /I %shopoption% == W goto WeaponsShop
if /I %shopoption% == M goto MagicShop
if /I %shopoption% == U goto UpgradesShop
if /I %shopoption% == "goto" goto DevGoto
if /I %shopoption% == GOLD set /p gold= & goto Shop
if /I %shopoption% == GGSTATUS set /p GoldenGunStatus= & goto Shop
if /I %shopoption% == AKSTATUS set /p AKStatus= & goto Shop
if /I %shopoption% == xp set /p exp= & goto Shop
if /I %shopoption% == "exit" exit
:DevGoto
echo Enter Label:
set /p DevGoto=
goto %DevGoto%
goto DevGoto
:WeaponsShop
cls
echo.
echo.
echo Gold: %gold%G
echo.
echo.
echo _________________________________________________________
echo / \
echo / \
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo \____/ \_____/ \_____/ \_____/ \_____/ \_____/ \_____/ \____/
echo ^| ^|
echo ^| ___________ /^| ^|
echo ^| ^| _ _ ^| / ^| ^|
echo ^| ^|^|_^| ^|_^|^| / ^| ^|
echo ^| ^| ^| / ^| ^|
echo ^| ^| ^|___^| ^| / ^| ^|
echo ^| ^|___________^| / / / ^|
echo ^| ^| / / / ^|
echo ^| _____^|_____/ /____/ ^|
echo ^| / ^| / /\ ^|
echo ^| / ^| / ^|__^| ^|
echo ^| / ^| / ^|
echo __^|_______________________________________________^|__
echo / \
echo ^| Bob's Shops ^|
echo \_____________________________________________________/
echo.
echo.
echo.
echo __________________________________
echo _
echo ^|_^|
echo \^|/
echo / \
echo Bob:
call :Typing "Here at Bob's Shops we have a vast variety of Weapons from all shapes and sizes. But here's the catch, I can only give you certain weapons if you're at a certain XP Level! So you must work hard killing everything you see for even more items to kill everything you see. Fun! Right?"
echo.
echo __________________________________
echo.
pause
cls
echo.
echo.
echo Gold: %gold%G
echo.
echo.
echo _________________________________________________________
echo / \
echo / \
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo \____/ \_____/ \_____/ \_____/ \_____/ \_____/ \_____/ \____/
echo ^| ^|
echo ^| ___________ /^| ^|
echo ^| ^| _ _ ^| / ^| ^|
echo ^| ^|^|_^| ^|_^|^| / ^| ^|
echo ^| ^| ^| / ^| ^|
echo ^| ^| ^|___^| ^| / ^| ^|
echo ^| ^|___________^| / / / ^|
echo ^| ^| / / / ^|
echo ^| _____^|_____/ /____/ ^|
echo ^| / ^| / /\ ^|
echo ^| / ^| / ^|__^| ^|
echo ^| / ^| / ^|
echo __^|_______________________________________________^|__
echo / \
echo ^| Bob's Shops ^|
echo \_____________________________________________________/
echo.
echo.
echo.
echo __________________________________
echo _
echo ^|_^|
echo \^|/
echo / \
echo Bob:
call :Typing "What would you like?"
echo.
echo _________
echo [ BACK ]
echo [Press (B)]
echo [_________]
echo.
echo Level 1:
echo __________ _________ ___________
echo [GOLDEN GUN] [ AK-47 ] [STEEL SWORD]
echo [Press (G)] [Press (A)] [ Press (T) ]
echo [ 200G ] [ 400G ] [ 500G ]
echo [__________] [_________] [___________]
echo.
echo Level 3:
echo.
if %exp% GEQ 3 (
echo __________ _________ ___________
echo [GOLDEN GUN] [ AK-47 ] [STEEL SWORD]
echo [Press (G)] [Press (A)] [ Press (T) ]
echo [ 200G ] [ 400G ] [ 500G ]
echo [__________] [_________] [___________]
)
echo.
echo Level 5:
echo.
echo Level 10:
echo.
echo Level 20:
echo.
echo Level 50
echo.
echo __________________________________
echo.
echo Enter your choice:
set /p wshopoption=
if /I %wshopoption% == G goto Golden Gun Shop
if /I %wshopoption% == A goto AK-47 Shop
if /I %wshopoption% == T goto Steel Sword Shop
if /I %wshopoption% == B goto WeaponsShop
:MagicShop
pause
goto Shop
:UpgradesShop
pause
goto Shop
:Golden Gun Shop
cls
echo.
echo.
echo Gold: %gold%G
echo.
echo.
echo _________________________________________________________
echo / \
echo / \
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo \____/ \_____/ \_____/ \_____/ \_____/ \_____/ \_____/ \____/
echo ^| ^|
echo ^| ___________ /^| ^|
echo ^| ^| _ _ ^| / ^| ^|
echo ^| ^|^|_^| ^|_^|^| / ^| ^|
echo ^| ^| ^| / ^| ^|
echo ^| ^| ^|___^| ^| / ^| ^|
echo ^| ^|___________^| / / / ^|
echo ^| ^| / / / ^|
echo ^| _____^|_____/ /____/ ^|
echo ^| / ^| / /\ ^|
echo ^| / ^| / ^|__^| ^|
echo ^| / ^| / ^|
echo __^|_______________________________________________^|__
echo / \
echo ^| Bob's Shops ^|
echo \_____________________________________________________/
echo.
echo.
echo.
echo __________________________________
echo _
echo ^|_^|
echo \^|/
echo / \
echo Bob:
call :Typing "The GOLDEN GUN is mostly like your hangun except it's made of something that resembles gold, and is slightly stronger than your own pistol. The secret, is that it looks cooler when you shoot it."
echo.
echo _________ _________ _________
echo [ STATS ] [ BACK ] [ BUY ]
echo [Press (S)] [Press (B)] [Press (Y)]
echo [_________] [_________] [_________]
echo.
echo __________________________________
echo.
echo Enter your choice:
set /p ggshopoption=
if /I %ggshopoption% == S goto GoldenGunStats
if /I %ggshopoption% == B goto WeaponsShop
if /I %ggshopoption% == Y goto BuyGoldenGun
goto Golden Gun Shop
:GoldenGunStats
cls
echo.
echo.
echo Gold: %gold%G
echo.
echo.
echo _________________________________________________________
echo / \
echo / \
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo \____/ \_____/ \_____/ \_____/ \_____/ \_____/ \_____/ \____/
echo ^| ^|
echo ^| ___________ /^| ^|
echo ^| ^| _ _ ^| / ^| ^|
echo ^| ^|^|_^| ^|_^|^| / ^| ^|
echo ^| ^| ^| / ^| ^|
echo ^| ^| ^|___^| ^| / ^| ^|
echo ^| ^|___________^| / / / ^|
echo ^| ^| / / / ^|
echo ^| _____^|_____/ /____/ ^|
echo ^| / ^| / /\ ^|
echo ^| / ^| / ^|__^| ^|
echo ^| / ^| / ^|
echo __^|_______________________________________________^|__
echo / \
echo ^| Bob's Shops ^|
echo \_____________________________________________________/
echo.
echo.
echo.
echo __________________________________
echo _
echo ^|_^|
echo \^|/
echo / \
echo Bob:
call :Typing "Here are some stats:"
echo.
rem ChangeColor 14 7
echo _____________________________________
echo [ ,-.______________,=========, ]
echo [ [^| )_____________)#######((_ ]
echo [ /===============.-.___,--" _\ ]
echo [ "-._,__,__[GG]____\########/ ]
echo [ \ ( )) )####O##( ]
echo [ \ \___/,.#######\ ]
echo [ `====" \#######\ ]
echo [ \#######\ ]
echo [ )##O####^| ]
echo [ GOLDEN )####__," ]
echo [ GUN `--"" ]
echo [_____________________________________]
rem ChangeColor 0 7
echo.
echo.
echo. Stats:
echo Magizine Size: 10
echo Power Range: 0-35
echo Average Damage: 23
echo.
echo Probablity:
echo Missed: 7.5%
echo Bad Shot: 15%
echo Good Shot: 47.5%
echo Great Shot: 30.5%
echo CRITICAL Shot: 4%
echo.
echo Damage:
echo Missed: 0
echo Bad Shot: 15
echo Good Shot: 25
echo Great Shot: 30
echo CRITICAL Shot: 45
echo.
echo __________________________________
echo.
pause
goto GoldenGunStats
:BuyGoldenGun
cls
echo.
echo.
echo Gold: %gold%G
echo.
echo.
echo _________________________________________________________
echo / \
echo / \
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo \____/ \_____/ \_____/ \_____/ \_____/ \_____/ \_____/ \____/
echo ^| ^|
echo ^| ___________ /^| ^|
echo ^| ^| _ _ ^| / ^| ^|
echo ^| ^|^|_^| ^|_^|^| / ^| ^|
echo ^| ^| ^| / ^| ^|
echo ^| ^| ^|___^| ^| / ^| ^|
echo ^| ^|___________^| / / / ^|
echo ^| ^| / / / ^|
echo ^| _____^|_____/ /____/ ^|
echo ^| / ^| / /\ ^|
echo ^| / ^| / ^|__^| ^|
echo ^| / ^| / ^|
echo __^|_______________________________________________^|__
echo / \
echo ^| Bob's Shops ^|
echo \_____________________________________________________/
echo.
echo.
echo.
echo __________________________________
echo _
echo ^|_^|
echo \^|/
echo / \
echo Bob:
call :Typing "Are you sure you'd like to buy this item? Plese do..."
echo.
echo _________ _________ _________
echo [ YES ] [ BACK ] [ NO ]
echo [Press (Y)] [Press (B)] [Press (N)]
echo [_________] [_________] [_________]
echo.
echo __________________________________
echo.
echo Enter your choice:
set /p shopoption=
if /I %shopoption% == Y goto BoughtGoldenGun
if /I %shopoption% == N goto WeaponsShop
if /I %shopoption% == B goto WeaponsShop
:BoughtGoldenGun
if %gold% LSS 200 (
cls
echo You do not have enough gold for this item.
echo You need 200G to purchase this item.
echo You currently have %gold%G
echo.
pause
goto WeaponsShop
)
if /I %GoldenGunStatus% == Active (
cls
echo You already have a Golden Gun!
echo Although two guns sound cool
echo.
pause
goto WeaponsShop
)
set GoldenGunStatus=Active
set gold = %gold% - 200
cls
echo.
echo.
echo Gold: %gold%G
echo.
echo.
echo _________________________________________________________
echo / \
echo / \
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo \____/ \_____/ \_____/ \_____/ \_____/ \_____/ \_____/ \____/
echo ^| ^|
echo ^| ___________ /^| ^|
echo ^| ^| _ _ ^| / ^| ^|
echo ^| ^|^|_^| ^|_^|^| / ^| ^|
echo ^| ^| ^| / ^| ^|
echo ^| ^| ^|___^| ^| / ^| ^|
echo ^| ^|___________^| / / / ^|
echo ^| ^| / / / ^|
echo ^| _____^|_____/ /____/ ^|
echo ^| / ^| / /\ ^|
echo ^| / ^| / ^|__^| ^|
echo ^| / ^| / ^|
echo __^|_______________________________________________^|__
echo / \
echo ^| Bob's Shops ^|
echo \_____________________________________________________/
echo.
echo.
echo.
echo __________________________________
echo _
echo ^|_^|
echo \^|/
echo / \
echo Bob:
call :Typing "Here's your gun! It's gold, don't worry... ;)"
rem ChangeColor 14 7
echo.
echo ,-.______________,=========,
echo [^| )_____________)#######((_
echo /===============.-.___,--" _\
echo "-._,__,__[GG]____\########/
echo \ ( )) )####O##(
echo \ \___/,.#######\
echo `====" \#######\
echo \#######\
echo )##O####^|
echo )####__,"
echo `--""
rem ChangeColor 0 7
echo __________________________________
echo.
pause
goto Shop
:AK-47 Shop
pause
goto WeaponsShop
:Steel Sword Shop
pause
goto WeaponsShop
:BuySteelSword
pause
goto WeaponsShop
:BuyAK-47
pause
goto WeaponsShop
:Typing <Message>
setlocal
set "Message=%~1"
:TypingLoop
ping 0.0.0.0 -n 1.5 > NUL
if "%Message:~1,1%"==" " ( <nul set /p "=%Message:~0,2%" ) else ( <nul set /p "=%Message:~0,1%" )
set "Message=%Message:~1%"
if defined Message goto TypingLoop

33
Shop/Shop.txt Normal file
View File

@ -0,0 +1,33 @@
@echo off
echo _________________________________________________________
echo / \
echo / \
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo ^| ^| ^| ^| ^| ^| ^| ^| ^|
echo \____/ \_____/ \_____/ \_____/ \_____/ \_____/ \_____/ \____/
echo ^| ^|
echo ^| ___________ ^|
echo ^| ^| _ _ ^| ^|
echo ^| ^|^|_^| ^|_^|^| ^|
echo ^| ^| ^| ^|
echo ^| ^| ^|___^| ^| ^|
echo ^| ^|___________^| / ^|
echo ^| ^| / ^|
echo ^| _____^|_____/ ^|
echo ^| / ^| ^|
echo ^| / ^| ^|
echo ^| / ^| ^|
echo __^|______________________________________________^|_
echo / \
echo ^| ^|
echo \_____________________________________________________/

36
Testing/Admin Checker.bat Normal file
View File

@ -0,0 +1,36 @@
@echo off
::Admin Checker
:-------------------------------------
REM --> Check for permissions
IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
>nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
) ELSE (
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
)
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"=""
echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
echo This game cannot run without admin privilages.
echo Please restart this game and click yes at the prompt.
echo We 100%% assure you that no harm will be done to your computer.
echo Thank you for your compliance.
pause
exit /b
:gotAdmin
pushd "%CD%"
CD /D "%~dp0"
:--------------------------------------
::Insert Code:
pause

8
Testing/Music/Music.bat Normal file
View File

@ -0,0 +1,8 @@
@echo off
set filename=%0
for %%A in ("%filename%") do (
Set Folder=%%~dpA
Set Name=%%~nxA
)
echo "%Folder%KP Music.mp3"
pause

10
Testing/Path.bat Normal file
View File

@ -0,0 +1,10 @@
@echo off
Set filename=%0
For %%A in ("%filename%") do (
Set Folder=%%~dpA
Set Name=%%~nxA
)
echo.Folder is: %Folder%
echo.Name is: %Name%
pause
exit

14
Testing/Testing.bat Normal file
View File

@ -0,0 +1,14 @@
@echo off
set "file=C:\Users\Rushil Umaretiya\Desktop\Knight's Path\Testing\Music\KP Music.mp3"
( echo Set Sound = CreateObject("WMPlayer.OCX.7"^)
echo Sound.URL = "%file%"
echo Sound.Controls.play
echo do while Sound.currentmedia.duration = 0
echo wscript.sleep 100
echo loop
echo wscript.sleep (int(Sound.currentmedia.duration^)+1^)*1000) >sound.vbs
start /min sound.vbs
pause
taskkill /f /im wmplayer
pause
exit

8
Testing/Testing2.bat Normal file
View File

@ -0,0 +1,8 @@
@echo off
set xp=5
pause
if %xp% GEQ 3 echo hi
pause

32
Testing/Typing/Color.bat Normal file
View File

@ -0,0 +1,32 @@
@echo off
call :ColorText 7e "Hello World"
pause
exit
:ColorText Color String
::
:: Prints String in color specified by Color.
::
:: Color should be 2 hex digits
:: The 1st digit specifies the background
:: The 2nd digit specifies the foreground
:: See COLOR /? for more help
::
:: String is the text to print. All quotes will be stripped.
:: The string cannot contain any of the following: * ? < > | : \ /
:: Also, any trailing . or <space> will be stripped.
::
:: The string is printed to the screen without issuing a <newline>,
:: so multiple colors can appear on one line. To terminate the line
:: without printing anything, use the ECHO( command.
::
setlocal
pushd %temp%
for /F "tokens=1 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do (
<nul set/p"=%%a" >"%~2"
)
findstr /v /a:%1 /R "^$" "%~2" nul
del "%~2" > nul 2>&1
popd
exit /b

View File

@ -0,0 +1,35 @@
@echo off
mode 65
for /L %%z in (1,1,55) do echo(
for %%a in (
"Credits:"
"Game Director: Rushil Umaretiya"
"Art Director: Rushil Umamretya"
"Storywriter: Rushil Umaretiya"
"Engineering: Rushil Umaretiya"
"Music and Sound Effects: Rushil Umaretiya"
"Advertising: Rushil Umaretiya"
" ... "
" You get the gist. -Rushil Umaretiya"
" ... "
"In beloved memory of the time it took to"
" make this game"
) do (
echo %%~a
ping -n 2 localhost>nul
echo.
)
for /L %%i in (1,1,55) do echo( &ping -n 2 localhost>nul
for /L %%z in (1,1,55) do echo(
for %%a in (
" But seriously,"
"Thanks for playing!"
" -Rushil"
) do (
echo %%~a
ping -n 2 localhost>nul
echo.
)
for /L %%i in (1,1,20) do echo( &ping -n 2 localhost>nul
pause
mode 1000

30
Testing/Typing/Typing.bat Normal file
View File

@ -0,0 +1,30 @@
@echo off
call :Typing "This is a "
echo GOLDEN GUN
call :Typing ". Great! Right?"
pause
:: Use a known invalid reserved IP address because it should always timeout.
:: http://en.wikipedia.org/wiki/Reserved_IP_addresses
:: 127.0.0.1 will never timeout and will always return each tick in 1 second.
:Typing <Message>
setlocal
set "Message=%~1"
:TypingLoop
ping 192.0.2.0 -n 1 -w 500 >nul
if "%Message:~1,1%"==" " ( <nul set /p "=%Message:~0,2%" ) else ( <nul set /p "=%Message:~0,1%" )
set "Message=%Message:~1%"
if defined Message goto TypingLoop

View File

@ -0,0 +1,32 @@
@echo off
:: %len_% holds the value of the length of the string input
setlocal enabledelayedexpansion
call :Write "Testing this is only a string to see how fast my script really works to count the length and write the full string value"
pause && goto :eof
:Write
set string=%1
call :GetLength %string%
set string=%string:"=%
set /a length=%len_%
for /l %%A in (1,1,%length%) do (
cls
echo !string:~0,%%A!
ping localhost -n 1 -w 500 -l 5000 > nul
)
goto :eof
:GetLength
set str=%1
set /a len=1
:loop
set /a len_=%len% - 1
if "!str:~0,%len%!"=="!str:~0,%len_%!" goto done
set /a len+=1
goto loop
:done
set /a len_-=2
goto :eof

View File

@ -0,0 +1,37 @@
@Echo off
title Typewriter effect
echo H
ping 0.0.0.0 -n 1.5 > NUL
cls
echo He
ping 0.0.0.0 -n 1.5 > NUL
cls
echo Hel
ping 0.0.0.0 -n 1.5 > NUL
cls
echo Hell
ping 0.0.0.0 -n 1.5 > NUL
cls
echo Hello?
ping 0.0.0.0 -n 1.5 > NUL
cls
echo Hello? A
ping 0.0.0.0 -n 1.5 > NUL
cls
echo Hello? An
ping 0.0.0.0 -n 1.5 > NUL
cls
echo Hello? Any
ping 0.0.0.0 -n 1.5 > NUL
cls
echo Hello? Anyo
ping 0.0.0.0 -n 1.5 > NUL
cls
echo Hello? Anyon
ping 0.0.0.0 -n 1.5 > NUL
cls
echo Hello? Anyone
ping 0.0.0.0 -n 1.5 > NUL
cls
echo Hello? Anyone?
pause >nul

7
Testing/sound.vbs Normal file
View File

@ -0,0 +1,7 @@
Set Sound = CreateObject("WMPlayer.OCX.7")
Sound.URL = "C:\Users\Rushil Umaretiya\Desktop\Knight's Path\Testing\Music\KP Music.mp3"
Sound.Controls.play
do while Sound.currentmedia.duration = 0
wscript.sleep 100
loop
wscript.sleep (int(Sound.currentmedia.duration)+1)*1000

20
Title/Sword.bat Normal file
View File

@ -0,0 +1,20 @@
@echo off
:sword
cls
echo.
echo.
echo ^|\
echo ^< \ _
echo _________________________________ / \ //
echo / ^|{o}______/^|
echo ^<---------------------------------^|-----------]
echo \_________________________________^|{o}~~~~~~\^|
echo \ / \\
echo ^< / ~
echo ^|/
echo.
echo.
echo.
pause
goto sword

40
Title/Title.bat Normal file
View File

@ -0,0 +1,40 @@
@echo off
mode 1000
color 70
echo ___________________________________________________________________________________________________________________________________________________
echo ^| ^|
echo ^| _____ _____ ________ ______ ___________________ ______ ______ ___________________ __ _____________ ^|
echo ^| \ \ / / \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ^|\ ^|
echo ^| \ \ / / __ \ \ \ \ ___________\ \ \ \ \ \ \ \ \ \ ______\ ^< \ _ ^|
echo ^| ____\ \ / /\ \_\ \_\ \_\ \_____________\ \ \ \_\______ ______\_\_\_\ \_______________ / \ // ^|
echo ^| / \ \/ \ \ \ \ \ \ \ \ \ \ \_____\ \ \ \ \ \______ ^|{o}______/^| ^|
echo ^| ^<------\ \-\ \-\ \-\ \-\ \ ________ \ \-------\ \------------\ \-------^|-----------] ^|
echo ^| \_______\ __ \_\ \_\ \_\ \_\ \__\___ \_\ ______ \ ______\ \____________\______ \______^|{o}~~~~~~\^| ^|
echo ^| \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ / \\ ^|
echo ^| \ \ \ \ \ \ \ \ \ \ \ \_____\ \ \ \ \ \ \ \ ______\ \ ^< / ~ ^|
echo ^| \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ^|/ ^|
echo ^| \____\ \____\ \____\ \_____\ \_____\ \__________________\ \_____\ \_____\ \_____\ \____________\ ^|
echo ^| ^|
echo ^| ^|
echo ^| ___________________ ____ _________________________ ______ ^|
echo ^| /^| / __________ // \ / / / / ^|
echo ^| _ / ^> / / / / __ \ / / / / ^|
echo ^| \\ / \ __________________________________/ / / / / \ \__ ______/ /_____/ /________________________________ ^|
echo ^| ^|\______{o}^| / /_________ / _/ / \ \/ / / /_____/ / \ ^|
echo ^| [-----------^|--------------------------------/ _____________// /______\ \ /-----/ /----------------------------------^> ^|
echo ^| ^|/~~~~~~{o}^|_______________________________/ /_____________/ \ /_____/ ______ /___________________________________/ ^|
echo ^| // \ / / / / ______ \/ / / / / ^|
echo ^| ~ \ ^> / / / / \ \ / / / / ^|
echo ^| \^| / / / / \ \ / / / / ^|
echo ^| /_____/ /_____/ \_____\/_____/ /_____/ ^|
echo ^|___________________________________________________________________________________________________________________________________________________^|
echo.
echo By: Rushil Umaretiya
echo.
echo _________ _________ _________
echo [NEW GAME][ LOAD ][ CREDITS ]
echo [Press (N)][Press (L)][Press (C)]
echo [_________][_________][_________]
pause
start "Title.bat"

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB