Commit Graph
174 Commits
Author SHA1 Message Date
ZHU MINCHAO 821eb1b960 Appraisal test helpers: put a client with appraisal cards in front of the counter 2026-11-03 13:20:11 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 2be4c90c8e GPU art: drop the diagonal stub at the end of the accent stripe; appraisal test helpers
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 13:11:41 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 6b2d394023 Inspection overlays designed by agy; appearance dimensions tied to value, wear and death
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 13:04:45 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 dd95aad7aa Dedicated large inspection art for graphics cards
192x128 drawings made for the magnifier tray instead of enlarging the
48x32 item sprite: nine-blade fans, fin stack, heat pipes, power connector,
PCB parts, per-contact gold fingers; back with brushed backplate, QR and
barcode sticker, seal. Appearance overlays share coordinates with the base.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 12:21:40 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 c05fe41ca9 Magnifier inspection view for graphics cards
Cards are inspectable. While the magnifier inspection tray shows a card, a
mod-owned panel under the tray draws the card enlarged with its appearance
overlays and a turn-over button. No Harmony patches: a resident component
watches the inspection manager.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 12:08:51 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 e643332a41 GPU art: redraw front and back with real detail
Six-blade fans with rim, air duct and hub, graphite shroud with fin stack,
copper heat-pipe ends and an 8-pin connector, PCB with parts and per-contact
gold fingers; back has brushed backplate, vents, screws, recessed silkscreen
plate, QR/barcode sticker and a seal. Overlays realigned.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 12:04:08 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 de7d5caafe Used cards: counter quote tag instead of client-temporary feature; item type Material
Client-temporary features are stripped when an item sits on the front
counter, so the scam markup never applied. The quote now lives in a tag and
counts only while the item is not owned. GPU item type ELECTRONIC has no
translation in the game, so cards are typed as Material.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 12:00:39 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 9b48d7bf0e Used-hardware dealer customer and GPU appraisal registration
A scav-type seller visits now and then with three to five used cards. An
honest dealer sells at true value, a middleman adds 8%, a scammer mixes in
fakes (relabelled cheap chips) priced at 90% of the labelled model's value.
The markup is a client-temporary item feature, so a bought card is only
worth its real value. Cards are registered as appraisal items; the correct
value is the same function as the sale value.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 11:40:10 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 42608a4acd Cards: 3x2 front/back sprites, appearance overlays, flip via the Toggle menu
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 11:26:11 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 90f0075fd4 Block reward 90, ASIC prices follow the new card price scale
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 11:22:27 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 4196151f7e Cards: five-dimension look model, unified value function, higher prices
CardLook has five dimensions of three values each (fan, gold fingers,
bracket on the front; back print and back sticker on the back), 243
combinations. Wear traits follow health and appear on genuine cards too;
three signs (wrong port count, wrong or re-printed silkscreen, handwritten
serial) appear only on fakes, one to three of them. CardValue is the single
value function: sale price and the appraisal's correct value are both
price x (0.25 + 0.75 x health) of the chip actually inside; a dealer quotes
a fake by its labelled model. Graphics card prices rise to about 1.8x and
the block reward to 90 to keep the mining share in range.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 11:20:33 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 6c48078e44 Entry upgrade price 400
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 10:40:20 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 8296871fcd Entry upgrade also delivers a mining rig
Terminal, rig and an RZX 50 (520 of goods) for 300, same price tier as the
other early network upgrades; the player is left with enough cash for the
first week's rent.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 10:39:52 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 8bdaad474e Rig: base power draw follows the installed cards
The game recomputes a machine's draw from its base-draw tag whenever a
module is added or removed. The rig kept that tag at the body's 2 kJ, so the
game briefly rewrote the draw to a percentage of 2 kJ before the mod put it
back. The tag now carries the body plus all cards (without modules).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 10:30:11 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 3a4572efb6 Terminal and graphics cards redrawn; rig slots 2 to 5 with electronics
Terminal: monitor with a top face and a trapezoid keyboard. Graphics card:
a metal bracket with ports, two fans, brand stripe, gold fingers with a PCIe
notch and power connectors on top, now 2x2 cells. Rig: two slots by default,
an upgrade slot that takes the next level's electronics (4 common, 1 rare,
2 rare) and consumes them at once; the card grid reshapes with the slot
count, which is kept on the rig's tags. Verified in game, including the
slot limit, the upgrade items, five cards, and save and reload.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 10:18:19 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 9d51c74f56 Rig sprite: slightly top-down view like the game's machines
Top face with vents and an indicator, lit left edge, darker right side,
front with three card bays and a power port, two feet, rounded outline.
The cell-centre check still passes, so nothing can sit under it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 10:05:06 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 a2a4d12ad3 Fix item shapes: mod sprites need an opaque pixel at the centre of every cell
The game decides which cells an item occupies by the alpha of one pixel at
the centre of each 16x16 cell. The rig's rack bays left gaps exactly on the
centre rows, so 8 of 9 cells counted as empty and other items were placed
underneath it; the terminal's stand did the same. The rig gets a solid
back plate, the terminal's stand is widened, and art/sprites.py now checks
every cell the way the game does and refuses to write a sprite with a hole.
Verified in game: new rigs are 3x3 solid, new terminals 2x2 solid.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 10:01:16 +08:00
ZHU MINCHAOandClaude Sonnet 5.5 1841338fbb Entry upgrade goes under the game's Service group
Uses the game's own "Service" card key like Probably Automated instead of
a custom group label, and the terminal as its icon.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 09:53:13 +08:00
ZHU MINCHAOandClaude Opus 5.5 19d728a079 Rename: coin PSC, exchange Poinbase, entry upgrade Web3 Governance Community
The entry network upgrade is the gateway to the whole mod, not only
mining: it now delivers the trading terminal and an RZX 50; rigs are
bought from Dr. Jackson, who always stocks one while the player has none.
The upgrade id changes (unreleased, no migration).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:36:12 +08:00
ZHU MINCHAOandClaude Opus 5.5 a101b58f1c Dr. Jackson stocks mining hardware
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>
2026-11-03 09:27:28 +08:00
ZHU MINCHAOandClaude Opus 5.5 79d4c686a0 Rig: game module bay with damped, capped effects
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>
2026-11-03 09:16:46 +08:00
ZHU MINCHAOandClaude Opus 5.5 750b26e4b3 Mod: mining rig, graphics cards, trading terminal, nightly settlement
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>
2026-11-03 09:11:46 +08:00
ZHU MINCHAOandClaude Opus 5.5 efc58888f3 Domain: market, stablecoins, compliant cash-out with AML
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>
2026-11-03 08:55:31 +08:00
ZHU MINCHAOandClaude Opus 5.5 ce3bed1467 Domain core: seeded RNG, asset registry, wallets, AMM pairs, mining
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>
2026-11-03 08:52:32 +08:00