Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- coding: utf-8 -*- 

2 

3 

4# -- stdlib -- 

5# -- third party -- 

6# -- own -- 

7from thb.meta.common import ui_meta 

8from thb.cards import base 

9 

10 

11# -- code -- 

12@ui_meta(base.CardList) 

13class CardList: 

14 lookup = { 

15 'cards': '手牌区', 

16 'showncards': '明牌区', 

17 'equips': '装备区', 

18 'fatetell': '判定区', 

19 'faiths': '信仰', 

20 

21 # for skills 

22 'yukari_dimension': '隙间', 

23 'meirin_qiliao': '气', 

24 'momiji_sentry_cl': '哨戒', 

25 } 

26 

27 

28@ui_meta(base.HiddenCard) 

29class HiddenCard: 

30 # action_stage meta 

31 image = 'thb-card-hidden' 

32 name = '隐藏卡片' 

33 description = '|R隐藏卡片|r\n\n这张卡片你看不到' 

34 

35 def is_action_valid(self, c, tl): 

36 return (False, '这是BUG,你没法发动这张牌…')