Energy & Heat
Energy Generation (Reactor behavior) Heat Conduction / Radiation Temperature Display In-game ship schematic Better asteroid distribution
This commit is contained in:
parent
9e88fcda95
commit
6db7c65961
117 changed files with 9506 additions and 9134 deletions
|
|
@ -201,10 +201,10 @@ public abstract class ItemData : DatabaseEntry, INamedEntry
|
|||
|
||||
// Heat needed to change temperature of 1 gram by 1 degree
|
||||
[InspectableField, JsonProperty("specificHeat"), Key(5)]
|
||||
public float SpecificHeat;
|
||||
public float SpecificHeat = 1;
|
||||
|
||||
// [InspectableField, JsonProperty("conductivity"), Key(6)]
|
||||
// public float Conductivity;
|
||||
[InspectableField, JsonProperty("conductivity"), Key(6)]
|
||||
public float Conductivity = 1;
|
||||
|
||||
[IgnoreMember] public string EntryName
|
||||
{
|
||||
|
|
@ -233,10 +233,10 @@ public class SimpleCommodityData : ItemData
|
|||
// [InspectableField, JsonProperty("floor"), Key(11)]
|
||||
// public float Floor = 5f;
|
||||
|
||||
[InspectableField, JsonProperty("maxStackSize"), Key(6)]
|
||||
[InspectableField, JsonProperty("maxStackSize"), Key(7)]
|
||||
public int MaxStack = 10;
|
||||
|
||||
[InspectableField, JsonProperty("category"), Key(7)]
|
||||
[InspectableField, JsonProperty("category"), Key(8)]
|
||||
public SimpleCommodityCategory Category;
|
||||
}
|
||||
|
||||
|
|
@ -248,17 +248,17 @@ public class SimpleCommodityData : ItemData
|
|||
JsonConverter(typeof(JsonKnownTypesConverter<CraftedItemData>))]
|
||||
public abstract class CraftedItemData : ItemData
|
||||
{
|
||||
[InspectableField, JsonProperty("ingredientQualityWeight"), Key(6)]
|
||||
[InspectableField, JsonProperty("ingredientQualityWeight"), Key(7)]
|
||||
public float IngredientQualityWeight = .5f;
|
||||
}
|
||||
|
||||
[RethinkTable("Items"), Inspectable, MessagePackObject]
|
||||
public class CompoundCommodityData : CraftedItemData
|
||||
{
|
||||
[InspectableDatabaseLink(typeof(PersonalityAttribute)), JsonProperty("demandProfile"), Key(7)]
|
||||
[InspectableDatabaseLink(typeof(PersonalityAttribute)), JsonProperty("demandProfile"), Key(8)]
|
||||
public Dictionary<Guid, float> DemandProfile = new Dictionary<Guid, float>();
|
||||
|
||||
[InspectableField, JsonProperty("category"), Key(8)]
|
||||
[InspectableField, JsonProperty("category"), Key(9)]
|
||||
public CompoundCommodityCategory Category;
|
||||
}
|
||||
|
||||
|
|
@ -267,22 +267,22 @@ public class CompoundCommodityData : CraftedItemData
|
|||
JsonObject(MemberSerialization.OptIn), JsonConverter(typeof(JsonKnownTypesConverter<EquippableItemData>))]
|
||||
public abstract class EquippableItemData : CraftedItemData
|
||||
{
|
||||
[InspectableTexture, JsonProperty("schematic"), Key(7)]
|
||||
[InspectableTexture, JsonProperty("schematic"), Key(8)]
|
||||
public string Schematic;
|
||||
|
||||
[InspectableField, JsonProperty("behaviors"), Key(8)]
|
||||
[InspectableField, JsonProperty("behaviors"), Key(9)]
|
||||
public List<BehaviorData> Behaviors = new List<BehaviorData>();
|
||||
|
||||
[InspectableField, JsonProperty("durability"), Key(9)]
|
||||
[InspectableField, JsonProperty("durability"), Key(10)]
|
||||
public float Durability;
|
||||
|
||||
[TemperatureInspectable, JsonProperty("minTemp"), Key(10)]
|
||||
[TemperatureInspectable, JsonProperty("minTemp"), Key(11)]
|
||||
public float MinimumTemperature;
|
||||
|
||||
[TemperatureInspectable, JsonProperty("maxTemp"), Key(11)]
|
||||
[TemperatureInspectable, JsonProperty("maxTemp"), Key(12)]
|
||||
public float MaximumTemperature;
|
||||
|
||||
[InspectableField, JsonProperty("durabilityExponent"), Key(12), SimplePerformanceStat]
|
||||
[InspectableField, JsonProperty("durabilityExponent"), Key(13), SimplePerformanceStat]
|
||||
public PerformanceStat DurabilityExponent = new PerformanceStat();
|
||||
|
||||
[IgnoreMember]
|
||||
|
|
@ -296,7 +296,7 @@ public abstract class EquippableItemData : CraftedItemData
|
|||
[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
public class GearData : EquippableItemData
|
||||
{
|
||||
[InspectableField, JsonProperty("hardpointType"), Key(13)]
|
||||
[InspectableField, JsonProperty("hardpointType"), Key(14)]
|
||||
public HardpointType Hardpoint;
|
||||
|
||||
[IgnoreMember] public override HardpointType HardpointType => Hardpoint;
|
||||
|
|
@ -305,7 +305,7 @@ public class GearData : EquippableItemData
|
|||
[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
public class CargoBayData : EquippableItemData
|
||||
{
|
||||
[InspectableField, JsonProperty("interiorShape"), Key(13)]
|
||||
[InspectableField, JsonProperty("interiorShape"), Key(14)]
|
||||
public Shape InteriorShape;
|
||||
[IgnoreMember] public override HardpointType HardpointType => HardpointType.Tool;
|
||||
}
|
||||
|
|
@ -313,7 +313,7 @@ public class CargoBayData : EquippableItemData
|
|||
[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
public class DockingBayData : CargoBayData
|
||||
{
|
||||
[InspectableField, JsonProperty("maxSize"), Key(14)]
|
||||
[InspectableField, JsonProperty("maxSize"), Key(15)]
|
||||
public int2 MaxSize;
|
||||
[IgnoreMember] public override HardpointType HardpointType => HardpointType.Tool;
|
||||
}
|
||||
|
|
@ -321,16 +321,16 @@ public class DockingBayData : CargoBayData
|
|||
[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
public class HullData : EquippableItemData
|
||||
{
|
||||
[InspectableField, JsonProperty("hardpoints"), Key(13)]
|
||||
[InspectableField, JsonProperty("hardpoints"), Key(14)]
|
||||
public List<HardpointData> Hardpoints = new List<HardpointData>();
|
||||
|
||||
[InspectablePrefab, JsonProperty("prefab"), Key(14)]
|
||||
[InspectablePrefab, JsonProperty("prefab"), Key(15)]
|
||||
public string Prefab;
|
||||
|
||||
[InspectableField, JsonProperty("hullType"), Key(15)]
|
||||
[InspectableField, JsonProperty("hullType"), Key(16)]
|
||||
public HullType HullType;
|
||||
|
||||
[InspectableField, JsonProperty("gridOffset"), Key(16)]
|
||||
[InspectableField, JsonProperty("gridOffset"), Key(17)]
|
||||
public float GridOffset;
|
||||
|
||||
[IgnoreMember]
|
||||
|
|
|
|||
Loading…
Reference in a new issue