mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Merge pull request #441 from Pax1601/440-refuelling-misspelled-as-refueling
Missing Ls added
This commit is contained in:
commit
c51d00673d
2
client/@types/olympus/index.d.ts
vendored
2
client/@types/olympus/index.d.ts
vendored
@ -553,7 +553,7 @@ declare module "interfaces" {
|
||||
acquisitionRange?: number;
|
||||
engagementRange?: number;
|
||||
refuelsFrom?: string;
|
||||
refuelingType?: string;
|
||||
refuellingType?: string;
|
||||
}
|
||||
export interface UnitSpawnOptions {
|
||||
roleType: string;
|
||||
|
||||
@ -53,7 +53,7 @@ class AirUnitEditor extends uniteditor_1.UnitEditor {
|
||||
(0, utils_1.addStringInput)(this.contentDiv2, "Filename", (_a = blueprint.filename) !== null && _a !== void 0 ? _a : "", "text", (value) => { blueprint.filename = value; });
|
||||
(0, utils_1.addStringInput)(this.contentDiv2, "Cost", (_b = String(blueprint.cost)) !== null && _b !== void 0 ? _b : "", "number", (value) => { blueprint.cost = parseFloat(value); });
|
||||
(0, utils_1.addStringInput)(this.contentDiv2, "Rufels from", (_c = String(blueprint.refuelsFrom)) !== null && _c !== void 0 ? _c : "", "text", (value) => { blueprint.refuelsFrom = value; });
|
||||
(0, utils_1.addStringInput)(this.contentDiv2, "Refueling type", (_d = String(blueprint.refuelingType)) !== null && _d !== void 0 ? _d : "", "text", (value) => { blueprint.refuelingType = value; });
|
||||
(0, utils_1.addStringInput)(this.contentDiv2, "Refuelling type", (_d = String(blueprint.refuellingType)) !== null && _d !== void 0 ? _d : "", "text", (value) => { blueprint.refuellingType = value; });
|
||||
/* Add a scrollable list of loadouts that the user can edit */
|
||||
var title = document.createElement("label");
|
||||
title.innerText = "Loadouts";
|
||||
|
||||
@ -45,7 +45,7 @@ export class AirUnitEditor extends UnitEditor {
|
||||
addStringInput(this.contentDiv2, "Filename", blueprint.filename ?? "", "text", (value: string) => { blueprint.filename = value; });
|
||||
addStringInput(this.contentDiv2, "Cost", String(blueprint.cost) ?? "", "number", (value: string) => { blueprint.cost = parseFloat(value); });
|
||||
addStringInput(this.contentDiv2, "Rufels from", String(blueprint.refuelsFrom) ?? "", "text", (value: string) => { blueprint.refuelsFrom = value; });
|
||||
addStringInput(this.contentDiv2, "Refueling type", String(blueprint.refuelingType) ?? "", "text", (value: string) => { blueprint.refuelingType = value; });
|
||||
addStringInput(this.contentDiv2, "Refuelling type", String(blueprint.refuellingType) ?? "", "text", (value: string) => { blueprint.refuellingType = value; });
|
||||
|
||||
/* Add a scrollable list of loadouts that the user can edit */
|
||||
var title = document.createElement("label");
|
||||
|
||||
@ -15573,7 +15573,7 @@
|
||||
"code": "",
|
||||
"name": "Empty loadout",
|
||||
"roles": [
|
||||
"Refueling"
|
||||
"Refuelling"
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -18240,7 +18240,7 @@
|
||||
"code": "",
|
||||
"name": "Empty loadout",
|
||||
"roles": [
|
||||
"Refueling"
|
||||
"Refuelling"
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -18274,7 +18274,7 @@
|
||||
"code": "",
|
||||
"name": "Empty loadout",
|
||||
"roles": [
|
||||
"Refueling"
|
||||
"Refuelling"
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -25123,7 +25123,7 @@
|
||||
"code": "",
|
||||
"name": "Empty loadout",
|
||||
"roles": [
|
||||
"Refueling"
|
||||
"Refuelling"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
@ -15573,7 +15573,7 @@
|
||||
"code": "",
|
||||
"name": "Empty loadout",
|
||||
"roles": [
|
||||
"Refueling"
|
||||
"Refuelling"
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -18240,7 +18240,7 @@
|
||||
"code": "",
|
||||
"name": "Empty loadout",
|
||||
"roles": [
|
||||
"Refueling"
|
||||
"Refuelling"
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -18274,7 +18274,7 @@
|
||||
"code": "",
|
||||
"name": "Empty loadout",
|
||||
"roles": [
|
||||
"Refueling"
|
||||
"Refuelling"
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -25123,7 +25123,7 @@
|
||||
"code": "",
|
||||
"name": "Empty loadout",
|
||||
"roles": [
|
||||
"Refueling"
|
||||
"Refuelling"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
@ -214,7 +214,7 @@ export interface UnitBlueprint {
|
||||
acquisitionRange?: number;
|
||||
engagementRange?: number;
|
||||
refuelsFrom?: string;
|
||||
refuelingType?: string;
|
||||
refuellingType?: string;
|
||||
}
|
||||
|
||||
export interface UnitSpawnOptions {
|
||||
|
||||
@ -298,7 +298,7 @@ export class UnitControlPanel extends Panel {
|
||||
|
||||
const unit = units[0];
|
||||
const roles = aircraftDatabase.getByName(unit.getName())?.loadouts?.map((loadout) => {return loadout.roles})
|
||||
const tanker = roles != undefined && Array.prototype.concat.apply([], roles)?.includes("Refueling");
|
||||
const tanker = roles != undefined && Array.prototype.concat.apply([], roles)?.includes("Refuelling");
|
||||
const AWACS = roles != undefined && Array.prototype.concat.apply([], roles)?.includes("AWACS");
|
||||
const radioMHz = Math.floor(unit.getRadio().frequency / 1000000);
|
||||
const radioDecimals = (unit.getRadio().frequency / 1000000 - radioMHz) * 1000;
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
</div>
|
||||
|
||||
<div id="tanker-checkbox" class="ol-checkbox">
|
||||
<label title="The unit will operate as Air to Air Refueling tanker for airplanes that have a compatible refueling system">
|
||||
<label title="The unit will operate as Air to Air Refuelling tanker for airplanes that have a compatible refuelling system">
|
||||
<input type="checkbox" />
|
||||
Operate as AAR tanker
|
||||
</label>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user