allow to configure when which schematic gets unlockable

This commit is contained in:
2026-06-10 20:54:16 +02:00
parent 26857e8414
commit aad094f842
9 changed files with 25 additions and 21 deletions

View File

@@ -23,7 +23,7 @@ static const ShipDef* findAvailableSchematic(const GameConfig& cfg)
{
for (const ShipDef& def : cfg.ships.ships)
{
if (def.availableFromStart && !def.schematic.materials.empty())
if (def.unlockAtStationLevel == -1 && !def.schematic.materials.empty())
{
return &def;
}