avopaow
This commit is contained in:
36
dist/autoloader.js
vendored
36
dist/autoloader.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Sat Nov 24 2018 16:09:52 GMT+0100 (CET)*/
|
||||
/*Generated on:Sat Nov 24 2018 16:14:20 GMT+0100 (CET)*/
|
||||
var AutomaticDispose_Branch = "master";
|
||||
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
||||
var da_lss_adis_time = new Date().getTime();
|
||||
@@ -6349,12 +6349,15 @@ ADisDB.on("ready", () => {
|
||||
// - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
|
||||
function ADis_CollectRescueSprechwuensche() {
|
||||
ADisDB.ADisSprechwunsch.where({
|
||||
done: 'false'
|
||||
}).each((myWunsch) => {
|
||||
if ($("#vehicle_list_" + myWunsch.vehicleID).find(".building_list_fms").text() != "5") {
|
||||
return ADis_RemoveRescueSprechwunschFromQueue(myWunsch.vehicleID);
|
||||
}
|
||||
new Promise(async function (resolve, reject) {
|
||||
await ADisDB.ADisSprechwunsch.where({
|
||||
done: 'false'
|
||||
}).each((myWunsch) => {
|
||||
if ($("#vehicle_list_" + myWunsch.vehicleID).find(".building_list_fms").text() != "5") {
|
||||
return ADis_RemoveRescueSprechwunschFromQueue(myWunsch.vehicleID);
|
||||
}
|
||||
})
|
||||
return resolve();
|
||||
}).then(() => {
|
||||
$("#building_list").find(".building_list_vehicle_element").each(function () {
|
||||
var VehicleStatus = $(this).find(".building_list_fms").text();
|
||||
@@ -6425,14 +6428,17 @@ ADisDB.on("ready", () => {
|
||||
// - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
|
||||
function ADis_CollectPoliceSprechwuensche() {
|
||||
ADisDB.ADisSprechwunschPolice.where({
|
||||
done: 'false'
|
||||
}).each((myWunsch) => {
|
||||
console.log('ADis_CollectPoliceSprechwuensche: remove');
|
||||
if (!$("#mission_" + myWunsch.missionID).text().match(/Gefangene sollen abtransportiert werden/g)) {
|
||||
$("#mission_" + myWunsch.missionID).remove();
|
||||
return ADis_RemovePoliceSprechwunschFromQueue(myWunsch.missionID);
|
||||
}
|
||||
new Promise(async function (resolve, reject) {
|
||||
await ADisDB.ADisSprechwunschPolice.where({
|
||||
done: 'false'
|
||||
}).each((myWunsch) => {
|
||||
console.log('ADis_CollectPoliceSprechwuensche: remove');
|
||||
if (!$("#mission_" + myWunsch.missionID).text().match(/Gefangene sollen abtransportiert werden/g)) {
|
||||
$("#mission_" + myWunsch.missionID).remove();
|
||||
return ADis_RemovePoliceSprechwunschFromQueue(myWunsch.missionID);
|
||||
}
|
||||
})
|
||||
return resolve();
|
||||
}).then(() => {
|
||||
console.log('ADis_CollectPoliceSprechwuensche: add');
|
||||
var MOIODOS = $('div#mission_list div.missionSideBarEntry:visible');
|
||||
|
||||
2
dist/standalone.js
vendored
2
dist/standalone.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Sat Nov 24 2018 16:09:52 GMT+0100 (CET)*/
|
||||
/*Generated on:Sat Nov 24 2018 16:14:20 GMT+0100 (CET)*/
|
||||
function includesString(string1, string2) {
|
||||
return string1.toLowerCase().includes(string2.toLowerCase());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user