diff --git a/common/card_tooltip.xml b/common/card_tooltip.xml
index 3bafe49..8755a72 100644
--- a/common/card_tooltip.xml
+++ b/common/card_tooltip.xml
@@ -4,15 +4,16 @@
+
-
+
-
+
\ No newline at end of file
diff --git a/common/scripts/card_tooltip.lua b/common/scripts/card_tooltip.lua
new file mode 100644
index 0000000..0ef3462
--- /dev/null
+++ b/common/scripts/card_tooltip.lua
@@ -0,0 +1,22 @@
+function onInit()
+ DB.addHandler(DB.getPath(getDatabaseNode(), CardsManager.CARD_FACING_PATH), "onUpdate", updateToken);
+ updateToken();
+end
+
+function onClose()
+ DB.removeHandler(DB.getPath(getDatabaseNode(), CardsManager.CARD_FACING_PATH), "onUpdate", updateToken);
+end
+
+function updateToken()
+ local node = getDatabaseNode();
+
+ if not node then
+ return;
+ end
+
+ if CardsManager.isCardFaceUp(node) then
+ image.setPrototype(CardsManager.getCardFront(node));
+ else
+ image.setPrototype(CardsManager.getCardBack(node));
+ end
+end
\ No newline at end of file