Add colorable symbol font (#53)

* changed white_text to generic recolorable symbols
* add pawprint symbol
This commit is contained in:
GenevensiS
2024-09-17 20:16:43 +02:00
committed by GitHub
parent 7833d5ad8f
commit c4200b4862
79 changed files with 685 additions and 310 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -10,14 +10,33 @@ depends on:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
# Symbol font in the normal, flat, style, used for text boxes and on old style cards
# Note:
# Define mana_t := {"new|old|older"} in the init script of the style
#
# So for example:
#
#init script:
# mana_t := {"new"}
#### Symbol font in the normal, flat, style, used for text boxes and on old style cards
#### In the init script of the style file, define the following functions:
#### To determine which tap symbol is used:
# mana_t := { "new" }
#### Possible values:
#### "new"
#### "old"
#### "older"
#### To determine if Ancestral's generic mana symbols are used:
# ancestral_mana := { false }
#### Possible values:
#### true
#### false
#### To determine if guild hybrid mana symbols are used:
# guild_mana := { false }
#### Possible values:
#### true
#### false
#### To determine the color of miscellaneous symbols, like the chaos symbol:
# symbol_font_small_color := { body_font_color() }
#### Possible values:
#### any color (should match the color of the text it's inserted in)
image font size: 135
horizontal space: 2
@@ -232,176 +251,14 @@ symbol:
image font size: 75
###################################################################################### Loyalty Symbols
symbol:
image: empty_loyaltyup_w.png
code: ([+][XYZ1-9][0-9]?)
regex: yes
draw text: 1
text margin left: -.10
text margin right: 0
text margin top: .21
text margin bottom: .05
text font:
name: Beleren Bold
size: .70
color: white
max stretch: 0.5
image font size: 100
enabled: {white_text()}
symbol:
image: empty_loyaltydown_w.png
code: ([-][XYZ1-9][0-9]?)
regex: yes
draw text: 1
text margin left: -.10
text margin right: 0
text margin top: 0.1
text margin bottom: .15
text font:
name: Beleren Bold
size: .70
color: white
max stretch: 0.5
image font size: 100
enabled: {white_text()}
symbol:
image: empty_loyaltynaught_w.png
code: [+=]([0-9XYZ][0-9]?)
regex: yes
draw text: 1
text margin left: -.10
text margin right: 0
text margin top: .15
text margin bottom: .1
text font:
name: Beleren Bold
size: .70
color: white
max stretch: 0.5
image font size: 100
enabled: {white_text()}
symbol:
image: empty_loyaltyup.png
code: ([+][XYZ1-9][0-9]?)
regex: yes
draw text: 1
text margin left: -.10
text margin right: 0
text margin top: .21
text margin bottom: .05
text font:
name: Beleren Bold
size: .70
color: black
max stretch: 0.5
image font size: 100
symbol:
image: empty_loyaltydown.png
code: ([-][XYZ1-9][0-9]?)
regex: yes
draw text: 1
text margin left: -.10
text margin right: 0
text margin top: 0.1
text margin bottom: .15
text font:
name: Beleren Bold
size: .70
color: black
max stretch: 0.5
image font size: 100
symbol:
image: empty_loyaltynaught.png
code: [+=]([0-9XYZ][0-9]?)
regex: yes
draw text: 1
text margin left: -.10
text margin right: 0
text margin top: .15
text margin bottom: .1
text font:
name: Beleren Bold
size: .70
color: black
max stretch: 0.5
image font size: 100
###################################################################################### Defense Symbols
symbol:
image: defense_wide.png
code: D([+-][XYZ0-9][0-9])
regex: yes
draw text: 1
text margin left: .41
text margin right: .48
text margin top: .00
text margin bottom: .00
text font:
name: Beleren Bold
size: .45
color: black
max stretch: 0.5
image font size: 115
symbol:
image: defense_wide.png
code: D([XYZ0-9+-][0-9])
regex: yes
draw text: 1
text margin left: .47
text margin right: .45
text margin top: .02
text margin bottom: .00
text font:
name: Beleren Bold
size: .58
color: black
max stretch: 0.5
image font size: 115
symbol:
image: defense.png
code: D([XYZ0-9])
regex: yes
draw text: 1
text margin left: .0
text margin right: .0
text margin top: .02
text margin bottom: .0
text font:
name: Beleren Bold
size: .58
color: black
max stretch: 0.5
image font size: 115
include file: /magic-modules.mse-include/symbol-fonts/small/symbol_fields_loyalty
###################################################################################### Defense Symbols
include file: /magic-modules.mse-include/symbol-fonts/small/symbol_fields_defense
###################################################################################### Miscellaneous
include file: /magic-modules.mse-include/symbol-fonts/small/symbol_fields_misc
###################################################################################### Symbols That Actually Appear on Cards
symbol:
code: acorn
image: acorn.png
image font size: 280
symbol:
code: aether
image: aether.png
image font size: 180
symbol:
code: phi
image: phi.png
image font size: 240
symbol:
code: E
image: energy_inverse.png
image font size: 300
enabled: {white_text()}
symbol:
code: energy
image: energy.png
image font size: 300
symbol:
code: E
image: energy.png
image font size: 300
symbol:
code: TK
image: ticket.png
image font size: 240
symbol:
code: .5
image: one_half.png
@@ -433,29 +290,12 @@ symbol:
symbol:
code: Q
image: mana_q.png
###################################################################################### Chaos Symbol
symbol:
code: chaos
image: mana_chaos_inverse.png
image font size: 168.75
enabled: {white_text()}
symbol:
code: chaos
image: mana_chaos.png
image font size: 168.75
symbol:
code: A
image: mana_chaos_inverse.png
image font size: 168.75
enabled: {white_text()}
symbol:
code: A
image: mana_chaos.png
image font size: 168.75
###################################################################################### Prismatic Symbols
symbol:
code: W/U/B/R/G
image: mana_wubrg.png
###################################################################################### Tri-hybrid Symbols
symbol:
code: W/U/B
@@ -778,6 +618,9 @@ symbol:
symbol:
code: |G
image: mana_g_half.png
symbol:
code: |C
image: mana_c_half.png
symbol:
code: |S
image: mana_s_half.png
@@ -805,6 +648,27 @@ symbol:
code: 2/G
image: 2G.png
enabled: {ancestral_mana()}
symbol:
code: 2/W
image: mana_2w.png
symbol:
code: 2/U
image: mana_2u.png
symbol:
code: 2/B
image: mana_2b.png
symbol:
code: 2/R
image: mana_2r.png
symbol:
code: 2/G
image: mana_2g.png
symbol:
code: 2/C
image: mana_2c.png
symbol:
code: 2/S
image: mana_2s.png
symbol:
image: { masked_blend(dark: "mana_circle_large.png", light: "mana_ww.png", mask: "mask_hybrid.png") }
code: ([XYZ0-9])/W
@@ -1127,15 +991,13 @@ symbol:
insert symbol menu:
item: T
item: Q
item: E
item: TK
item: A
item: phi
item: acorn
item: aether
include file: /magic-modules.mse-include/symbol-fonts/small/menu_choices_misc
item:
type: line
item:
type: custom
name: colorless
item: ∞
item:
type: line
item: W
@@ -1147,15 +1009,6 @@ insert symbol menu:
item: S
item:
type: line
item:
name: half mana
item: |1
item: |W
item: |U
item: |B
item: |R
item: |G
item: |S
item:
name: hybrid
item: W/U
@@ -1170,6 +1023,7 @@ insert symbol menu:
item: B/G
item: R/W
item: G/U
item:
type: line
item: C/W
item: C/U
@@ -1190,29 +1044,7 @@ insert symbol menu:
item: B/G/W
item: R/W/U
item: G/U/B
item:
name: phyrexian
item: H
item: H/W
item: H/U
item: H/B
item: H/R
item: H/G
item:
type: line
item:
name: custom symbols
item: V
item: V/W
item: V/U
item: V/B
item: V/R
item: V/G
item:
type: line
item:
name: prismatic
item: W/U/B/R/G
item: W/U/B/R/G
item:
type: line
item:
@@ -1227,59 +1059,53 @@ insert symbol menu:
item:
type: line
item:
name: loyalty changes
item:
name: +N
item: +0 loyalty
item: +1 loyalty
item: +2 loyalty
item: +3 loyalty
item: +4 loyalty
item: +5 loyalty
item: +6 loyalty
item: +7 loyalty
item: +8 loyalty
item: +9 loyalty
item: +X loyalty
item:
name: -N
item: -0 loyalty
item: -1 loyalty
item: -2 loyalty
item: -3 loyalty
item: -4 loyalty
item: -5 loyalty
item: -6 loyalty
item: -7 loyalty
item: -8 loyalty
item: -9 loyalty
item: -X loyalty
item:
name: =N
item: 0 loyalty
item: 1 loyalty
item: 2 loyalty
item: 3 loyalty
item: 4 loyalty
item: 5 loyalty
item: 6 loyalty
item: 7 loyalty
item: 8 loyalty
item: 9 loyalty
item: X loyalty
name: half mana
item: |1
item: |W
item: |U
item: |B
item: |R
item: |G
item: |C
item: |S
item:
name: defense
item: D0
item: D1
item: D2
item: D3
item: D4
item: D5
item: D6
item: D7
item: D8
item: D9
item: DX
type: line
item:
name: phyrexian
item: H
item: H/W
item: H/U
item: H/B
item: H/R
item: H/G
item:
name: phyrexian hybrid
item: H/W/U
item: H/U/B
item: H/B/R
item: H/R/G
item: H/G/W
item:
type: line
item: H/W/B
item: H/U/R
item: H/B/G
item: H/R/W
item: H/G/U
item:
type: line
item:
name: custom symbols
item: V
item: V/W
item: V/U
item: V/B
item: V/R
item: V/G
item:
type: line
include file: /magic-modules.mse-include/symbol-fonts/small/menu_choices_loyalty
include file: /magic-modules.mse-include/symbol-fonts/small/menu_choices_defense
item:
name: saga chapters
item: r1