-- Weapons' types definitions
-- Copyright (C) 2004, Eagle Dynamics.

-- the file is not intended for an end-user editing


-- level 1

bombs = {}
bombs[1]   = {wsType_Weapon, wsType_Bomb, wsType_Bomb_BetAB} -- BetAB_150DS
bombs[2]   = {wsType_Weapon, wsType_Bomb, wsType_Bomb_BetAB} -- BetAB_250
bombs[3]   = {wsType_Weapon, wsType_Bomb, wsType_Bomb_BetAB} -- BetAB_500
bombs[4]   = {wsType_Weapon, wsType_Bomb, wsType_Bomb_BetAB} -- BetAB_500ShP
bombs[5]   = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- FAB_100
bombs[6]   = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- FAB_250
bombs[7]   = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- FAB_500
bombs[8]   = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- FAB_1000
bombs[9]   = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- FAB_1500
bombs[10]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- FAB_5000
bombs[11]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- KAB_500
bombs[12]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- KAB_500Kr
bombs[13]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- KAB_500KrOD
bombs[14]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- KAB_1500Kr
bombs[15]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster} -- KMGU_2f
bombs[16]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_ODAB} -- ODAB_500PM
bombs[17]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_ODAB} -- ODAB_250
bombs[18]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster} -- RBK_250
bombs[19]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster} -- RBK_250S
bombs[20]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster} -- RBK_500AO
bombs[21]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster} -- RBK_500SOAB
bombs[22]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- Puma
bombs[23]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster} -- BL_755
bombs[24]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Antisubmarine} -- GluB
bombs[25]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_BetAB} -- NB_1
bombs[26]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_BetAB} -- NB_2
bombs[27]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Antisubmarine} -- Torpedo
bombs[28]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Fire} -- XZAB_250
bombs[29]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Fire} -- XZAB_500
bombs[30]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- Mk_81
bombs[31]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- Mk_82
bombs[32]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- Mk_83
bombs[33]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- Mk_84
bombs[34]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- M_117
bombs[35]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster} -- CBU_97
bombs[36]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_10
bombs[37]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_11
bombs[38]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_12
bombs[39]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_16
bombs[40]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_17
bombs[41]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_24
bombs[42]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_15
bombs[43]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_27
bombs[44]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_22
bombs[45]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster} -- ROCKEYE
bombs[47]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- AGM_62
bombs[48]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_28
bombs[49]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_29
bombs[50]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Guided} -- GBU_30
bombs[53]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- FAB_100P
bombs[54]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- FAB_250P
bombs[55]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- FAB_500P
bombs[56]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- FAB_500_3
bombs[57]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster} -- MW_1
bombs[58]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- PB_250
bombs[59]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Fire} -- Z_BAK_3
bombs[60]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Cluster} -- KMGU_2b
bombs[61]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Antisubmarine} -- Mk_50_Torpedo
bombs[62]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_BetAB} -- Durandal
bombs[63]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Lighter} -- SAB_100
bombs[64]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_Lighter} -- LUU_2
bombs[65]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- AO_2_5RT
bombs[66]  = {wsType_Weapon, wsType_Bomb, wsType_Bomb_A} -- PTAB_2_5KO

missiles = {}
missiles[1]   = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- R_550
missiles[2]   = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- MICA_T
missiles[3]   = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- MICA_R
missiles[4]   = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- Super_530F
missiles[5]   = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_98
missiles[6]   = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_4R
missiles[7]   = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_40R
missiles[8]   = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_23R
missiles[9]   = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_24R
missiles[10]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_60
missiles[11]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_33E
missiles[12]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_27AE
missiles[13]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_27P
missiles[14]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_27PE
missiles[15]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_27T
missiles[16]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_27TE
missiles[17]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_27EM
missiles[18]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_73
missiles[19]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_77
missiles[20]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_37
missiles[21]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- AIM_7
missiles[22]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- AIM_9
missiles[23]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- AIM_54
missiles[24]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- AIM_120
missiles[25]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_23T
missiles[26]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_24T
missiles[27]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- P_40T
missiles[28]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- SeaSparrow
missiles[30]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- C_8CM
missiles[31]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- C_5
missiles[32]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- C_8
missiles[33]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- C_13
missiles[34]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- C_24
missiles[35]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- C_25
missiles[36]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- HYDRA_70
missiles[37]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- Zuni_127
missiles[38]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- Zuni_127CM
missiles[39]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_114K
missiles[40]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_119
missiles[41]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_22
missiles[42]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_29TE
missiles[43]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_23
missiles[44]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_28
missiles[45]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_25ML
missiles[46]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_58
missiles[47]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_25MP
missiles[48]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AT_6
missiles[49]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_29L
missiles[50]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_55
missiles[51]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_65
missiles[52]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_15
missiles[53]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_31A
missiles[54]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_59M
missiles[55]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_35
missiles[56]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_41
missiles[57]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- Vikhr
missiles[58]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- Vikhr_M
missiles[59]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_114
missiles[60]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_45
missiles[61]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_65K
missiles[62]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_84A
missiles[63]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_84E
missiles[64]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_86
missiles[65]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_88
missiles[66]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- Sea_Eagle
missiles[67]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SAV611
missiles[68]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_122
missiles[69]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_123
missiles[70]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_65E
missiles[71]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_130
missiles[72]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- ALARM
missiles[73]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_23L
missiles[74]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_25MR
missiles[75]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_29T
missiles[76]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- X_31P
missiles[77]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_65D
missiles[78]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- Kormoran
missiles[79]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SM_2
missiles[80]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA5B55
missiles[81]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA48H6E2
missiles[82]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA9M82
missiles[83]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA9M83
missiles[84]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA3M9M
missiles[85]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA9M33
missiles[86]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA9M31
missiles[87]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA9M38M1
missiles[88]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA9M333
missiles[89]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA9M330
missiles[90]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA9M311
missiles[91]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- Igla_1E
missiles[92]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- MIM_104
missiles[93]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- FIM_92C
missiles[94]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- GRAD_RAKETA
missiles[95]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- SMERCH_RAKETA
missiles[96]  = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- URAGAN_RAKETA
missiles[97]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- SA5B27
missiles[98]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- HAWK_RAKETA
missiles[99]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- ROLAND_R
missiles[118] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- P_35
missiles[119] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- P_500
missiles[120] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- P_700
missiles[121] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- P_15U
missiles[122] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- P_120
missiles[123] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- R_85
missiles[124] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- R_85U
missiles[125] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- BGM_109B
missiles[126] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- AGM_84S
missiles[127] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- MALUTKA
missiles[128] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- KONKURS
missiles[129] = {wsType_Weapon, wsType_Missile, wsType_SS_Missile} -- P_9M117
missiles[130] = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- TOW
missiles[131] = {wsType_Weapon, wsType_NURS, wsType_Rocket} -- M26_RAKETA
missiles[132] = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_154
missiles[133] = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- S_25L
missiles[134] = {wsType_Weapon, wsType_Shell, wsType_Shell_A} -- wsType_Shell_SPPU
missiles[135]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- AIM_9P
missiles[136]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- AIM_9X
missiles[137]  = {wsType_Weapon, wsType_Missile, wsType_SA_Missile} -- MIM_72
missiles[106]  = {wsType_Weapon, wsType_Missile, wsType_AA_Missile} -- AIM_120C
-- A-10C weapons
missiles[138]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_65H
missiles[139]  = {wsType_Weapon, wsType_Missile, wsType_AS_Missile} -- AGM_65H
missiles[140]  = {wsType_Weapon, wsType_Missile, wsType_AS_TRAIN_Missile} -- TGM_65G
missiles[141]  = {wsType_Weapon, wsType_Missile, wsType_AS_TRAIN_Missile} -- TGM_65D
missiles[142]  = {wsType_Weapon, wsType_Missile, wsType_AS_TRAIN_Missile} -- CATM_65K

containers = {}
containers[1]   = {wsType_Weapon, wsType_NURS, wsType_Container} -- UB_13
containers[2]   = {wsType_Weapon, wsType_NURS, wsType_Container} -- UB_32_1
containers[3]   = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MBD_3
containers[4]   = {wsType_Weapon, wsType_GContainer, wsType_Support} -- LAU_88
containers[5]   = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB_3000
containers[6]   = {wsType_Weapon, wsType_NURS, wsType_Container} -- B_20
containers[7]   = {wsType_Weapon, wsType_NURS, wsType_Container} -- S_25_C
containers[8]   = {wsType_Weapon, wsType_NURS, wsType_Container} -- LAU_10
containers[9]   = {wsType_Weapon, wsType_NURS, wsType_Container} -- LAU_61
containers[10]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- F_15_PTB
containers[11]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- F_16_PTB_N1
containers[12]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- F_16_PTB_N2
containers[13]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- F_18_PTB
containers[14]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- MIG_23_PTB
containers[15]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- MIG_25_PTB
containers[16]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB_1150
containers[17]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB_1500
containers[18]  = {wsType_Weapon, wsType_GContainer, wsType_Cannon_Cont} -- SPPU_22
containers[19]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- KINGAL
containers[20]  = {wsType_Weapon, wsType_GContainer, wsType_Cannon_Cont} -- UPK_23_25
containers[21]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MBD
containers[22]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MBD_4
containers[23]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- TU_22_MBD
containers[24]  = {wsType_Weapon, wsType_NURS, wsType_Container} -- S_25_PU
containers[25]  = {wsType_Weapon, wsType_GContainer, wsType_Jam_Cont} -- ALQ_131
containers[26]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- LANTIRN
containers[27]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- LANTIRN_F18
containers[28]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- PAVETACK
containers[29]  = {wsType_Weapon, wsType_GContainer, wsType_Jam_Cont} -- SORBCIJA
containers[30]  = {wsType_Weapon, wsType_GContainer, wsType_Jam_Cont} -- SPS_141
containers[31]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB_B_1B
containers[32]  = {wsType_Weapon, wsType_NURS, wsType_Container} -- MBD_3_LAU_10
containers[33]  = {wsType_Weapon, wsType_NURS, wsType_Container} -- MBD_3_LAU_61
containers[34]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- AT_9M120
containers[35]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- AT_9M120M
containers[36]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- F_5_PTB
containers[37]  = {wsType_Weapon, wsType_GContainer, wsType_Jam_Cont} -- Sky_Shadow
containers[38]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB_F2_1500
containers[39]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- M2000_PTB
containers[40]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MBD_A10_2
containers[41]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- F4_PTB_WING
containers[42]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- F4_PTB_FUZ
containers[43]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- AGM_114_Pilon
containers[44]  = {wsType_Weapon, wsType_Missile, wsType_Container} -- AT_6_9M114
containers[45]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- F4_PILON
containers[46]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MER_L_P_60
containers[47]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MER_R_P_60
containers[48]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MER_TOW
containers[49]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MER_2_F_18
containers[50]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MER_9_B52
containers[51]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MER_12_B52
containers[52]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MBD_6_B52
containers[53]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB_2000
containers[54]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB_800L_Wing
containers[55]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB_S_3
containers[56]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB_367GAL
containers[57]  = {wsType_Weapon, wsType_GContainer, wsType_Jam_Cont} -- SKY_SHADOW
containers[58]  = {wsType_Weapon, wsType_GContainer, wsType_Snare_Cont} -- BOZ_100
containers[59]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- LANTIRN_F14
containers[60]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- FLIR_POD
containers[61]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB_1150_29
containers[62]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- TANGAZH
containers[63]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- EPHIR
containers[64]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- SHPIL
containers[65]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- FANTASM
containers[66]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGenerator_red
containers[67]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGeneratorAIM_red
containers[68]  = {wsType_Weapon, wsType_NURS, wsType_Container} -- B_20CM
containers[69]  = {wsType_Weapon, wsType_NURS, wsType_Container} -- Whiskey_Pete
containers[70]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- SUU_25
containers[71]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- F_18A_PTB
containers[72]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- F_18C_PTB
containers[73]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MBD_2
containers[74]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- AN_AAS_38_FLIR
containers[75]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- APU_6_VIKHR
containers[76]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- MBD_2_67U
containers[77]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- S-25L_AND_PU
containers[78]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- AN_ASQ_173_LST_CAM
containers[79]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- LAU_118A
containers[80]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- AKU_58
containers[81]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- KMGU_2
containers[82]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGenerator_green
containers[83]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGenerator_blue
containers[84]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGenerator_white
containers[85]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGenerator_yellow
containers[86]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGenerator_orange
containers[87]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGeneratorAIM_green
containers[88]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGeneratorAIM_blue
containers[89]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGeneratorAIM_white
containers[90]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGeneratorAIM_yellow
containers[91]  = {wsType_Weapon, wsType_GContainer, wsType_Smoke_Cont} -- SmokeGeneratorAIM_orange
containers[92]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- APU_68
containers[93]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- APU_73
containers[94]  = {wsType_Weapon, wsType_GContainer, wsType_Jam_Cont} -- MPS_410
containers[95]  = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- Kopyo
containers[96]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- APU_170
containers[97]  = {wsType_Weapon, wsType_GContainer, wsType_Support} -- LAU_117
containers[98]  = {wsType_Weapon, wsType_NURS, wsType_Container} -- B_8V20A
containers[99]  = {wsType_Air, wsType_Free_Fall, wsType_FuelTank} -- PTB-KA-50
containers[100] = {wsType_Weapon, wsType_GContainer, wsType_Support} -- APU_8_9M114
containers[101] = {wsType_Weapon, wsType_GContainer, wsType_Control_Cont} -- AN/AAQ-28 LITENING
containers[OH_58_BRAUNING]  = {wsType_Weapon, wsType_GContainer, wsType_Cannon_Cont} -- OH-58 brauning
containers[LAU_131]  = {wsType_Weapon, wsType_NURS, wsType_Container} -- M260
containers[LAU_131WP]  = {wsType_Weapon, wsType_NURS, wsType_Container} -- M260
containers[B_8V20A_WP] = {wsType_Weapon, wsType_NURS, wsType_Container} -- B-8V20 with S-8CM
containers[B_8V20A_OFP2] = {wsType_Weapon, wsType_NURS, wsType_Container} -- B-8V20 with S-8OFP2
containers[B_8V20A_OM] = {wsType_Weapon, wsType_NURS, wsType_Container} -- B-8V20 with S-8CM
containers[B_8M1_OFP2] = {wsType_Weapon, wsType_NURS, wsType_Container} -- B-8M1 with S-8OFP2

planes_types = {}
planes_types[1  ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,MiG_23}    -- 1
planes_types[2  ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,MiG_29}    -- 2
planes_types[3  ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,Su_27}     -- 3
planes_types[4  ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,Su_33}     -- 4
planes_types[5  ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,F_14}      -- 5
planes_types[6  ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,F_15}      -- 6
planes_types[7  ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,F_16}      -- 7
planes_types[8  ]=    {wsType_Air, wsType_Airplane, wsType_Intercepter,MiG_25}-- 8
planes_types[9  ]=    {wsType_Air, wsType_Airplane, wsType_Intercepter,MiG_31}-- 9
planes_types[10 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,F_2}
planes_types[11 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,MiG_27}    -- 11
planes_types[12 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,Su_24}     -- 12
planes_types[13 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,Su_30}     -- 13
planes_types[14 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,FA_18}     -- 14
planes_types[15 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,F_111}     -- 15
planes_types[16 ]=    {wsType_Air, wsType_Airplane, wsType_Battleplane,Su_25} -- 16
planes_types[17 ]=    {wsType_Air, wsType_Airplane, wsType_Battleplane,A_10}  -- 17
planes_types[18 ]=    {wsType_Air, wsType_Airplane, wsType_F_Bomber,Tu_160}   -- 18
planes_types[19 ]=    {wsType_Air, wsType_Airplane, wsType_F_Bomber,B_1}      -- 19
planes_types[20 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,Su_34}     -- 20
planes_types[21 ]=    {wsType_Air, wsType_Airplane, wsType_Intruder,Tu_95}    -- 21
planes_types[22 ]=    {wsType_Air, wsType_Airplane, wsType_Intruder,Tu_142}   -- 22
planes_types[23 ]=    {wsType_Air, wsType_Airplane, wsType_Intruder,B_52}     -- 23
planes_types[24 ]=    {wsType_Air, wsType_Airplane, wsType_Intercepter,MiG_25P}    -- 24
planes_types[25 ]=    {wsType_Air, wsType_Airplane, wsType_F_Bomber,Tu_22M3}  -- 25
planes_types[26 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,A_50}      -- 26
planes_types[27 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,E_3}       -- 27
planes_types[28 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,IL_78}     -- 28
planes_types[29 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,KC_10}     -- 29
planes_types[30 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,IL_76}     -- 30
planes_types[31 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,C_130}     -- 31
planes_types[32 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,MIG_29K}   -- 32
planes_types[33 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,S_3R}      -- 33
planes_types[34 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,Mirage}    -- 34
planes_types[35 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,Tu_143}    -- 35
planes_types[36 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,Tu_141}    -- 36
planes_types[37 ]=    {wsType_Air, wsType_Airplane, wsType_Battleplane,F_117} -- 37
planes_types[38 ]=    {wsType_Air, wsType_Airplane, wsType_Battleplane,Su_39} -- 38
planes_types[39 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,AN_26B}    -- 39
planes_types[40 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,AN_30M}    -- 40
planes_types[41 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,E_2C}      -- 41
planes_types[42 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,S_3A}      -- 42
planes_types[43 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,AV_8B}     -- 43
planes_types[44 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,EA_6B}     -- 44
planes_types[45 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,F_4E}      -- 45
planes_types[46 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,F_5E}      -- 46
planes_types[47 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,C_17}      -- 47
planes_types[48 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,SU_17M4}   -- 48
planes_types[49 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,MiG_29G}   -- 49
planes_types[50 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,MiG_29C}   -- 50
planes_types[51 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,Su_24MR}   -- 51
planes_types[52 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,F_16A}     -- 52
planes_types[53 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,FA_18C}    -- 53
planes_types[54 ]=    {wsType_Air, wsType_Airplane, wsType_Battleplane,Su_25T} -- 54
planes_types[55 ]=    {wsType_Air, wsType_Airplane, wsType_Battleplane,RQ_1A_Predator}--55
planes_types[56 ]=    {wsType_Air, wsType_Airplane, wsType_Fighter,TORNADO_IDS} -- 56 Tornado
planes_types[57 ]=    {wsType_Air, wsType_Airplane, wsType_Cruiser,Yak_40}    -- 57


helicopters_types = {}        
helicopters_types [LastPlaneType +  1 ] = {wsType_Air, wsType_Helicopter, wsType_NoWeapon,MI_8MT}    -- 1   
helicopters_types [LastPlaneType +  2 ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,MI_24W}    -- 2
helicopters_types [LastPlaneType +  3 ] = {wsType_Air, wsType_Helicopter, wsType_NoWeapon,MI_26}     -- 3
helicopters_types [LastPlaneType +  4 ] = {wsType_Air, wsType_Helicopter, wsType_NoWeapon,KA_27}     -- 4
helicopters_types [LastPlaneType +  5 ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,KA_50}     -- 5
helicopters_types [LastPlaneType +  6 ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,KA_52}     -- 6
helicopters_types [LastPlaneType +  7 ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,AH_64A}    -- 7
helicopters_types [LastPlaneType +  8 ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,AH_64D}    -- 8
helicopters_types [LastPlaneType +  9 ] = {wsType_Air, wsType_Helicopter, wsType_NoWeapon,CH_47D}    -- 9
helicopters_types [LastPlaneType +  10  ] = {wsType_Air, wsType_Helicopter, wsType_NoWeapon,CH_53E}    -- 10
helicopters_types [LastPlaneType +  11  ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,SH_60B}    -- 11
helicopters_types [LastPlaneType +  12  ] = {wsType_Air, wsType_Helicopter, wsType_NoWeapon,UH_60A}    -- 12
helicopters_types [LastPlaneType +  13  ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,AH_1W}     -- 13
helicopters_types [LastPlaneType +  14  ] = {wsType_Air, wsType_Helicopter, wsType_NoWeapon,SH_3H}     -- 14
helicopters_types [LastPlaneType +  15  ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,Sea_Lynx}  -- 15
helicopters_types [LastPlaneType +  16  ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,AB_212}     -- 16
helicopters_types [LastPlaneType +  17  ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,MI_28N}     -- 17
helicopters_types [LastPlaneType +  18  ] = {wsType_Air, wsType_Helicopter, wsType_Battleplane,OH_58D}     -- 18


ships = {}
for lev4 = 1,255 do
  local   lev3 =  wsType_ArmedShip
  if    lev4 == Kuznecow or
      lev4 == VINSON then
      lev3 =  wsType_AirCarrier
  elseif  lev4 == MOSCOW or
      lev4 == GROZNY then
      lev3 =  wsType_HCarrier
  elseif  lev4 == ELNYA or      
      lev4 == ZWEZDNY or      
      lev4 == YASTREBOW or      
      lev4 == BARGE_WITH_SAND or      
      lev4 == BARGE_WITHOUT_SAND or
      lev4 == KILO or
      lev4 == SOM or
          lev4 == KATER then
      lev3 =  wsType_CivilShip
  end
  ships[lev4] = {wsType_Navy,wsType_Ship,lev3,lev4}
end

SAMS = {}
for lev4 = 1,255 do
  local   lev3 = wsType_Radar
  if    lev4 == KP_54K6 or      
      lev4 == BUK_9C470M1 or      
      lev4 == Patr_KP or      
      lev4 == KP_S300V_9C457 then 
      lev3 = wsType_NoWeapon    
  elseif  lev4 == PU_5P85C or     
      lev4 == PU_5P85D or     
      lev4 == S300V_9A84 or     
      lev4 == S300V_9A85 or     
      lev4 == KUB_2P25 or     
      lev4 == SA2_LN or -- beczl
      lev4 == Patriot_ or     
      lev4 == Hawk_ or      
      lev4 == Dzhigit_ or     
      lev4 == Igla_ or      
      lev4 == Stinger_ or     
          lev4 == IglaRUS_1   or 
          lev4 == IglaRUS_2   or 
          lev4 == IglaGRG_1   or 
          lev4 == IglaGRG_2   or 
          lev4 == StingerUSA_1 or 
          lev4 == StingerUSA_2 or 
          lev4 == StingerIZR_1 or 
          lev4 == StingerIZR_2 or 
      lev4 == Strela_9K31 or  --нет у стрелы радара! только дальномер   
          lev4 == M48_Chaparral then
      lev3 = wsType_Miss    
  elseif  lev4 == S300V_9A82 or     
      lev4 == S300V_9A83 or     
      lev4 == BUK_PU or     
      lev4 == BUK_LL or     
      lev4 == OSA_9A33BM3 or      
      lev4 == OSA_9T217 or      
      lev4 == Tor_ or     
      lev4 == Roland_ then  
      lev3 = wsType_Radar_Miss  
  elseif  lev4 == Tunguska_ then    
      lev3 = wsType_Radar_MissGun
  elseif  lev4 == Shilka_ or      
      lev4 == Gepard_ or      
      lev4 == wsTypeVulkan then   
      lev3 = wsType_Radar_Gun    
  elseif  lev4 == Avenger_ or     
          lev4 == M6Linebacker or
          lev4 == Strela_9K35 then
      lev3 = wsType_MissGun   
  elseif  lev4 == ZU_23 or
          lev4 == ZU_23_OKOP or
          lev4 == ZU_23_URAL or
          lev4 == ZU_23_insurgent or
          lev4 == ZU_23_insurgent_okop or
          lev4 == ZU_23_insurgent_ural then
      lev3 =  wsType_Gun
  end
  SAMS[lev4] = {wsType_Ground, wsType_SAM, lev3,lev4}
end

technics = {}
for lev4 = 1,255 do
  local   lev3 =  wsType_NoWeapon
  if    lev4 == wsTypeBTR70 or
      lev4 == wsTypeLAV25 or
      lev4 == wsTypeLVTP7 or
      lev4 == wsTypeBRDM2 or
      lev4 == wsTypeSAUmsta or      
      lev4 == wsTypeSAUakacia or      
      lev4 == wsTypeSAU_2C9 or    
      lev4 == wsType2C1 or
      lev4 == wsTypeMCV80 or    
      lev4 == wsTypeM109 or
      lev4 == wsTypeLeopard2 or 
      lev4 == wsTypeAbrams or 
      lev4 == wsTypeBeregSAU or
      lev4 == wsTypeT80 or  
      lev4 == wsTypeM_60 or 
      lev4 == wsTypeLeo1 or
      lev4 == wsTypeM1126_Stryker_ICV or
      lev4 == wsTypeM1128_Stryker_MGS or
          lev4 == wsTypeMarder or 
          lev4 == wsTypeM113 or
          lev4 == wsTypeMTLB or
          lev4 == wsTypeBTR80 or
          lev4 == wsTypeT72 or
          lev4 == wsTypeT55 or
          lev4 == wsTypeM1043 or
          lev4 == wsTypeLeClerc or
          lev4 == wsTypeSoldier_AK or
          lev4 == wsTypeAutogun or
          lev4 == wsTypeSandbox or
          lev4 == wsTypeBunker or
          lev4 == wsTypeBOMAN then
      lev3 =  wsType_Gun
  elseif  lev4 == wsTypeBMD1 or     
      lev4 == wsTypeBMP1 or 
      lev4 == wsTypeBMP2 or 
      lev4 == wsTypeBMP3 or       
      lev4 == wsTypeM2Bradley or
      lev4 == wsTypeM1134_Stryker_ATGM or
          lev4 == wsTypeBTR_D or
          lev4 == wsTypeM1045 or
          lev4 == wsTypeSoldier_RPG or
          lev4 == wsTypeRPG then
      lev3 =  wsType_MissGun;  
  elseif  lev4 == wsTypeGrad or
      lev4 == wsTypeMLRS or
      lev4 == wsTypeSmerch or
      lev4 == wsTypeScud then
          lev3 =  wsType_Miss     
  elseif  lev4 == wsTypeBeregRLS or 
      lev4 == wsTypeRLS_PRW11 or  
      lev4 == wsTypeRLS_RSP7 or 
      lev4 == wsTypeRLS37 or  
      lev4 == wsTypeZapros or 
      lev4 == wsTypeRadioSt then    
      lev3 =  wsType_Radar    
  end
  technics[lev4] = {wsType_Ground,wsType_Tank,lev3,lev4}
end



