Commit 59f30987 authored by twanvl's avatar twanvl

Added "text length (lines)" statistics dimension

parent 5c2f378c
...@@ -546,3 +546,4 @@ primary_card_color := { ...@@ -546,3 +546,4 @@ primary_card_color := {
} }
word_count := break_text@(match:"[^[:space:]]+") + length word_count := break_text@(match:"[^[:space:]]+") + length
line_count := split_text@(match:"\n+",include_empty:false) + length
...@@ -78,6 +78,13 @@ statistics dimension: ...@@ -78,6 +78,13 @@ statistics dimension:
bin size: 5 bin size: 5
icon: stats/text_length.png icon: stats/text_length.png
statistics dimension:
name: text length (lines)
position hint: 101
script: line_count(to_text(card.rule_text))
numeric: true
icon: stats/text_length.png
statistics dimension: statistics dimension:
name: race name: race
position hint: 32 position hint: 32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment