TPG.GetArmor(armorId)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Look up an armor tier. The fallback for an unknown id is Light (id 1), not None (id 0); a nil or invalid armorId therefore does NOT come back as the unarmored tier, it comes back as the cheapest actually-armored one.
Parameters
| Name | Type | Description |
|---|---|---|
armorId | number |
Returns
| Type | Description |
|---|---|
table | The matching entry from `TPG.Armor`. |
Examples
No examples available.
Used In
No usages found in the codebase.