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
|
|
@ -2,23 +2,20 @@
|
|||
using MessagePack;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
[RethinkTable("Items")]
|
||||
[InspectableField]
|
||||
[MessagePackObject]
|
||||
[JsonObject(MemberSerialization.OptIn)]
|
||||
[InspectableField, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
public class SensorBehaviorData : IItemBehaviorData
|
||||
{
|
||||
[InspectableField] [JsonProperty("radiance")] [Key(0)]
|
||||
public PerformanceStat Radiance;
|
||||
[InspectableField, JsonProperty("radiance"), Key(0)]
|
||||
public PerformanceStat Radiance = new PerformanceStat();
|
||||
|
||||
[InspectableField] [JsonProperty("masking")] [Key(1)]
|
||||
public PerformanceStat RadianceMasking;
|
||||
[InspectableField, JsonProperty("masking"), Key(1)]
|
||||
public PerformanceStat RadianceMasking = new PerformanceStat();
|
||||
|
||||
[InspectableField] [JsonProperty("sensitivity")] [Key(2)]
|
||||
public PerformanceStat Sensitivity;
|
||||
[InspectableField, JsonProperty("sensitivity"), Key(2)]
|
||||
public PerformanceStat Sensitivity = new PerformanceStat();
|
||||
|
||||
[InspectableField] [JsonProperty("range")] [Key(3)]
|
||||
public PerformanceStat Range;
|
||||
[InspectableField, JsonProperty("range"), Key(3)]
|
||||
public PerformanceStat Range = new PerformanceStat();
|
||||
|
||||
public IItemBehavior CreateInstance(GameContext context, Ship ship, Gear item)
|
||||
{
|
||||
|
|
@ -44,6 +41,10 @@ public class SensorBehavior : IItemBehavior
|
|||
Context = context;
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
{
|
||||
}
|
||||
|
||||
public void Update(float delta)
|
||||
{
|
||||
// var ship = Hardpoint.Ship.Ship.transform;
|
||||
|
|
|
|||
Loading…
Reference in a new issue