Vixen
caa30e12
csharp
public record class PlotDefinition

A kind of house: how much fits in it, how it snaps, and what each verb costs in standing.

Read the guide page for this →

Fields and properties (12)

  • public string DisplayName

    What it is called.

  • public int Budget

    How much furniture fits, in the same units as a piece's cost.

  • public HouseSurface Surfaces

    What surfaces it offers.

  • public float SnapGrid

    How far apart the grid is, in metres. Zero for free placement.

  • public float SnapDegrees

    How far apart the allowed facings are, in degrees. Zero for free rotation.

  • public string Tag

    What being in one grants — House.Inside. Empty for one nothing asks about.

  • public HouseTier EnterTier

    The lowest standing that may come in.

  • public HouseTier UseTier

    The lowest standing that may use what is in it.

  • public HouseTier DecorateTier

    The lowest standing that may decorate.

  • public HouseTier AdministerTier

    The lowest standing that may change who is allowed what.

  • public HouseTier Openness

    What a stranger is treated as, before an owner changes it.

  • public List<RequirementDefinition> Requires

    What has to be true to own one.

Methods (1)

  • public override void CollectTags(ICollection<string> tags)

    Every tag this definition mentions, so the content build can bake the tag table.

Used by (7)

  • ContentVixen.Gameplay.Housing.Tests
  • HousingLibraryVixen.Gameplay.Housing
  • HousingModuleVixen.Gameplay.Housing
  • HousingTestsVixen.Gameplay.Housing.Tests
  • PlotVixen.Gameplay.Housing
  • TypeRegistrationVixen.Gameplay.Housing
  • Vixen_Gameplay_Housing_PlotDefinitionSerializerVixen.Gameplay.Housing