Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -0,0 +1,130 @@
|
||||
using Server;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Mobiles;
|
||||
using Server.Items;
|
||||
using Server.ContextMenus;
|
||||
|
||||
namespace Server.Engines.Fellowship
|
||||
{
|
||||
public class FellowshipAdept : BaseVendor
|
||||
{
|
||||
public override bool IsActiveVendor { get { return false; } }
|
||||
public override bool IsInvulnerable { get { return true; } }
|
||||
public override bool DisallowAllMoves { get { return true; } }
|
||||
public override bool ClickTitle { get { return true; } }
|
||||
public override bool CanTeach { get { return false; } }
|
||||
|
||||
protected List<SBInfo> m_SBInfos = new List<SBInfo>();
|
||||
protected override List<SBInfo> SBInfos { get { return m_SBInfos; } }
|
||||
public override void InitSBInfo() { }
|
||||
|
||||
public static FellowshipAdept InstanceTram { get; set; }
|
||||
public static FellowshipAdept InstanceFel { get; set; }
|
||||
|
||||
[Constructable]
|
||||
public FellowshipAdept()
|
||||
: base("the Fellowship Adept")
|
||||
{
|
||||
}
|
||||
|
||||
public override void InitBody()
|
||||
{
|
||||
base.InitBody();
|
||||
|
||||
Name = NameList.RandomName("male");
|
||||
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Body = 0x190;
|
||||
HairItemID = 0x2044;
|
||||
HairHue = 1644;
|
||||
FacialHairItemID = 0x203F;
|
||||
FacialHairHue = 1644;
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
SetWearable(new Kamishimo());
|
||||
SetWearable(new Sandals());
|
||||
SetWearable(new GoldRing());
|
||||
|
||||
if (Backpack == null)
|
||||
{
|
||||
Item backpack = new Backpack
|
||||
{
|
||||
Movable = false
|
||||
};
|
||||
|
||||
AddItem(backpack);
|
||||
}
|
||||
}
|
||||
|
||||
public override void GetProperties(ObjectPropertyList list)
|
||||
{
|
||||
base.GetProperties(list);
|
||||
|
||||
list.Add(1159182); // Fellowship Shop
|
||||
}
|
||||
|
||||
public override void AddCustomContextEntries(Mobile from, List<ContextMenuEntry> list)
|
||||
{
|
||||
|
||||
if (from.Alive)
|
||||
{
|
||||
list.Add(new BrowseShopEntry(from, this));
|
||||
}
|
||||
|
||||
base.AddCustomContextEntries(from, list);
|
||||
}
|
||||
|
||||
private class BrowseShopEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_From;
|
||||
private BaseVendor m_Vendor;
|
||||
|
||||
public BrowseShopEntry(Mobile from, BaseVendor vendor)
|
||||
: base(1159181, 2) // Browse the Fellowship Shop
|
||||
{
|
||||
Enabled = vendor.CheckVendorAccess(from);
|
||||
|
||||
m_From = from;
|
||||
m_Vendor = vendor;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
if (!m_From.InRange(m_Vendor.Location, 5) || !(m_From is PlayerMobile))
|
||||
return;
|
||||
|
||||
m_From.SendGump(new FellowshipRewardGump(m_Vendor, m_From as PlayerMobile));
|
||||
}
|
||||
}
|
||||
|
||||
public FellowshipAdept(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write(0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (Map == Map.Trammel)
|
||||
{
|
||||
InstanceTram = this;
|
||||
}
|
||||
|
||||
if (Map == Map.Felucca)
|
||||
{
|
||||
InstanceFel = this;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
using Server.Gumps;
|
||||
using Server.Mobiles;
|
||||
using Server.Engines.Quests;
|
||||
|
||||
namespace Server.Engines.Fellowship
|
||||
{
|
||||
public class Follower : BaseQuester
|
||||
{
|
||||
public static Follower InstanceTram { get; set; }
|
||||
public static Follower InstanceFel { get; set; }
|
||||
|
||||
[Constructable]
|
||||
public Follower()
|
||||
: base("the Follower")
|
||||
{
|
||||
}
|
||||
|
||||
public override void InitBody()
|
||||
{
|
||||
base.InitBody();
|
||||
|
||||
Name = NameList.RandomName("male");
|
||||
|
||||
SpeechHue = 0x3B2;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Body = 0x190;
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
SetWearable(new Surcoat(), 1255);
|
||||
SetWearable(new LongPants(), 2722);
|
||||
SetWearable(new Kilt(), 2012);
|
||||
SetWearable(new Boots());
|
||||
SetWearable(new GoldEarrings());
|
||||
}
|
||||
|
||||
public override int GetAutoTalkRange(PlayerMobile pm)
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
|
||||
public override void OnTalk(PlayerMobile player, bool contextMenu)
|
||||
{
|
||||
if (!player.HasGump(typeof(FollowerGump)))
|
||||
{
|
||||
player.SendGump(new FollowerGump());
|
||||
}
|
||||
}
|
||||
|
||||
public class FollowerGump : Gump
|
||||
{
|
||||
public FollowerGump()
|
||||
: base(100, 100)
|
||||
{
|
||||
AddPage(0);
|
||||
|
||||
AddBackground(0, 0, 720, 285, 0x2454);
|
||||
AddImage(0, 0, 0x6CF);
|
||||
AddHtmlLocalized(300, 24, 408, 251, 1159043, 0xC63, false, true); // Welcome to the Fellowship Hall. It isn't much, but we've been able to help the many refugees from across Britannia that Hook and his vile minions have displaced with their plundering ways! If you'd like to make a donation, simply drop your trade cargo in the donation box. With enough donations you too can become a member of the Fellowship!<BR><BR><br>If you have taken up the charge of cleansing Britannia's souls of the vile evils that plague our society, you may deposit the soulbinders in the chest here for cleansing by our Adepts.
|
||||
}
|
||||
}
|
||||
|
||||
public Follower(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write(0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (Map == Map.Trammel)
|
||||
{
|
||||
InstanceTram = this;
|
||||
}
|
||||
|
||||
if (Map == Map.Felucca)
|
||||
{
|
||||
InstanceFel = this;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,233 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
using System.Collections.Generic;
|
||||
using Server.Mobiles;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace Server.Engines.Quests
|
||||
{
|
||||
public class CooperativeArray
|
||||
{
|
||||
public string Account { get; set; }
|
||||
public int Purchase { get; set; }
|
||||
}
|
||||
|
||||
public class MiningCooperative
|
||||
{
|
||||
public static string FilePath = Path.Combine("Saves/Misc", "MiningCooperative.bin");
|
||||
private static List<CooperativeArray> PurchaseList = new List<CooperativeArray>();
|
||||
|
||||
public static void Configure()
|
||||
{
|
||||
EventSink.WorldSave += OnSave;
|
||||
EventSink.WorldLoad += OnLoad;
|
||||
}
|
||||
|
||||
public static void AddPurchase(Mobile from, int amount)
|
||||
{
|
||||
string acc = from.Account.ToString();
|
||||
|
||||
if (CheckList(from))
|
||||
{
|
||||
PurchaseList.Find(x => x.Account == acc).Purchase += amount;
|
||||
}
|
||||
else
|
||||
{
|
||||
PurchaseList.Add(new CooperativeArray { Account = from.Account.ToString(), Purchase = amount });
|
||||
}
|
||||
}
|
||||
|
||||
public static bool CheckList(Mobile from)
|
||||
{
|
||||
string acc = from.Account.ToString();
|
||||
|
||||
return PurchaseList.Any(x => x.Account == acc);
|
||||
}
|
||||
|
||||
public static int PurchaseAmount(Mobile from)
|
||||
{
|
||||
int amount = 0;
|
||||
|
||||
if (CheckList(from))
|
||||
{
|
||||
amount = PurchaseList.FirstOrDefault(x => x.Account == from.Account.ToString()).Purchase;
|
||||
}
|
||||
|
||||
return amount;
|
||||
}
|
||||
|
||||
public static void DefragTables()
|
||||
{
|
||||
PurchaseList = new List<CooperativeArray>();
|
||||
}
|
||||
|
||||
public static void OnSave(WorldSaveEventArgs e)
|
||||
{
|
||||
Persistence.Serialize(
|
||||
FilePath,
|
||||
writer =>
|
||||
{
|
||||
writer.Write((int)0);
|
||||
|
||||
writer.Write(PurchaseList.Count);
|
||||
|
||||
PurchaseList.ForEach(s =>
|
||||
{
|
||||
writer.Write(s.Account);
|
||||
writer.Write((int)s.Purchase);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
public static void OnLoad()
|
||||
{
|
||||
Persistence.Deserialize(
|
||||
FilePath,
|
||||
reader =>
|
||||
{
|
||||
int version = reader.ReadInt();
|
||||
int count = reader.ReadInt();
|
||||
|
||||
for (int i = count; i > 0; i--)
|
||||
{
|
||||
string acc = reader.ReadString();
|
||||
int purchase = reader.ReadInt();
|
||||
|
||||
if (acc != null)
|
||||
{
|
||||
PurchaseList.Add(new CooperativeArray { Account = acc, Purchase = purchase });
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public class MiningCooperativeMerchant : BaseVendor
|
||||
{
|
||||
protected readonly List<SBInfo> m_SBInfos = new List<SBInfo>();
|
||||
protected override List<SBInfo> SBInfos { get { return m_SBInfos; } }
|
||||
|
||||
public override bool IsActiveVendor { get { return false; } }
|
||||
public override bool IsInvulnerable { get { return true; } }
|
||||
|
||||
public int MaxAmount { get { return 5000; } }
|
||||
public int Price { get { return 112; } }
|
||||
public int Quantity { get { return 500; } }
|
||||
|
||||
public static MiningCooperativeMerchant InstanceTram { get; set; }
|
||||
public static MiningCooperativeMerchant InstanceFel { get; set; }
|
||||
|
||||
public override void InitSBInfo()
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public MiningCooperativeMerchant()
|
||||
: base("the Mining Cooperative Merchant")
|
||||
{
|
||||
}
|
||||
|
||||
public MiningCooperativeMerchant(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
AddItem(new FancyShirt(0x3E4));
|
||||
AddItem(new LongPants(0x192));
|
||||
AddItem(new Pickaxe());
|
||||
AddItem(new ThighBoots(0x283));
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
from.CloseGump(typeof(MiningCooperativeGump));
|
||||
from.SendGump(new MiningCooperativeGump(this, from));
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (Map == Map.Trammel)
|
||||
{
|
||||
InstanceTram = this;
|
||||
}
|
||||
|
||||
if (Map == Map.Felucca)
|
||||
{
|
||||
InstanceFel = this;
|
||||
}
|
||||
}
|
||||
|
||||
public class MiningCooperativeGump : Gump
|
||||
{
|
||||
private readonly MiningCooperativeMerchant Vendor;
|
||||
|
||||
public MiningCooperativeGump(MiningCooperativeMerchant vendor, Mobile from)
|
||||
: base(100, 100)
|
||||
{
|
||||
Vendor = vendor;
|
||||
|
||||
AddPage(0);
|
||||
|
||||
int available = vendor.MaxAmount - MiningCooperative.PurchaseAmount(from);
|
||||
|
||||
AddBackground(0, 0, 310, 350, 0x6DB);
|
||||
AddImage(54, 0, 0x6E4);
|
||||
AddHtmlLocalized(10, 10, 290, 18, 1114513, "#1154040", 0x0, false, false); // <DIV ALIGN=CENTER>~1_TOKEN~</DIV>
|
||||
AddItem(20, 80, 0xA3E8);
|
||||
AddHtmlLocalized(120, 73, 180, 18, 1159190, 0x43FF, false, false); // Ethereal Sand
|
||||
AddHtmlLocalized(120, 100, 180, 18, 1159191, vendor.Price.ToString(), 0x43FF, false, false); // GP: ~1_VALUE~
|
||||
AddItem(20, 140, 0x14F0);
|
||||
AddHtmlLocalized(120, 143, 180, 18, 1159193, string.Format("{0}@{1}", vendor.Quantity, vendor.Quantity*vendor.Price), 0x5FF0, false, false); // x~1_QUANT~ GP: ~2_COST~
|
||||
AddHtmlLocalized(25, 203, 275, 18, 1159192, string.Format("{0}@{1}", available, vendor.MaxAmount), 0x7FF0, false, false); // Available For Purchase: ~1_PART~ / ~2_WHOLE~
|
||||
AddHtmlLocalized(20, 243, 160, 72, 1159194, string.Format("{0}@#1159190@{1}", vendor.Quantity, vendor.Quantity * vendor.Price), 0x7FFF, false, false); // Purchase a Commodity Deed filled with ~1_QUANT~ ~2_NAME~ for ~3_COST~ GP?
|
||||
AddButton(220, 260, 0x81C, 0x81B, 1, GumpButtonType.Reply, 0);
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState sender, RelayInfo info)
|
||||
{
|
||||
Mobile from = sender.Mobile;
|
||||
|
||||
int available = Vendor.MaxAmount - MiningCooperative.PurchaseAmount(from);
|
||||
int payment = Vendor.Quantity * Vendor.Price;
|
||||
|
||||
if (info.ButtonID == 1)
|
||||
{
|
||||
if (available > 0)
|
||||
{
|
||||
if (Banker.Withdraw(from, payment, true))
|
||||
{
|
||||
CommodityDeed deed = new CommodityDeed();
|
||||
deed.SetCommodity(new EtherealSand(Vendor.Quantity));
|
||||
from.AddToBackpack(deed);
|
||||
|
||||
MiningCooperative.AddPurchase(from, Vendor.Quantity);
|
||||
from.SendGump(new MiningCooperativeGump(Vendor, from));
|
||||
}
|
||||
else
|
||||
{
|
||||
Vendor.Say(500192); // Begging thy pardon, but thou canst not afford that.
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Vendor.Say(1159195); // Begging thy pardon, but your family has purchased the maximum amount of that commodity. I cannot sell you more until a new shipment arrives!
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
238
Scripts/Services/Seasonal Events/ForsakenFoes/Mobile/Worker.cs
Normal file
238
Scripts/Services/Seasonal Events/ForsakenFoes/Mobile/Worker.cs
Normal file
@@ -0,0 +1,238 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
using Server.Gumps;
|
||||
using Server.Mobiles;
|
||||
using Server.Engines.Quests;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
namespace Server.Engines.Fellowship
|
||||
{
|
||||
public enum FellowshipChain
|
||||
{
|
||||
None,
|
||||
One,
|
||||
Two,
|
||||
Three,
|
||||
Four,
|
||||
Five,
|
||||
Six,
|
||||
Seven,
|
||||
Eight
|
||||
}
|
||||
|
||||
public class Worker : BaseQuester
|
||||
{
|
||||
public static string FilePath = Path.Combine("Saves/Misc", "FellowshipChain.bin");
|
||||
public static Dictionary<Mobile, FellowshipChain> FellowshipChainList = new Dictionary<Mobile, FellowshipChain>();
|
||||
|
||||
public static void Configure()
|
||||
{
|
||||
EventSink.WorldSave += OnSave;
|
||||
EventSink.WorldLoad += OnLoad;
|
||||
}
|
||||
|
||||
public static void OnSave(WorldSaveEventArgs e)
|
||||
{
|
||||
Persistence.Serialize(
|
||||
FilePath,
|
||||
writer =>
|
||||
{
|
||||
writer.Write((int)0);
|
||||
|
||||
writer.Write(FellowshipChainList.Count);
|
||||
|
||||
foreach (var chain in FellowshipChainList)
|
||||
{
|
||||
writer.Write(chain.Key);
|
||||
writer.Write((int)chain.Value);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static void OnLoad()
|
||||
{
|
||||
Persistence.Deserialize(
|
||||
FilePath,
|
||||
reader =>
|
||||
{
|
||||
int version = reader.ReadInt();
|
||||
int count = reader.ReadInt();
|
||||
|
||||
for (int i = count; i > 0; i--)
|
||||
{
|
||||
Mobile m = reader.ReadMobile();
|
||||
FellowshipChain chain = (FellowshipChain)reader.ReadInt();
|
||||
|
||||
if (m != null)
|
||||
{
|
||||
FellowshipChainList[m] = chain;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static Worker InstanceTram { get; set; }
|
||||
public static Worker InstanceFel { get; set; }
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public FellowshipChain Chain { get; set; }
|
||||
|
||||
[Constructable]
|
||||
public Worker(FellowshipChain chain)
|
||||
: base("the Worker")
|
||||
{
|
||||
Chain = chain;
|
||||
}
|
||||
|
||||
public override void InitBody()
|
||||
{
|
||||
base.InitBody();
|
||||
|
||||
Name = NameList.RandomName("male");
|
||||
|
||||
SpeechHue = 0x3B2;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Body = 0x190;
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
SetWearable(new FullApron(), 902);
|
||||
SetWearable(new HalfApron(), 946);
|
||||
SetWearable(new Shirt(), 1513);
|
||||
SetWearable(new LeatherGloves());
|
||||
SetWearable(new Boots(), 2013);
|
||||
SetWearable(new ShortPants());
|
||||
SetWearable(new SmithHammer());
|
||||
}
|
||||
|
||||
public override bool OnDragDrop(Mobile from, Item item)
|
||||
{
|
||||
if (item is FellowshipCoin)
|
||||
{
|
||||
if (FellowshipChainList.ContainsKey(from))
|
||||
{
|
||||
if (Chain > FellowshipChainList[from])
|
||||
{
|
||||
FellowshipChainList[from] = Chain;
|
||||
}
|
||||
else
|
||||
{
|
||||
SayTo(from, 500607, 0x3B2); // I'm not interested in that.
|
||||
return false;
|
||||
}
|
||||
|
||||
if (FellowshipChainList[from] == FellowshipChain.Eight)
|
||||
{
|
||||
from.AddToBackpack(new FellowshipMedallion());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
FellowshipChainList.Add(from, Chain);
|
||||
}
|
||||
|
||||
item.Delete();
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
SayTo(from, 500607, 0x3B2); // I'm not interested in that.
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile m)
|
||||
{
|
||||
if (m != null && InRange(m.Location, 5))
|
||||
{
|
||||
if (!m.HasGump(typeof(WorkerGump)))
|
||||
{
|
||||
m.SendGump(new WorkerGump(m, Chain));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnTalk(PlayerMobile player, bool contextMenu)
|
||||
{
|
||||
if (!player.HasGump(typeof(WorkerGump)))
|
||||
{
|
||||
player.SendGump(new WorkerGump(player, Chain));
|
||||
}
|
||||
}
|
||||
|
||||
public class WorkerGump : Gump
|
||||
{
|
||||
private static readonly int[,] clilocs = new int[,]
|
||||
{
|
||||
{1159238, 1159239},
|
||||
{1159236, 1159240},
|
||||
{1159236, 1159241},
|
||||
{1159236, 1159242},
|
||||
{1159236, 1159243},
|
||||
{1159236, 1159244},
|
||||
{1159236, 1159245},
|
||||
{1159236, 1159246},
|
||||
};
|
||||
|
||||
public WorkerGump(Mobile from, FellowshipChain chain)
|
||||
: base(100, 100)
|
||||
{
|
||||
int cliloc;
|
||||
|
||||
if (FellowshipChainList.ContainsKey(from))
|
||||
{
|
||||
if (chain > FellowshipChainList[from])
|
||||
cliloc = clilocs[(int)(chain - 1), 0];
|
||||
else
|
||||
cliloc = clilocs[(int)(chain - 1), 1];
|
||||
}
|
||||
else
|
||||
{
|
||||
cliloc = clilocs[(int)(chain - 1), 0];
|
||||
}
|
||||
|
||||
AddPage(0);
|
||||
|
||||
AddBackground(0, 0, 620, 328, 0x2454);
|
||||
AddImage(0, 0, 0x61A);
|
||||
AddHtmlLocalized(335, 14, 273, 18, 1114513, "#1159237", 0xC63, false, false); // <DIV ALIGN=CENTER>~1_TOKEN~</DIV>
|
||||
AddHtmlLocalized(335, 51, 273, 267, cliloc, 0xC63, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
public Worker(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write(0);
|
||||
|
||||
writer.Write((int)Chain);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
|
||||
Chain = (FellowshipChain)reader.ReadInt();
|
||||
|
||||
if (Map == Map.Trammel)
|
||||
{
|
||||
InstanceTram = this;
|
||||
}
|
||||
|
||||
if (Map == Map.Felucca)
|
||||
{
|
||||
InstanceFel = this;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user