Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AgeRoom()

override void Terraria.GameContent.Biomes.CaveHouse.DesertHouseBuilder.AgeRoom ( Rectangle room)
inlineprotectedvirtual

Reimplemented from Terraria.GameContent.Biomes.CaveHouse.HouseBuilder.

Definition at line 28 of file DesertHouseBuilder.cs.

29 {
30 WorldUtils.Gen(new Point(room.X, room.Y), new Shapes.Rectangle(room.Width, room.Height), Actions.Chain(new Modifiers.Dither(0.8), new Modifiers.Blotches(2, 0.2), new Modifiers.OnlyTiles(base.TileType), new Actions.SetTileKeepWall(396, setSelfFrames: true), new Modifiers.Dither(), new Actions.SetTileKeepWall(397, setSelfFrames: true)));
31 WorldUtils.Gen(new Point(room.X + 1, room.Y), new Shapes.Rectangle(room.Width - 2, 1), Actions.Chain(new Modifiers.Dither(), new Modifiers.OnlyTiles(397, 396), new Modifiers.Offset(0, 1), new ActionStalagtite()));
32 WorldUtils.Gen(new Point(room.X + 1, room.Y + room.Height - 1), new Shapes.Rectangle(room.Width - 2, 1), Actions.Chain(new Modifiers.Dither(), new Modifiers.OnlyTiles(397, 396), new Modifiers.Offset(0, 1), new ActionStalagtite()));
33 WorldUtils.Gen(new Point(room.X, room.Y), new Shapes.Rectangle(room.Width, room.Height), Actions.Chain(new Modifiers.Dither(0.8), new Modifiers.Blotches(), new Modifiers.OnlyWalls(base.WallType), new Actions.PlaceWall(216)));
34 }
static GenAction Chain(params GenAction[] actions)
Definition Actions.cs:470
static bool Gen(Point origin, GenShape shape, GenAction action)
Definition WorldUtils.cs:17

References Terraria.WorldBuilding.Actions.Chain(), and Terraria.WorldBuilding.WorldUtils.Gen().