Add name to AI eye (#39177)
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
@@ -451,6 +451,9 @@ public abstract partial class SharedStationAiSystem : EntitySystem
|
||||
}
|
||||
|
||||
_mover.SetRelay(user, ent.Comp.RemoteEntity.Value);
|
||||
|
||||
var eyeName = Loc.GetString("station-ai-eye-name", ("name", Name(user)));
|
||||
_metadata.SetEntityName(ent.Comp.RemoteEntity.Value, eyeName);
|
||||
}
|
||||
|
||||
private EntityUid? GetInsertedAI(Entity<StationAiCoreComponent> ent)
|
||||
|
||||
@@ -3,6 +3,7 @@ ai-wire-snipped = Wire has been cut at {$coords}.
|
||||
wire-name-ai-vision-light = AIV
|
||||
wire-name-ai-act-light = AIA
|
||||
station-ai-takeover = AI takeover
|
||||
station-ai-eye-name = AI eye - {$name}
|
||||
|
||||
# Radial actions
|
||||
ai-open = Open actions
|
||||
|
||||
Reference in New Issue
Block a user