Rename ship/station scrap drop entities to "debris"
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include "SalvageScrapBehavior.h"
|
||||
#include "SalvagerComponent.h"
|
||||
#include "SalvagerSystem.h"
|
||||
#include "ScrapSystem.h"
|
||||
#include "DebrisSystem.h"
|
||||
#include "SelectedBehaviorComponent.h"
|
||||
#include "SensorRangeComponent.h"
|
||||
#include "ShipIdentityComponent.h"
|
||||
@@ -70,7 +70,7 @@ struct Fixture
|
||||
RepairSystem repair;
|
||||
MovementIntentSystem movementIntent;
|
||||
DynamicBodySystem dynamicBody;
|
||||
ScrapSystem scraps;
|
||||
DebrisSystem scraps;
|
||||
Tick tick;
|
||||
std::vector<BeamFiredEvent> beamEvents;
|
||||
|
||||
@@ -1288,7 +1288,7 @@ TEST_CASE("SensorRange: salvage ship ignores scrap beyond sensor range", "[senso
|
||||
|
||||
f.decide();
|
||||
|
||||
REQUIRE_FALSE(f.admin.get<SalvageScrapBehavior>(ship).scrapTarget.has_value());
|
||||
REQUIRE_FALSE(f.admin.get<SalvageScrapBehavior>(ship).debrisTarget.has_value());
|
||||
REQUIRE(intent(f.admin, ship).target.x() > pos(f.admin, ship).value.x());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user