Weapon type could now be any string depending on what equipment is present.

master
cim 2015-01-17 14:36:42 +00:00
parent edf5948962
commit 948dc08c01
1 changed files with 4 additions and 18 deletions

View File

@ -17,10 +17,10 @@
accuracy = "float";
max_energy = "positiveFloat";
energy_recharge_rate = "positiveFloat";
forward_weapon_type = "$weaponType";
aft_weapon_type = "$weaponType";
port_weapon_type = "$weaponType";
starboard_weapon_type = "$weaponType";
forward_weapon_type = "string";
aft_weapon_type = "string";
port_weapon_type = "string";
starboard_weapon_type = "string";
weapon_facings = "positiveInteger";
weapon_energy = "positiveFloat";
weapon_range = "positiveFloat";
@ -165,20 +165,6 @@
$definitions =
{
// "Special" types referred to above.
$weaponType =
{
type = "enumeration";
values =
(
"WEAPON_NONE",
"WEAPON_PLASMA_CANNON",
"WEAPON_PULSE_LASER",
"WEAPON_BEAM_LASER",
"WEAPON_MINING_LASER",
"WEAPON_MILITARY_LASER",
"WEAPON_THARGOID_LASER"
);
};
$materialDict =
{
type = "dictionary";