Removes exosuit slot (for now!!!) and rearranges inventory UI again. (#1975)

This commit is contained in:
Swept
2020-09-13 12:05:02 +00:00
committed by GitHub
parent 4d50666ee4
commit d9f965a49b
2 changed files with 3 additions and 21 deletions

View File

@@ -224,6 +224,7 @@ namespace Content.Client.GameObjects.Components.HUD.Inventory
AddButton(Slots.EYES, "glasses", (0, 0)); AddButton(Slots.EYES, "glasses", (0, 0));
AddButton(Slots.NECK, "neck", (0, sizep)); AddButton(Slots.NECK, "neck", (0, sizep));
AddButton(Slots.INNERCLOTHING, "uniform", (0, 2 * sizep)); AddButton(Slots.INNERCLOTHING, "uniform", (0, 2 * sizep));
AddButton(Slots.POCKET1, "pocket", (0, 3 * sizep));
// Middle column. // Middle column.
AddButton(Slots.HEAD, "head", (sizep, 0)); AddButton(Slots.HEAD, "head", (sizep, 0));
@@ -234,14 +235,12 @@ namespace Content.Client.GameObjects.Components.HUD.Inventory
// Right column // Right column
AddButton(Slots.EARS, "ears", (2 * sizep, 0)); AddButton(Slots.EARS, "ears", (2 * sizep, 0));
AddButton(Slots.IDCARD, "id", (2 * sizep, sizep)); AddButton(Slots.IDCARD, "id", (2 * sizep, sizep));
AddButton(Slots.EXOSUITSLOT1, "suit_storage", (2 * sizep, 2 * sizep)); AddButton(Slots.GLOVES, "gloves", (2 * sizep, 2 * sizep));
AddButton(Slots.POCKET1, "pocket", (2 * sizep, 3 * sizep)); AddButton(Slots.POCKET2, "pocket", (2 * sizep, 3 * sizep));
// Far right column. // Far right column.
AddButton(Slots.BACKPACK, "back", (3 * sizep, 0)); AddButton(Slots.BACKPACK, "back", (3 * sizep, 0));
AddButton(Slots.BELT, "belt", (3 * sizep, sizep)); AddButton(Slots.BELT, "belt", (3 * sizep, sizep));
AddButton(Slots.GLOVES, "gloves", (3 * sizep, 2 * sizep));
AddButton(Slots.POCKET2, "pocket", (3 * sizep, 3 * sizep));
} }
} }
} }

View File

@@ -43,10 +43,6 @@ namespace Content.Shared.GameObjects.Components.Inventory
IDCARD, IDCARD,
POCKET1, POCKET1,
POCKET2, POCKET2,
POCKET3,
POCKET4,
EXOSUITSLOT1,
EXOSUITSLOT2,
/// <summary> /// <summary>
/// Not a real slot. /// Not a real slot.
@@ -81,7 +77,6 @@ namespace Content.Shared.GameObjects.Components.Inventory
LEGS = 1 << 13, LEGS = 1 << 13,
SHOES = 1 << 14, SHOES = 1 << 14,
FEET = 1 << 14, FEET = 1 << 14,
EXOSUITSTORAGE = 1 << 15
} }
public static readonly IReadOnlyDictionary<Slots, string> SlotNames = new Dictionary<Slots, string>() public static readonly IReadOnlyDictionary<Slots, string> SlotNames = new Dictionary<Slots, string>()
@@ -100,10 +95,6 @@ namespace Content.Shared.GameObjects.Components.Inventory
{Slots.IDCARD, "Id Card"}, {Slots.IDCARD, "Id Card"},
{Slots.POCKET1, "Left Pocket"}, {Slots.POCKET1, "Left Pocket"},
{Slots.POCKET2, "Right Pocket"}, {Slots.POCKET2, "Right Pocket"},
{Slots.POCKET3, "Up Pocket"}, // What?
{Slots.POCKET4, "Down Pocket"}, // I, uh, what?
{Slots.EXOSUITSLOT1, "Suit Storage"},
{Slots.EXOSUITSLOT2, "Backup Storage"}
}; };
/// <summary> /// <summary>
@@ -128,10 +119,6 @@ namespace Content.Shared.GameObjects.Components.Inventory
{Slots.IDCARD, SlotFlags.IDCARD}, {Slots.IDCARD, SlotFlags.IDCARD},
{Slots.POCKET1, SlotFlags.POCKET}, {Slots.POCKET1, SlotFlags.POCKET},
{Slots.POCKET2, SlotFlags.POCKET}, {Slots.POCKET2, SlotFlags.POCKET},
{Slots.POCKET3, SlotFlags.POCKET},
{Slots.POCKET4, SlotFlags.POCKET},
{Slots.EXOSUITSLOT1, SlotFlags.EXOSUITSTORAGE},
{Slots.EXOSUITSLOT2, SlotFlags.EXOSUITSTORAGE}
}; };
// for shared string dict, since we don't define these anywhere in content // for shared string dict, since we don't define these anywhere in content
@@ -152,10 +139,6 @@ namespace Content.Shared.GameObjects.Components.Inventory
"Inventory_IDCARD", "Inventory_IDCARD",
"Inventory_POCKET1", "Inventory_POCKET1",
"Inventory_POCKET2", "Inventory_POCKET2",
"Inventory_POCKET3",
"Inventory_POCKET4",
"Inventory_EXOSUITSLOT1",
"Inventory_EXOSUITSLOT2",
}; };
// for shared string dict, since we don't define these anywhere in content // for shared string dict, since we don't define these anywhere in content