Cartographer/Observatory is now configurable object
This commit is contained in:
1 parent
f3ed589e35
commit
98fd939ed6
24 files changed
+353
-282
No files matched your search
+6
-11
@@ -155,9 +155,14 @@ bool TerrainType::isWater() const
|
||||
return passabilityType & PassabilityType::WATER;
|
||||
}
|
||||
|
||||
bool TerrainType::isRock() const
|
||||
{
|
||||
return passabilityType & PassabilityType::ROCK;
|
||||
}
|
||||
|
||||
bool TerrainType::isPassable() const
|
||||
{
|
||||
return !(passabilityType & PassabilityType::ROCK);
|
||||
return !isRock();
|
||||
}
|
||||
|
||||
bool TerrainType::isSurface() const
|
||||
@@ -170,16 +175,6 @@ bool TerrainType::isUnderground() const
|
||||
return passabilityType & PassabilityType::SUBTERRANEAN;
|
||||
}
|
||||
|
||||
bool TerrainType::isSurfaceCartographerCompatible() const
|
||||
{
|
||||
return isSurface();
|
||||
}
|
||||
|
||||
bool TerrainType::isUndergroundCartographerCompatible() const
|
||||
{
|
||||
return isLand() && isPassable() && !isSurface();
|
||||
}
|
||||
|
||||
bool TerrainType::isTransitionRequired() const
|
||||
{
|
||||
return transitionRequired;
|
||||
|
||||
Reference in new issue
Block a user