This commit is contained in:
Forrest 2026-09-28 21:40:48 -04:00
parent fa1fcbadf3
commit 624e8e299e
11 changed files with 857 additions and 58 deletions

View file

@ -103,7 +103,7 @@ export const HARDWARE: Record<string, Script> = {
// Reading: the Program is one on the location the wearer fought from, the owner picks it, and it
// stays disabled through the end of the next turn.
'Overclocked CPU': {
text: 'Avatar gains +2 Cores during combat, but one installed Program at the current server becomes disabled afterward for 2 turns.',
text: 'Avatar gains +2 Cores during combat, but one installed Program at the current server becomes disabled afterward for 2 commands.',
cores: (_s, _src, f) => (f.role !== null ? 2 : 0),
onCombatEnd(s, src) {
const c = s.combat!;
@ -132,7 +132,7 @@ export const HARDWARE: Record<string, Script> = {
},
'Solid-State Cache': {
text: 'The first Program installed on the occupied Server each turn costs 3 less RAM.',
text: 'The first Program installed on the occupied Server each round costs 3 less RAM.',
costMod: (s, src, pay) =>
pay.kind === 'program' && pay.player === src.controller && pay.at === src.at && hardwareUsesLeft(s, src.id) > 0 ? -3 : 0,
onPaid(s, src) {
@ -179,7 +179,7 @@ export const HARDWARE: Record<string, Script> = {
// Works through hardwareUsesLeft() above.
'Cooling System': {
text: 'Allow one Hardware to activate twice per turn.',
text: 'Allow one Hardware to activate twice per round.',
},
// Reading: half the combined printed RAM of its Hardware, rounded up.
@ -220,7 +220,7 @@ export const HARDWARE: Record<string, Script> = {
// Programs never target Avatars, so this taxes Executions (and Hardware they hit).
'Firewall Appliance': {
text: 'The first hostile Program or Execution targeting this Avatar each turn costs the opponent +3 RAM.',
text: 'The first hostile Program or Execution targeting this Avatar each round costs the opponent +3 RAM.',
costMod: (s, src, pay) =>
pay.kind === 'execution' && pay.player !== src.controller && hardwareUsesLeft(s, src.id) > 0 &&
(pay.hostile ?? []).some((r) => wearing(src.ref, { ref: r })) ? 3 : 0,
@ -252,7 +252,7 @@ export const HARDWARE: Record<string, Script> = {
// Reading: at the start of your turn, look at the top card and you may put it on the bottom.
'Diagnostic Module': {
text: 'Look at one face down card in your draw pile. You may place it at the bottom and draw another to start your turn.',
text: 'Look at one face down card in your draw pile. You may place it at the bottom and draw another to start your first command each round.',
onTurnStart(s, src) {
if (s.active !== src.controller || hardwareUsesLeft(s, src.id) <= 0) return;
const deck = s.players[src.controller].deck;
@ -280,7 +280,7 @@ export const HARDWARE: Record<string, Script> = {
// Reading: swap Hardware on this Avatar, paying the difference in printed RAM (no refund).
'Hot-Swap Bay': {
text: 'Once per turn, return one Hardware to your hand and install another Hardware from your hand, paying the difference in cost.',
text: 'Once per round, return one Hardware to your hand and install another Hardware from your hand, paying the difference in cost.',
ability: {
hardwareOncePerTurn: true,
uses(s, src) {
@ -309,7 +309,7 @@ export const HARDWARE: Record<string, Script> = {
// Ruling: Servers perform Executions, so "this Avatar uses an Execution" means one performed by
// the Server the wearer stands on. "Disable this Hardware" lasts until your next turn.
'Quantum Coprocessor': {
text: "Once per turn when this Avatar uses an Execution, you may copy that Execution's effect with a different legal target, then disable this Hardware.",
text: "Once per round when this Avatar uses an Execution, you may copy that Execution's effect with a different legal target, then disable this Hardware.",
copiesExecutions: true,
resume: {
offer(s, data: { item: StackItem }) {