Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BIOS.protocol.beginModule("AJS37", 0x2600)
- BIOS.protocol.setExportModuleAircrafts({"AJS37"})
- local documentation = moduleBeingDefined.documentation
- local document = BIOS.util.document
- local parse_indication = BIOS.util.parse_indication
- local defineToggleSwitch = BIOS.util.defineToggleSwitch
- local definePushButton = BIOS.util.definePushButton
- dofile(lfs.currentdir().."mods/aircraft/AJS37/Cockpit/scripts/devices.lua")
- dofile(lfs.currentdir().."mods/aircraft/AJS37/Cockpit/scripts/command_defs.lua")
- -- ENGINE PANEL
- defineToggleSwitch("ENG_START_SYSTEM", 1, 3001, 206, "Engine Panel", "Start System Switch")
- defineToggleSwitch("ENG_LOW_PRES", 1, 3002, 204, "Engine Panel", "Low-pressure Fuel Valve Switch")
- defineToggleSwitch("ENG_HIGH_PRES", 1, 3005, 202, "Engine Panel", "High-pressure Fuel Valve Switch")
- defineToggleSwitch("ENG_IGNITION", 1, 3003, 205, "Engine Panel", "Ignition System Switch")
- BIOS.protocol.endModule()
Add Comment
Please, Sign In to add comment