From e8ffad9db0b99a1fa1258016e6a19cc7e7d70f93 Mon Sep 17 00:00:00 2001 From: Alex Dawn Date: Sat, 23 Mar 2024 19:01:19 +0000 Subject: [PATCH] add shop pages --- js-terminal/commands/shop/index.mjs | 183 ++++++++++++++++++++++++++++ js-terminal/util/io.js | 8 +- 2 files changed, 187 insertions(+), 4 deletions(-) create mode 100644 js-terminal/commands/shop/index.mjs diff --git a/js-terminal/commands/shop/index.mjs b/js-terminal/commands/shop/index.mjs new file mode 100644 index 0000000..32d92e9 --- /dev/null +++ b/js-terminal/commands/shop/index.mjs @@ -0,0 +1,183 @@ +// note these prices are 2 or 5-10x larger than in the book +// fluff reason we are on the edge of space +const output = [ +` +Expedition shop + +Ask about company discount or leasing options! + +=== Weapons === +M4A3 Pistol $1000 +.357 Revolver $3000 +Remix RXF-M5 EVA Pistol $4000 + +Rexim RXF-M5A3 EVA Pistol $5000 (FREE LAG included!) +Hyperdyne .357 Fronter Revolver $1000 +Gorham .44 Magnum Pistol $6000 +UPP MP-4043 Grach Special $9000 + +Armat M41A Pulse Rifle $6000 +AK-4047 $4000 +M42A Scope Rfile $10000 +Armat Model 37A2 shotgun $5000 +Armat XM99A Plasma Rifle UNAVAILABLE +Weyland ES-7 supernova shockgun $12000 +Weyland Storm Rifle $30000 +Rexim RXF-M4 EVA Mining Laser $4000 +Weyland Flammenmacher 3 HIU $20000 + +Stun Baton $160 + +rounds VARIES +U-238 tipped rounds $600 +KIP Baton Rounds $60 +Wildcatter B9 Blasting Charge $400 + +=== Suits & Apparel === + +M3 Armour $2400 +IRC Mk50 Suit $30000 +IRC Mk35 SUit $4000 +Eco All-world Surival Suit $60000 +WY APEsuit $10000 +Caterpillar P-5000 $100000 + +Expedition fatigues $110 +M7A Dry Boots $300 +M8A2 Thermal Boots $350 +M11 "Platypus" Fins $200 +Lifevest $120 +Kevlar Riot vest $1200 +Cold weather parka $200 +Full Face Personal Rebreather $200 +professional hazmat suit $2000 +biohazard suit $1200 +Presidium Mark VIII Advance SE Suit + $3200 +CCC4 Cosmos Corp Compression Suit + $10000 +ECO2 ALl world Systems HP Survival Suit + $40000 +YAWS3 Yutani All Weather Singular Surival Shelter + $60000 now $40000! +Omni-Tech EL7-HXC Emergency Landing Hex Capsule + $300000 now $200000! + +=== Gear === + +Watatsumi DV-303 Bolt Gun $800 +M72 Starshell Flare Pistol $250 +Spacesub ASSO-400 harpoon $1200 +Knife $50 +Cutting Torch $600 +Maintenance Jack $300 +Electronics Tools $500 + +Heavy Safari pack $200 +CBR Detection Kit $1000 +LAG (Laser Attunement Guide) $400 +TNR High beam shoulder lamp $60 +mining tool kit $600 +folding spade and digging fork $50 +folding winch $80 (Free Rope!) +polymer climbing rope $80 +PDT/L Locator Tube set $200 +Omni tech sonic deterrent defence grid (SDDG) $100000 per 36m (bulk discounts!) + +=== medicals === + +Medkit $100 +surgical kit $400 +pauling medpod $4 mil +autodoc $1 mil + +nerversleep pills $2 +hydr8tion $5 +naproleve $20 +recreational VARIES + +=== food & drink === + +prefab meal $20 +water bottle $10 +"bug juice" protein drink $15 +carbonated beverages $15 +candy bar $5 +coffee $1.5 +WY Aspen beer $8 +Souta Dry beer $6 +hard liquor $20-$1000 +specialty meals $300 + +=== optics === + +optical scope $120 +hi-beam flashlight $45 +binoculars $100 +m314 motion tracker $1200 +m316 motion tracker $3000 +head-mounted sight $400 +neuro visor $20000 +PUPS mapping device $50000 +Seegson Microview2000SE $50000 + +=== Electronics === + +Terminal VARIES +Long-Data Disc $60 +Magnetic Tape $5 +PR-PUT uplink terminal $18000 +Seegson C-series magnetic tape recorder + $150 +Samani E-series watch $200 +PDT $100 +IFF transponder $250 +Data Transmitter Card $100 +Seegson P-DAT $1000 +Seegson system diagnostic $600 +holotab $200000 +modular computing device $1600 + +=== Vehicles === +Daihotai Tractor $40000 +Weyland NR-9 ATV $6000 +M577 APC $1 mil +Aerodyne Gyrocar $80k +WY-37B Cargo Lifter Sled $1.6 mil + +Alphatech XT37C 4x4 off road $80000 +Weyland Rover RT series $600000 +WY 6x6 Terra Truck $800000 +Mikoyan-Liu OX Series HAMPV $1.2 mil +WY Colonial Construction Vehicle $600000 +COBB-C/D "Grasshopper" Helijet $200000 +UA Northridge Model UC-3G Shuttle $4.9 mil +UA Northridge Cheyenne UD-4B $3.9 mil +Weyland EVA-7C RRSPP $1 mil +WY Lander Drop Shuttle $2.4 mil + +=== Craft === + +Weyland Class D EEV $8 mil +Lockmart Model 439SL Class 7 Excavator $4 mil +SEV Heliades class J UNAVAILABLE +SEV class J $40 mil +Lockmart TB22C Borrowdale class R $1 mil +WY CY78.3 Affiance Class U UNAVAILABLE +Lockmark and Welsun 3300B Deucalion Class X UNAVAILABLE (available in 4 years) + +Bespoke craft can be manufactured, prices from: +Class A EEV $100k +Class B EEV $250k +Class C $4 mil +Class G $17 mil +Class M $36 mil +Class R $0.8 bil +Class J $40 mil +Class U $1 bil +Class X $4 bil +` +]; + +export { output }; + diff --git a/js-terminal/util/io.js b/js-terminal/util/io.js index 45bce76..bc59a83 100644 --- a/js-terminal/util/io.js +++ b/js-terminal/util/io.js @@ -87,10 +87,10 @@ export async function type( if (!text) return Promise.resolve(); let { - wait = 30, - initialWait = 1000, - finalWait = 500, - lineWait = 100, + wait = 15, + initialWait = 250, + finalWait = 250, + lineWait = 50, typerClass = "", useContainer = false, stopBlinking = true,