Add surprise to ACCONFIG.

This commit is contained in:
Jonathan Redpath 2017-10-05 18:04:47 +01:00
parent 53886bd79c
commit 8484e84af1
3 changed files with 6 additions and 5 deletions

View file

@ -85,6 +85,10 @@ setprop("/systems/acconfig/new-revision", "");
setprop("/systems/acconfig/out-of-date", 0);
setprop("/systems/acconfig/mismatch-code", "0x000");
setprop("/systems/acconfig/mismatch-reason", "XX");
# Surprise
setprop("/systems/acconfig/surprise", 1);
var main_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/main/dialog", "Aircraft/IDG-A32X/AircraftConfig/main.xml");
var welcome_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/welcome/dialog", "Aircraft/IDG-A32X/AircraftConfig/welcome.xml");
var ps_load_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/psload/dialog", "Aircraft/IDG-A32X/AircraftConfig/psload.xml");

View file

@ -5825,7 +5825,7 @@
<condition>
<and>
<equals>
<property>controls/tray/surprise</property>
<property>systems/acconfig/surprise</property>
<value>1</value>
</equals>
<equals>
@ -5843,7 +5843,7 @@
<button>0</button>
<binding>
<command>property-toggle</command>
<property>controls/tray/surprise</property>
<property>systems/acconfig/surprise</property>
</binding>
</action>
</animation>

View file

@ -14,9 +14,6 @@ setprop("/controls/lighting/ndl-norm", 1);
setprop("/controls/lighting/ndr-norm", 1);
setprop("/controls/lighting/upper-norm", 1);
# Surprise
setprop("/controls/tray/surprise", 1);
# Lights
setprop("/sim/model/lights/nose-lights", 0);
setprop("/sim/model/lights/turnoffsw", 0);