Re-organizing the Resources folder. Part 1. (#1234)
* First commit * Lockers * Lockers electric boogaloo * Crates and Lockers * Almost finishing the Textures folder * Updating texture paths. Reminder to fix: * Lockers * Windows * Vending Machines * APC * Catwalks * Bedsheets and Cloaks * Status effects * dont know what happened here * Commit before merge * re-organizing * Lockers broken * Commit before merge * Submodule * renaming * Fixing most issues * forgot these ones * Updating submodule * typo * Fixing some paths * fixing some paths * updating submodule * (hopefully) fixing the submodule
This commit is contained in:
@@ -53,8 +53,8 @@ namespace Content.Client.GameObjects
|
||||
|
||||
void AddButton(out ItemSlotButton variable, Slots slot, string textureName)
|
||||
{
|
||||
var texture = _resourceCache.GetTexture($"/Textures/UserInterface/Inventory/{textureName}.png");
|
||||
var storageTexture = _resourceCache.GetTexture("/Textures/UserInterface/Inventory/back.png");
|
||||
var texture = _resourceCache.GetTexture($"/Textures/Interface/Inventory/{textureName}.png");
|
||||
var storageTexture = _resourceCache.GetTexture("/Textures/Interface/Inventory/back.png");
|
||||
variable = new ItemSlotButton(texture, storageTexture)
|
||||
{
|
||||
OnPressed = (e) => AddToInventory(e, slot),
|
||||
@@ -193,8 +193,8 @@ namespace Content.Client.GameObjects
|
||||
|
||||
void AddButton(Slots slot, string textureName, Vector2 position)
|
||||
{
|
||||
var texture = resourceCache.GetTexture($"/Textures/UserInterface/Inventory/{textureName}.png");
|
||||
var storageTexture = resourceCache.GetTexture("/Textures/UserInterface/Inventory/back.png");
|
||||
var texture = resourceCache.GetTexture($"/Textures/Interface/Inventory/{textureName}.png");
|
||||
var storageTexture = resourceCache.GetTexture("/Textures/Interface/Inventory/back.png");
|
||||
var button = new ItemSlotButton(texture, storageTexture);
|
||||
|
||||
LayoutContainer.SetPosition(button, position);
|
||||
|
||||
Reference in New Issue
Block a user