Part of TPG namespace
TPG.Economy.GetContraptionCost(entList)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Vehicle cost: sum of unique contraptions' ACE points across a set of entities. Forces each unique contraption to bring its point total up to date first (via ACE_EnsureContraptionPoints), so a just-pasted build is priced correctly even before anything else has read its points.
Parameters
| Name | Type | Description |
|---|---|---|
entList | table | Entities from a paste or spawn. |
Returns
| Type | Description |
|---|---|
number |
Examples
No examples available.
Used In
No usages found in the codebase.