osd_daedalus
Knight
Increase backpack limit - perfected
Yes, I posted it before in Core Modifications section... before discovering it was not necessary to make a core modification
Anyway, I tweaked my fix a bit.
Now I added the if (Core.ML) that returns 550 if you are using it on a ML-flagged shard, or the old value 400 if your shard is flagged as AOS or None (pre-AOS)
I tested it myself using None, AOS and ML in Scripts/Misc/CurrentExpansion.cs and it works to me. (backpacks can't contain more than 400 stones if in AOS or previous). Need someone to do intensive testing, though
Yes, I posted it before in Core Modifications section... before discovering it was not necessary to make a core modification
Anyway, I tweaked my fix a bit.
Code:
Index: Container.cs
===================================================================
--- Container.cs (revision 313)
+++ Container.cs (working copy)
@@ -189,7 +189,7 @@
Layer = Layer.Backpack;
Weight = 3.0;
}
-
+ public override int DefaultMaxWeight { get { if (Core.ML) { return 550; } else { return 400; } } }
public Backpack( Serial serial ) : base( serial )
{
}
Now I added the if (Core.ML) that returns 550 if you are using it on a ML-flagged shard, or the old value 400 if your shard is flagged as AOS or None (pre-AOS)
I tested it myself using None, AOS and ML in Scripts/Misc/CurrentExpansion.cs and it works to me. (backpacks can't contain more than 400 stones if in AOS or previous). Need someone to do intensive testing, though