Merge branch 'emtpy_coin' of git://github.com/Hellmy/dominiontabs into Hellmy-emtpy_coin

This commit is contained in:
Sumpfork committed 2016-03-16 15:41:54 -07:00
commit 7980a7857b
3 files changed
+15 -2

No files matched your search

+3
View File
@@ -92,6 +92,9 @@ class DividerDrawer(object):
replace = '<img src='"'%s/coin_small_question.png'"' width=%d height='"'100%%'"' valign='"'middle'"'/>' % (
path, fontsize * 1.2)
text = re.sub('\?\s(c|C)oin(s)?', replace, text)
replace = '<img src='"'%s/coin_small_empty.png'"' width=%d height='"'100%%'"' valign='"'middle'"'/>' % (
path, fontsize * 1.2)
text = re.sub('empty\s(c|C)oin(s)?', replace, text)
replace = '<img src='"'%s/victory_emblem.png'"' width=%d height='"'120%%'"' valign='"'middle'"'/>' % (
path, fontsize * 1.5)
text = re.sub('\<VP\>', replace, text)