From 2f4e533a64a12c11a1a93b43b477ad932c814b93 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 11 Aug 2023 14:45:14 -0400 Subject: [PATCH] Restore the dilithium-mining test --- test/test12.chk | 89 ++++++++++ test/test12.chk-old | 407 -------------------------------------------- test/test12.log | 19 +++ test/test12.log-old | 97 ----------- 4 files changed, 108 insertions(+), 504 deletions(-) create mode 100644 test/test12.chk delete mode 100644 test/test12.chk-old create mode 100644 test/test12.log delete mode 100644 test/test12.log-old diff --git a/test/test12.chk b/test/test12.chk new file mode 100644 index 0000000..74f3612 --- /dev/null +++ b/test/test12.chk @@ -0,0 +1,89 @@ + + +-SUPER- STAR TREK + + + +Stardate 3135. + +37 Klingons. +An unknown number of Romulans. +And one (GULP) Super-Commander. +14 stardates. +5 starbases in 4 - 7 1 - 6 3 - 2 8 - 7 4 - 2 + +The Enterprise is currently in Quadrant 3 - 7 Sector 3 - 9 + +Good Luck! + YOU'LL NEED IT. +COMMAND> # SST2K version 2.7 +# Test Dilitium mining +# recorded by esr@snark.thyrsus.com on Fri Aug 11 14:30:15 2023 +status +Stardate 3135.8, Time Left 14.00 +Condition GREEN, 0 DAMAGES +Position 3 - 7 , 3 - 9 +Life Support ACTIVE +Warp Factor 5.0 +Energy 5000.00 +Torpedoes 10 +Shields DOWN, 100% 2500.0 units +Klingons Left 37 +Sector is uninhabited +COMMAND> sensors +Spock- "Sensor scan for Quadrant 3 - 7- + + Planet at Sector 6 - 1 is of class O. + Readings indicate dilithium crystals present." +COMMAND> m a 3 10 + + +[ANNOUNCEMENT ARRIVING...] + +Message from Starfleet Command Stardate 3135.83 + Supernova in Quadrant 5 - 1; caution advised. +COMMAND> m a 6 10 + +COMMAND> m a 6 2 + +COMMAND> orbit + +Helmsman Sulu- "Entering standard orbit, Sir." +Sulu- "Entered orbit at altitude 7351.64 kilometers." +COMMAND> sh down +Shields already down. +COMMAND> crystals + +No dilithium crystals available. +COMMAND> shu down + +Mining party assembles in the hangar deck, +ready to board the shuttle craft "Galileo". + +The hangar doors open; the trip begins. +Trip complete. +COMMAND> mine + +Mining operation complete. +COMMAND> shu up + +You and your mining party board the +shuttle craft for the trip back to the Enterprise. + +The short hop begins . . . + +Trip complete. +COMMAND> status +Stardate 3137.4, Time Left 11.28 +Condition GREEN, 0 DAMAGES +Position 3 - 7 , 6 - 2 +Life Support ACTIVE +Warp Factor 5.0 +Energy 4850.00 (have crystals) +Torpedoes 10 +Shields DOWN, 100% 2500.0 units +Klingons Left 37 +Sector is uninhabited +COMMAND> quit + +May the Great Bird of the Galaxy roost upon your home planet. diff --git a/test/test12.chk-old b/test/test12.chk-old deleted file mode 100644 index da29ae2..0000000 --- a/test/test12.chk-old +++ /dev/null @@ -1,407 +0,0 @@ - - --SUPER- STAR TREK - - - -Stardate 4672. - -15 Klingons. -An unknown number of Romulans. -And one (GULP) Super-Commander. -7 stardates. -3 starbases in 2 - 5 1 - 4 5 - 2 - -The Enterprise is currently in Quadrant 7 - 4 Sector 8 - 1 - -Good Luck! - YOU'LL NEED IT. -COMMAND> # SST2K version 2.5 -# Test dilithium-crystal mining -# recorded by esr@snark.thyrsus.com on Thu Apr 25 20:35:21 2019 - -COMMAND> sh up -Shields raised. -COMMAND> -COMMAND> m a 7 2 10 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 7 - 2. -COMMAND> -COMMAND> m a 4 2 5 5 - -Ensign Chekov- "Course laid in, Captain." - -Enterprise blocked by object at 2 - 9; -Emergency stop required 125 units of energy. -Collision detected - -[ANNOUNCEMENT ARRIVING...] - -Lt. Uhura- "Captain, the starbase in Quadrant 1 - 4 - reports that it is under attack and that it can - hold out only until stardate 4677." - -[ANNOUNCEMENT ARRIVING...] -Lt. Uhura- "Captain, Starfleet Intelligence reports - the Super-commander is in Quadrant 8 - 5. - -[ANNOUNCEMENT ARRIVING...] - -Message from Starfleet Command Stardate 4674.63 - Supernova in Quadrant 4 - 4; caution advised. -COMMAND> -COMMAND> m a 1 1 - -COMMAND> -COMMAND> m a 4 2 5 5 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 4 - 2. - -[ANNOUNCEMENT ARRIVING...] - -Message from Starfleet Command Stardate 4676.09 - Supernova in Quadrant 1 - 5; caution advised. -COMMAND> -COMMAND> m a 1 1 - - -[ANNOUNCEMENT ARRIVING...] - -***Enterprise caught in long range tractor beam-- -Enterprise is pulled to Quadrant 5 - 8, Sector 2 - 5 - -Enemy attack reduces shield strength to 85%, torpedoes left 10 -COMMAND> torp 2 10 10 5 8 - -Track for torpedo number 1- 3 - 6 4 - 6 5 - 7 -6 - 8 7 - 8 8 - 9 9 - 10 10 - 10 - -***Tholian at Sector 10 - 10 disappears. - -Track for torpedo number 2- 3 - 6 4 - 7 5 - 8 -***Commander at Sector 5 - 8 damaged-- displaced by blast to Sector 3 - 5 -***Internal error: Tholian in a bad spot. - -36 unit hit from Klingon at 3 - 5 - - -Energy left 2694 shields up 78%, torpedoes left 8 -COMMAND> torp 1 3 5 - -Torpedo track- 3 - 5 -***Commander at Sector 3 - 5 destroyed. -***Internal error: Tholian in a bad spot. -COMMAND> -COMMAND> m a 2 7 5 5 - -Ensign Chekov- "Course laid in, Captain." - -[ANNOUNCEMENT ARRIVING...] -Lt. Uhura- "Captain, Starfleet Intelligence reports - the Super-commander is in Quadrant 7 - 2. - -[ANNOUNCEMENT ARRIVING...] - -***Enterprise caught in long range tractor beam-- -Enterprise is pulled to Quadrant 1 - 4, Sector 7 - 4 - -152 unit hit from Klingon at 8 - 6 - - -Energy left 2294 shields up 61%, torpedoes left 7 -COMMAND> -COMMAND> p a - -Weapons Officer Sulu- "High-speed shield control enabled, sir." -Phasers locked on target. Energy available: 2094.73 -581 units required. Units to fire= 581 - -Shields lowered. - -444 unit hit on Commander at Sector 8 - 6 -***Commander at Sector 8 - 6 destroyed. - -Shields raised. -COMMAND> m a 44 - -Beg your pardon, Captain? -COMMAND> m a 4 4 - -COMMAND> m a 4 9 - - -[ANNOUNCEMENT ARRIVING...] - -Message from Starfleet Command Stardate 4676.85 - Supernova in Quadrant 4 - 7; caution advised. -COMMAND> d -Docked. -COMMAND> -COMMAND> m a 1 2 5 5 - -Ensign Chekov- "Course laid in, Captain." - -[ANNOUNCEMENT ARRIVING...] - -***Enterprise caught in long range tractor beam-- -Enterprise is pulled to Quadrant 3 - 4, Sector 2 - 10 - -108 unit hit from Klingon at 2 - 8 - -130 unit hit from Klingon at 4 - 9 - -66 unit hit from Klingon at 4 - 5 - -66 unit hit from Klingon at 6 - 5 - - -Energy left 4426 shields up 50%, torpedoes left 10 -COMMAND> -COMMAND> -COMMAND> torp 3 2 8 1 10 4 9 - -Track for torpedo number 1- 2 - 9 2 - 8 -***Commander at Sector 2 - 8 damaged-- displaced by blast to Sector 3 - 9 - -Track for torpedo number 2- 1 - 10 -***Klingon at Sector 1 - 10 destroyed. - -Track for torpedo number 3- 3 - 9 -***Commander at Sector 3 - 9 destroyed. - -132 unit hit from Klingon at 4 - 9 - -48 unit hit from Klingon at 4 - 5 - -60 unit hit from Klingon at 6 - 5 - - -Energy left 4185 shields up 43%, torpedoes left 7 -COMMAND> p a - -Weapons Officer Sulu- "High-speed shield control enabled, sir." -Phasers locked on target. Energy available: 3985.24 -639 units required. Units to fire= 539 - -Shields lowered. - -176 unit hit on Klingon at Sector 4 - 9 -***Klingon at Sector 4 - 9 destroyed. -140 unit hit on Klingon at Sector 4 - 5 -***Klingon at Sector 4 - 5 destroyed. -190 expended on empty space. - -Shields raised. - -32 unit hit from Klingon at 6 - 5 - - -Energy left 3413 shields up 42%, torpedoes left 7 -COMMAND> m a 2 5 - - -37 unit hit from Klingon at 6 - 5 - - -Energy left 3375 shields up 41%, torpedoes left 7 -COMMAND> torp 1 6 5 - -Torpedo track- 3 - 5 4 - 5 5 - 5 -6 - 5 -***Klingon at Sector 6 - 5 destroyed. -COMMAND> -COMMAND> m a 2 5 5 5 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 2 - 5. -COMMAND> orbit - -Helmsman Sulu- "Entering standard orbit, Sir." -Sulu- "Entered orbit at altitude 5580.11 kilometers." -COMMAND> beam -LEGAL COMMANDS ARE: -SRSCAN STATUS REQUEST LRSCAN -PHASERS TORPEDO PHOTONS MOVE SHIELDS -DOCK DAMAGES CHART IMPULSE REST -WARP SENSORS ORBIT TRANSPORT MINE -CRYSTALS SHUTTLE PLANETS REPORT COMPUTER -COMMANDS EMEXIT PROBE SAVE FREEZE -ABANDON DESTRUCT DEATHRAY CAPTURE CLOAK -DEBUG MAYDAY SOS CALL QUIT -HELP SCORE CURSES -COMMAND> mine - -Mining party not on planet. -COMMAND> transport - -Impossible to transport through shields. -COMMAND> sh down -Shields lowered. -COMMAND> transport - -Spock- "Captain, we have no information on this planet - and Starfleet Regulations clearly state that in this situation - you may not go down." -COMMAND> mine - -Mining party not on planet. -COMMAND> transport - -Spock- "Captain, we have no information on this planet - and Starfleet Regulations clearly state that in this situation - you may not go down." -COMMAND> m a 2 5 - -Helmsman Sulu- "Leaving standard orbit." - -[ANNOUNCEMENT ARRIVING...] - -Message from Starfleet Command Stardate 4678.15 - Supernova in Quadrant 7 - 3; caution advised. -COMMAND> m a 2 7 - -COMMAND> dock -Docked. -COMMAND> -COMMAND> sh up -Shields raised. -COMMAND> -COMMAND> m a 2 6 5 1 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 2 - 6. - -Enemy attack reduces shield strength to 77%, torpedoes left 10 - -47 unit hit from Klingon at 3 - 1 - -30 unit hit from Klingon at 9 - 3 - -36 unit hit from Klingon at 10 - 6 - -28 unit hit from Klingon at 3 - 8 - - -Energy left 4856 shields up 63%, torpedoes left 10 - -[ANNOUNCEMENT ARRIVING...] - -Message from Starfleet Command Stardate 4678.29 - Supernova in Quadrant 1 - 4; caution advised. -COMMAND> torp 3 7 4 9 3 10 6 - -Track for torpedo number 1- 6 - 2 6 - 3 7 - 4 -Star at Sector 7 - 4 novas. - -Track for torpedo number 2- 6 - 2 7 - 2 8 - 3 -9 - 3 -***Klingon at Sector 9 - 3 destroyed. - -Track for torpedo number 3- 6 - 2 7 - 3 8 - 4 -9 - 5 10 - 6 -***Klingon at Sector 10 - 6 destroyed. - -57 unit hit from Klingon at 3 - 1 - -24 unit hit from Klingon at 2 - 9 - - -Energy left 4650 shields up 57%, torpedoes left 7 -COMMAND> p a - -Weapons Officer Sulu- "High-speed shield control enabled, sir." -Phasers locked on target. Energy available: 4450.23 -601 units required. Units to fire= 439 - -Shields lowered. - -85 unit hit on Klingon at Sector 3 - 1 -***Klingon at Sector 3 - 1 destroyed. -155 unit hit on Klingon at Sector 3 - 8 -***Klingon at Sector 3 - 8 destroyed. -107 expended on empty space. - -Shields raised. - -Enemy attack reduces shield strength to 57%, torpedoes left 7 -COMMAND> p a - -Weapons Officer Sulu- "High-speed shield control enabled, sir." -Phasers locked on target. Energy available: 3811.23 -203 units required. Units to fire= 140 - -Shields lowered. - -124 unit hit on Klingon at Sector 2 - 9 -***Klingon at Sector 2 - 9 destroyed. - -Shields raised. -COMMAND> -COMMAND> m a 2 5 5 5 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 2 - 5. -COMMAND> m a 2 7 - -COMMAND> d -Enterprise not adjacent to base. -COMMAND> m a 10 5 - - -***RED ALERT! RED ALERT! -***Enterprise pulled into black hole at Sector 5 - 6 - - -It is stardate 4678.8. - -Your ship is drawn to the center of the black hole. -You are crushed into extremely dense matter. -As a result of your actions, a treaty with the Klingon -Empire has been signed. The terms of the treaty are -highly unfavorable to the Federation. - - -Your score -- - 9 ordinary Klingons destroyed 90 - 3 Klingon commanders destroyed 150 - 2.04 Klingons per stardate 1020 - 1 stars destroyed by your action -5 - 1 ship(s) lost or destroyed -100 -Penalty for getting yourself killed -200 - -TOTAL SCORE 955 -Collision detected -[CONTINUE?] - - - - - - - - - - - - - - - - - - - - - - - - - -May the Great Bird of the Galaxy roost upon your home planet. diff --git a/test/test12.log b/test/test12.log new file mode 100644 index 0000000..294f978 --- /dev/null +++ b/test/test12.log @@ -0,0 +1,19 @@ +# seed 1691778615 +# options regular medium good fancy +# SST2K version 2.7 +# Test dilithium mining +# recorded by esr@snark.thyrsus.com on Fri Aug 11 14:30:15 2023 +status +sensors +m a 3 10 +m a 6 10 +m a 6 2 +orbit +sh down +crystals +shu down +mine +shu up +status +quit +n diff --git a/test/test12.log-old b/test/test12.log-old deleted file mode 100644 index 8384adf..0000000 --- a/test/test12.log-old +++ /dev/null @@ -1,97 +0,0 @@ -# seed 1556238921 -# options regular short good fancy -# SST2K version 2.5 -# Test dilithium-crystal mining -# recorded by esr@snark.thyrsus.com on Thu Apr 25 20:35:21 2019 - -sh up - -m a 7 2 10 10 - -m a 4 2 5 5 - -m a 1 1 - -m a 4 2 5 5 - -m a 1 1 -torp 2 10 10 5 8 -torp 1 3 5 - -m a 2 7 5 5 - -p a -581 -m a 44 -m a 4 4 -m a 4 9 -d - -m a 1 2 5 5 - - -torp 3 2 8 1 10 4 9 -p a -539 -m a 2 5 -torp 1 6 5 - -m a 2 5 5 5 -orbit -beam -mine -transport -sh down -transport -mine -transport -m a 2 5 -m a 2 7 -dock - -sh up - -m a 2 6 5 1 -torp 3 7 4 9 3 10 6 -p a -439 -p a -140 - -m a 2 5 5 5 -m a 2 7 -d -m a 10 5 -torp 1 10 10 - -m a 5 5 1 1 - -m a 1 2 10 10 - -sh down - -m a 6 7 10 10 - -sh up - -m a 7 7 1 5 - -torp 3 1 10 1 2 9 2 - -m a 2 8 5 1 - -m a 3 2 1 10 - -m a 3 2 1 10 -sh down - -m a 2 5 5 5 -m a 3 6 -d - -sh up - -m a 3 2 1 10 -torp 2 6 9 - -n -- 2.31.1