Stage 9.2: mixer operator Tumbler storyline with key drive item

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZHU MINCHAOandClaude Opus 5.5 committed 2026-11-04 09:12:47 +08:00
1 parent 62bd641283
commit a5f9639970
15 files changed
+386 -6

No files matched your search

+16
View File
@@ -649,6 +649,21 @@ def hw_wallet():
return c
def key_drive():
"""Tumbler 的密钥盘(16×16,一格):斜放的旧式数据棒,深紫机身、金属接口、一枚红色指示灯和手写标签。"""
c = Canvas(16, 16)
c.rect(3, 4, 12, 11, 'V') # 机身
c.rect(3, 4, 12, 4, 'v'); c.rect(3, 4, 3, 11, 'v') # 受光边
c.rect(4, 11, 12, 11, 'n'); c.rect(12, 5, 12, 11, 'n') # 背光边
c.rect(13, 6, 15, 9, 'l'); c.rect(13, 9, 15, 9, 'm') # 金属接口
c.put(14, 7, 'k'); c.put(14, 8, 'k')
c.rect(5, 6, 9, 9, 'w') # 手写标签
c.rect(6, 7, 8, 7, 'k'); c.rect(6, 8, 7, 8, 'k')
c.put(11, 6, 'R') # 指示灯
outline(c)
return c
SPRITES = {
'gpu_guide': guide,
'gpu_burnt_f': lambda: gpu_front('e', 'c', burnt=True),
@@ -658,6 +673,7 @@ SPRITES = {
'rig': rig,
'terminal': terminal,
'hw_wallet': hw_wallet,
'key_drive': key_drive,
'asic_m1': lambda: asic('M1'),
'asic_m2': lambda: asic('M2'),
'asic_m3': lambda: asic('M3'),