chars maxweight?
Posted: Tue May 06, 2008 11:23 am
who.backpack.maxweight := GetBaseStrength(who) * 3;
this dont work (
what im may set the character maxweight?
this dont work (
what im may set the character maxweight?
Code: Select all
Container 0x0E75
{
Name Backpack
desc backpack
Gump 0x003C
MinX 44
MaxX 143
MinY 65
MaxY 140
RequiresAttention 0
VendorSellsFor 18
VendorBuysFor 9
dyeable 1
MaxItems 200
MaxWeight 600
weight 1
CanInsertScript ::canInsert
OnInsertScript ::onInsert
CanRemoveScript ::canRemove
OnRemoveScript ::onRemove
}
im can set maxweigth dynamycally for any characters, is dependent on str/dex????Harley wrote:config/itemdesc.cfg :
Code: Select all
Container 0x0E75 { Name Backpack desc backpack Gump 0x003C MinX 44 MaxX 143 MinY 65 MaxY 140 RequiresAttention 0 VendorSellsFor 18 VendorBuysFor 9 dyeable 1 MaxItems 200 MaxWeight 600 weight 1 CanInsertScript ::canInsert OnInsertScript ::onInsert CanRemoveScript ::canRemove OnRemoveScript ::onRemove }