Back to Index Page generated: Nov 12, 2024, 11:02:04 PM

Expansion Escape Pod As Standard

Content

Manifest

from Expansion Manager's OXP list from Expansion Manifest
Description Awards Escape Pod to the player ship and makes it immune to damage. Press \"i\" for more information. - - - - - - - - - - By granting the player a free escape pod they can escape at the cost of their cargo. It's the one piece of equipment in the core (non-ironman) game that typically leaves you disadvantaged when you use it. Starting again (or at least reloading a save) would actually be a less costly action in a great many cases, so as freebies go this is of questionable monetary value. It is however a way to keep a game and the 'player story' going that might otherwise need to be restarted. The player pays for a bad encounter rather than being destroyed by it. The penalty is losing your cargo, and some (often extensive) damage to your equipment, without also paying a 1,000 credits for the privilege (which is not even affordable from the standard game start). Awards Escape Pod to the player ship and makes it immune to damage. Press \"i\" for more information. - - - - - - - - - - By granting the player a free escape pod they can escape at the cost of their cargo. It's the one piece of equipment in the core (non-ironman) game that typically leaves you disadvantaged when you use it. Starting again (or at least reloading a save) would actually be a less costly action in a great many cases, so as freebies go this is of questionable monetary value. It is however a way to keep a game and the 'player story' going that might otherwise need to be restarted. The player pays for a bad encounter rather than being destroyed by it. The penalty is losing your cargo, and some (often extensive) damage to your equipment, without also paying a 1,000 credits for the privilege (which is not even affordable from the standard game start).
Identifier oolite.oxp.redspear.escape_pod_as_standard oolite.oxp.redspear.escape_pod_as_standard
Title Escape Pod As Standard Escape Pod As Standard
Category Mechanics Mechanics
Author Redspear Redspear
Version 1.2 1.2
Tags
Required Oolite Version
Maximum Oolite Version
Required Expansions
Optional Expansions
Conflict Expansions
Information URL http://aegidian.org/bb/viewtopic.php?f=4&t=20580 n/a
Download URL https://wiki.alioth.net/img_auth.php/e/e2/Oolite.oxp.redspear.escape_pod_as_standard.oxz n/a
License CC-BY-NC-SA 4.0 CC-BY-NC-SA 4.0
File Size n/a
Upload date 1612035665

Documentation

Also read http://wiki.alioth.net/index.php/Escape%20Pod%20As%20Standard

ReadMe.rtf

{\rtf1\ansi\deff3\adeflang1025
{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq0\fcharset0 Times New Roman;}{\f4\fnil\fprq2\fcharset0 Microsoft YaHei;}{\f5\fswiss\fprq0\fcharset128 Arial;}}
{\colortbl;\red0\green0\blue0;\red128\green128\blue128;}
{\stylesheet{\s0\snext0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057 Default;}
{\s15\sbasedon0\snext16{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\sb240\sa120\keepn\cf0\hich\af4\langfe2052\dbch\af2\loch\f2\fs28\lang2057 Heading;}
{\s16\sbasedon0\snext16{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\sb0\sa120\cf0\hich\af3\langfe2052\dbch\af3\loch\f3\fs24\lang2057 Text body;}
{\s17\sbasedon16\snext17{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\sb0\sa120\cf0\hich\af3\langfe2052\dbch\af5\loch\f3\fs24\lang2057 List;}
{\s18\sbasedon0\snext18{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\sb120\sa120\cf0\i\hich\af3\langfe2052\dbch\af5\ai\loch\f3\fs24\lang2057 Caption;}
{\s19\sbasedon0\snext19{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\hich\af3\langfe2052\dbch\af5\loch\f3\fs24\lang2057 Index;}
}{\info{\creatim\yr0\mo0\dy0\hr0\min0}{\revtim\yr0\mo0\dy0\hr0\min0}{\printim\yr0\mo0\dy0\hr0\min0}{\comment OpenOffice}{\vern4170}}\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720\deftab720

{\*\pgdsctbl
{\pgdsc0\pgdscuse195\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\pgdscnxt0 Default;}}
\formshade{\*\pgdscno0}\paperh15840\paperw12240\margl1800\margr1800\margt1440\margb1440\sectd\sbknone\sectunlocked1\pgndec\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
\pgndec\pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
Escape Pod as Standard 1.2}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
Author: Redspear}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
Licence: Creative Commons Attribution-Noncommercial-Share Alike 4.0 }
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
What it Does:}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
Makes the equipment item 'Escape Pod' standard issue for every player ship.}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
Just like a ship's hyperdrive it will neither show on the ship's inventory nor will it be subject to damage.}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
Upon use, the player will be docked in a replacement ship but with some/most equipment damaged or present but not integrated/properly installed.}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
Rationale:}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
The early game can be brutal and when a combat goes badly the only option is sometimes to start again.}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
By granting the player a free escape pod they can escape at the cost of their cargo.  It's the one piece of equipment in the core (non-ironman) game that typically leaves you disadvantaged when you use it (besides the loss of the item itself). Starting again (or at least reloading a save) would actually be a less costly action in a great many cases, so as freebies go this is of questionable monetary value.}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
It is however a way to keep a game and the player story going that might otherwise need to be restarted. The player pays for a bad encounter rather than being destroyed by it. The penalty is losing your cargo, not paying a 1,000 credits for the privelage (which is not even affordable in the standard game start).}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
Although possible for the beginning player to eject and be left with no cargo and no money, they will at least sometimes be able to sell missiles or even their laser. If they really do become stuck they can either tough it out with a bit of asteroid destruction in a safer system or return to the time honoured choice of starting again.}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
As for being free, GalCop likely makes money from almost every trade taking place within its stations. To facilitate this trade requires enormous investment: stations; police; shipping; and traders.}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
When you buy goods, equipment, repairs, fuel or even a new ship it's either from them or they're taking a cut. When you sell goods for a profit you're still saving them the shipping fee and when you sell for a loss (by shipping them where there's less demand) you're still compensating them with that loss. To keep the profits rolling in they need a regular suply of traders to dock despite the considerable risks those traders have to take.}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
Ever noticed how a full set of equipment can cost more than your ship? Well, when they replace it for you, they'd like to be compensated for that too. So yes, they'll replace your equipment for you but not all of it will be fully installed. If you want that then you'll have to pay for it; which will likely be at one of their stations which will involve more money going to them.}
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057\sb100\sa100{\rtlch \ltrch\loch
Sure, beginning traders are costing them money when they eject but meanwhile they're gaining experience, earning more money and performing more trade. To GalCop, you're just another investment...\line \line \line \line }
\par \pard\plain \s0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\nowidctlpar\cf0\hich\af3\langfe2057\dbch\af3\afs24\lang1081\loch\f3\fs24\lang2057{\rtlch \ltrch\loch
}
\par }

Equipment

Name Visible Cost [deci-credits] Tech-Level
Escape Pod no 10000 7+

Ships

This expansion declares no ships.

Models

This expansion declares no models.

Scripts

Path
Scripts/escape_pod_as_standard.js
this.name        = "escape_pod_as_standard"; 
this.author      = "Redspear"; 
this.copyright   = "2021 Redspear";
this.licence     = "CC BY-NC-SA 4.0"; 
this.description = "Script to add escape pod to the player ship"; 
this.version     = "1.2";

"use strict";

// make sure player ship has working escape pod
this.startUp = this.shipWillLaunchFromStation = function()
{
	this.$escapeFlag = 0;	// reset flag
	
	if (player.ship.equipmentStatus("EQ_ESCAPE_POD") != "EQUIPMENT_OK")
		{player.ship.removeEquipment("EQ_ESCAPE_POD");
		player.ship.awardEquipment("EQ_ESCAPE_POD");}
	
	else
	return
}
		
this.shipLaunchedEscapePod = function()
{
    this.$escapeFlag = 1;	// eject recorded
}

this.shipDockedWithStation = function()
{
	if (this.$escapeFlag == 1)	// eject detected
	
		{
		
		if (player.ship.equipmentStatus("EQ_ECM") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_ECM", "EQUIPMENT_DAMAGED");}

		if (player.ship.equipmentStatus("EQ_FUEL_SCOOPS") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_FUEL_SCOOPS", "EQUIPMENT_DAMAGED");}

		if (player.ship.equipmentStatus("EQ_ENERGY_UNIT") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_ENERGY_UNIT", "EQUIPMENT_DAMAGED");}
	
		if (player.ship.equipmentStatus("EQ_DOCK_COMP") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_DOCK_COMP", "EQUIPMENT_DAMAGED");}	
	
		if (player.ship.equipmentStatus("EQ_GAL_DRIVE") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_GAL_DRIVE", "EQUIPMENT_DAMAGED");}	
	
		if (player.ship.equipmentStatus("EQ_SCANNER_SHOW_MISSILE_TARGET") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_SCANNER_SHOW_MISSILE_TARGET", "EQUIPMENT_DAMAGED");}
	
		if (player.ship.equipmentStatus("EQ_MULTI_TARGET") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_MULTI_TARGET", "EQUIPMENT_DAMAGED");}
	
		if (player.ship.equipmentStatus("EQ_ADVANCED_COMPASS") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_ADVANCED_COMPASS", "EQUIPMENT_DAMAGED");}
	
		if (player.ship.equipmentStatus("EQ_ADVANCED_NAVIGATIONAL_ARRAY") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_ADVANCED_NAVIGATIONAL_ARRAY", "EQUIPMENT_DAMAGED");}
	
		if (player.ship.equipmentStatus("EQ_TARGET_MEMORY") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_TARGET_MEMORY", "EQUIPMENT_DAMAGED");}
	
		if (player.ship.equipmentStatus("EQ_INTEGRATED_TARGETING_SYSTEM") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_INTEGRATED_TARGETING_SYSTEM", "EQUIPMENT_DAMAGED");}
	
		if (player.ship.equipmentStatus("EQ_SHIELD_BOOSTER") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_SHIELD_BOOSTER", "EQUIPMENT_DAMAGED");}
	
		if (player.ship.equipmentStatus("EQ_NAVAL_SHIELD_BOOSTER") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_NAVAL_SHIELD_BOOSTER", "EQUIPMENT_DAMAGED");}
	
		if (player.ship.equipmentStatus("EQ_WORMHOLE_SCANNER") == "EQUIPMENT_OK")
			{player.ship.setEquipmentStatus("EQ_WORMHOLE_SCANNER", "EQUIPMENT_DAMAGED");}
		
		}

}