rename blueprint to schematic
This commit is contained in:
@@ -187,7 +187,7 @@ void SelectedBuildingPanel::buildSingle(EntityId id)
|
||||
{
|
||||
for (const ShipDef& def : m_config->ships.ships)
|
||||
{
|
||||
if (m_sim->isBlueprintUnlocked(def.id))
|
||||
if (m_sim->isSchematicUnlocked(def.id))
|
||||
{
|
||||
m_recipeCombo->addItem(
|
||||
QString::fromStdString(def.id),
|
||||
@@ -267,7 +267,7 @@ void SelectedBuildingPanel::refreshBuffers(const Building* b)
|
||||
}
|
||||
else if (shipDef)
|
||||
{
|
||||
for (const RecipeIngredient& mat : shipDef->blueprint.materials)
|
||||
for (const RecipeIngredient& mat : shipDef->schematic.materials)
|
||||
{
|
||||
if (mat.item == entry.first.id) { perCycle = mat.amount; break; }
|
||||
}
|
||||
@@ -320,7 +320,7 @@ void SelectedBuildingPanel::refreshBuffers(const Building* b)
|
||||
{
|
||||
const double durationSeconds = recipe
|
||||
? recipe->durationSeconds
|
||||
: shipDef->blueprint.productionTimeSeconds;
|
||||
: shipDef->schematic.productionTimeSeconds;
|
||||
|
||||
bufText += QString("Cycle: %1 s\n").arg(durationSeconds, 0, 'f', 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user