Add tooltips to the agent ID job icons and improve status icon prototypes (#28575)
* add tooltips to agentid job icons * forgot to stage this * make StatusIconPrototype abstract * minor visual improvements * cleanup * use currentculture to sort job names * review
This commit is contained in:
@@ -24,18 +24,18 @@ public sealed class HungerSystem : EntitySystem
|
||||
[Dependency] private readonly MovementSpeedModifierSystem _movementSpeedModifier = default!;
|
||||
[Dependency] private readonly SharedJetpackSystem _jetpack = default!;
|
||||
|
||||
[ValidatePrototypeId<StatusIconPrototype>]
|
||||
[ValidatePrototypeId<SatiationIconPrototype>]
|
||||
private const string HungerIconOverfedId = "HungerIconOverfed";
|
||||
|
||||
[ValidatePrototypeId<StatusIconPrototype>]
|
||||
[ValidatePrototypeId<SatiationIconPrototype>]
|
||||
private const string HungerIconPeckishId = "HungerIconPeckish";
|
||||
|
||||
[ValidatePrototypeId<StatusIconPrototype>]
|
||||
[ValidatePrototypeId<SatiationIconPrototype>]
|
||||
private const string HungerIconStarvingId = "HungerIconStarving";
|
||||
|
||||
private StatusIconPrototype? _hungerIconOverfed;
|
||||
private StatusIconPrototype? _hungerIconPeckish;
|
||||
private StatusIconPrototype? _hungerIconStarving;
|
||||
private SatiationIconPrototype? _hungerIconOverfed;
|
||||
private SatiationIconPrototype? _hungerIconPeckish;
|
||||
private SatiationIconPrototype? _hungerIconStarving;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -216,7 +216,7 @@ public sealed class HungerSystem : EntitySystem
|
||||
}
|
||||
}
|
||||
|
||||
public bool TryGetStatusIconPrototype(HungerComponent component, [NotNullWhen(true)] out StatusIconPrototype? prototype)
|
||||
public bool TryGetStatusIconPrototype(HungerComponent component, [NotNullWhen(true)] out SatiationIconPrototype? prototype)
|
||||
{
|
||||
switch (component.CurrentThreshold)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user