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:
@@ -55,7 +55,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
||||
public override void ExposeData(ObjectSerializer serializer)
|
||||
{
|
||||
base.ExposeData(serializer);
|
||||
serializer.DataField(ref _useSound, "useSound", "/Audio/items/drink.ogg");
|
||||
serializer.DataField(ref _useSound, "useSound", "/Audio/Items/drink.ogg");
|
||||
serializer.DataField(ref _defaultToOpened, "isOpen", false); //For things like cups of coffee.
|
||||
serializer.DataField(ref _soundCollection, "openSounds","canOpenSounds");
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
||||
public override void ExposeData(ObjectSerializer serializer)
|
||||
{
|
||||
base.ExposeData(serializer);
|
||||
serializer.DataField(ref _useSound, "useSound", "/Audio/items/eatfood.ogg");
|
||||
serializer.DataField(ref _useSound, "useSound", "/Audio/Items/eatfood.ogg");
|
||||
serializer.DataField(ref _transferAmount, "transferAmount", ReagentUnit.New(5));
|
||||
serializer.DataField(ref _trashPrototype, "trash", null);
|
||||
|
||||
|
||||
@@ -72,11 +72,11 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
||||
[UsedImplicitly]
|
||||
public static readonly string[] _hungerThresholdImages =
|
||||
{
|
||||
"/Textures/Mob/UI/Hunger/Overfed.png",
|
||||
"/Textures/Mob/UI/Hunger/Okay.png",
|
||||
"/Textures/Mob/UI/Hunger/Peckish.png",
|
||||
"/Textures/Mob/UI/Hunger/Starving.png",
|
||||
"/Textures/Mob/UI/Hunger/Dead.png",
|
||||
"/Textures/Interface/StatusEffects/Hunger/Overfed.png",
|
||||
"/Textures/Interface/StatusEffects/Hunger/Okay.png",
|
||||
"/Textures/Interface/StatusEffects/Hunger/Peckish.png",
|
||||
"/Textures/Interface/StatusEffects/Hunger/Starving.png",
|
||||
"/Textures/Interface/StatusEffects/Hunger/Dead.png",
|
||||
};
|
||||
|
||||
public void HungerThresholdEffect(bool force = false)
|
||||
|
||||
@@ -66,11 +66,11 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
||||
[UsedImplicitly]
|
||||
public static readonly string[] _thirstThresholdImages =
|
||||
{
|
||||
"/Textures/Mob/UI/Thirst/OverHydrated.png",
|
||||
"/Textures/Mob/UI/Thirst/Okay.png",
|
||||
"/Textures/Mob/UI/Thirst/Thirsty.png",
|
||||
"/Textures/Mob/UI/Thirst/Parched.png",
|
||||
"/Textures/Mob/UI/Thirst/Dead.png",
|
||||
"/Textures/Interface/StatusEffects/Thirst/OverHydrated.png",
|
||||
"/Textures/Interface/StatusEffects/Thirst/Okay.png",
|
||||
"/Textures/Interface/StatusEffects/Thirst/Thirsty.png",
|
||||
"/Textures/Interface/StatusEffects/Thirst/Parched.png",
|
||||
"/Textures/Interface/StatusEffects/Thirst/Dead.png",
|
||||
};
|
||||
|
||||
public override void ExposeData(ObjectSerializer serializer)
|
||||
@@ -92,7 +92,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
||||
|
||||
// Update UI
|
||||
Owner.TryGetComponent(out ServerStatusEffectsComponent statusEffectsComponent);
|
||||
statusEffectsComponent?.ChangeStatusEffectIcon(StatusEffect.Thirst, "/Textures/Mob/UI/Thirst/" +
|
||||
statusEffectsComponent?.ChangeStatusEffectIcon(StatusEffect.Thirst, "/Textures/Interface/StatusEffects/Thirst/" +
|
||||
_currentThirstThreshold + ".png");
|
||||
|
||||
switch (_currentThirstThreshold)
|
||||
|
||||
Reference in New Issue
Block a user