In Scrips/Items/Container.cs search for this line +-Line= 451 think there 2/3 place to change
public override int DefaultMaxWeight
{
get
{
if (Core.ML)
{
Mobile m = ParentEntity as Mobile;
if (m != null && m.Player && m.Backpack == this)
{
return 550; /* <<<<<< change to what you want it to be */
}
else
 
or you can do it on misc/charactercreation.cs line 35

private static void AddBackpack(Mobile m) { Container pack = m.Backpack; if (pack == null) { pack = new StrongBackpack();//pack = new Backpack(); pack.Movable = false; m.AddItem(pack); } PackItem(new RedBook("a book", m.Name, 20, true)); PackItem(new Gold(1000)); // Starting gold can be customized here PackItem(new Candle()); if (m.Race != Race.Gargoyle) PackItem(new Dagger()); else PackItem(new GargishDagger()); }
 
Is it possible to do change backpack capacity can be limited based upon race? TIA.
U could lock one of these down in that races pack on character creation.so they have to use it on that toon.

Edit this line to set the max
1723445849490.png
 

Attachments

  • BackpackMaxItemIncrease.cs
    2.1 KB · Views: 6

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back