SceneObject:GetTotalValue

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxGetTotalValue( * If this is supposed to be adjusted for a specific Tech's subjective value, then pass in the native DataModule ID of that tech. 0 means no Tech is specified and the base value is returned.
  • How much to multiply the value if this happens to be a foreign Tech. )
Description:
Gets the total liquidation value of this, including everything inside.
ReturnsThe current value of this and all contained assets.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools