mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
# Description This PR fully replaces the "Tier 3 Tech Lockout" with a research softcap. How it works is that technologies are allowed to set a softcap contribution, meaning that they multiplicatively increase the cost of all other research by a certain amount. By default, this is done by all Tier 3 Technologies. Essentially, this means that you're no longer limited to a single research category's tier 3 selections. Instead the costs of research increase the more capstones you unlock. The current cost increase for research is displayed on the console. <details><summary><h1>Media</h1></summary> <p>  </p> </details> # Changelog 🆑 - remove: Removed the "Tier 3 Tech Lockout" mechanic. You are no longer limited to 1 discipline worth of t3 research. - add: Research is now "Softcapped" by Tier 3 unlocks. Each unlocked Tier 3 technology multiplicatively increases the cost of all other research. Rushing a capstone can be quite expensive, as will be getting multiple capstones. I hope you're glad that you can build more than one prober now without guaranteeing the station will explode. (cherry picked from commit b7da1f4ff64ca3ce8c4dc4545186573174b3e89c)
40 lines
967 B
C#
40 lines
967 B
C#
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Research.Components
|
|
{
|
|
[NetSerializable, Serializable]
|
|
public enum ResearchConsoleUiKey : byte
|
|
{
|
|
Key,
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class ConsoleUnlockTechnologyMessage : BoundUserInterfaceMessage
|
|
{
|
|
public string Id;
|
|
|
|
public ConsoleUnlockTechnologyMessage(string id)
|
|
{
|
|
Id = id;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class ConsoleServerSelectionMessage : BoundUserInterfaceMessage
|
|
{
|
|
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class ResearchConsoleBoundInterfaceState : BoundUserInterfaceState
|
|
{
|
|
public int Points;
|
|
public float SoftCapMultiplier;
|
|
public ResearchConsoleBoundInterfaceState(int points, float softCapMultiplier)
|
|
{
|
|
Points = points;
|
|
SoftCapMultiplier = softCapMultiplier;
|
|
}
|
|
}
|
|
}
|