make the distance microwaves and flourescent lights damage things a constant.
This commit is contained in:
parent
36654e837f
commit
2b944891e2
@ -319,6 +319,7 @@ namespace EduNetworkBuilder
|
|||||||
public static int DefaultMachinePasswordLen = 20;
|
public static int DefaultMachinePasswordLen = 20;
|
||||||
public static int DefaultSaltLen = 50;
|
public static int DefaultSaltLen = 50;
|
||||||
public static int NormalRotation = 5;
|
public static int NormalRotation = 5;
|
||||||
|
public static int PacketDamageDistance = 25;
|
||||||
|
|
||||||
public static string AllowedPasswordCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-=!~@#$%^&*()_+{}[]/?<>,.";
|
public static string AllowedPasswordCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-=!~@#$%^&*()_+{}[]/?<>,.";
|
||||||
public static string AllowedUsernameCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890._";
|
public static string AllowedUsernameCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890._";
|
||||||
|
@ -1518,7 +1518,7 @@ namespace EduNetworkBuilder
|
|||||||
public bool DeviceIsOverDamaging(LinkType myLink, Point location)
|
public bool DeviceIsOverDamaging(LinkType myLink, Point location)
|
||||||
{
|
{
|
||||||
NetworkDevice ND;
|
NetworkDevice ND;
|
||||||
int countDistance = 25;
|
int countDistance = NB.PacketDamageDistance;
|
||||||
double HowFar;
|
double HowFar;
|
||||||
foreach(NetworkComponent NC in NetComponents)
|
foreach(NetworkComponent NC in NetComponents)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user