-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Medical - add dummy cfgVehicle entries for old modules (#7091)
* Medical - add dummy cfgVehicle entries for old modules * add medical_menu * Update addons/medical/CfgVehicles.hpp Co-Authored-By: jonpas <jonpas33@gmail.com>
- Loading branch information
1 parent
1534f8c
commit e1c650d
Showing
2 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
class CfgVehicles { | ||
// Backwards compatibility | ||
// Left as dumb modules so that old missions don't error about missing vehicles | ||
class Logic; | ||
// Left as dumb logic so that old missions don't error about missing vehicle | ||
class ACE_moduleMedicalSettings: Logic { | ||
class Module_F: Logic { | ||
class EventHandlers; | ||
}; | ||
class ACE_moduleMedicalSettings: Module_F { | ||
author = ECSTRING(common,ACETeam); | ||
scope = 1; | ||
displayName = "[ACE] Retired Medical module (will have no effect)"; | ||
class EventHandlers: EventHandlers { | ||
init = "diag_log text format ['[ACE] (Medical) Warning retired module [%1] placed (will have no effect)', typeOf (_this select 0)];"; | ||
}; | ||
}; | ||
class ACE_moduleBasicMedicalSettings: ACE_moduleMedicalSettings {}; | ||
class ACE_moduleAdvancedMedicalSettings: ACE_moduleMedicalSettings {}; | ||
class ACE_moduleReviveSettings: ACE_moduleMedicalSettings {}; | ||
class ACE_moduleAssignMedicRoles: ACE_moduleMedicalSettings {}; | ||
class ACE_moduleAssignMedicVehicle: ACE_moduleMedicalSettings {}; | ||
class ACE_moduleAssignMedicalFacility: ACE_moduleMedicalSettings {}; | ||
class ACE_moduleMedicalMenuSettings: ACE_moduleMedicalSettings {}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters