@echo off

title Aspirium by Eli

:glory!

cls

echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»

echo º º

echo º # ## ## ### ## ### # # # # º

echo º # # # # # # # # # # # ## ## º

echo º ### # ## # ## # # # # # # º

echo º # # # # # # # # # # # # # º

echo º # # ## # ### # # ### ### # # # º

echo º º

echo º WORLD OF WONDER º

echo º º

echo º º

echo º º

echo º º

echo º º

echo º º

echo º º

echo º º

echo º º

echo º º

echo º º

echo º º

echo º º

echo º Programmed by Eli Harper. º

echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ¼

set counter=0

:loop

set /a counter=%counter%+1

color f0

color 0f

if NOT %counter%==40 goto loop

color 0D

pause

: menu

cls

color 60

echo 1 New game

echo 2 Quit

echo.

set /P M=Choice:

if %m%==1 goto intro?

if %m%==2 goto EOF

: intro?

cls

echo skip intro?

echo.

echo 1 No

echo 2 Yes

echo.

set /P M=Choice:

if %m%==1 goto intro

if %m%==2 goto setup

: intro

cls

echo In the begining of creation...

echo Gothar created a world, full of stone, food, wood and magic. And he created four

echo tribes to share it. The Eladrin, graceful beings that could teleport.

echo Dwarves, strong warriors and strategists. Men, enduring people with an impeccable

echo resolve. And halflings, small folk with great stealth. the tribes were

echo united and devoted to Gothar. In thanks for their faith. He infused the

echo races with the ability to craft, mine, farm and read so that they could

echo better enjoy the land. The resulting empire was vast. the Qualian Union

echo achieved many great things.

pause

cls

echo In the divine realm Gothar had many servants and soldiers. His assistant

echo who commanded a portion of Gothar's soldiers was Domar. Domar looked

echo upon the glory of the Qualian empire and grew jealous.

echo "Great Gothar, may I guide and be worshiped by the tribes for an era or so?"

echo Gothar declined, but offered an alternative.

echo "I will allow you to create and guide a fifth tribe of your own if you

echo will teach them as I have taught the Qualians"

echo Domar was not satisfied and he blasphemed Gothar. Domar was banished to

echo the center of Aspirium, far underground in the form of a sickly titan.

pause

cls

echo There, out of the dust and fire, Domar toiled and created his fifth tribe.

echo The Spawn.

echo It included all of the goblins, orcs, ogres, trolls and many other

echo abominations. For ages, the world above would continue to cultivate the

echo land. Unaware that below their feet, an army of millions was digging up.

echo.

echo They came with a new purpose. evil.

echo The cities were leveled. the crops burned and the tribes divided.

echo Aspiria is between the fall of the last empire and the rise of the next.

echo Domar is intent on smiting out the last of the four tribes and claiming

echo Asperia as his own. In these troubled ages. Gothar sent down one of his

echo servants, Eravan to tell a prophecy to the tribes.

echo "A hero, a leader, will unite the tribes and defeat Domar. He will be

echo born two weeks from today, this is the word of Gothar."

pause

cls

echo You are that hero, only your father and you know this. you are 16 ages

echo old and one night you have a dream:

echo.

echo Eravan took a flaming dagger and carved the word Maridia in your palm.

echo When you woke up, there

echo were scars bearing the name.

pause

: setup

color 1f

cls

echo Choose your tribe

echo.

echo 1 dwarves

echo 2 eladrin

echo 3 halfling

echo 4 human

set /P tribe=Choice:

cls

echo Choose your class

echo.

echo 1 fighter

echo 2 mage

echo 3 thief

echo 4 paladin

set /P class=Choice:

cls

echo Type your name

echo.

set /P name=Name:

cls

echo Is this character ok?

echo.

echo %name% the

if %tribe%==1 echo dwarf

if %tribe%==2 echo eladrin

if %tribe%==3 echo halfling

if %tribe%==4 echo human

if %class%==1 echo fighter

if %class%==2 echo mage

if %class%==3 echo thief

if %class%==4 echo paladin

echo.

echo 1 yes

echo 2 no

set /P m=Choice:

if %m%==1 goto start

if %m%==2 goto setup

if %m%==3 goto wingame

:start

cls

set key1=0

set key2=0

set key3=0

set checkpoint=1

set riddler=0

set skeleton=1

color 1f

set crystals=0

set hpmax=10

set energymax=10

set exp=0

set level=1

set chest10=1

set chest1=1

set chest4=1

set bartender=0

set father=0

set crabs=0

if %class%==1 set cstring=fighter

if %class%==2 set cstring=mage

if %class%==3 set cstring=thief

if %class%==4 set cstring=paladn

set candles=0

set chest2=1

set j=0

set c=1

if %class%==1 set weapon=short sword

if %class%==2 set weapon=wand

if %class%==3 set weapon=dagger

if %class%==4 set weapon=holy artifact

if %class%==1 set base=3

if %class%==2 set base=3

if %class%==3 set base=2

if %class%==4 set base=3

:bed

cls

echo you have slept in your bed in your father's house

echo your energy and health are restored.

set health=%hpmax%

set energy=%energymax%

pause

:home

set checkpoint=1

cls

echo you are in your father's cabin.

echo there is a chest here.

echo.

echo 1 talk to father

echo 2 sleep in bed

echo 3 exit house

echo 4 view stats

echo 5 open chest

echo.

set /P m=Choice:

if %m%==1 goto father

if %m%==2 goto bed

if %m%==3 goto field

if %m%==4 goto stats1

if %m%==5 goto chest1

:father

cls

if %father%==1 echo I am so proud of you %name%.

if %father%==0 echo What's that on your palm %name%? Maridia? I'll bet someone at the inn knows

if %father%==0 echo about that.

if %father%==0 set father=1

pause

goto home

:field

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

set /a hpmax=9+%level%

set energymax=%hpmax%

if %class%==2 set /a base=2+%level%

if %class%==4 set /a base=2+%level%

cls

echo You are in a field of Goblingrass.

echo You can go to the banks of the misty river.

echo You can go to the forest of mystery.

echo You can go to the road to Cornat.

echo You can go to your father's house.

echo.

echo 1 walk to Misty River

echo 2 walk to Forest of Mystery

echo 3 walk to road to Cornat

echo 4 walk to father's house

echo.

set /P m=Choice:

if %m%==1 goto nriver

if %m%==2 goto forest

if %m%==3 goto road1

if %m%==4 goto home

:stats1

cls

echo %name% the level %level%

if %tribe%==1 echo dwarf

if %tribe%==2 echo eladrin

if %tribe%==3 echo halfling

if %tribe%==4 echo human

if %class%==1 echo fighter

if %class%==2 echo mage

if %class%==3 echo thief

if %class%==4 echo paladin

echo has:

echo %exp% XP.

echo %crystals% crystals.

echo %health% out of %hpmax% health.

echo %energy% out of %energymax% energy.

echo %weapon% as a weapon.

pause

goto home

:chest1

cls

echo you open the chest,

if %chest1%==0 echo it is empty

if %chest1%==1 echo inside are 12 crystals.

if %chest1%==1 echo +12 crystals

if %chest1%==1 set /a crystals=%crystals%+12

if %chest1%==1 set chest1=0

pause

goto home

:nriver

cls

if /i %health% LEQ 0 goto death

echo You are on the north bank of the Misty River.

echo There are purple crabs here.

echo You can go to the field.

echo.

echo 1 walk to field

echo 2 catch a crab

set /P m=Choice:

if %m%==1 goto field

if %m%==2 goto crab

:crab

cls

set /a crabs=%crabs%+1

echo you catch a crab and lose 1 health in the process.

echo +1 exp

set /a exp=%exp%+1

set /a health=%health%-1

pause

goto nriver

:road1

if /i %health% LEQ 0 goto death

cls

echo You are on the road between the field and Cornat.

echo You can go to the field.

echo You can go to Cornat.

echo.

echo 1 walk to field

echo 2 walk to Cornat

set /P m=Choice:

if %m%==1 goto field

if %m%==2 goto Cornat

:Cornat

if %class%==2 set /a base=2+%level%

if %class%==4 set /a base=2+%level%

cls

echo You are in the human village of Cornat.

echo You can go to the market.

echo You can go to the inn.

echo You can go on the road to the field.

echo You can go to the bridge.

echo.

echo 1 walk to market

echo 2 walk to inn

echo 3 walk to road to field

echo 4 walk to bridge

set /P m=Choice:

if %m%==1 goto market

if %m%==2 goto inn

if %m%==3 goto road1

if %m%==4 goto bridge

:market

cls

echo you are in Cornat market

echo You can go to the Adventurer's Emporium

echo You can go to Vinbark's forge

echo you can go to Cornat

echo.

echo 1 walk to Cornat

echo 2 walk to Adventurer's Emporium

echo 3 walk to Vinbark's forge

set /P m=Choice:

if %m%==1 goto Cornat

if %m%==2 goto emporium

if %m%==3 goto forge

:death

cls

echo YOU IS DEAD!

set health=%hpmax%

set energy=%energymax%

pause

if %checkpoint%==1 goto home

goto mainhall

:inn

if /i %health% LEQ 0 goto death

cls

echo You are in the inn.

echo You can spend the night for 8 crystals.

echo You can talk to the bartender.

echo You can go to Cornat.

echo.

echo 1 spend the night

echo 2 talk to bartender

echo 3 walk to Cornat

echo 4 check stats

set /P m=Choice:

if %m%==1 goto spendthenight

if %m%==2 goto bartender

if %m%==3 goto cornat

if %m%==4 goto stats2

:spendthenight

cls

if /i %crystals% geq 8 goto innsleep

echo You don't have 8 crystals.

echo You have %crystals%.

pause

goto inn

:innsleep

cls

echo you have slept in a bed at the inn.

echo your energy and health are restored.

set /a crystals=%crystals%-8

set health=%hpmax%

set energy=%energymax%

pause

goto inn

:stats2

cls

echo %name% the level %level%

if %tribe%==1 echo dwarf

if %tribe%==2 echo eladrin

if %tribe%==3 echo halfling

if %tribe%==4 echo human

if %class%==1 echo fighter

if %class%==2 echo mage

if %class%==3 echo thief

if %class%==4 echo paladin

echo has:

echo %exp% XP.

echo %crystals% crystals.

echo %health% out of %hpmax% health.

echo %energy% out of %energymax% energy.

echo %weapon% as a weapon.

pause

goto inn

:forest

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

if %class%==2 set /a base=2+%level%

if %class%==4 set /a base=2+%level%

set /a hpmax=9+%level%

set energymax=%hpmax%

cls

echo You are in the forest of mystery.

echo You can track down a spawn.

echo You can go to old Gray's cave.

echo You can go to the field.

echo.

echo 1 track down spawn

echo 2 walk to cave

echo 3 walk to field

set /P m=Choice:

if %m%==1 goto forestspawn

if %m%==2 goto cave

if %m%==3 goto field

:cave

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

set /a hpmax=9+%level%

set energymax=%hpmax%

cls

echo You are in Old Grey's cave.

echo You can talk to Old Grey.

echo You can go to the Forest of Mystery.

echo.

echo 1 talk to Old Grey.

echo 2 walk to Forest of Mystery

echo 3 open his chest

set /P m=Choice:

if %m%==1 goto oldgrey

if %m%==2 goto forest

if %m%==3 goto chest2

:bartender

cls

if %bartender%==1 echo These sure are crazy times right?

if %bartender%==0 echo So you want to know about the word Miridia huh?

if %bartender%==0 echo Well ok...

if %bartender%==0 echo it's the name of a man who now goes by Old Grey.

if %bartender%==0 echo During the fall of the Qualians there was a Eladrin %cstring%

if %bartender%==0 echo who led a group of %cstring%s in defending the temple south of here

if %bartender%==0 echo He sacrificed his mortality to cast a protective spell around

if %bartender%==0 echo the temple that would kill anything with evil intent that tried

if %bartender%==0 echo to enter. He has since retreated to the forest of mystery.

if %bartender%==0 set bartender=1

pause

goto inn

:forestspawn

set /a spawntype=%random%/5000

set /a spawntype=%spawntype%/15000

set spawnlevel=%random%

set /a spawnlevel=(%spawnlevel%/15000)+1

set /a spawnhealth=%spawnlevel%*3

:forestcombat

if %energy% LEQ 0 goto exhausted1

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

set /a hpmax=9+%level%

set energymax=%hpmax%

cls

echo %name% the level %level%

if %tribe%==1 echo dwarf

if %tribe%==2 echo eladrin

if %tribe%==3 echo halfling

if %tribe%==4 echo human

if %class%==1 echo fighter

if %class%==2 echo mage

if %class%==3 echo thief

if %class%==4 echo paladin

echo has %health% out of %hpmax% health

echo has %energy% out of %energymax% energy

echo ..................................................................................

if NOT %energy%==%energymax% set /a energy=%energy%+1

echo level %spawnlevel%

if %spawntype%==0 (

echo goblin

) else (

echo gnoll

)

echo has %spawnhealth% health.

pause

cls

echo You can, attack using your %weapon%

echo choose attack.

echo.

if %class%==1 (

if %level% geq 1 echo 1 melee attack

if %level% geq 2 echo 2 cleave

if %level% geq 3 echo 3 spinning sweep

if %level% geq 4 echo 4 brute strike

if %level% geq 5 echo 5 anvil of doom

if %level% geq 6 echo 6 fangs of steel

)

if %class%==2 (

if %level% geq 1 echo 1 magic missle

if %level% geq 2 echo 2 chill strike

if %level% geq 3 echo 3 acid arrow

if %level% geq 4 echo 4 fireball

if %level% geq 5 echo 5 lightning bolt

if %level% geq 6 echo 6 black fire

)

if %class%==3 (

if %level% geq 1 echo 1 deft strike

if %level% geq 2 echo 2 dazing strike

if %level% geq 3 echo 3 quick fingers

if %level% geq 4 echo 4 dragon tail strike

if %level% geq 5 echo 5 ghost on the wind

if %level% geq 6 echo 6 hurricane of blood

)

if %class%==4 (

if %level% geq 1 echo 1 bolstering strike

if %level% geq 2 echo 2 paladin's judgement

if %level% geq 3 echo 3 on pain of death

if %level% geq 4 echo 4 divine strike

if %level% geq 5 echo 5 thunder smite

if %level% geq 6 echo 6 bloodied retribution

)

set /P m=Choice:

cls

set /a energy=%energy%-%m%

if %m%==1 set damage=%base%

if %m%==2 set /a damage=%base%+%level%

if %m%==3 set /a damage=%base%+%level%+1

if %m%==4 set /a damage=(%base%*3)+%level%

if %m%==5 set /a damage=(%base%*2)+%level%+2

if %m% geq 6 set /a damage=(%base%*5)

echo you did %damage% damage.

set /a spawnhealth=%spawnhealth%-%damage%

pause

cls

set /a X=%spawnlevel%+(%random%/10000)

echo the

echo level %spawnlevel%

if %spawntype%==0 (

echo goblin

) else (

echo gnoll

)

echo does %X% damage

set /a health=%health%-%x%

if %health% LEQ 0 goto death

if %spawnhealth% LEQ 0 goto forestvictory

pause

goto forestcombat

:forestvictory

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

cls

echo ************************************

echo * You were victorious in combat!!! *

echo ************************************

set /a X=%random%/5000

set /a crystals=%crystals%+%X%

echo you found %X% crystals.

set /a X=%random%/2000

echo you recieve %X% EXP.

set /a exp=%exp%+X

pause

goto forest

:exhausted

cls

echo you have used up all your energy.

echo the enemy overtook you!

pause

pause

goto death

:emporium

cls

echo you are in the Adventurer's Emporium.

echo.

echo 1 buy

echo 2 sell

echo 3 talk to clerk

echo 4 walk to Cornat

set /P m=Choice:

if %m%==1 goto cornatbuy

if %m%==2 goto cornatsell

if %m%==3 goto clerk

if %m%==4 goto cornat

:clerk

cls

echo I just LOVE making crab soup! If you could catch some from

echo misty river, I would pay you 2 crystals a crab.

pause

goto emporium

:cornatsell

cls

echo you have:

echo %crabs% crabs

echo sell them?

echo.

echo 1 yes

echo 2 no

set /P m=Choice:

if %m%==1 goto sellcrabs

if %m%==2 goto emporium

:sellcrabs

cls

set /a X=%crabs%*2

set crabs=0

echo You recieved %X% crystals.

pause

goto emporium

:cornatbuy

cls

set x=%crystals%

if %x% leq 5 echo you can't afford anything here.

echo 1 back

if %x% GEQ 6 echo 2 candle for 6 crystals

if %x% GEQ 7 echo 3 wand of earth for 10 crystals (mage)

if %x% GEQ 10 echo 4 rune of Gothar for 11 crystals (paladin)

set /P m=Choice:

if %m%==1 goto emporium

if %m%==2 goto candle

if %m%==3 goto wandofearth

if %m%==4 goto runeofgothar

:candle

cls

set /a candles=%candles%+1

set /a crystals=%crystals%-6

echo You bought an ohlish wax candle.

echo you now have %candles% candles.

pause

goto emporium

:wandofearth

cls

set /a crystals=%crystals%-10

echo You bought a halfling wand of earth.

if %class%==2 echo You equipped wand of earth.

if %class%==2 set weapon=wand of earth

if %class%==2 set base=4

if NOT %class%==2 echo you cannot equip it because you aren't a mage. :(

pause

goto emporium

:runeofgothar

set /a crystals=%crystals%-11

echo You bought a Qualian rune of Gothar.

if %class%==4 echo You equipped the rune of Gothar.

if %class%==4 set weapon=rune of Gothar

if %class%==4 set base=4

if NOT %class%==4 echo you cannot equip it because you aren't a paladin. :(

pause

goto emporium

:oldgrey

cls

echo Miridia huh?

echo I haven't gone by that since the first spawn came through the hole!

pause

cls

echo so Gothar says your destined to defeat Domar huh?

echo well I say you need to be trained %name%!

echo as a war hero I know of some facilities for you to learn at.

echo for you class I say you should go train at the

if %class%==1 echo fighter

if %class%==2 echo mage

if %class%==3 echo thief

if %class%==4 echo paladin

echo citadel south of here.

pause

cls

echo NOW SCRAM!

pause

goto cave

:forge

cls

echo you are in Vinbark's forge.

echo.

echo 1 buy

echo 2 exit

set /P m=Choice:

if %m%==1 goto forgebuy

if %m%==2 goto market

:forgebuy

cls

set x=%crystals%

if %x% leq 5 echo you can't afford anything here.

echo 1 back

if %x% GEQ 6 echo 2 spiked club for 6 crystals (fighter)

if %x% GEQ 10 echo 3 dagger of shadow for 10 crystals (thief)

if %x% GEQ 14 echo 4 sword for 14 crystals (fighter)

if %x% GEQ 20 echo 5 warhammer for 20 crystals (fighter)

set /P m=Choice:

if %m%==1 goto forge

if %m%==2 goto spikedclub

if %m%==3 goto daggerofshadow

if %m%==4 goto sword

if %m%==5 goto warhammer

:spikedclub

set /a crystals=%crystals%-6

echo You bought one of Vinbark's spiked clubs.

if %class%==1 echo You equipped the spiked club.

if %class%==1 set weapon=spiked club

if %class%==1 set base=4

if NOT %class%==1 echo you cannot equip it because you aren't a fighter. :(

pause

goto forge

:daggerofshadow

set /a crystals=%crystals%-10

echo You bought an ancient dagger of shadow.

if %class%==3 echo You equipped the dagger of shadow.

if %class%==3 set weapon=dagger of shadow

if %class%==3 set base=4

if NOT %class%==3 echo you cannot equip it because you aren't a thief. :(

pause

goto forge

:sword

set /a crystals=%crystals%-14

echo You bought one of Vinbark's swords.

if %class%==1 echo You equipped the sword.

if %class%==1 set weapon=sword

if %class%==1 set base=4

if NOT %class%==1 echo you cannot equip it because you aren't a fighter. :(

pause

goto forge

:warhammer

set /a crystals=%crystals%-20

echo You bought a Dwarvish warhammer.

if %class%==1 echo You equipped the warhammer.

if %class%==1 set weapon=warhammer

if %class%==1 set base=5

if NOT %class%==1 echo you cannot equip it because you aren't a fighter. :(

pause

goto forge

:chest2

cls

echo you open the chest,

if %chest2%==0 echo it is empty

if %chest2%==1 echo inside are 3 ogre earwax candles.

if %chest2%==1 echo +3 candles

if %chest2%==1 set /a candles=%candles%+12

if %chest2%==1 set chest2=0

pause

goto cave

:bridge

cls

echo You are on a bridge crossing over the misty river.

echo.

echo 1 walk to Cornat

echo 2 walk south.

set /P m=Choice:

if %m%==1 goto Cornat

if %m%==2 goto road2

:road2

cls

echo you are at the western crossroads.

echo you can go to the bridge

echo you can go to the %cstring%s Citadel

echo you can go south

echo.

echo 1 walk to bridge

echo 2 walk to citadel

echo 3 walk south

set /P m=Choice:

if %m%==1 goto bridge

if %m%==2 goto citadel

if %m%==3 goto road3

:citadel

cls

echo an armored gaurd bars the entrance to the citadel

if %class%==1 echo "fighters only" he says.

if %class%==2 echo "mages only!" he says.

if %class%==3 echo "thieves only!" he says.

if %class%==4 echo "paladins only!" he says.

echo you can go to the western crossroads

echo you can go to the imperial outpost

echo.

echo 1 walk to western crossroads

echo 2 walk to imperial outpost

echo 3 enter citadel

set /P m=Choice:

if %m%==1 goto road2

if %m%==2 goto outpost

if %m%==3 goto mainhall

:mainhall

set checkpoint=2

cls

echo you are in the main hall of the Citadel

if %class%==1 echo swords and battleaxes are hung on the walls.

if %class%==2 echo clockwork astronomical models tick away.

if %class%==3 echo hoards of treasure line the walls.

if %class%==4 echo statues and paintings of Eravan line the walls.

echo you can go to the training grounds.

echo you can go to %cstring% Jakob's office.

echo you can go to the lower level.

echo you can go to the kitchens.

echo you can go to the dormitories.

echo.

echo 1 walk to training grounds

echo 2 walk to Jakob's office

echo 3 walk to lower level

echo 4 walk to kitchens

echo 5 walk to dormitories

echo 6 leave citadel

set /P m=Choice:

if %m%==1 goto traininggrounds

if %m%==2 goto Jakob

if %m%==3 goto lower

if %m%==4 goto kitchens

if %m%==5 goto dormitories

if %m%==6 goto citadel

:traininggrounds

set isaak=14

cls

echo you are in the training grounds, a large courtyard on the side

echo of the Citadel. There are %cstring%s training against elders here.

echo %cstring% Isaak sits on a bench.

echo you can go to the main hall.

echo.

echo 1 main hall

echo 2 train with Isaak

set /P m=Choice:

if %m%==1 goto mainhall

if %m%==2 goto isaak

:isaak

if %energy% LEQ 0 goto exhausted1

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

set /a hpmax=9+%level%

set energymax=%hpmax%

cls

echo %name% the level %level%

if %tribe%==1 echo dwarf

if %tribe%==2 echo eladrin

if %tribe%==3 echo halfling

if %tribe%==4 echo human

echo paladin

echo has %health% out of %hpmax% health

echo has %energy% out of %energymax% energy

echo ..................................................................................

if NOT %energy%==%energymax% set /a energy=%energy%+1

echo level 6

echo %cstring% Isaak

echo has %isaak% health.

pause

cls

echo You can, attack using your %weapon%

echo choose attack.

echo.

if %class%==1 (

if %level% geq 1 echo 1 melee attack

if %level% geq 2 echo 2 cleave

if %level% geq 3 echo 3 spinning sweep

if %level% geq 4 echo 4 brute strike

if %level% geq 5 echo 5 anvil of doom

if %level% geq 6 echo 6 fangs of steel

)

if %class%==2 (

if %level% geq 1 echo 1 magic missle

if %level% geq 2 echo 2 chill strike

if %level% geq 3 echo 3 acid arrow

if %level% geq 4 echo 4 fireball

if %level% geq 5 echo 5 lightning bolt

if %level% geq 6 echo 6 black fire

)

if %class%==3 (

if %level% geq 1 echo 1 deft strike

if %level% geq 2 echo 2 dazing strike

if %level% geq 3 echo 3 quick fingers

if %level% geq 4 echo 4 dragon tail strike

if %level% geq 5 echo 5 ghost on the wind

if %level% geq 6 echo 6 hurricane of blood

)

if %class%==4 (

if %level% geq 1 echo 1 bolstering strike

if %level% geq 2 echo 2 paladin's judgement

if %level% geq 3 echo 3 on pain of death

if %level% geq 4 echo 4 divine strike

if %level% geq 5 echo 5 thunder smite

if %level% geq 6 echo 6 bloodied retribution

)

set /P m=Choice:

cls

set /a energy=%energy%-%m%

if %m%==1 set damage=%base%

if %m%==2 set /a damage=%base%+%level%

if %m%==3 set /a damage=%base%+%level%+1

if %m%==4 set /a damage=(%base%*3)+%level%

if %m%==5 set /a damage=(%base%*2)+%level%+2

if %m% geq 6 set /a damage=(%base%*5)

echo you did %damage% damage.

set /a isaak=%isaak%-%damage%

pause

cls

set /a X=(%random%/5000)

echo %cstring% Isaak

echo does %X% damage

if %class%==1 echo with his warhammer

if %class%==2 echo with his staff of arcanum

if %class%==3 echo with his crossbow

if %class%==4 echo with his holy hammer

set /a health=%health%-%x%

if %health% LEQ 0 goto death

if %isaak% LEQ 0 goto trainingvictory

pause

goto isaak

:trainingvictory

cls

echo ************************************

echo * You were victorious in combat!!! *

echo ************************************

set /a X=%random%/1000

echo you recieve %X% EXP.

set /a exp=%exp%+X

pause

goto traininggrounds

:kitchens

cls

echo you are in the citadel kitchens.

if %c%==3 echo You can barely see it is so dim.

echo A cook lies resting on some bags of flour.

echo You can go to the main hall.

echo.

echo 1 talk to the cook

echo 2 walk to main hall

set /P m=Choice:

if %m%==1 goto cook

if %m%==2 goto mainhall

:cook

:: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

cls

echo i'm too tired to work for those bums!

pause

goto kitchens

:Jakob

cls

echo you are in %cstring% Jakob's office.

if %j%==0 echo Jakob sleeps in his chair.

if %j%==1 echo Jakob yells at you

if %j%==1 echo "Get out, i'm looking for my missing crystals!"

if %j%==2 echo Jakob hides under his desk.

echo You can exit his office

echo.

echo 1 exit his office

echo 2 open his chest

if %j%==1 echo 3 confess to Jakob

set /P m=Choice:

if %m%==1 goto mainhall

if %m%==2 goto chest3

if %m%==3 goto jakobc

:chest3

cls

if NOT %j%==0 echo the chest is empty

if %j%==0 echo you steal 30 crystals from the chest

if %j%==0 echo +30 crystals

if %j%==0 echo +10 exp

if %j%==0 set /a crystals=%crystals%+30

if %j%==0 set /a exp=%exp%+10

if %j%==0 set j=1

pause

goto Jakob

:jakobc

cls

echo You unholy son of a spawn!

echo I will destroy you!

set jakob=12

pause

:jakobcombat

if %energy% LEQ 0 goto exhausted1

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

set /a hpmax=9+%level%

set energymax=%hpmax%

cls

echo %name% the level %level%

if %tribe%==1 echo dwarf

if %tribe%==2 echo eladrin

if %tribe%==3 echo halfling

if %tribe%==4 echo human

echo paladin

echo has %health% out of %hpmax% health

echo has %energy% out of %energymax% energy

echo ..................................................................................

if NOT %energy%==%energymax% set /a energy=%energy%+1

echo level 6

echo %cstring% Jakob

echo has %jakob% health.

pause

cls

echo You can, attack using your %weapon%

echo choose attack.

echo.

if %class%==1 (

if %level% geq 1 echo 1 melee attack

if %level% geq 2 echo 2 cleave

if %level% geq 3 echo 3 spinning sweep

if %level% geq 4 echo 4 brute strike

if %level% geq 5 echo 5 anvil of doom

if %level% geq 6 echo 6 fangs of steel

)

if %class%==2 (

if %level% geq 1 echo 1 magic missle

if %level% geq 2 echo 2 chill strike

if %level% geq 3 echo 3 acid arrow

if %level% geq 4 echo 4 fireball

if %level% geq 5 echo 5 lightning bolt

if %level% geq 6 echo 6 black fire

)

if %class%==3 (

if %level% geq 1 echo 1 deft strike

if %level% geq 2 echo 2 dazing strike

if %level% geq 3 echo 3 quick fingers

if %level% geq 4 echo 4 dragon tail strike

if %level% geq 5 echo 5 ghost on the wind

if %level% geq 6 echo 6 hurricane of blood

)

if %class%==4 (

if %level% geq 1 echo 1 bolstering strike

if %level% geq 2 echo 2 paladin's judgement

if %level% geq 3 echo 3 on pain of death

if %level% geq 4 echo 4 divine strike

if %level% geq 5 echo 5 thunder smite

if %level% geq 6 echo 6 bloodied retribution

)

set /P m=Choice:

cls

set /a energy=%energy%-%m%

if %m%==1 set damage=%base%

if %m%==2 set /a damage=%base%+%level%

if %m%==3 set /a damage=%base%+%level%+1

if %m%==4 set /a damage=(%base%*3)+%level%

if %m%==5 set /a damage=(%base%*2)+%level%+2

if %m% geq 6 set /a damage=(%base%*5)

echo you did %damage% damage.

set /a jakob=%jakob%-%damage%

pause

cls

set /a X=(%random%/5000)

echo believer Jakob

echo does %X% damage

if %class%==1 echo with his axe

if %class%==2 echo with his ring of energy

if %class%==3 echo with his dagger

if %class%==4 echo with his godly glaive

set /a health=%health%-%x%

if %health% LEQ 0 goto death

if %jakob% LEQ 0 goto yay

pause

goto jakobcombat

:yay

cls

echo ************************************

echo * You were victorious in combat!!! *

echo ************************************

set /a X=%random%/1000

echo you recieve %X% EXP.

set /a exp=%exp%+X

set j=2

pause

goto jakob

:dormitories

cls

echo You are in the dormitories,

echo bunk beds line the walls here.

echo Other training %cstring%s sleep here.

echo.

echo 1 sleep in a bunk

echo 2 walk to main hall

set /P m=Choice:

if %m%==1 goto csleep

if %m%==2 goto mainhall

:csleep

set health=%hpmax%

set energy=%energymax%

cls

echo you have slept in one of the bunks, your health

echo and energy are restored.

pause

goto dormitories

:lower

cls

echo You are in the lower levels, a crazy old man with golden eyes

echo is chained to the wall here.

echo You can go to the main hall.

echo.

echo 1 talk to mister crazy

echo 2 walk up to the main hall

if %riddler%==1 echo 3 clear rubble

set /P m=Choice:

if %m%==1 goto riddler

if %m%==2 goto mainhall

if %m%==3 goto secret

:riddler

cls

if %riddler%==1 echo Shoo! Shoo! fly away!

if %riddler%==0 echo I am Joseph Riddler!! Ha ha ha!

if %riddler%==0 echo I will ask you a riddles!

if %riddler%==0 echo Gromotheushtinski's is a chore,

if %riddler%==0 echo Gradwin's a winner,

if %riddler%==0 echo Erik's a bore,

if %riddler%==0 echo I have one, and one before.

if %riddler%==0 echo what is it?

if %riddler%==1 pause

if %riddler%==1 goto lower

set /P m=Answer:

if "%m%"=="name" goto correct

if "%m%"=="a name" goto correct

if "%m%"=="your name" goto correct

cls

echo Loooooseer! Hahaha!

echo hobbitmouthed toadstool!

echo.

echo 1 leave him be.

set /P m=Choice:

goto lower

:correct

cls

echo Hooooooraay! winner!

echo flamflam flabour!

echo here is a secret: there is a third

echo option in the lower level! Hee hee!

echo.

echo +20 exp

set /a exp=%exp%+20

set riddler=1

pause

goto lower

:secret

cls

echo **********************

echo * YOU FOUND A SECRET *

echo **********************

pause

cls

echo you brush away some rubble and uncover the entrance

echo to the dungeons.

echo.

echo 1 climb down

echo 2 replace rubble

set /p m=choice:

if %m%==1 goto 1

if %m%==2 goto lower

:1

cls

echo you are on one side of a chasm, to cross

echo you must walk over a swaying bridge.

echo you can climb bacck up to the lower level

echo.

echo 1 climb back up

echo 2 cross

set /p m=choice:

if %m%==1 goto lower

if %m%==2 goto 3

:3

cls

echo you are in a tunnel that splits in two.

echo you can cross the bridge.

echo.

echo 1 cross the bridge

echo 2 east tunnel

echo 3 west tunnel

set /p m=choice:

if %m%==1 goto 1

if %m%==2 goto 2

if %m%==3 goto 4

:2

cls

echo dead end.

echo.

echo 1 back

pause

goto 3

:4

cls

echo you are at a corner

echo.

echo 1 go north

echo 2 go east

set /p m=choice:

if %m%==1 goto 5

if %m%==2 goto 3

:5

cls

echo you are at a T intersection

echo.

echo 1 go north

echo 2 go east

echo 3 go south

set /p m=choice:

if %m%==1 goto 6

if %m%==2 goto ohshit

if %m%==3 goto 4

:6

cls

echo dead end.

echo.

echo 1 go back

pause

goto 5

:ohshit

cls

if %skeleton%==0 echo the entrance to the room is blocked by rubble.

if %skeleton%==0 pause

if %skeleton%==0 goto 5

echo you enter a dark room.

pause

cls

echo a huge stone is shoved in front of the doorway.

pause

cls

echo the room is dark and you hear a flow of wind

echo akin to breathing.

pause

cls

echo the room is suddenly bathed in the orange glow of a

echo skeletons eyes.

echo "do you want to hear a story before I kill you?"

echo.

echo 1 yes

echo 2 no

set /p m=choice:

if %m%==1 goto story

if %m%==2 goto skeletor

:story

cls

echo Back during the first invasions of the spawn me and my twin,

echo Joseph. Defended the tower that used to be here. Me and my

echo brother were unstoppable. Domar was determined to capture the

echo tower and use it as a spawnery he sent one of his servants.

echo Guitel, a warlock titan that had leveled houses with a snap of his

echo fingers. at the end of the battle my brother destroyed the tower

echo so Domar could not have it. Guitel was so furious he cast a curse

echo to strip the flesh from my bones and make me kill anyone I could.

echo Then, he cast a spell to make my brother blind and insane. He

echo trapped us in the ruins and walked away. The citadel was later built

echo on top of the ruins.

echo.

echo good listening skills!

echo +42 exp

set /a exp=%exp%+42

pause

:skeletor

cls

set skullhp=13

:scombat

if %energy% LEQ 0 goto exhausted1

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

set /a hpmax=9+%level%

set energymax=%hpmax%

cls

echo %name% the level %level%

if %tribe%==1 echo dwarf

if %tribe%==2 echo eladrin

if %tribe%==3 echo halfling

if %tribe%==4 echo human

echo paladin

echo has %health% out of %hpmax% health

echo has %energy% out of %energymax% energy

echo ..................................................................................

if NOT %energy%==%energymax% set /a energy=%energy%+1

echo level 6

echo skeleton warrior

echo has %skullhp% health.

pause

cls

echo You can, attack using your %weapon%

echo choose attack.

echo.

if %class%==1 (

if %level% geq 1 echo 1 melee attack

if %level% geq 2 echo 2 cleave

if %level% geq 3 echo 3 spinning sweep

if %level% geq 4 echo 4 brute strike

if %level% geq 5 echo 5 anvil of doom

if %level% geq 6 echo 6 fangs of steel

)

if %class%==2 (

if %level% geq 1 echo 1 magic missle

if %level% geq 2 echo 2 chill strike

if %level% geq 3 echo 3 acid arrow

if %level% geq 4 echo 4 fireball

if %level% geq 5 echo 5 lightning bolt

if %level% geq 6 echo 6 black fire

)

if %class%==3 (

if %level% geq 1 echo 1 deft strike

if %level% geq 2 echo 2 dazing strike

if %level% geq 3 echo 3 quick fingers

if %level% geq 4 echo 4 dragon tail strike

if %level% geq 5 echo 5 ghost on the wind

if %level% geq 6 echo 6 hurricane of blood

)

if %class%==4 (

if %level% geq 1 echo 1 bolstering strike

if %level% geq 2 echo 2 paladin's judgement

if %level% geq 3 echo 3 on pain of death

if %level% geq 4 echo 4 divine strike

if %level% geq 5 echo 5 thunder smite

if %level% geq 6 echo 6 bloodied retribution

)

set /P m=Choice:

cls

set /a energy=%energy%-%m%

if %m%==1 set damage=%base%

if %m%==2 set /a damage=%base%+%level%

if %m%==3 set /a damage=%base%+%level%+1

if %m%==4 set /a damage=(%base%*3)+%level%

if %m%==5 set /a damage=(%base%*2)+%level%+2

if %m% geq 6 set /a damage=(%base%*5)

echo you did %damage% damage.

set /a skullhp=%skullhp%-%damage%

pause

cls

set /a X=(%random%/5000)

echo skeleton warrior

echo does %X% damage

echo with his whip of fire

set /a health=%health%-%x%

if %health% LEQ 0 goto death

if %skullhp% LEQ 0 goto yay1

pause

goto scombat

:yay1

cls

echo ************************************

echo * You were victorious in combat!!! *

echo ************************************

set /a X=%random%/150

echo you recieve %X% EXP.

set /a exp=%exp%+X

set skeleton=0

echo you recieve whip of fire.

if %class%==1 echo you equip whip of fire

if %class%==1 set base=6

if %class%==1 set weapon=whip of fire

if NOT %class%==1 echo you cannot equip it because you arent a fighter :(

pause

cls

echo as you exit the room, the cracked skull

echo mutters "festooni jeromi meloia" and rubble

echo falls down, sealing its grave.

goto 5

:outpost

cls

echo you are outside of the imperial outpost.

echo the gaurd will let you enter the building for a crystal.

echo.

echo 1 enter

echo 2 return to citadel

echo 3 walk to the Spawnery

set /P m=Choice:

if %m%==1 goto pass

if %m%==2 goto citadel

if %m%==3 goto spawnery

:pass

cls

if %crystals% LEQ 0 echo trying to be a wiseguy huh? pay up!

if %crystals% GEQ 1 echo the gaurd allows you to pass.

pause

if %crystals% GEQ 1 (

set /a crystals=%crystals%-1

goto warroom

)

goto outpost

:warroom

cls

echo You are in the war room.

echo generals and commanders discuss stressfull matters here

echo and move little clay miniatures around on a map of aspirium.

echo you can go to the north tower

echo you can go to the east tower

echo you can go to the south tower

echo you can go to the west tower

echo you can leave the outpost

echo.

echo 1 north tower

echo 2 east tower

echo 3 south tower

echo 4 west tower

echo 5 leave

set /P m=Choice:

if %m%==1 goto northt

if %m%==2 goto eastt

if %m%==3 goto southt

if %m%==4 goto westt

if %m%==5 goto outpost

:northt

cls

echo you are in the north tower.

echo there is a chest here.

echo.

echo 1 open chest

echo 2 return to war room

set /p m=Choice:

if %m%==1 goto chest4

if %m%==2 goto warroom

:chest4

cls

echo you open the chest.

if %chest4%==0 echo it is empty.

if %chest4%==1 echo there is a biscuit inside

if %chest4%==1 echo health is restored

if %chest4%==1 echo +7 exp

if %chest4%==1 set /a exp=%exp%+7

if %chest4%==1 set helath=%hpmax%

if %chest4%==1 set chest4=0

pause

goto northt

:eastt

cls

echo you are in the east tower.

echo.

echo 1 return to war room

pause

goto warroom

:southt

cls

echo you are in the south tower.

echo a bored archer glances at you.

echo.

echo 1 return to war room

echo 2 talk to archer

set /p m=Choice:

if %m%==1 goto warroom

if %m%==2 goto archer

:archer

cls

echo The answer to Joseph's riddle is "a name".

echo Now go, can't you see i'm busy?

pause

goto southt

:westt

cls

echo you are in the west tower.

echo.

echo 1 return to war room.

pause

goto warroom

:road3

cls

echo you are on the medicine road.

echo you can go to the healer's hut.

echo you can go to the western crossroads.

echo.

echo 1 western crossroads

echo 2 healer's hut

set /p m=Choice:

if %m%==1 goto road2

if %m%==2 goto healerhut

:healerhut

cls

echo You are outside of a shack with purple smoke pouring out of

echo it's roof. It is situated on the very edge of the woods of woe.

echo You can go inside.

echo You can enter the woods of woe.

echo You can take the road north.

echo.

echo 1 healer's hut

echo 2 woods of woe

echo 3 north road

set /p m=Choice:

if %m%==1 goto healer

if %m%==2 goto wow

if %m%==3 goto road3

:healer

cls

echo You are inside the healer's hut.

echo A woman with purple eyes sits on a stool reading her spellbook.

echo You can leave.

echo You can talk to her.

echo.

echo 1 leave

echo 2 talk to her

set /p m=Choice:

if %m%==1 goto healerhut

if %m%==2 goto dialog

:dialog

cls

echo (the healer looks up from her reading)

echo what is it you desire, traveller?

echo.

echo 1 I need my energy restored

echo 2 I need to be healed

echo 3 How much for your crystal dagger? (thief)

echo 4 Nothing, just looking around.

set /p m=Choice:

if %m%==1 goto energyh

if %m%==2 goto healh

if %m%==3 goto cdagger

if %m%==4 goto healer

:energyh

cls

echo I can restore your energy for 3 crystals

echo.

echo 1 yes

echo 2 no

set /p m=Choice:

if %m%==1 goto energy!

if %m%==2 goto dialog

:energy!

cls

if NOT %crystals% GEQ 3 echo you dont have enough, you have %crystals%

if %crystals% GEQ 3 echo okay, well don't blame me if something goes wro-

if %crystals% GEQ 3 echo poof!

if %crystals% GEQ 3 pause

if %crystals% GEQ 3 echo your energy is restored.

if %crystals% GEQ 3 set energy=%energymax%

if %crystals% GEQ 3 echo -3 crystals

if %crystals% GEQ 3 set /a crystals=%crystals%-3

pause

goto dialog

:healh

cls

echo I can restore your health for 3 crystals

echo.

echo 1 yes

echo 2 no

set /p m=Choice:

if %m%==1 goto health!

if %m%==2 goto dialog

:health!

cls

if NOT %crystals% GEQ 3 echo you dont have enough, you have %crystals%

if %crystals% GEQ 3 echo okay, well don't blame me if something goes wro-

if %crystals% GEQ 3 echo poof!

if %crystals% GEQ 3 pause

if %crystals% GEQ 3 echo your health is restored.

if %crystals% GEQ 3 set health=%hpmax%

if %crystals% GEQ 3 echo -3 crystals

if %crystals% GEQ 3 set /a crystals=%crystals%-3

pause

goto dialog

:cdagger

cls

echo Oh this thing? I don't know... I umm...

echo I've had it for a long time and it would be hell to part with

echo it...

echo I'm sorry but, it's not for sale.

pause

goto dialog

:wow

cls

echo You are lost in the woods of woe.

echo Thorny vines and moss cover many of the trees here.

echo You smell waffles.

echo.

echo 1 north

echo 2 east

echo 3 south

echo 4 west

set /p m=Choice:

set /a r=(%random%/7500)+1

if %r%==1 goto shrek

if %r%==2 goto ambush

if %r%==3 goto healerhut

if %r% GEQ 4 goto chest10

:ambush

cls

echo you are walking along a dim trail

pause

echo a foul smell is thick in the air here

pause

echo a coin drops from the trees onto the trail in front of you

pause

echo you bend over to pick it up...

pause

cls

echo **********

echo * AMBUSH *

echo **********

set hobgoblin=14

pause

goto wowcombat

:wowcombat

if %energy% LEQ 0 goto exhausted1

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

set /a hpmax=9+%level%

set energymax=%hpmax%

cls

echo %name% the level %level%

if %tribe%==1 echo dwarf

if %tribe%==2 echo eladrin

if %tribe%==3 echo halfling

if %tribe%==4 echo human

echo paladin

echo has %health% out of %hpmax% health

echo has %energy% out of %energymax% energy

echo ..................................................................................

if NOT %energy%==%energymax% set /a energy=%energy%+1

echo level 5

echo hobgoblin thief

echo has %hobgoblin% health.

pause

cls

echo You can, attack using your %weapon%

echo choose attack.

echo.

if %class%==1 (

if %level% geq 1 echo 1 melee attack

if %level% geq 2 echo 2 cleave

if %level% geq 3 echo 3 spinning sweep

if %level% geq 4 echo 4 brute strike

if %level% geq 5 echo 5 anvil of doom

if %level% geq 6 echo 6 fangs of steel

)

if %class%==2 (

if %level% geq 1 echo 1 magic missle

if %level% geq 2 echo 2 chill strike

if %level% geq 3 echo 3 acid arrow

if %level% geq 4 echo 4 fireball

if %level% geq 5 echo 5 lightning bolt

if %level% geq 6 echo 6 black fire

)

if %class%==3 (

if %level% geq 1 echo 1 deft strike

if %level% geq 2 echo 2 dazing strike

if %level% geq 3 echo 3 quick fingers

if %level% geq 4 echo 4 dragon tail strike

if %level% geq 5 echo 5 ghost on the wind

if %level% geq 6 echo 6 hurricane of blood

)

if %class%==4 (

if %level% geq 1 echo 1 bolstering strike

if %level% geq 2 echo 2 paladin's judgement

if %level% geq 3 echo 3 on pain of death

if %level% geq 4 echo 4 divine strike

if %level% geq 5 echo 5 thunder smite

if %level% geq 6 echo 6 bloodied retribution

)

set /P m=Choice:

cls

set /a energy=%energy%-%m%

if %m%==1 set damage=%base%

if %m%==2 set /a damage=%base%+%level%

if %m%==3 set /a damage=%base%+%level%+1

if %m%==4 set /a damage=(%base%*3)+%level%

if %m%==5 set /a damage=(%base%*2)+%level%+2

if %m% geq 6 set /a damage=(%base%*5)

echo you did %damage% damage.

set /a hobgoblin=%hobgoblin%-%damage%

pause

cls

set /a X=(%random%/10000)+1

echo the hobgoblin

echo does %X% damage

echo with its bone spear

set /a health=%health%-%x%

if %health% LEQ 0 goto death

if %hobgoblin% LEQ 0 goto dude

pause

goto wowcombat

:dude

cls

echo ************************************

echo * You were victorious in combat!!! *

echo ************************************

set /a X=%random%/200

echo you recieve %X% EXP.

set /a exp=%exp%+X

pause

goto wow

:chest10

cls

echo you open the chest.

if %chest10%==0 echo it is empty.

if %chest10%==1 echo inside is a necklace of glowing rubies

if %chest10%==1 pause

if %chest10%==1 echo you equip it and your max hp is increased by 2

if %chest10%==1 echo.

if %chest10%==1 echo +12 exp

if %chest10%==1 set /a maxhp=%maxhp%+2

if %chest10%==1 set /a exp=%exp%+2

if %chest10%==1 set chest10=0

pause

goto wow

:shrek

cls

echo So THIS is where the waffle smell was coming from!

echo you are in a swamp, a friendly ogre steps out of his

echo outhouse and wanders into his hut and yells:

echo "Donkeh, why is there maple syrup evrehwhare?!"

echo a bucktoothed donkey

echo races after him humming We Will Rock You.

echo.

echo 1 get the heck away from this place.

pause

goto wow

:exhausted1

cls

echo You ran out of energy and the enemy overtook you...

echo.

pause

goto death

: spawnery

cls

echo you are at the entrance to the spawnery, a massive stone castle surrounded

echo by black mist. Possesed black gates open and beckon you forth.

echo.

echo 1 enter

echo 2 retreat

set /p m=Choice:

if %m%==2 goto outpost

if %m%==1 goto enterspawn

: enterspawn

cls

color 0f

echo /\

echo / \ _ _ _

echo / \^| ^| ^| ^|

echo /______\ ^|

echo ^| ^| ^|

echo _ _ _^| ^|/\ ^|

echo ^|^|^|^|^|^|^|^| /__\ ^|

echo ^| ^| ^| ^| ^|

echo _^|__ _^|_____^|__^|__^|__

echo ^| ^| ^| ^|

echo ^|____^| ^|________________^|

pause

goto canyon

:canyon

cls

color 1f

pause

echo you are in an alley between several towers, with spawn patrolling the

echo turrets and walls.

echo.

echo 1 go south

echo 2 go west

echo 3 go east

echo 4 go to hole

set /p m=Choice:

if %m%==2 goto gaurdian1

if %m%==1 goto gaurdian2

if %m%==3 goto gaurdian3

if %m%==4 goto hole

:gaurdian1

cls

echo there is a golden gaurdian of evil here.

echo.

pause

cls

color 0e

echo _

echo _\_/_

echo / \

echo //^|(*)^|\\

echo / _ \

echo // \\

echo /_^| ^|_\

pause

color 1f

cls

echo "GREETINGS %name%,

if %key1%==0 echo I AM THE TITAN OF INTELLECT.

if %key1%==0 echo YOU SEEK TO KILL DOMAR, I HAVE A KEY YOU NEED.

if %key1%==0 echo PROVE YOUR INTELLECT AND I WILL GIVE WHAT YOU SEEK"

echo.

echo 1 bye

if %key1%==0 echo 2 what do I need to do?

set /p m=Choice:

if %m%==1 goto canyon

if %m%==2 goto question1

:question1

cls

set noo=%random%

set /a dle=%random%/2

echo prove your mind is adequate or I will decapitate you.

echo If you are adequate, I will give you a key.

echo.

echo what is %noo% times %dle%?

set /p m=Answer:

set /a soup=%noo%*%dle%

if %m%==%soup% goto key1

goto death

:key1

cls

color 0e

echo ______________

echo \ _ _ /

echo \ [_] [_] /

echo \ __ /

echo \ (__) /

echo ^|\____/^|

echo __/ \__

pause

color 1f

cls

echo you got a gold key!

set key1=1

pause

goto gaurdian1

:gaurdian2

cls

echo there is a flaming gaurdian of evil here.

echo.

pause

cls

color 0c

echo _

echo _^|_^|_

echo / _ \

echo //^|[_]^|\\

echo / _ \

echo // \\

echo /_^| ^|_\

pause

color 1f

cls

echo "GREETINGS %name%,

if %key2%==0 echo I AM THE TITAN OF STRENGTH

if %key2%==0 echo YOU SEEK TO KILL DOMAR, I HAVE A KEY YOU NEED.

if %key2%==0 echo PROVE YOUR STRENGTH AND I WILL GIVE WHAT YOU SEEK"

echo.

echo 1 bye

if %key2%==0 echo 2 what do I need to do?

set /p m=Choice:

if %m%==1 goto canyon

if %m%==2 goto challenge

:challenge

cls

echo prove your strength is adequate or I will crush you.

echo If you are adequate, I will give you a key.

set titan=20

:titancombat

if %energy% LEQ 0 goto exhausted1

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

set /a hpmax=9+%level%

set energymax=%hpmax%

cls

echo %name% the level %level%

if %tribe%==1 echo dwarf

if %tribe%==2 echo eladrin

if %tribe%==3 echo halfling

if %tribe%==4 echo human

echo paladin

echo has %health% out of %hpmax% health

echo has %energy% out of %energymax% energy

echo ..................................................................................

if NOT %energy%==%energymax% set /a energy=%energy%+1

echo level 666

echo Titan of Strength

echo has %titan% health.

pause

cls

echo You can, attack using your %weapon%

echo choose attack.

echo.

if %class%==1 (

if %level% geq 1 echo 1 melee attack

if %level% geq 2 echo 2 cleave

if %level% geq 3 echo 3 spinning sweep

if %level% geq 4 echo 4 brute strike

if %level% geq 5 echo 5 anvil of doom

if %level% geq 6 echo 6 fangs of steel

)

if %class%==2 (

if %level% geq 1 echo 1 magic missle

if %level% geq 2 echo 2 chill strike

if %level% geq 3 echo 3 acid arrow

if %level% geq 4 echo 4 fireball

if %level% geq 5 echo 5 lightning bolt

if %level% geq 6 echo 6 black fire

)

if %class%==3 (

if %level% geq 1 echo 1 deft strike

if %level% geq 2 echo 2 dazing strike

if %level% geq 3 echo 3 quick fingers

if %level% geq 4 echo 4 dragon tail strike

if %level% geq 5 echo 5 ghost on the wind

if %level% geq 6 echo 6 hurricane of blood

)

if %class%==4 (

if %level% geq 1 echo 1 bolstering strike

if %level% geq 2 echo 2 paladin's judgement

if %level% geq 3 echo 3 on pain of death

if %level% geq 4 echo 4 divine strike

if %level% geq 5 echo 5 thunder smite

if %level% geq 6 echo 6 bloodied retribution

)

set /P m=Choice:

cls

set /a energy=%energy%-%m%

if %m%==1 set damage=%base%

if %m%==2 set /a damage=%base%+%level%

if %m%==3 set /a damage=%base%+%level%+1

if %m%==4 set /a damage=(%base%*3)+%level%

if %m%==5 set /a damage=(%base%*2)+%level%+2

if %m% geq 6 set /a damage=(%base%*5)

echo you did %damage% damage.

set /a titan=%titan%-%damage%

pause

cls

set /a X=(%random%/10000)+1

echo the titan

echo does %X% damage

echo with its bare hands!

set /a health=%health%-%x%

if %health% LEQ 0 goto death

if %titan% LEQ 0 goto key2

:key2

cls

color 0c

echo ________

echo ^| ^|

echo ^| () () ^|

echo ^| __ ^|

echo ^| /__\ ^|

echo ^|________^|

echo __/ \__

pause

color 1f

cls

echo you got a stone key!

echo you got 100 exp

set /a exp=%exp%+100

set key2=1

pause

goto gaurdian2

:gaurdian3

cls

echo there is a ghostly gaurdian of evil here.

echo.

pause

cls

color 07

echo _

echo _/ \_

echo / _ \

echo //^|^<_^>^|\\

echo / _ \

echo // \\

echo /_^| ^|_\

pause

color 1f

cls

echo "GREETINGS %name%,

if %key3%==0 echo I AM THE TITAN OF DECEPTION.

if %key3%==0 echo YOU SEEK TO KILL DOMAR, I HAVE A KEY YOU NEED.

if %key3%==0 echo PROVE YOUR TRUST AND I WILL GIVE WHAT YOU SEEK"

echo.

echo 1 bye

if %key3%==0 echo 2 what do I need to do?

set /p m=Choice:

if %m%==1 goto canyon

if %m%==2 goto question1

:question1

cls

set noo=%random%

set /a dle=%random%/2

echo prove your trust is adequate or I will rob and kill you.

echo If it is adequate, I will give you a key.

echo.

echo I will give you the key for half of your crystals.

echo will you trade?

echo.

echo 1 yes

echo 2 no

set crystals=0

set /p m=choice:

if %m%==1 goto key3

if %m%==2 goto death

:key3

cls

color 07

echo ______

echo / ^<^>^<^> \

echo / __ \

echo / \__/ \

echo /____________\

echo __/ \__

echo HEE HEE! I STOLE ALL YOUR CRYSTALS!

set crystals=0

pause

color 1f

cls

echo you got a glass key!

set key3=1

pause

goto gaurdian3

:hole

cls

echo you are at a dark magical barrier surrounding.

echo the hole that the first spawn came through.

echo it is rumored that Domar resides at the bottom.

echo three keyholes appear in the barrier,

if %key1%==0 echo you still need the golden key

if %key2%==0 echo you still need the stone key

if %key3%==0 echo you still need the glass key

echo.

echo 1 back

if %key1%==1 if %key2%==1 if %key3%==1 echo 2 decend

set /p m=choice:

if %m%==1 goto canyon

if %m%==2 goto DOMAR!

set domar=40

:DOMAR!

cls

echo you fall through a seemingly endless mist

echo and land in a lake of gray slime, full of

echo little leech-like creatures, rocks fall

echo and out of the shadows steps...

color 0C

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 # # # #

echo # # # #

echo # # # #

echo # # # #

echo # # # #

echo # # # #

echo # # # #

echo ##### #####

echo DOMAR!

pause

color 1f

set energy=energymax

: domarcombat

if %energy% LEQ 0 goto exhausted1

if %exp% GEQ 25 set level=2

if %exp% GEQ 50 set level=3

if %exp% GEQ 125 set level=4

if %exp% GEQ 225 set level=5

if %exp% GEQ 350 set level=6

if %exp% GEQ 500 set level=7

if %exp% GEQ 675 set level=8

if %exp% GEQ 875 set level=9

if %exp% GEQ 1025 set level=10

set /a hpmax=9+%level%

set energymax=%hpmax%

cls

echo %name% the level %level%

if %tribe%==1 echo dwarf

if %tribe%==2 echo eladrin

if %tribe%==3 echo halfling

if %tribe%==4 echo human

echo paladin

echo has %health% out of %hpmax% health

echo has %energy% out of %energymax% energy

echo ..................................................................................

if NOT %energy%==%energymax% set /a energy=%energy%+1

echo level infinite

echo Domar

echo has %domar% health.

pause

cls

echo You can, attack using your %weapon%

echo choose attack.

echo.

if %class%==1 (

if %level% geq 1 echo 1 melee attack

if %level% geq 2 echo 2 cleave

if %level% geq 3 echo 3 spinning sweep

if %level% geq 4 echo 4 brute strike

if %level% geq 5 echo 5 anvil of doom

if %level% geq 6 echo 6 fangs of steel

)

if %class%==2 (

if %level% geq 1 echo 1 magic missle

if %level% geq 2 echo 2 chill strike

if %level% geq 3 echo 3 acid arrow

if %level% geq 4 echo 4 fireball

if %level% geq 5 echo 5 lightning bolt

if %level% geq 6 echo 6 black fire

)

if %class%==3 (

if %level% geq 1 echo 1 deft strike

if %level% geq 2 echo 2 dazing strike

if %level% geq 3 echo 3 quick fingers

if %level% geq 4 echo 4 dragon tail strike

if %level% geq 5 echo 5 ghost on the wind

if %level% geq 6 echo 6 hurricane of blood

)

if %class%==4 (

if %level% geq 1 echo 1 bolstering strike

if %level% geq 2 echo 2 paladin's judgement

if %level% geq 3 echo 3 on pain of death

if %level% geq 4 echo 4 divine strike

if %level% geq 5 echo 5 thunder smite

if %level% geq 6 echo 6 bloodied retribution

)

set /P m=Choice:

cls

set /a energy=%energy%-%m%

if %m%==1 set damage=%base%

if %m%==2 set /a damage=%base%+%level%

if %m%==3 set /a damage=%base%+%level%+1

if %m%==4 set /a damage=(%base%*3)+%level%

if %m%==5 set /a damage=(%base%*2)+%level%+2

if %m% geq 6 set /a damage=(%base%*5)

echo you did %damage% damage.

set /a hobgoblin=%hobgoblin%-%damage%

pause

cls

set /a X=1

echo Domar

echo does %X% damage

echo with his laser vision

set /a health=%health%-%x%

if %health% LEQ 0 goto death

if %domar% LEQ 0 goto wingame

pause

goto domarcombat

:wingame

cls

color 0f

cls

echo you have defeated Domar.

pause

cls

echo without their master, the spawn are powerless.

pause

cls

echo peace and unity are restored among the tribes,

pause

cls

echo and they are now one, the tribe of the good, the tribe

echo of those who fought and won. The tribe of the living.

pause

cls

echo The Unarian democracy has been born!

cls

echo You, are, a, HERO!

pause

cls

echo you have taken your place among legends as, %name% savior of Aspirium!

pause

cls

color 0e

echo # ### ### ## ### ### #

echo # # # # # # # # #

echo # # # ## # # # #

echo # # # # # # # #

echo ### ### # ## ### ### #

echo.

echo \\\\\\\

echo ^| O O ^|

echo ^| U_ ^|

echo ^| (_)^|

echo \ ^|_____^| /

echo \^| ^|/

echo Thanks for playing my game,

echo - Eli.H

pause