aircraft-dialog vbox false false true # Bush kit var p = getprop("fdm/jsbsim/bushkit"); setprop("/sim/model/c172p/bushkit_flag_0", 0); setprop("/sim/model/c172p/bushkit_flag_1", 0); setprop("/sim/model/c172p/bushkit_flag_2", 0); setprop("/sim/model/c172p/bushkit_flag_3", 0); setprop("/sim/model/c172p/bushkit_flag_4", 0); setprop("/sim/model/c172p/bushkit_flag_5", 0); setprop("/sim/model/c172p/bushkit_flag_" ~ p, 1); # Engine power var p = getprop("/controls/engines/active-engine"); setprop("sim/model/c172p/engine_flag_0", 0); setprop("sim/model/c172p/engine_flag_1", 0); setprop("sim/model/c172p/engine_flag_" ~ p, 1); hbox true true vbox 6 vbox left /fdm/jsbsim/running true dialog-apply left /sim/model/c172p/save-state true dialog-apply left /engines/active-engine/complex-engine-procedures true dialog-apply hbox left /fdm/jsbsim/settings/damage true dialog-apply vbox left /sim/model/c172p/securing/allow-securing-aircraft dialog-apply property-assign sim/model/c172p/cockpit/control-lock-placed false property-assign sim/model/c172p/securing/pitot-cover-visible false property-assign sim/model/c172p/securing/chock false property-assign sim/model/c172p/securing/tiedownL-visible false property-assign sim/model/c172p/securing/tiedownR-visible false property-assign sim/model/c172p/securing/tiedownT-visible false hbox vbox 6 vbox left sim/model/c172p/cockpit/control-lock-placed true /sim/model/c172p/securing/allow-securing-aircraft dialog-apply left /sim/model/c172p/securing/chock true /sim/model/c172p/securing/chock-can-have dialog-apply left /sim/model/c172p/securing/pitot-cover-visible true velocities/groundspeed-kt 1.0 /sim/model/c172p/securing/allow-securing-aircraft dialog-apply left /sim/model/c172p/securing/tiedownL-visible true /sim/model/c172p/securing/tiedowns-can-have dialog-apply left /sim/model/c172p/securing/tiedownR-visible true /sim/model/c172p/securing/tiedowns-can-have dialog-apply left /sim/model/c172p/securing/tiedownT-visible true /sim/model/c172p/securing/tiedowns-can-have dialog-apply true vbox left /sim/model/occupants true dialog-apply left /sim/rendering/shadow-volume true dialog-apply left /sim/model/c172p/garmin196-visible true dialog-apply left /sim/model/c172p/enable-fog-frost true dialog-apply vbox center hbox left sim/model/c172p/engine_flag_0 true /sim/freeze/replay-state dialog-apply nasal dialog-show c172p-oil-dialog-180 dialog-close c172p-oil-dialog-180 property-assign /engines/active-engine/oil-level 7.0 left sim/model/c172p/engine_flag_1 true /sim/freeze/replay-state dialog-apply nasal dialog-show c172p-oil-dialog-160 dialog-close c172p-oil-dialog-160 property-assign /engines/active-engine/oil-level 8.0 vbox center hbox vbox left sim/model/c172p/bushkit_flag_0 true /sim/freeze/replay-state dialog-apply nasal dialog-show c172p-oil-dialog-180 dialog-close c172p-oil-dialog-180 property-assign /engines/active-engine/oil-level 7.0 left sim/model/c172p/bushkit_flag_1 true /sim/freeze/replay-state dialog-apply nasal dialog-show c172p-oil-dialog-180 dialog-close c172p-oil-dialog-180 property-assign /engines/active-engine/oil-level 7.0 left sim/model/c172p/bushkit_flag_2 true /sim/freeze/replay-state dialog-apply nasal dialog-show c172p-oil-dialog-180 dialog-close c172p-oil-dialog-180 property-assign /engines/active-engine/oil-level 7.0 vbox left sim/model/c172p/bushkit_flag_3 true /sim/freeze/replay-state dialog-apply nasal property-assign sim/model/c172p/securing/chock false property-assign sim/model/c172p/securing/tiedownL-visible false property-assign sim/model/c172p/securing/tiedownR-visible false property-assign sim/model/c172p/securing/tiedownT-visible false dialog-show c172p-oil-dialog-160 dialog-close c172p-oil-dialog-160 property-assign /engines/active-engine/oil-level 8.0 left sim/model/c172p/bushkit_flag_4 true /sim/freeze/replay-state dialog-apply nasal property-assign sim/model/c172p/securing/chock false dialog-show c172p-oil-dialog-160 dialog-close c172p-oil-dialog-160 property-assign /engines/active-engine/oil-level 8.0 left sim/model/c172p/bushkit_flag_5 true /sim/freeze/replay-state dialog-apply nasal property-assign sim/model/c172p/securing/chock false dialog-show c172p-oil-dialog-160 dialog-close c172p-oil-dialog-160 property-assign /engines/active-engine/oil-level 8.0 hbox 6 true