Skip to content

Commit

Permalink
Weapon type could now be any string depending on what equipment is pr…
Browse files Browse the repository at this point in the history
…esent.
  • Loading branch information
cim-- committed Jan 17, 2015
1 parent edf5948 commit 948dc08
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions Schemata/shipdataEntrySchema.plist
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 948dc08

Please sign in to comment.