Reflected Visibility

Ships are now more visible in lit areas (depending on cross section stat in Reflector behavior)
Refactored all behaviors to remove context & entity references (can get them from equipped item reference if needed)
Fixed crash when enemy dies of heatstroke while targeted
Exponential decay for visibility now uses correct time-independent formula
Refactored item inspection in properties panel (now consistent between equipped items vs. inventory and store items, shows effect of heat on stats)
Reordered item properties and added spacing between groups
This commit is contained in:
Reinier Vens 2021-04-12 04:20:52 +01:00
commit a51c402fc5
59 changed files with 557 additions and 1405 deletions

View file

@ -163,6 +163,9 @@ public class SunData : GasGiantData
[JsonProperty("fogTintColor"), Key(21)]
public ReactiveProperty<float3> FogTintColor = new ReactiveProperty<float3>(float3.zero);
[JsonProperty("lightRadiusMul")] [Key(22)]
public ReactiveProperty<float> LightRadiusMultiplier = new ReactiveProperty<float>(1);
}
[MessagePackObject, JsonObject(MemberSerialization.OptIn)]