SceneObject:GetGoldValueString

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxGetGoldValueString( * 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 a descriptive string describing the cost to purchase this item, in oz's of gold.
ReturnsThe cost, described in a friendly to read string: "100oz", or "Free"




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