Mercurial > libervia-backend
comparison src/plugins/plugin_misc_tarot.py @ 2145:33c8c4973743
core (plugins): added missing contants + use of new constants in PLUGIN_INFO
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Feb 2017 18:59:10 +0100 |
parents | 200cd707a46d |
children | 8b37a62336c3 |
comparison
equal
deleted
inserted
replaced
2144:1d3f73e065e1 | 2145:33c8c4973743 |
---|---|
34 | 34 |
35 NS_CG = 'http://www.goffi.org/protocol/card_game' | 35 NS_CG = 'http://www.goffi.org/protocol/card_game' |
36 CG_TAG = 'card_game' | 36 CG_TAG = 'card_game' |
37 | 37 |
38 PLUGIN_INFO = { | 38 PLUGIN_INFO = { |
39 "name": "Tarot cards plugin", | 39 C.PI_NAME: "Tarot cards plugin", |
40 "import_name": "Tarot", | 40 C.PI_IMPORT_NAME: "Tarot", |
41 "type": "Misc", | 41 C.PI_TYPE: "Misc", |
42 "protocols": [], | 42 C.PI_PROTOCOLS: [], |
43 "dependencies": ["XEP-0045", "XEP-0249", "ROOM-GAME"], | 43 C.PI_DEPENDENCIES: ["XEP-0045", "XEP-0249", "ROOM-GAME"], |
44 "main": "Tarot", | 44 C.PI_MAIN: "Tarot", |
45 "handler": "yes", | 45 C.PI_HANDLER: "yes", |
46 "description": _("""Implementation of Tarot card game""") | 46 C.PI_DESCRIPTION: _("""Implementation of Tarot card game""") |
47 } | 47 } |
48 | 48 |
49 | 49 |
50 class Tarot(object): | 50 class Tarot(object): |
51 | 51 |