← all tickets

29 — Implement: Cookbook (30009)

What to build: Implement 30009 — Cookbook. Card text: "Whenever you install a virus program, you may place 1 virus counter on it." Follow docs/adding-a-card.md for the definition of done: one contiguous hook block in rust/netrunner-core/src/cards/sg.rs, at least one card_30009_* Rust test, and implemented/has_tests flipped in game/cards_impl/sg.json.

Blocked by: 10 — implement sg remaining (this ticket's parent).

Status: fixed

Comments

2026-08-01: POST_PROGRAM_INSTALL hook: free and never unwanted, so the engine always takes the option. It runs before the new program's own ON_INSTALL, so Botulus' install counter changed from = 1 to += 1 — the two stack instead of overwriting. Landed with ticket 10.