Blueprints & Resources
Added the ability to associate simple commodities with resource maps Added resource placement to zone generator Added crafting blueprints and stat addressing system Refactored Thrusters and Shields into Behaviors Fixed server losing database connection Updated icons
This commit is contained in:
parent
bd824cc2e6
commit
fd92c80876
58 changed files with 1399 additions and 855 deletions
|
|
@ -1,25 +1,23 @@
|
|||
using MessagePack;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
[RethinkTable("Items")]
|
||||
[MessagePackObject]
|
||||
[JsonObject(MemberSerialization.OptIn)]
|
||||
[MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
public class ReactorBehaviorData : IItemBehaviorData
|
||||
{
|
||||
[InspectableField] [JsonProperty("charge")] [Key(0)]
|
||||
public PerformanceStat Charge;
|
||||
[InspectableField, JsonProperty("charge"), Key(0)]
|
||||
public PerformanceStat Charge = new PerformanceStat();
|
||||
|
||||
[InspectableField] [JsonProperty("capacitance")] [Key(1)]
|
||||
public PerformanceStat Capacitance;
|
||||
[InspectableField, JsonProperty("capacitance"), Key(1)]
|
||||
public PerformanceStat Capacitance = new PerformanceStat();
|
||||
|
||||
[InspectableField] [JsonProperty("efficiency")] [Key(2)]
|
||||
public PerformanceStat Efficiency;
|
||||
[InspectableField, JsonProperty("efficiency"), Key(2)]
|
||||
public PerformanceStat Efficiency = new PerformanceStat();
|
||||
|
||||
[InspectableField] [JsonProperty("overload")] [Key(3)]
|
||||
public PerformanceStat OverloadEfficiency;
|
||||
[InspectableField, JsonProperty("overload"), Key(3)]
|
||||
public PerformanceStat OverloadEfficiency = new PerformanceStat();
|
||||
|
||||
[InspectableField] [JsonProperty("underload")] [Key(4)]
|
||||
public PerformanceStat UnderloadRecovery;
|
||||
[InspectableField, JsonProperty("underload"), Key(4)]
|
||||
public PerformanceStat UnderloadRecovery = new PerformanceStat();
|
||||
|
||||
public IItemBehavior CreateInstance(GameContext context, Ship ship, Gear item)
|
||||
{
|
||||
|
|
@ -68,6 +66,10 @@ public class ReactorBehavior : IItemBehavior
|
|||
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
{
|
||||
}
|
||||
|
||||
public void Update(float delta)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue