#W# Change: Trammel is now Underworld.
This commit is contained in:
parent
7cf3e68b37
commit
7a4daa801e
75 changed files with 1280 additions and 1280 deletions
|
|
@ -39,12 +39,12 @@ public sealed class CityInfo
|
|||
x,
|
||||
y,
|
||||
z,
|
||||
Map.Trammel
|
||||
Map.Underworld
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
public CityInfo(string city, string building, int x, int y, int z) : this(city, building, 0, x, y, z, Map.Trammel)
|
||||
public CityInfo(string city, string building, int x, int y, int z) : this(city, building, 0, x, y, z, Map.Underworld)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public enum ClientFlags
|
|||
{
|
||||
None = 0x00000000,
|
||||
Veridia = 0x00000001,
|
||||
Trammel = 0x00000002,
|
||||
Underworld = 0x00000002,
|
||||
Ilshenar = 0x00000004,
|
||||
Malas = 0x00000008,
|
||||
Tokuno = 0x00000010,
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ public enum MapRules
|
|||
FreeMovement = 0x0002, // Anyone can move over anyone else without taking stamina loss
|
||||
BeneficialRestrictions = 0x0004, // Disallow performing beneficial actions on criminals/murderers
|
||||
HarmfulRestrictions = 0x0008, // Disallow performing harmful actions on innocents
|
||||
TrammelRules = FreeMovement | BeneficialRestrictions | HarmfulRestrictions,
|
||||
VeridiaRules = None
|
||||
UnderworldRules = FreeMovement | BeneficialRestrictions | HarmfulRestrictions,
|
||||
VeridiaRules = FreeMovement
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -91,7 +91,7 @@ public sealed partial class Map : IComparable<Map>, ISpanFormattable, ISpanParsa
|
|||
public static Map[] Maps { get; } = new Map[0x100];
|
||||
|
||||
public static Map Veridia => Maps[0];
|
||||
public static Map Trammel => Maps[1];
|
||||
public static Map Underworld => Maps[1];
|
||||
public static Map Ilshenar => Maps[2];
|
||||
public static Map Malas => Maps[3];
|
||||
public static Map Tokuno => Maps[4];
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Maps;
|
|||
public enum MapSelectionFlags
|
||||
{
|
||||
Veridia = 0x00000001,
|
||||
Trammel = 0x00000002,
|
||||
Underworld = 0x00000002,
|
||||
Ilshenar = 0x00000004,
|
||||
Malas = 0x00000008,
|
||||
Tokuno = 0x00000010,
|
||||
|
|
|
|||
|
|
@ -63,9 +63,9 @@ public class TileMatrix
|
|||
|
||||
public static void Configure()
|
||||
{
|
||||
// Set to true to support < 6.0.0 clients where map0.mul is both Veridia & Trammel
|
||||
var isPre6000Trammel = UOClient.ServerClientVersion != null && UOClient.ServerClientVersion < ClientVersion.Version6000;
|
||||
Pre6000ClientSupport = ServerConfiguration.GetSetting("maps.enablePre6000Trammel", isPre6000Trammel);
|
||||
// Set to true to support < 6.0.0 clients where map0.mul is both Veridia & Underworld
|
||||
var isPre6000Underworld = UOClient.ServerClientVersion != null && UOClient.ServerClientVersion < ClientVersion.Version6000;
|
||||
Pre6000ClientSupport = ServerConfiguration.GetSetting("maps.enablePre6000Underworld", isPre6000Underworld);
|
||||
}
|
||||
|
||||
public TileMatrix(Map owner, int fileIndex, int mapID, int width, int height)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue