Interface IHasDynamicHomeFurnishingValue
World objects can implement this interface to define an additional component that will be calulated to determine home furnishing value when evaluating property value. This is used of things like PictureFrames which can hold artwork of dynamic value.
Namespace: Eco.Gameplay.Housing.PropertyValues
Assembly: Eco.Gameplay.dll
Syntax
public interface IHasDynamicHomeFurnishingValue
Properties
DynamicFurnishingTitle
How to describe the dynamic value in tooltips etc
Declaration
LocString DynamicFurnishingTitle { get; }
Property Value
Type | Description |
---|---|
LocString |
DynamicFurnishingValue
Returns the dynamic value
Declaration
float DynamicFurnishingValue { get; }
Property Value
Type | Description |
---|---|
System.Single |
UniqueObject
If a unique object is defined, then it will test uniqueness based on this dynamic trait instead of repetitions of the same type (ie, the artist of the painting is the unique factor for picture frames, making repeated paintings from the same artist reduce in value compared to different artists).
Declaration
object UniqueObject { get; }
Property Value
Type | Description |
---|---|
System.Object |
UniqueObjectName
What the type of the unique object is, described for tooltips and such.
Declaration
LocString UniqueObjectName { get; }
Property Value
Type | Description |
---|---|
LocString |