Jerald's Fast Food Place Batch Game
by NeuNguyen in Circuits > Microsoft
171 Views, 1 Favorites, 0 Comments
Jerald's Fast Food Place Batch Game
The Game that I made is called Jerald's Fast Food Place you work there and you have both shift, day shift and night shift do the goals and have fun...
Supplies
A Notepad
Code
@echo off
color 0e
title Jerald's Fast Food Place
:sets
set /a day=1
set /a flashlight=50
set /a costumerss=0
set /a money=0
set /a food=0
set /a foodneeded=1
set /a foodmaker=1
set /a packdone=0
set /a packeach=1
set motion=false
goto menu
:menu
cls
echo JERALD'S
echo FAST FOOD
echo PLACE
echo 1) New Game
echo 2) Load
echo 3) Settings
set /p input=
if %input%==1 goto new
if %input%==2 goto load
if %input%==3 goto settings
:settings
cls
echo Made By NeuNguyen
echo 1) Restart Game
echo 2) Go Back
set /p input=
if %input%==1 goto restart
if %input%==2 goto menu
:restart
ATTRIB -H load.bat
ATTRIB -R load.bat
DEL load.bat
goto settings
:new
goto new2
:new2
cls
echo Save game First
choice /c YN /m Save?
if %errorlevel%==2 exit
cls
(
echo %day%
echo %flashlight%
echo %costumerss%
echo %money%
echo %food%
echo %foodneeded%
echo %foodmaker%
echo %packdone%
echo %motion%
)>load.bat
ATTRIB +R load.bat
ATTRIB +H load.bat
goto jeralds
:load
(
set /p day=
set /p flashlight=
set /p costumerss=
set /p money=
set /p food=
set /p foodneeded=
set /p foodmaker=
set /p packdone=
set /p motion=
)<load.bat
goto jeralds
:jeralds
cls
echo ____________________________________
echo / /]
echo /___________________________________/ ]
echo [____________________________________] ]
echo [JERALD'S FAST FOOD PLACE ] ]
echo [ ___ ] ]
echo [ [ ] ________ ] ]
echo [ [___] [ ] ] ]
echo ________[ [ ] [ ] ] ]____________________
echo [ [ -] [________] ] / /
echo [________[__]________________________]/ /
echo _________________________________________________________________/
pause
goto dayday
:dayday
cls
echo Day Shift
echo Goal: Serve 200 Costumers
echo Day: %day% Costumers Served: %costumerss%
echo Money: %money% Food: %food%
echo Food Maker: %foodmaker%
echo Costumers want the specials for today
echo 1) Serve Costumers
echo 2) Make Food
echo 3) Upgrade Food Maker- Cost: $30
set /p input=
if %input%==1 goto serve
if %input%==2 goto makefood
if %input%==3 goto upgrade
:serve
if %costumerss%==200 goto daynight else goto dayday
if %food% LSS %foodneeded% goto not
set /a money=%money%+1
set /a costumerss=%costumerss%+1
set /a food=%food%-1
goto dayday
:makefood
timeout /t 8 >nul
set /a food=%food%+%foodmaker%
goto dayday
:nofurther1
echo You can't upgrade any further than that
pause
goto dayday
:not1
echo Make Food Dumbass
pause
goto dayday
:upgrade
if %money% lss 30 goto not2
set /a money=%money%-30
set /a foodmaker=%foodmaker%+1
goto dayday
:not2
echo You Don't have that much money, Dumbass
pause
goto dayday
:daynight
cls
echo Night Shift
echo Goal: Get 50 packages through the conveyer belt
echo Strange things happen at night stay on the lookout for anything
echo strange, use your flashlight for that
echo Day: %day% Flashlight: %flashlight%
echo Packages Done: %packdone% Package each: %packeach%
echo 1) Upgrade Conveyer Belt- Cost $30
echo 2) Use Conveyer
echo 3) Motion Decector
echo 4) Look Back
set /p input=
if %input%==1 goto upgradecon
if %input%==2 goto conveyer
if %input%==3 goto motion
if %input%==4 goto look
:upgradecon
if %money% neq 30 goto not2
if %packeach%==5 goto nofurther
set /a packeach=%packeach%+1
set /a money=%money%-30
goto daynight
:nofurthernight
echo You can't upgrade any further than that
pause
goto daynight
:conveyer
timeout /t 8 >nul
set packdone=%packdone%+%packeach%
set money=%money%+%packeach%
goto daynight
:motion
timeout /t 30 >nul
set motion=true
echo Motion Detected
goto look
:look
if %motion%=true goto quick else if %motion false% goto false
:quick
cls
echo Quick Use The flashlight
echo 1) Use Flashlight
echo 2) let it be
set /p input=
if %input%==1 goto flashlight
if %input%==2 goto lose
:flashlight
set motion=false
set flashlight=%flashlight%-1
goto weeknight
:lose
cls
del load.bat
echo YOU DIED, Sorry Good Luck Next time
pause
goto menu
:eod
cls
set /a day=%day%+1
echo Finished Day %day%
pause
goto new2
Copy
Copy all of that to Notepad and Call it JFFP.bat
Here is a new game
https://www.instructables.com/Restaurant-Simulator/