feat: display text for draw card
This commit is contained in:
@@ -142,7 +142,11 @@ for card_data in cards:
|
||||
# Draw row 1 stats
|
||||
draw_effects_resources_for_row(dwg, base_effects, row_1_base_y, x_width)
|
||||
# Draw row 1 text
|
||||
effect_text_1 = ""
|
||||
for effect in base_effects:
|
||||
effect_text_1 = ""
|
||||
if effect.get('effect') == 'draw':
|
||||
effect_text_1 = "Piochez une carte."
|
||||
dwg.add(dwg.text(effect_text_1, insert=(x_width/2, row_1_base_y + 57), text_anchor='middle', fill='black', font_size=str(effect_text_size) + 'px', font_family='Helvetica'))
|
||||
|
||||
|
||||
if other_effects:
|
||||
|
||||
Reference in New Issue
Block a user