Blitzman
Member
I appologize, but I've searched and can't find any answers that work for me. I'm trying to add items from a script I found in the resources section to new characters pack, but I keep getting an error.
This is the section I am trying to add it to:
private static void AddBackpack(Mobile m)
{
Container pack = m.Backpack;
if (pack == null)
{
pack = new Backpack
{
Movable = false
};
m.AddItem(pack);
}
PackItem(new Gold(1000)); // Starting gold can be customized here
PackItem(goldbag());
PackItem(lootbag());
}
Any help is very much appreciated.
I realized that this is probably the wrong place to post this. I can't figure out how to delete it.
This is the section I am trying to add it to:
private static void AddBackpack(Mobile m)
{
Container pack = m.Backpack;
if (pack == null)
{
pack = new Backpack
{
Movable = false
};
m.AddItem(pack);
}
PackItem(new Gold(1000)); // Starting gold can be customized here
PackItem(goldbag());
PackItem(lootbag());
}
Any help is very much appreciated.
I realized that this is probably the wrong place to post this. I can't figure out how to delete it.
Last edited: