Tru
Knight
Cellar Addon
Simple little Addon that adds a 7x7 Cellar at -40 Z in your house. Only one Distro Mod is needed and I thank kmwill for that. It's his IsInside method in BaseHouse.cs (from his TownHouse system). If you use his system and have made this mod you obviously don't need to.
As you can see I just edited out his townhouse code. Just edit out the old Method and add the new one.
It adds a Bookcase upstairs (to doubleclick to activate) and stairs in the cellar for getting back up.
I'm also including my CellarExtension, it doesnt have the bookcase or stairs and just has a patch of carpet (upstairs to chop). For those that want a bigger cellar (Ie In Castles).
Couple checks I haven't added is whether they are trying to add it from a second floor (or higher) or whether they are trying to chop it from the basement.
Now its small enough to go into a SmallTower but you would have to put the Bookcase in the middle of the floor (or the whole addon wouldnt be in the HouseRegion and wouldnt be allowed to be set up).
Should work with any version with the BaseHouse mod.
Hope someone finds it useful (I use it as one of my new Rewards).
Simple little Addon that adds a 7x7 Cellar at -40 Z in your house. Only one Distro Mod is needed and I thank kmwill for that. It's his IsInside method in BaseHouse.cs (from his TownHouse system). If you use his system and have made this mod you obviously don't need to.
Code:
public virtual bool IsInside( Point3D p, int height )
{
Sector sector = Map.GetSector( p );
/*foreach( BaseMulti m in sector.Multis )
{
if ( m != this
&& m is Knives.TownHouses.TownHouse
&& ((Knives.TownHouses.TownHouse)m).ForSaleSign is Knives.TownHouses.RentalContract
&& ((Knives.TownHouses.TownHouse)m).IsInside( p, height ) )
return false;
}*/
return Region.Contains( p );
}
As you can see I just edited out his townhouse code. Just edit out the old Method and add the new one.
It adds a Bookcase upstairs (to doubleclick to activate) and stairs in the cellar for getting back up.
I'm also including my CellarExtension, it doesnt have the bookcase or stairs and just has a patch of carpet (upstairs to chop). For those that want a bigger cellar (Ie In Castles).
Couple checks I haven't added is whether they are trying to add it from a second floor (or higher) or whether they are trying to chop it from the basement.
Now its small enough to go into a SmallTower but you would have to put the Bookcase in the middle of the floor (or the whole addon wouldnt be in the HouseRegion and wouldnt be allowed to be set up).
Should work with any version with the BaseHouse mod.
Hope someone finds it useful (I use it as one of my new Rewards).