Aligned armordefinition with FAF values

This commit is contained in:
cardboardbread committed 2026-09-18 06:56:34 -04:00
1 parent 56c0908305
commit 11806411ad
1 file changed
+84 -13
+84 -13
View File
@@ -11,16 +11,49 @@
--# Armor Type Definitions --# 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 = { armordefinition = {
{ --# Armor Type Name { --# Armor Type Name
'Default', 'Default',
--# Armor Definition --# Armor Definition
'Normal 1.0', 'Normal 1.0',
}, },
{ --# Armor Type Name
{ --# Armor Type Name
'Normal', 'Normal',
--# Armor Definition --# Armor Definition
@@ -31,8 +64,7 @@ armordefinition = {
'D_ClusterEnergy 30.0', 'D_ClusterEnergy 30.0',
}, },
{ --# Armor Type Name
{ --# Armor Type Name
'Light', 'Light',
--# Armor Definition --# Armor Definition
@@ -42,25 +74,24 @@ armordefinition = {
'D_ClusterAmmo 30.0', 'D_ClusterAmmo 30.0',
'D_ClusterEnergy 30.0', 'D_ClusterEnergy 30.0',
}, },
{ --# Armor Type Name { --# Armor Type Name
'Commander', 'Commander',
--# Armor Definition --# Armor Definition
'Normal 1.0', 'Normal 1.0',
'Overcharge 0.033333', 'Deathnuke 1.0',
'Deathnuke 0.05',
'D_Ammo 30.0', 'D_Ammo 30.0',
'D_Energy 30.0', 'D_Energy 30.0',
'D_ClusterAmmo 30.0', 'D_ClusterAmmo 30.0',
'D_ClusterEnergy 30.0', 'D_ClusterEnergy 30.0',
}, },
{ --# Armor Type Name { --# Armor Type Name
'Structure', 'Structure',
--# Armor Definition --# Armor Definition
'Normal 1.0', 'Normal 1.0',
'Overcharge 0.066666', 'Overcharge 0.25',
'Deathnuke 0.01', 'Deathnuke 0.032',
'D_Ammo 30.0', 'D_Ammo 30.0',
'D_Energy 30.0', 'D_Energy 30.0',
'D_ClusterAmmo 30.0', 'D_ClusterAmmo 30.0',
@@ -77,8 +108,48 @@ armordefinition = {
'D_ClusterAmmo 30.0', 'D_ClusterAmmo 30.0',
'D_ClusterEnergy 30.0', 'D_ClusterEnergy 30.0',
}, },
{
--# Armor Type name
'ExperimentalStructure',
--DMG --# 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
{ {
--# Armor Type Name --# Armor Type Name
@@ -109,7 +180,7 @@ armordefinition = {
'Normal 15.0', 'Normal 15.0',
}, },
--Armor --Armor
{ {
--# Armor Type Name --# Armor Type Name