Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case ItemUsage.ExtraInventory:
- {
- ConquerItem Sash;
- if (client.Inventory.TryGetItem(usage.UID, out Sash))
- {
- if (client.Entity.ExtraInventory < 300)
- {
- if (Sash.ID == 1100003)
- {
- if (client.Entity.ExtraInventory < 298)
- {
- client.Entity.ExtraInventory += 3;
- }
- else
- {
- client.Entity.ExtraInventory = 300;
- }
- client.Inventory.Remove(Sash, Game.Enums.ItemUse.Remove);
- }
- else if (Sash.ID == 1100006)
- {
- if (client.Entity.ExtraInventory < 295)
- {
- client.Entity.ExtraInventory += 6;
- }
- else
- {
- client.Entity.ExtraInventory = 300;
- }
- client.Inventory.Remove(Sash, Game.Enums.ItemUse.Remove);
- }
- else if (Sash.ID == 1100009)
- {
- if (client.Entity.ExtraInventory < 289)
- {
- client.Entity.ExtraInventory += 12;
- }
- else
- {
- client.Entity.ExtraInventory = 300;
- }
- client.Inventory.Remove(Sash, Game.Enums.ItemUse.Remove);
- }
- }
- else
- {
- client.Entity.SendSysMesage("You Can't open more slots");
- }
- }
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement