* 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:
Aviu00
2023-10-02 16:50:02 +09:00
committed by Aviu00
parent 707cdf3afa
commit 16c8b95da4
109 changed files with 2043 additions and 30 deletions

View File

@@ -0,0 +1,16 @@
namespace Content.Shared.Mind;
public sealed class Memory
{
[ViewVariables(VVAccess.ReadWrite)]
public string Name { get; set; }
[ViewVariables(VVAccess.ReadWrite)]
public string Value { get; set; }
public Memory(string name, string value)
{
Name = name;
Value = value;
}
}

View File

@@ -29,6 +29,8 @@ namespace Content.Shared.Mind
[DataField, AutoNetworkedField]
public List<EntityUid> Objectives = new();
internal readonly List<Memory> _memories = new();
/// <summary>
/// The session ID of the player owning this mind.
/// </summary>
@@ -73,6 +75,21 @@ namespace Content.Shared.Mind
[DataField, AutoNetworkedField, ViewVariables(VVAccess.ReadWrite)]
public string? BorgName { get; set; }
[ViewVariables]
public IEnumerable<Memory> AllMemories => _memories;
//WD EDIT
public void AddMemory(Memory memory)
{
if (_memories.Contains(memory))
{
return;
}
_memories.Add(memory);
}
//WD EDIT END
/// <summary>
/// The time of death for this Mind.
/// Can be null - will be null if the Mind is not considered "dead".