diff --git a/hook/lua/armordefinition.lua b/hook/lua/armordefinition.lua index 44dec2d..4533f26 100644 --- a/hook/lua/armordefinition.lua +++ b/hook/lua/armordefinition.lua @@ -11,16 +11,49 @@ --# Armor Type Definitions --# +---@alias DamageType +---| "CzarBeam" +---| "DeathExplosion" +---| "Deathnuke" +---| "EMP" +---| "ExperimentalFootfall" +---| "FireBeetleExplosion" +---| "Normal" +---| "Nuke" +---| "Overcharge" +---| "Reclaimed" +---| "Spell" +---| "Stun" +---| "TacticalMissile" +---| "TreeFire" +---| "TreeForce" +---| "Disintegrate" # Used by tree props +---| "Force" # Used by tree props +---| "Fire" # Used by tree props +---| "WallOverspill" +---| "TransportDamage" # Skips visual effects in OnKilled +---| "FAF_AntiShield" # Only deals damage to shields + +---@alias ArmorType +---| "ASF" +---| "Commander" +---| "Default" +---| "Experimental" +---| "ExperimentalStructure" +---| "Light" +---| "Normal" +---| "Structure" +---| "TMD" + armordefinition = { - { --# Armor Type Name + { --# Armor Type Name 'Default', --# Armor Definition 'Normal 1.0', }, - - { --# Armor Type Name + { --# Armor Type Name 'Normal', --# Armor Definition @@ -31,8 +64,7 @@ armordefinition = { 'D_ClusterEnergy 30.0', }, - - { --# Armor Type Name + { --# Armor Type Name 'Light', --# Armor Definition @@ -42,25 +74,24 @@ armordefinition = { 'D_ClusterAmmo 30.0', 'D_ClusterEnergy 30.0', }, - { --# Armor Type Name + { --# Armor Type Name 'Commander', --# Armor Definition 'Normal 1.0', - 'Overcharge 0.033333', - 'Deathnuke 0.05', + 'Deathnuke 1.0', 'D_Ammo 30.0', 'D_Energy 30.0', 'D_ClusterAmmo 30.0', 'D_ClusterEnergy 30.0', }, - { --# Armor Type Name + { --# Armor Type Name 'Structure', --# Armor Definition 'Normal 1.0', - 'Overcharge 0.066666', - 'Deathnuke 0.01', + 'Overcharge 0.25', + 'Deathnuke 0.032', 'D_Ammo 30.0', 'D_Energy 30.0', 'D_ClusterAmmo 30.0', @@ -69,39 +100,79 @@ armordefinition = { { --# Armor Type name 'Experimental', - + --# Armor Definition 'ExperimentalFootfall 0.0', 'D_Ammo 30.0', 'D_Energy 30.0', 'D_ClusterAmmo 30.0', - 'D_ClusterEnergy 30.0', + 'D_ClusterEnergy 30.0', + }, + { + --# Armor Type name + 'ExperimentalStructure', + + --# Armor Definition + 'Normal 1.0', + 'Overcharge 0.25', + 'Deathnuke 0.032', + 'ExperimentalFootfall 0.0', + 'D_Ammo 30.0', + 'D_Energy 30.0', + 'D_ClusterAmmo 30.0', + 'D_ClusterEnergy 30.0', + }, + { + --# Armor Type name + 'ASF', + + --# Armor Definition + 'Normal 1.0', + 'CzarBeam 0.25', + 'D_Ammo 30.0', + 'D_Energy 30.0', + 'D_ClusterAmmo 30.0', + 'D_ClusterEnergy 30.0', + }, + { + --# Armor Type name + 'TMD', + + --# Armor Definition + 'Normal 1.0', + 'Overcharge 0.25', + 'Deathnuke 0.032', + 'TacticalMissile 0.55', + 'D_Ammo 30.0', + 'D_Energy 30.0', + 'D_ClusterAmmo 30.0', + 'D_ClusterEnergy 30.0', }, ---DMG + --DMG - { + { --# Armor Type Name 'D_Ammo', - + --# Armor Definition 'Normal 15.0', }, - { + { --# Armor Type Name 'D_Energy', --# Armor Definition 'Normal 15.0', }, - { + { --# Armor Type Name 'D_ClusterAmmo', --# Armor Definition 'Normal 15.0', }, - { + { --# Armor Type Name 'D_ClusterEnergy', @@ -109,9 +180,9 @@ armordefinition = { 'Normal 15.0', }, ---Armor + --Armor - { + { --# Armor Type Name 'A_M_Reactive', @@ -122,7 +193,7 @@ armordefinition = { 'D_ClusterAmmo 0.5', 'D_ClusterEnergy 1.1', }, - { + { --# Armor Type Name 'A_M_Reflective', @@ -133,10 +204,10 @@ armordefinition = { 'D_ClusterAmmo 1.1', 'D_ClusterEnergy 0.5', }, - { + { --# Armor Type Name 'A_M_Standard', - + --# Armor Definition 'Normal 0.03', 'D_Ammo 1.0', @@ -144,7 +215,7 @@ armordefinition = { 'D_ClusterAmmo 1.1', 'D_ClusterEnergy 1.1', }, - { + { --# Armor Type Name 'A_V_Reactive', @@ -155,7 +226,7 @@ armordefinition = { 'D_ClusterAmmo 0.7', 'D_ClusterEnergy 1.2', }, - { + { --# Armor Type Name 'A_V_Reflective', @@ -166,10 +237,10 @@ armordefinition = { 'D_ClusterAmmo 1.2', 'D_ClusterEnergy 0.7', }, - { + { --# Armor Type Name 'A_V_Standard_Track', - + --# Armor Definition 'Normal 0.03', 'D_Ammo 1.0', @@ -177,10 +248,10 @@ armordefinition = { 'D_ClusterAmmo 1.2', 'D_ClusterEnergy 1.2', }, - { + { --# Armor Type Name 'A_V_Standard_Wheel', - + --# Armor Definition 'Normal 0.03', 'D_Ammo 1.0', @@ -188,10 +259,10 @@ armordefinition = { 'D_ClusterAmmo 1.4', 'D_ClusterEnergy 1.4', }, - { + { --# Armor Type Name 'A_V_Standard_Hover', - + --# Armor Definition 'Normal 0.03', 'D_Ammo 1.0', @@ -199,7 +270,7 @@ armordefinition = { 'D_ClusterAmmo 1.5', 'D_ClusterEnergy 1.5', }, - { + { --# Armor Type Name 'A_A_Reactive', @@ -210,7 +281,7 @@ armordefinition = { 'D_ClusterAmmo 1.2', 'D_ClusterEnergy 2.5', }, - { + { --# Armor Type Name 'A_A_Reflective', @@ -221,10 +292,10 @@ armordefinition = { 'D_ClusterAmmo 2.5', 'D_ClusterEnergy 1.2', }, - { + { --# Armor Type Name 'A_A_Standard', - + --# Armor Definition 'Normal 0.03', 'D_Ammo 1.0', @@ -232,4 +303,4 @@ armordefinition = { 'D_ClusterAmmo 2.5', 'D_ClusterEnergy 2.5', }, -} \ No newline at end of file +}