Hi,

Managed to figure out how to add items to a new players backpack

By tweaking the below but when i try and add in PackItem(new MasterStorage) the script error's? as if the item dosn't exist although when I'm admin on my shard if I type [add MasterStorage it works? I was thinking maybe I needed to use a deed instead but can only find a deed for the token ledger and gold ledger although they don't seem to work because I've got the masterstorage system enabled already.

I have already looked for answers on forums but not been able to find anyone with the same issue or post.

Container pack = m.Backpack;

if (pack == null)
{
pack = new Backpack();
pack.Movable = false;

m.AddItem(pack);
}

PackItem(new Gold(5000)); // Starting gold can be customized here
PackItem(new Trash4TokensBackpack());
PackItem(new Runebook());
PackItem(new SkillBall());

Any help is massively appreciated thanks!
 
Back