Mini Game - Enemy Ambush in Haps Nebula in Salrus Debris Field: (With Text and Audio Dialog)
The Code:
:palri set shipshields=19000 if %shields4% EQU 1 set /a shipshields=%shipshields%+9000 if %shields4% EQU 0 set shipshields=19000 set shiphealth=25990 set eshiphealth=2253 set enemyship=17 goto salris
:salris rem echo. Turn on Level 4 ship shieldings? y /n rem echo. rem set /p x1= rem if %x1%==y set /a shipshields=%shipshields%+shields4 rem if %x1%==n goto tyou rem Salris Debris Field :tyou cls echo. --------------------------------------------------------------------- echo. There are 17 Enemy Ships in this area. echo. echo. Enemy Remaining: %enemyship% Shields: %shipshields% Enemy Health: %eshiphealth% Health: %shiphealth% echo. set /a spin=%random% %%33+1 if %spin% EQU 1 echo. Commander: We're under fire. && sound play Comander443.wav && bg sleep 2000 if %spin% EQU 2 echo. Commander: We're under attack. && sound play Comander435.wav && bg sleep 2000 if %spin% EQU 3 echo. Commander: Here they come again. && sound play Comander441.wav && bg sleep 2000 if %spin% EQU 4 echo. Commander: These guys are relentless && sound play Comander436.wav && bg sleep 2000 if %spin% EQU 5 echo. Commander: Shields Damaged. && sound play Comander437.wav && bg sleep 2000 if %spin% EQU 6 echo. Commander: They just keep coming. && sound play Comander438.wav && bg sleep 2000 if %spin% EQU 7 echo. Commander: Keep Shooting. && sound play Comander439.wav && bg sleep 2000 if %spin% EQU 8 echo. Commander: We will soon get rid of them. && sound play Comander440.wav && bg sleep 2000 if %spin% EQU 9 echo. Commander: I wish they would stop hammering us. && sound play Comander442.wav && bg sleep 2000 if %spin% EQU 10 echo. Commander: Enemy ships just came out of nowhere. && sound play Comander444.wav && bg sleep 2000 if %spin% EQU 11 echo. Commander: We are being attacked. && sound play Comander445.wav && bg sleep 2000 if %spin% EQU 12 echo. Commander: Shoot back, quick. && sound play Comander446.wav && bg sleep 2000 if %spin% EQU 13 echo. Computer: Warning: Minor Plasma Tube Rupture in Engineering Section 3. Please send repair team to fix immediately. && sound play Computermsg022.wav && bg sleep 3000 if %spin% EQU 14 echo. Storm: Arghh, we are getting hit. && sound play Storm380.wav && bg sleep 3000 if %spin% EQU 15 echo. Commander: Get them of our tail. && sound play Comander447.wav && bg sleep 2000 if %spin% EQU 16 echo. Commander: Our shields are weakening. && sound play Comander448.wav && bg sleep 2000 if %spin% EQU 17 echo. Storm: We're trying our best to hold them off. && sound play Cmmander449.wav && bg sleep 2000 if %spin% EQU 18 echo. Computer: Emergency: Coolant Leak in Shuttle Bay area. Please repair immediately. if %spin% EQU 19 echo. Computer: It must be a rogue faction who don't like us. if %spin% EQU 20 echo. Storm: Or maybe some other guys but whoever they are, they don't like us. if %spin% EQU 21 echo. Commander: Time to retreat before the ship gets destroyed. && bg sleep 4000. if %spin% EQU 22 echo. Storm: We might beable to still elimiate them all. if %spin% EQU 23 echo. Commander: The shields need to hold a little longer. && sound play Comander451.wav if %spin% EQU 24 echo. Commander: Target their power relays. && sound play Comander452.wav && bg sleep 2000 if %spin% EQU 25 echo. Storm: No its better to Target their warp Core Engines if %spin% EQU 26 echo. Commander: Let's hope we don't get caught in the explosion. && sound play Commander453.wav && bg sleep 2000 if %spin% EQU 27 echo. Computer: Hull breach in Section 2A, putting forcefield in place. if %spin% EQU 28 echo. Commander: Time to take action, increase the power to the phase cannons. && sound play Comander454.wav && bg sleep 2000 if %spin% EQU 29 echo. Storm: We need better phase cannons. if %spin% EQU 30 echo. Commander: I can see the enemies are a bit more stronger in this region. && sound play Comander455.wav && bg sleep 3000 if %spin% EQU 31 echo. Commander: Yes we will have to upgrade the Phase Cannons. && sound play Comander456.wav && bg sleep 3000 if %spin% EQU 32 echo. Commnader: Let's just try to get through this battle in one piece. && sound play Comander457.wav && bg sleep 3000 if %spin% EQU 33 echo. Commander: Hit them hard. && sound play Comander458.wav && bg sleep 2000
echo. set /a shipshields=%shipshields%-500 if %shipshields% LEQ 0 set /a shiphealth=%shiphealth%-500 set /a spin=%random% %%4+1 if %spin% EQU 1 sound play explosion2.wav && bg sleep 200 if %spin% EQU 2 sound play explosion2.wav && bg sleep 400 && sound play explosion2.wav if %spin% EQU 3 sound play explosion2.wav && bg sleep 400 && sound play explosion2.wav && bg sleep 300 && sound play explosion2.wav && bg sleep 400 && sound play explosion2.wav if %spin% EQU 4 sound play explosion2.wav && bg sleep 100 && sound play explosion2.wav && bg sleep 300 && sound play explosion2.wav && bg sleep 400 && sound play explosion2.wav
echo. bg sleep 1000 set /a spin=%random% %%4+1 if %spin% EQU 1 sound play explosion.wav if %spin% EQU 2 sound play explosion.wav && bg sleep 400 && sound play explosion.wav if %spin% EQU 3 sound play explosion.wav && bg sleep 200 && sound play explosion.wav && bg sleep 300 && sound play explosion.wav && bg sleep 400 && sound play explosion.wav if %spin% EQU 4 sound play explosion.wav && bg sleep 200 && sound play explosion.wav && bg sleep 300 && sound play explosion.wav && bg sleep 200 && sound play explosion.wav rem set /a enemyship=%enemyship%-1
set /a spin=%random% %%39+24 if %eshiphealth% LEQ 0 echo. + Ship destroyed... && bg sleep 600 && echo. + Scrap Metal %spin% units obtained. set /a scrapmetal=%scrapmetal%+%spin% sound play beep12.wav
set /a spin=%random% %%4+1 if %spin% EQU 1 set /a shipshields=%shipshields%-500 if %spin% EQU 2 set /a shipshields=%shipshields%-500 && set /a shipshields=%shipshields%-200 if %spin% EQU 3 set /a shipshields=%shipshields%-700 && set /a shipshields=%shipshields%-263 && set /a shipshields=%shipshields%-600 if %spin% EQU 4 set /a shipshields=%shipshields%-700 && set /a shipshields=%shipshields%-363 && set /a shipshields=%shipshields%-300 && set /a shipshields=%shipshields%-100 bg sleep 500 set /a eshiphealth=%eshiphealth%-400 if %eshiphealth% LEQ 0 set /a enemyship=%enemyship%-1 if %eshiphealth% LEQ 0 if %enemyship% LEQ 0 goto tyswin if %eshiphealth% LEQ 0 set eshiphealth=0 goto salris
:tyswin cls echo. -------------------------------------------------------------------- echo. echo. Commander: Phew, we managed to destroy all the enemy ships. Now echo. the area is paceful again, but the firepower of those ships, but echo. their weapons are quite strong in this region. echo. echo. Storm: Looks like we will have to find a trader to upgrade the echo. ships plasma cannon. echo. echo.