Compose Planetologist movement with Ornithopter flights
This commit is contained in:
1 parent
90c50736f2
commit
4af90e547c
24 files changed
+1607
-50
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import test from 'node:test';
|
||||
import { viewGame } from '../game/engine';
|
||||
import { planetologistMovementModeSupported } from '../game/planetologist-movement';
|
||||
import { createDiscoveryNativeE2SkillsFixture } from './fixture-discovery-native-e2-skills';
|
||||
|
||||
void test('native Discovery skill projections retain the existing enabled module for movement eligibility', () => {
|
||||
for (const advanced of [false, true]) {
|
||||
const f = createDiscoveryNativeE2SkillsFixture({ advanced });
|
||||
assert.equal(f.game.discoveryEnabled, true);
|
||||
assert.equal(planetologistMovementModeSupported(f.game), true);
|
||||
for (const actor of [f.richese, f.choam, f.guild]) {
|
||||
const projected = viewGame(f.game, actor);
|
||||
assert.equal(projected.lobbyModules, null);
|
||||
assert.equal(planetologistMovementModeSupported(projected), true);
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user