Make it not go CRC when it goes CRC when it should not go CRC (hopefully it will stop going CRC)

This commit is contained in:
legoboyvdlp R 2019-04-30 11:00:35 +01:00
parent 402159dfa5
commit 259c9a3e17
4 changed files with 19 additions and 5 deletions

View file

@ -5028,6 +5028,17 @@
<property>ECAM/warnings/master-warning-light</property>
<value>0</value>
</binding>
<binding>
<condition>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</condition>
<command>property-assign</command>
<property>sim/sound/warnings/crc</property>
<value>0</value>
</binding>
<binding>
<condition>
<greater-than-equals>

View file

@ -72,7 +72,7 @@ var warning = {
me.noRepeat = 1;
},
sound: func() {
if (me.aural > 1 or me.noRepeat2 == 1 or me.active == 0) {return;}
if (me.aural > 1 or me.noRepeat2 == 1 or me.active == 0) {return;}
aural[me.aural].setBoolValue(0);
me.noRepeat2 = 1;
settimer(func() {

View file

@ -315,13 +315,13 @@ var engFireDetectorUnit = {
apuBleedNode.setValue(0);
systems.apu_stop();
apuEmerShutdown.setBoolValue(1);
settimer(func() {
settimer(func() { # 3 sec delay - source TTM ATA 26 FIRE PROTECTION p102
extinguisherBottles.vector[4].discharge();
}, 2);
}, 3);
} else {
settimer(func() {
extinguisherBottles.vector[4].discharge();
}, 2);
}, 3);
}
}
}

View file

@ -1504,7 +1504,10 @@
</and>
</condition>
<volume>
<property>sim/sound/effects/volume</property>
<product>
<value>5</value>
<property>sim/sound/effects/volume</property>
</product>
</volume>
<reference-dist>10</reference-dist>
<max-dist>100</max-dist>