From 8dc64a6b82ff8b0b5f8df8baa38d4b924f2d38bf Mon Sep 17 00:00:00 2001 From: aaron Date: Sun, 24 May 2026 11:02:31 +0200 Subject: [PATCH] added launching sounds --- scripts/actions.tin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/actions.tin b/scripts/actions.tin index 292ffe8..42aa0f1 100644 --- a/scripts/actions.tin +++ b/scripts/actions.tin @@ -45,7 +45,7 @@ #action {A message is displayed in bright red on the screen, "%*"} {#line gag} #nop complex trigger (auto-translated conditionals) #action {The computer announces, "%*"} {#line gag;#if {%1} =~ {detected in the sector} {?charlieware? {play -r gs Starship/Computer/EnemyDetected}};#elseif {%1} =~ {artifact} {?charlieware? {play -r gs Starship/Computer/Artifact}};#elseif {%1} =~ {friendly} {?charlieware? {play -r gs Starship/Computer/FriendlyShip}};#elseif {%1} =~ { relic} {?charlieware? {play -r gs Starship/Computer/Relic}};#elseif {%1} =~ {comet} {?charlieware? {play -r gs Starship/Computer/Comet}};#elseif {%1} =~ {shipwreck} {?charlieware? {play -r gs Starship/Computer/Shipwreck}};#elseif {%1} =~ {planet} {?charlieware? {play -r gs Starship/Computer/Planet}};#elseif {%1} =~ {spacestation} {?charlieware? {play -r gs Starship/Computer/SpaceStation}};#elseif {%1} =~ { star } {?charlieware? {play -r gs Starship/Computer/Star}};#elseif {%1} =~ {derelict starship} {?charlieware? {play -r gs Starship/Derelicts/AlienStarship}};#elseif {%1} =~ {asteroid} {?charlieware? {play -r gs Starship/Computer/Asteroid}};#elseif {%1} =~ {debris} {?charlieware? {play -r gs Starship/Computer/Debris}};#elseif {%1} =~ {spacebear} {?charlieware? {play -r gs Starship/Computer/Spacebear}};#elseif {%1} =~ {Beam locked} {?charlieware? {play -r gs Starship/Computer/Warning}};#elseif {%1} =~ {debris cloud} {?charlieware? {play -r gs Vehicle/Store}};#elseif {%1} =~ {has been salvaged} {?charlieware? {play -r gs Starship/Misc/Prepared}};#elseif {%1} =~ {A present disruption field prevents safe travel out of the sector} {?charlieware? {play -r gs Starship/Move/NAVI_Interrupted}};#elseif {%1} =~ {This weapon system is disabled} {?charlieware? {play -r gs General/Misc/Cancel}};#elseif {%1} =~ {This ship transmits} {?charlieware? {play -r gs General/Channels/Sector}};#elseif {%1} =~ {This starship is not equipped with the landing equipment needed to land on asteroids} {?charlieware? {play -r gs Starship/Move/LandingImpossible}};#elseif {%1} =~ {that component is damaged beyond repair} {?charlieware? {play -r gs Starship/Computer/Warning}};#elseif {%1} =~ {recharging} {?charlieware? {play -r gs Starship/Misc/BatteryRecharging}};#elseif {%1} =~ {deployed for repair of} {?charlieware? {play -r gs Starship/Computer/RepairStart}};#elseif {%1} =~ {completed repair of} {?charlieware? {play -r gs Starship/Computer/RepairComplete}};#elseif {%1} =~ {Current repair aborted} {?charlieware? {play -r gs Starship/Computer/RepairAborted}};#elseif {%1} =~ {banks empty} {?charlieware? {play -r gs Starship/Computer/Warning}};#elseif {%1} =~ {WARNING} {?charlieware? {play -r gs Starship/Computer/Warning}};#elseif {%1} =~ {Autopilot engaged} {?charlieware? {play -r gs General/Devices/Activate}};#elseif {%1} =~ {Autopilot disengaged} {?charlieware? {play -r gs General/Devices/Deactivate}};#elseif {%1} =~ {damage taken from an explosion on the surface} {?charlieware? {play -r gs Starship/Harvesting/EquipmentDamaged}};#elseif {%1} =~ {no minerals detected} {?charlieware? {play -r gs Starship/Harvesting/NoMinerals}};#elseif {%1} =~ {is not equipped for asteroid landing} {?charlieware? {play -r gs Starship/Move/LandingImpossible}};#elseif {%1} =~ {landing impossible when} {?charlieware? {play -r gs Starship/Move/LandingImpossible}};#elseif {%1} =~ {Mission completed} {?charlieware? {play -r gs General/Misc/Congratulations}};#elseif {%1} =~ {Not enough shells left to fire} {?charlieware? {play -r gs Starship/Computer/Warning}};#elseif {%1} =~ {cannot refine all the material in the storage compartment} {?charlieware? {play -r gs Vehicle/RefineryFull}};#elseif {%1} =~ {on shipwreck} {?charlieware? {play -r gs General/Shipwrecks/BeamLockedOn}};#elseif {%1} =~ {self-destruct sequence initiated} {?charlieware? {play -r gs Starship/Misc/SelfDestructStart}};#elseif {%1} =~ {^Sixty\.$} {?charlieware? {play -r gs Starship/Misc/SelfDestructSixty}};#elseif {%1} =~ {^Thirty\.$} {?charlieware? {play -r gs Starship/Misc/SelfDestructThirty}};#elseif {%1} =~ {^Ten\.$} {?charlieware? {play -r gs Starship/Misc/SelfDestructTen}};#elseif {%1} =~ {^Five\.$} {?charlieware? {play -r gs Starship/Misc/SelfDestructFive}};#elseif {%1} =~ {^Four\.$} {?charlieware? {play -r gs Starship/Misc/SelfDestructFour}};#elseif {%1} =~ {^Three\.$} {?charlieware? {play -r gs Starship/Misc/SelfDestructThree}};#elseif {%1} =~ {^Two\.$} {?charlieware? {play -r gs Starship/Misc/SelfDestructTwo}};#elseif {%1} =~ {^One\.$} {?charlieware? {play -r gs Starship/Misc/SelfDestructOne}};#elseif {%1} =~ {beginning ground dock} {?charlieware? {play -r gs Starship/Move/DockingBayDoorOpen}};#elseif {%1} =~ {spacepowerup mode engaged} {?charlieware? {play -r gs Ship/Misc/SpacePowerStartup}};#elseif {%1} =~ {Weapon fire blocked by shields} {?charlieware? {play -r cs Space/FireReflected}};#elseif {%1} =~ {grenade firing complete} {?charlieware? {play -r cs Ground/GrenadeExplode}};#elseif {%1} =~ {computer piping} {?charlieware? {play -r gs Starship/Computer/PipeOn}};#elseif {%1} =~ {disabled} {?charlieware? {play -r gs Starship/Computer/PipeOff}};#elseif {%1} =~ {Locked onto} {?charlieware? {play -r cs Space/LockedOnOther}};#elseif {%1} =~ {Detected an attempt to launch the ship while drunk} {?charlieware? {play -r gs General/Misc/Cancel}};#elseif {%1} =~ {Firmware upgrade complete} {?charlieware? {play -r gs Combat/Space/ArmorPiercingChipDone}};#elseif {%1} =~ {Scanning} {?charlieware? {play -r gs Starship/Misc/Scanning}};#elseif {%1} =~ {Gathering data} {?charlieware? {play -r gs Starship/Misc/Scanning}}} -#action {~^Computer in (.*)\, "(.*)"$} {#line gag} +#action {~^Computer in (.*)\, "(.*)"$} {#line gag;#if {%2} =~ {detected in the sector} {?charlieware? {play -r gs Starship/Computer/EnemyDetected}};#elseif {%2} =~ {artifact} {?charlieware? {play -r gs Starship/Computer/Artifact}};#elseif {%2} =~ {friendly} {?charlieware? {play -r gs Starship/Computer/FriendlyShip}};#elseif {%2} =~ {relic} {?charlieware? {play -r gs Starship/Computer/Relic}};#elseif {%2} =~ {comet} {?charlieware? {play -r gs Starship/Computer/Comet}};#elseif {%2} =~ {shipwreck} {?charlieware? {play -r gs Starship/Computer/Shipwreck}};#elseif {%2} =~ {planet} {?charlieware? {play -r gs Starship/Computer/Planet}};#elseif {%2} =~ {spacestation} {?charlieware? {play -r gs Starship/Computer/SpaceStation}};#elseif {%2} =~ { star } {?charlieware? {play -r gs Starship/Computer/Star}};#elseif {%2} =~ {derelict starship} {?charlieware? {play -r gs Starship/Derelicts/AlienStarship}};#elseif {%2} =~ {asteroid} {?charlieware? {play -r gs Starship/Computer/Asteroid}};#elseif {%2} =~ {debris} {?charlieware? {play -r gs Starship/Computer/Debris}};#elseif {%2} =~ {spacebear} {?charlieware? {play -r gs Starship/Computer/Spacebear}};#elseif {%2} =~ {WARNING} {?charlieware? {play -r gs Starship/Computer/Warning}};#elseif {%2} =~ {Beam locked} {?charlieware? {play -r gs Starship/Computer/Warning}};#elseif {%2} =~ {recharging} {?charlieware? {play -r gs Starship/Misc/BatteryRecharging}};#elseif {%2} =~ {deployed for repair of} {?charlieware? {play -r gs Starship/Computer/RepairStart}};#elseif {%2} =~ {completed repair of} {?charlieware? {play -r gs Starship/Computer/RepairComplete}};#elseif {%2} =~ {Current repair aborted} {?charlieware? {play -r gs Starship/Computer/RepairAborted}};#elseif {%2} =~ {Autopilot engaged} {?charlieware? {play -r gs General/Devices/Activate}};#elseif {%2} =~ {Autopilot disengaged} {?charlieware? {play -r gs General/Devices/Deactivate}};#elseif {%2} =~ {Mission completed} {?charlieware? {play -r gs General/Misc/Congratulations}};#elseif {%2} =~ {self-destruct sequence initiated} {?charlieware? {play -r gs Starship/Misc/SelfDestructStart}};#elseif {%2} =~ {Scanning} {?charlieware? {play -r gs Starship/Misc/Scanning}};#else {?charlieware? {play -r gs Starship/Computer/Display}}} #action {No repair drones available.} {?charlieware? {play -r gs General/Misc/Cancel}} #action {Only owners can do this.} {?charlieware? {play -r gs General/Misc/Cancel}} #action {You can't %* while %*.} {?charlieware? {play -r gs General/Misc/Cancel}} @@ -264,7 +264,7 @@ #action {The yellow light turns to green.} {?charlieware? {stop gs}} #action {The smooth hum of the engines builds up a bit as the ship begins moving.} {#line gag;?charlieware? {play -r gs Starship/Move/Accelerate}} #action {The hum of the engines settles down as the ship stops moving.} {#line gag;?charlieware? {play -r gs Starship/Move/Decelerate}} -#action {You hear the sound of the ship's engine as you are propelled toward space.} {#line gag} +#action {You hear the sound of the ship's engine as you are propelled toward space.} {#line gag;?charlieware? {play -r gs Starship/Move/YouLaunch3}} #action {You feel the starship accelerate as it moves toward a %*} {#line gag} #action {That space is occupied.} {?charlieware? {play -r gs Starship/Move/SameSpace}} #action {Those coordinates are occupied by this ship.} {?charlieware? {play -r gs Starship/Move/SameSpace}} @@ -336,7 +336,7 @@ #action {The ship shudders as the lasers are fired.} {#line gag} #action {The ship starts to vibrate as the long-range laser begins to draw energy.} {#line gag} #action {The vibration ceases as the long-range laser powers down.} {#line gag} -#action {The roar of the engine calms as the starship completes its launch.} {#line gag} +#action {The roar of the engine calms as the starship completes its launch.} {#line gag;?charlieware? {play -r gs Starship/Move/YouLaunch3}} #action {You notify flight control of your desire to %*} {?charlieware? {play -r gs General/Comm/CommChirp1}} #action {You hear the sound of the engines as the ship begins to move.} {#line gag;?charlieware? {play -r gs Starship/Move/Accelerate}} #action {The engine stops as the ship arrives at a destination.} {#line gag;?charlieware? {play -r gs Starship/Move/Decelerate}}