Uses the game's inventor stock hook (his shop at night and his weekly visit
to the player's store) and his own table placement, so prices are item value
plus his markup. A rig if the player has none (30% otherwise), two basic
cards every time, advanced cards from day 10 (60%, a second at 30%),
flagships from day 30 (25%) or always during his special stock from day 20.
New, genuine cards only; only after Mining Access is unlocked. A test entry
in the dev panel (F9) restocks the counter the way his shop does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rig gets the game's universal module bay (module adjacency included).
The machine's summed performance, efficiency and quality percentages are
divided by 4, like the ratios vanilla machines use, and capped: hashrate
at most +20%, power saving at most 25%, card wear at most -30%. Performance
also raises wear and burn-out chance by the same amount; negative
efficiency (overclock module, neural cores) raises power draw. Replaces the
planned mod-specific overclock module. Tested in game.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
First playable slice, tested in game on the test save:
- Network upgrade "Mining Access" (300) delivers a trading terminal, a
mining rig and an RZX 50.
- The rig is a machine with a battery slot and four card slots; each night
it draws its total power from the battery and its cards mine PSCoin.
Cards show hashrate, power draw and condition, wear every night and can
burn out. All state lives on item tags or in the mod save data.
- Trading terminal with wallet, trade (four pairs, deposit credits as CRC,
withdraw CRC through the compliance desk) and report pages.
- Nightly log lines; exchange opening and halving news on the paper.
- English and Chinese text; sprites generated by art/sprites.py.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Market: PSCoin reference price with sentiment, anchor shifts from game
events (blackout, crackdown), daily volatility, NPC whales, a day-average
mark price, and side pairs pulled toward the reference by arbitrage.
Stablecoins: CRC depeg and haircut, CRT depeg and freeze chance by black
market reputation, CRA staking subsidy, warnings and the three-day spiral.
Exchange: CRC cash-out at market price, AML hit chance from size, 7-day
total, taint ratio and mixer/flag; light hits confiscate the tainted part,
heavy hits also report it as fencing; tax only on gains.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pure logic layer with no game references: xoshiro128** RNG with savable
state, asset registry (PSC, CRC, CRT, CRA, SPARK, Ponero), wallets whose
taint and cost basis move with transfers, constant-product pools with
nightly reversion, and mining (Probidia/PMD GPUs, RatDigg ASICs, network
hash response, halving, wear and sudden death). 35 checks pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>