before visual update

This commit is contained in:
33333-33333 2026-06-11 01:09:49 +09:00
commit ced8f251d4
20 changed files with 873 additions and 388 deletions

View file

@ -27,9 +27,7 @@ export function newTurnStats() {
manualComboSuccess: 0,
manualComboFailure: 0,
repairWorkerWages: 0,
zundaTax: 0,
fairiesTribute: 0,
loanRepayment: 0,
chemicalWeaponSubsidy: 0,
rescueLoan: 0,
cardRerollCost: 0,
@ -43,8 +41,9 @@ export function newTurnStats() {
shredderBonus: 0,
correct: 0,
mistakes: 0,
contractBonus: 0,
contractResult: null,
eventBonus: 0,
explosions: 0,
eventResult: null,
conveyorPasses: 0,
eggProduced: 0
};
@ -66,10 +65,9 @@ export function newTotalStats() {
poopMixer: 0,
explosionDamage: 0,
shredderBonus: 0,
contractBonus: 0,
zundaTax: 0,
eventBonus: 0,
explosions: 0,
fairiesTribute: 0,
loanRepayment: 0,
chemicalWeaponSubsidy: 0,
rescueLoan: 0,
manualComboBonus: 0,
@ -83,8 +81,8 @@ export function newTotalStats() {
mixerPoopFine: 0,
truckPoopFine: 0,
maleTruckFine: 0,
contractSuccess: 0,
contractFailed: 0,
eventSuccess: 0,
eventFailed: 0,
conveyorPasses: 0,
eggProduced: 0
};
@ -139,9 +137,10 @@ export function createGame() {
mixerHalfTimer: 0,
congestion: new Map(),
lastExplodedComponent: new Map(),
contractOffer: null,
contractActive: null,
cardEffects: { bearing: 0, legalWork: 0, fairiesFlatteryNext: 0, crowdedFarming: 0, extraEggOutlet: 0, hatchingFeed: 0, safetyCover: 0, recyclingSubsidy: 0, chemicalWeaponSubsidy: 0, preventiveMaintenance: 0, dudFilter: 0, durabilityCoating: 0, sparePartsBin: 0, dudRefund: 0, freeReroll: 0, composter: 0, scannerQueueSpacing: 0, laborExploitation: 0, usedMachineActive: false, rescueLoanCharges: 0, loans: [] },
eventOffer: null,
eventActive: null,
pendingFairiesTributeMultiplier: 1,
cardEffects: { bearing: 0, legalWork: 0, fairiesFlatteryNext: 0, autoScannerTuning: 0, poopRateBooster: 0, crowdedFarming: 0, hatchingFeed: 0, safetyCover: 0, recyclingSubsidy: 0, chemicalWeaponSubsidy: 0, preventiveMaintenance: 0, dudFilter: 0, durabilityCoating: 0, sparePartsBin: 0, dudRefund: 0, freeReroll: 0, composter: 0, scannerQueueSpacing: 0, laborExploitation: 0, usedMachineActive: false, rescueLoanCharges: 0 },
cardDraft: { pending: false, choices: [], rerolls: 0, picksRemaining: 0 },
cardTargetPick: null,
manualCombo: { count: 0, lastBonus: 0 },
@ -205,7 +204,7 @@ const INITIAL_SCANNERS = Object.freeze([
]);
const INITIAL_EGG_FARMS = Object.freeze([
{ type: 'eggFarm', id: 1, col: 1, row: 0, level: 1, extraEggOutlet: 0, nextSpawn: 2, lastInterval: 2, spawnCounter: 0, price: BUILD_COSTS.eggFarm, builtSession: null }
{ type: 'eggFarm', id: 1, col: 1, row: 0, level: 1, nextSpawn: 2, lastInterval: 2, spawnCounter: 0, price: BUILD_COSTS.eggFarm, builtSession: null }
]);
function addConveyorTile(game, col, row, options = {}) {