Code: Select all
"use strict";
this.allowOfferShip = function(shipKey) {
if ((shipKey=="gecko-player") || (shipKey=="krait-player") || (shipKey=="sidewinder-player") || (shipKey=="adder-player")) {
if (system.economy <= 6) {
return true;
} else {
return false;
}
}
return true;
}
Code: Select all
"gecko-player" =
{
chance = 0.5;
"optional_equipment" =
(
"EQ_ECM",
"EQ_FUEL_SCOOPS",
"EQ_PASSENGER_BERTH",
"EQ_ESCAPE_POD",
"EQ_ENERGY_BOMB",
"EQ_ENERGY_UNIT",
"EQ_DOCK_COMP",
"EQ_WEAPON_PULSE_LASER",
"EQ_WEAPON_BEAM_LASER",
"EQ_WEAPON_MINING_LASER",
"EQ_FUEL_INJECTION",
"EQ_SCANNER_SHOW_MISSILE_TARGET",
"EQ_MULTI_TARGET",
"EQ_GAL_DRIVE",
"EQ_ADVANCED_COMPASS",
"EQ_SHIELD_BOOSTER",
"EQ_HEAT_SHIELD"
);
price = 40000;
"standard_equipment" =
{
extras = "";
"forward_weapon_type" = "EQ_WEAPON_PULSE_LASER";
};
techlevel = 4;
"weapon_facings" = 1;
"condition_script" = "fe_conditions.js";
};
Suggestions/corrections welcomed