research disk debug stuff (#13063)

* research disk tweaks

* save a single blessed line of yaml
This commit is contained in:
Nemanja
2022-12-19 22:36:08 -05:00
committed by GitHub
parent 39b8b61bc6
commit 077ebb06ae
3 changed files with 35 additions and 1 deletions

View File

@@ -3,7 +3,17 @@ namespace Content.Server.Research.Disk
[RegisterComponent]
public sealed class ResearchDiskComponent : Component
{
[DataField("points")]
[DataField("points"), ViewVariables(VVAccess.ReadWrite)]
public int Points = 1000;
/// <summary>
/// If true, the value of this disk will be set to the sum
/// of all the technologies in the game.
/// </summary>
/// <remarks>
/// This is for debug purposes only.
/// </remarks>
[DataField("unlockAllTech")]
public bool UnlockAllTech = false;
}
}