External Database Entries + Name File Cleaning + Faction Allegiance

DatabaseCache now reads and stores entry types marked ExternalEntry from separate files in their own folder
Updated name file cleaning code and re-cleaned name files
Disabled planet generation (very slow)
Fixed wormhole traversal - can now explore galaxy
Added faction allegiance matrix and slider inspector code
This commit is contained in:
Reinier Vens 2021-03-16 11:06:54 +00:00
commit d8127c2240
84 changed files with 411 additions and 843 deletions

View file

@ -193,7 +193,11 @@ public class ZoneRenderer : MonoBehaviour
foreach (var adjacentZone in zone.SectorZone.AdjacentZones)
{
var dir = normalize(adjacentZone.Position - zone.SectorZone.Position);
AddWormhole(new Wormhole {Position = dir * Settings.DefaultZoneRadius * Settings.WormholeDistanceRatio});
AddWormhole(new Wormhole
{
Target = adjacentZone,
Position = dir * Settings.DefaultZoneRadius * Settings.WormholeDistanceRatio
});
}
}
}