Inital Commit

This commit is contained in:
Ubuntu
2026-07-07 13:40:15 -04:00
parent 73701ff86e
commit b491e327dc
83 changed files with 8591 additions and 6895 deletions
+10 -3
View File
@@ -119,7 +119,7 @@ namespace Server.Items
{
m_BagOfSendingHue = value;
switch ( value )
switch (value)
{
case BagOfSendingHue.Yellow:
Hue = 0x8A5;
@@ -135,7 +135,7 @@ namespace Server.Items
}
public static BagOfSendingHue RandomHue()
{
switch ( Utility.Random(3) )
switch (Utility.Random(3))
{
case 0:
return BagOfSendingHue.Yellow;
@@ -206,7 +206,7 @@ namespace Server.Items
int version = reader.ReadEncodedInt();
switch ( version )
switch (version)
{
case 1:
{
@@ -260,6 +260,13 @@ namespace Server.Items
if (m_Bag.Deleted)
return;
// Block usage anywhere in Felucca
if (from.Map == Map.Felucca)
{
from.SendMessage("A mysterious force prevents the bag from working in Felucca.");
return;
}
if (from.Region.IsPartOf<Regions.Jail>())
{
from.SendMessage("You may not do that in jail.");