tModLoader v2024.03
A mod to make and play Terraria mods
HouseBuilder Class Reference

Inherited by DesertHouseBuilder, GraniteHouseBuilder, IceHouseBuilder, JungleHouseBuilder, MarbleHouseBuilder, MushroomHouseBuilder, and WoodHouseBuilder.

Public Member Functions

virtual void Place (HouseBuilderContext context, StructureMap structures)
 

Public Attributes

readonly bool IsValid
 
readonly HouseType Type
 

Static Public Attributes

static readonly HouseBuilder Invalid = new HouseBuilder()
 

Protected Member Functions

 HouseBuilder (HouseType type, IEnumerable< Rectangle > rooms)
 
virtual void AgeRoom (Rectangle room)
 

Protected Attributes

ushort[] SkipTilesDuringWallAging
 

Properties

ushort BeamType [get, protected set]
 
int BookcaseStyle [get, protected set]
 
Rectangle BottomRoom [get]
 
int ChairStyle [get, protected set]
 
double ChestChance [get, set]
 
int ChestStyle [get, protected set]
 
int DoorStyle [get, protected set]
 
int PianoStyle [get, protected set]
 
int PlatformStyle [get, protected set]
 
ReadOnlyCollection< Rectangle > Rooms [get]
 
int TableStyle [get, protected set]
 
ushort TileType [get, protected set]
 
Rectangle TopRoom [get]
 
bool UsesContainers2 [get, protected set]
 
bool UsesTables2 [get, protected set]
 
ushort WallType [get, protected set]
 
int WorkbenchStyle [get, protected set]
 

Member Data Documentation

◆ SkipTilesDuringWallAging

ushort [] HouseBuilder.SkipTilesDuringWallAging
protected
Initial value:
= new ushort[5] {
245,
246,
240,
241,
242
}