Add setting to ignore object introduction dates

This commit is contained in:
Jonathan G Rennison
2022-06-02 14:06:21 +01:00
parent 6fce46304a
commit 6d4da8afd4
5 changed files with 14 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ bool ObjectSpec::IsEverAvailable() const
*/
bool ObjectSpec::WasEverAvailable() const
{
return this->IsEverAvailable() && _date > this->introduction_date;
return this->IsEverAvailable() && (_date > this->introduction_date || (_settings_game.construction.ignore_object_intro_dates && !_generating_world));
}
/**