Economy (#403)
* nasrano * Add station budget & salary * Initial balance * Vending machine UI * Pricing for vending machines * Finish economy * Eftpos * Finish eftpos * Put eftpos into lockers * Vending machine prices * Small fixes * Fix atm UI * Add atms to maps * fix * reset * Add PDA program * Maps again --------- Co-authored-by: Mona Hmiza <> Co-authored-by: rhailrake <49613070+rhailrake@users.noreply.github.com>
This commit is contained in:
@@ -32,6 +32,7 @@ public sealed class CharacterInfoSystem : EntitySystem
|
||||
|
||||
var objectives = new Dictionary<string, List<ObjectiveInfo>>();
|
||||
var jobTitle = "No Profession";
|
||||
var memories = new Dictionary<string, string>(); //WD EDIT
|
||||
string? briefing = null;
|
||||
if (_minds.TryGetMind(entity, out var mindId, out var mind))
|
||||
{
|
||||
@@ -54,8 +55,14 @@ public sealed class CharacterInfoSystem : EntitySystem
|
||||
|
||||
// Get briefing
|
||||
briefing = _roles.MindGetBriefing(mindId);
|
||||
|
||||
// WD EDIT Get memories
|
||||
foreach (var memory in mind.AllMemories)
|
||||
{
|
||||
memories[memory.Name] = memory.Value;
|
||||
}
|
||||
}
|
||||
|
||||
RaiseNetworkEvent(new CharacterInfoEvent(GetNetEntity(entity), jobTitle, objectives, briefing), args.SenderSession);
|
||||
RaiseNetworkEvent(new CharacterInfoEvent(GetNetEntity(entity), jobTitle, objectives, briefing, memories), args.SenderSession);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user