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
|
|
@ -57,7 +57,7 @@ public class ZoneGeneratorTest : MonoBehaviour
|
|||
void Start()
|
||||
{
|
||||
_cache = new DatabaseCache();
|
||||
_context = new GameContext(_cache);
|
||||
_context = new GameContext(_cache, Debug.Log);
|
||||
_boundaryMaterial = ZoneBoundary.material;
|
||||
}
|
||||
|
||||
|
|
@ -105,10 +105,10 @@ public class ZoneGeneratorTest : MonoBehaviour
|
|||
ZoneGenerator.GenerateZone(
|
||||
global: Galaxy.MapData.GlobalData,
|
||||
zone: zone,
|
||||
mass: Galaxy.MapData.ResourceDensities.First(m=>m.Name=="Mass"),
|
||||
radius: Galaxy.MapData.ResourceDensities.First(m=>m.Name=="Radius"),
|
||||
mapLayers: Galaxy.MapData.ResourceDensities,
|
||||
resources: Array.Empty<SimpleCommodityData>(),
|
||||
orbitData: out orbits,
|
||||
planetData: out planets);
|
||||
planetsData: out planets);
|
||||
_cache.AddAll(orbits);
|
||||
_cache.AddAll(planets);
|
||||
_cache.Add(zone);
|
||||
|
|
|
|||
Loading…
Reference in a new issue