Small improvements
This commit is contained in:
parent
d29e95f511
commit
7f5fa089aa
@ -16,7 +16,7 @@ export default {
|
|||||||
return Math.floor((this.value / this.full) * 100);
|
return Math.floor((this.value / this.full) * 100);
|
||||||
},
|
},
|
||||||
title() {
|
title() {
|
||||||
return `${this.value}/${this.full}, ${this.percent}%`;
|
return `тек. ${this.value} / опт. склад ${this.warning} / полн. ${this.full}, ${this.percent}%`;
|
||||||
},
|
},
|
||||||
classes() {
|
classes() {
|
||||||
return {
|
return {
|
||||||
|
@ -120,26 +120,6 @@
|
|||||||
v-if="!villageState.incomingResources.empty() && isExtended(villageState.id)"
|
v-if="!villageState.incomingResources.empty() && isExtended(villageState.id)"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<resource-line
|
|
||||||
v-if="isExtended(villageState.id)"
|
|
||||||
:title="'Крит. уровень:'"
|
|
||||||
:hint="'Критический уровень'"
|
|
||||||
:hide-zero="true"
|
|
||||||
:color="false"
|
|
||||||
:sign="false"
|
|
||||||
:resources="villageState.upperCriticalLevel"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<resource-line
|
|
||||||
v-if="isExtended(villageState.id)"
|
|
||||||
:title="'Опт. уровень:'"
|
|
||||||
:hint="'Оптимальный уровень'"
|
|
||||||
:hide-zero="true"
|
|
||||||
:color="false"
|
|
||||||
:sign="false"
|
|
||||||
:resources="villageState.storageOptimumFullness"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<tr class="normal-line">
|
<tr class="normal-line">
|
||||||
<td class="right" colspan="7">
|
<td class="right" colspan="7">
|
||||||
<a
|
<a
|
||||||
|
@ -49,7 +49,7 @@ export class Scheduler {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
this.createUniqTaskTimer(5 * 60, GrabVillageState.name);
|
this.createUniqTaskTimer(10 * 60, GrabVillageState.name);
|
||||||
this.createUniqTaskTimer(10 * 60, SendResourcesTask.name);
|
this.createUniqTaskTimer(10 * 60, SendResourcesTask.name);
|
||||||
this.createUniqTaskTimer(10 * 60, BalanceHeroResourcesTask.name);
|
this.createUniqTaskTimer(10 * 60, BalanceHeroResourcesTask.name);
|
||||||
this.createUniqTaskTimer(20 * 60, UpdateResourceContracts.name);
|
this.createUniqTaskTimer(20 * 60, UpdateResourceContracts.name);
|
||||||
|
Loading…
Reference in New Issue
Block a user