2025-05-28 15:36:51 -07:00

18 lines
552 B
JavaScript

import { StartingEquipmentRuleTypeEnum } from './constants';
/**
*
* @param ruleType
*/
export function deriveIsEquipmentStartingEquipmentRuleType(ruleType) {
switch (ruleType) {
case StartingEquipmentRuleTypeEnum.ARMOR:
case StartingEquipmentRuleTypeEnum.ARMOR_TYPE:
case StartingEquipmentRuleTypeEnum.GEAR:
case StartingEquipmentRuleTypeEnum.GEAR_TYPE:
case StartingEquipmentRuleTypeEnum.WEAPON:
case StartingEquipmentRuleTypeEnum.WEAPON_TYPE:
return true;
}
return false;
}