Heat Performance Curves + Wear & Tear

Added heat variation option for Performance Stats
Ability to toggle radiators on/off using H key
Item durability loss (Wear) is now heat dependent and incurred only when used
Restricted equip/unequip to docked (inactive) entities
Fixed race condition causing exceptions in database sync code
This commit is contained in:
Reinier Vens 2021-03-04 03:58:46 +00:00
commit 4b10923448
44 changed files with 437 additions and 184 deletions

View file

@ -1118,8 +1118,10 @@ public class DatabaseInspector : EditorWindow
GUILayout.Label("", GUILayout.Width(width));
if (!isSimple)
{
// GUILayout.Label("H", _labelStyle);
// value.HeatDependent = Toggle(value.HeatDependent);
GUILayout.Label("H", _labelStyle);
value.HeatDependent = Toggle(value.HeatDependent);
GUILayout.Label("HEx", _labelStyle, GUILayout.Width(labelWidth + 5));
value.HeatExponentMultiplier = DelayedFloatField(value.HeatExponentMultiplier);
GUILayout.Label("D", _labelStyle);
value.DurabilityDependent = Toggle(value.DurabilityDependent);
GUILayout.Label("QEx", _labelStyle, GUILayout.Width(labelWidth + 5));