Removes literal variables (#257)

This commit is contained in:
Kamron Batman 2020-09-18 18:41:26 -07:00 • committed by GitHub
parent 580da8a0cc
commit 4d6e584b6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
359 changed files with 1306 additions and 1306 deletions

View file

@ -24,27 +24,27 @@ namespace Server.Multis.Deeds
if (from.AccessLevel >= AccessLevel.GameMaster || reg.AllowHousing(from, p))
{
m_Deed.OnPlacement(@from, p);
m_Deed.OnPlacement(from, p);
}
else if (reg.IsPartOf<TempNoHousingRegion>())
{
@from.SendLocalizedMessage(
from.SendLocalizedMessage(
501270
); // Lord British has decreed a 'no build' period, thus you cannot build this house at this time.
}
else if (reg.IsPartOf<TreasureRegion>() || reg.IsPartOf<HouseRegion>())
{
@from.SendLocalizedMessage(
from.SendLocalizedMessage(
1043287
); // The house could not be created here. Either something is blocking the house, or the house would not be on valid terrain.
}
else if (reg.IsPartOf<HouseRaffleRegion>())
{
@from.SendLocalizedMessage(1150493); // You must have a deed for this plot of land in order to build here.
from.SendLocalizedMessage(1150493); // You must have a deed for this plot of land in order to build here.
}
else
{
@from.SendLocalizedMessage(501265); // Housing can not be created in this area.
from.SendLocalizedMessage(501265); // Housing can not be created in this area.
}
}
}