Skip to content

Commit 203f40c

Browse files
authored
Merge pull request #695 from OoliteProject/more_verifyoxp_updates
2 parents 32b09d5 + 6847822 commit 203f40c

2 files changed

Lines changed: 56 additions & 1 deletion

File tree

Resources/Config/verifyOXP.plist

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@
285285
"heat_insulation",
286286
"hyperspace_motor",
287287
"hyperspace_motor_spin_time",
288+
"injector_burn_rate",
289+
"injector_speed_factor",
288290
"isCarrier",
289291
"is_carrier",
290292
"is_external_dependency",
@@ -318,15 +320,20 @@
318320
"rotational_velocity",
319321
"scanClass",
320322
"scan_class",
323+
"scan_description",
321324
"scanner_display_color1",
322325
"scanner_display_color2",
326+
"scanner_hostile_display_color1",
327+
"scanner_hostile_display_color2",
323328
"scanner_range",
324329
"scoop_position",
325330
"script",
326331
"script_actions",
327332
"script_info",
328333
"setup_actions",
329334
"shaders",
335+
"ship_class_name",
336+
"ship_name",
330337
"show_damage",
331338
"smooth",
332339
"starboard_weapon_type",

Resources/Schemata/shipdataEntrySchema.plist

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@
1212
allows_auto_docking = "boolean";
1313
allows_fast_docking = "boolean";
1414
auto_ai = "boolean";
15+
auto_weapons = "boolean";
1516
beacon = "string";
17+
beacon_label = "string";
1618
bounty = "positiveInteger";
1719
cargo_carried = "$cargoCarried";
1820
cargo_type = "$cargoType";
1921
cloak_passive = "boolean";
2022
cloak_automatic = "boolean";
23+
condition_script = "$scriptFileName";
2124
conditions = "$scriptConditionList";
2225
counts_as_kill = "boolean";
2326
custom_views = { type = "array"; valueType = "$customViewSpec"; };
@@ -34,10 +37,13 @@
3437
escape_pod_model = "$shipRole"; // old, deprecated
3538
escorts = { type = "positiveInteger"; maximum = 16; };
3639
escort_role = "$shipRole";
40+
escort_roles = { type = "array"; valueType = "$escortRolesSpecifier"; };
3741
escort-role = "$shipRole";
3842
escort_ship = "$shipKey";
3943
escort-ship = "$shipKey";
4044
exhaust = { type = "array"; valueType = "$exhaustSpecifier"; };
45+
exhaust_emissive_color = "$colorSpecifier";
46+
explosion_type = { type = "array"; valueType = "string"; };
4147
extra_cargo = "positiveInteger";
4248
extra_equipment = "$extraEquipmentDictionary";
4349
fire_rate = { type = "positiveFloat"; minimum = 0.25; };
@@ -65,6 +71,8 @@
6571
hud = "$hudFileName";
6672
hyperspace_motor = "boolean";
6773
hyperspace_motor_spin_time = "positiveFloat";
74+
injector_burn_rate = "positiveFloat";
75+
injector_speed_factor = "positiveFloat";
6876
interstellar_undocking = "boolean";
6977
is_carrier = "boolean";
7078
isCarrier = "boolean";
@@ -77,6 +85,11 @@
7785
like_ship = "$shipRole";
7886
likely_cargo = "positiveInteger";
7987
market = "string";
88+
market_broadcast = "boolean";
89+
market_capacity = "positiveInteger";
90+
market_definition = { type = "array"; valueType = "$commoditySpecifier"; };
91+
market_monitored = "boolean";
92+
market_script = "$scriptFileName";
8093
materials = "$materialDict";
8194
max_cargo = "positiveInteger";
8295
max_defense_ships = "positiveInteger";
@@ -105,15 +118,21 @@
105118
rotational_velocity = "quaternion";
106119
scan_class = "$scanClass";
107120
scanClass = "$scanClass";
121+
scan_description = "string";
108122
scanner_display_color1 = "$colorSpecifier";
109123
scanner_display_color2 = "$colorSpecifier";
124+
scanner_hostile_display_color1 = "$colorSpecifier";
125+
scanner_hostile_display_color2 = "$colorSpecifier";
110126
scanner_range = "positiveFloat";
111127
scoop_position = "vector";
112128
script = "$scriptFileName";
113129
script_actions = "$scriptActions";
114130
script_info = "dictionary";
115131
setup_actions = "$scriptActions";
116132
shaders = "$materialDict";
133+
ship_name = "string";
134+
ship_class_name = "string";
135+
show_damage = "boolean";
117136
smooth = "boolean";
118137
starboard_weapon_type = "string";
119138
station_roll = "float";
@@ -131,6 +150,7 @@
131150
view_position_starboard = "vector";
132151
weapon_energy = "positiveFloat";
133152
weapon_facings = "positiveInteger";
153+
weapon_mount_mode = "$weaponMountMode";
134154
weapon_position_aft = "$weaponPosition";
135155
weapon_position_forward = "$weaponPosition";
136156
weapon_position_port = "$weaponPosition";
@@ -186,6 +206,31 @@
186206
vertex_shader = "$shaderFileName";
187207
};
188208
};
209+
$escortRolesSpecifier = {
210+
type = "dictionary";
211+
schema = {
212+
role = "string";
213+
min = "integer";
214+
max = "integer";
215+
};
216+
};
217+
$commoditySpecifier = {
218+
type = "dictionary";
219+
schema = {
220+
type = { type = "enumeration"; values = ( "good", "class", "default" ); };
221+
name = "string";
222+
requiredKeys = ( "type" );
223+
capacity = "positiveInteger";
224+
legality_export = "integer";
225+
legality_import = "integer";
226+
price_adder = "float";
227+
price_multiplier = "float";
228+
price_randomiser = "float";
229+
quantity_adder = "float";
230+
quantity_multiplier = "float";
231+
quantity_randomiser = "float";
232+
};
233+
};
189234
$textureSpecifier = {
190235
type = "oneOf";
191236
options = (
@@ -253,7 +298,10 @@
253298
type = "oneOf";
254299
options = ( "vector", "array" );
255300
};
256-
301+
$weaponMountMode = {
302+
type = "enumeration";
303+
values = ( "single", "split", "multiply" );
304+
};
257305
// Types handled in code.
258306
$modelName = {
259307
type = "delegatedType";

0 commit comments

Comments
 (0)