Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
59f30987
Commit
59f30987
authored
Dec 27, 2008
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added "text length (lines)" statistics dimension
parent
5c2f378c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
data/magic.mse-game/script
data/magic.mse-game/script
+1
-0
data/magic.mse-game/statistics
data/magic.mse-game/statistics
+7
-0
No files found.
data/magic.mse-game/script
View file @
59f30987
...
@@ -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
data/magic.mse-game/statistics
View file @
59f30987
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment