The weapon licence, the peer line, and the steward gets his vest back
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7e2649c888
commit
7d39032907
40 files changed
+62
-24
No files matched your search
+5
-2
@@ -3,7 +3,7 @@
|
||||
// your baseline — one crossing it is a point for THEM.
|
||||
// (zombies <-> gameplay is a runtime-only import cycle, same pattern as input.)
|
||||
|
||||
import { TUNE, UI, COURT, CONTACT, BOSS_ART, bossArt, WEAPONS, BARREL_WEAPONS, woundStage, zombieH, EATEN_BURST, EATEN_SUMMARY, EATEN_FEED_R } from './config.js';
|
||||
import { TUNE, UI, COURT, CONTACT, BOSS_ART, bossArt, WEAPONS, BARREL_WEAPONS, TIN_LEAGUE, woundStage, zombieH, EATEN_BURST, EATEN_SUMMARY, EATEN_FEED_R } from './config.js';
|
||||
import { G, P, O, ball, score, sendBoy, setupPoint } from './state.js';
|
||||
import { splat, moan, pock, thud, zap, voice, boom, swish, shriek, aww, sfx , whoosh, flame } from './audio.js';
|
||||
import { haptic } from './haptics.js';
|
||||
@@ -11,7 +11,7 @@ import { drillKill, drillCaught } from './drill.js';
|
||||
import { splatPoint, cheer, spentBall, aside, grantWeapon, endBurst, sliceCarom } from './gameplay.js';
|
||||
import { resolveInterlude, endBossFight } from './beats.js'; // runtime-only cycle, like the gameplay one
|
||||
import { tally, multiKill, endRun, MODE_MATCH } from './stats.js';
|
||||
import { award, bonus } from './profile.js';
|
||||
import { award, bonus, prof } from './profile.js';
|
||||
|
||||
export const zombies = []; // {x, z, v, walkT, variant: 'a'|'b'|'c'}
|
||||
export const gore = []; // lawn decals {x, z, r, a} — the flat ground layer
|
||||
@@ -86,6 +86,9 @@ function pickBarrelWeapon() {
|
||||
const pool = [];
|
||||
for (const [id, b] of Object.entries(BARREL_WEAPONS)) {
|
||||
if (G.runGames < b.from) continue;
|
||||
// THE WEAPON LICENCE (the leagues): the league licenses, `from` paces — a barrel must not
|
||||
// hand a league-1 player the laser his duels rightly refuse (config.TIN_LEAGUE)
|
||||
if (prof.lg < (TIN_LEAGUE[id] || 0)) continue;
|
||||
if (id === lastBarrel) continue; // never twice running...
|
||||
for (let k = 0; k < b.weight; k++) pool.push(id);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user