Localize gases (#11376)
This commit is contained in:
@@ -7,7 +7,14 @@ namespace Content.Shared.Atmos.Prototypes
|
||||
[Prototype("gas")]
|
||||
public sealed class GasPrototype : IPrototype
|
||||
{
|
||||
[DataField("name")] public string Name { get; } = string.Empty;
|
||||
private string _name = string.Empty;
|
||||
|
||||
[DataField("name")]
|
||||
public string Name
|
||||
{
|
||||
get => _name;
|
||||
private set => _name = Loc.GetString(value);
|
||||
}
|
||||
|
||||
// TODO: Control gas amount necessary for overlay to appear
|
||||
// TODO: Add interfaces for gas behaviours e.g. breathing, burning
|
||||
|
||||
Reference in New Issue
Block a user