branch sync #2
This commit is contained in:
parent
96a37544fd
commit
4e6256b8cd
39 changed files with 415 additions and 137 deletions
|
|
@ -14,7 +14,8 @@ namespace Server.Multis
|
|||
BadStatic,
|
||||
BadItem,
|
||||
NoSurface,
|
||||
BadRegionHidden
|
||||
BadRegionHidden,
|
||||
BadRegionTemp
|
||||
}
|
||||
|
||||
public class HousePlacement
|
||||
|
|
@ -106,6 +107,9 @@ namespace Server.Multis
|
|||
|
||||
if ( !reg.AllowHousing( from, testPoint ) ) // Cannot place houses in dungeons, towns, treasure map areas etc
|
||||
{
|
||||
if ( reg.IsPartOf( typeof( TempNoHousingRegion ) ) )
|
||||
return HousePlacementResult.BadRegionTemp;
|
||||
|
||||
if ( reg.IsPartOf( typeof( TreasureRegion ) ) )
|
||||
return HousePlacementResult.BadRegionHidden;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue