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:
@@ -39,17 +39,17 @@ namespace Content.Server.GameObjects
|
||||
[UsedImplicitly]
|
||||
public static readonly string[] _humanStatusImages =
|
||||
{
|
||||
"/Textures/Mob/UI/Human/human0.png",
|
||||
"/Textures/Mob/UI/Human/human1.png",
|
||||
"/Textures/Mob/UI/Human/human2.png",
|
||||
"/Textures/Mob/UI/Human/human3.png",
|
||||
"/Textures/Mob/UI/Human/human4.png",
|
||||
"/Textures/Mob/UI/Human/human5.png",
|
||||
"/Textures/Mob/UI/Human/human6-0.png",
|
||||
"/Textures/Mob/UI/Human/human6-1.png",
|
||||
"/Textures/Mob/UI/Human/humancrit-0.png",
|
||||
"/Textures/Mob/UI/Human/humancrit-1.png",
|
||||
"/Textures/Mob/UI/Human/humandead.png",
|
||||
"/Textures/Interface/StatusEffects/Human/human0.png",
|
||||
"/Textures/Interface/StatusEffects/Human/human1.png",
|
||||
"/Textures/Interface/StatusEffects/Human/human2.png",
|
||||
"/Textures/Interface/StatusEffects/Human/human3.png",
|
||||
"/Textures/Interface/StatusEffects/Human/human4.png",
|
||||
"/Textures/Interface/StatusEffects/Human/human5.png",
|
||||
"/Textures/Interface/StatusEffects/Human/human6-0.png",
|
||||
"/Textures/Interface/StatusEffects/Human/human6-1.png",
|
||||
"/Textures/Interface/StatusEffects/Human/humancrit-0.png",
|
||||
"/Textures/Interface/StatusEffects/Human/humancrit-1.png",
|
||||
"/Textures/Interface/StatusEffects/Human/humandead.png",
|
||||
};
|
||||
|
||||
public override void ChangeHudState(DamageableComponent damage)
|
||||
@@ -67,7 +67,7 @@ namespace Content.Server.GameObjects
|
||||
}
|
||||
var modifier = totaldamage / (critvalue / normalstates); //integer division floors towards zero
|
||||
statusEffectsComponent?.ChangeStatusEffectIcon(StatusEffect.Health,
|
||||
"/Textures/Mob/UI/Human/human" + modifier + ".png");
|
||||
"/Textures/Interface/StatusEffects/Human/human" + modifier + ".png");
|
||||
|
||||
overlayComponent?.RemoveOverlay(OverlayType.GradientCircleMaskOverlay);
|
||||
overlayComponent?.RemoveOverlay(OverlayType.CircleMaskOverlay);
|
||||
@@ -76,7 +76,7 @@ namespace Content.Server.GameObjects
|
||||
case ThresholdType.Critical:
|
||||
statusEffectsComponent?.ChangeStatusEffectIcon(
|
||||
StatusEffect.Health,
|
||||
"/Textures/Mob/UI/Human/humancrit-0.png");
|
||||
"/Textures/Interface/StatusEffects/Human/humancrit-0.png");
|
||||
overlayComponent?.ClearOverlays();
|
||||
overlayComponent?.AddOverlay(OverlayType.GradientCircleMaskOverlay);
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace Content.Server.GameObjects
|
||||
case ThresholdType.Death:
|
||||
statusEffectsComponent?.ChangeStatusEffectIcon(
|
||||
StatusEffect.Health,
|
||||
"/Textures/Mob/UI/Human/humandead.png");
|
||||
"/Textures/Interface/StatusEffects/Human/humandead.png");
|
||||
overlayComponent?.ClearOverlays();
|
||||
overlayComponent?.AddOverlay(OverlayType.CircleMaskOverlay);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user