Statistics Update (#12)
* Adding GenevensiS's stats page overhaul * Update card_fields: automated stats are now disabled * Update set_fields: added customization fields for stats * Stats have new icons * Updated position hint and card shape for several frames * Added preliminary localization updates * Added detect_custom_subtypes_statistic --------- Co-authored-by: cajun <kajunkittyavenger@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
############################################################## Set fields
|
||||
|
||||
set field:
|
||||
@@ -155,10 +155,6 @@ set field:
|
||||
type: boolean
|
||||
name: rarity codes
|
||||
description: Show rarity codes on M15 frames?
|
||||
set field:
|
||||
type: boolean
|
||||
name: trim statistics
|
||||
description: Removes tokens, special rarity, and masterpiece rarity from most statistics.
|
||||
set field:
|
||||
type: boolean
|
||||
name: curly quotes
|
||||
@@ -238,6 +234,53 @@ set field:
|
||||
name: wedge mana costs
|
||||
description: Depreciated. Should three color mana costs sort in wedge order like in Khans block?
|
||||
initial: no
|
||||
set field:
|
||||
type: info
|
||||
name: Statistics
|
||||
set field:
|
||||
type: boolean
|
||||
name: trim statistics
|
||||
description: Removes special and masterpiece rarity cards from the statistics, as well as tokens, emblems, dungeons, heroes, conspiracies, vanguards, schemes, planes and phenomenons. Type statistics_info() in the console for detailed help.
|
||||
initial: no
|
||||
set field:
|
||||
type: text
|
||||
name: filter statistics
|
||||
description: Filter cards from the statistics. Syntax is: field_name_1=="value_1", field_name_2=="value_2", etc. Use == for strict equality, != for not equal, =: for contains, !: for not contains, <= and >= for numeric comparisons. Example: color=="RG", mana_value<="4", rule_text=:"deathtouch", sub_type!:"goblin"
|
||||
set field:
|
||||
type: multiple choice
|
||||
name: count secondary faces
|
||||
description: Count the back side or secondary faces of the cards in the statistics? Type statistics_info() in the console for detailed help.
|
||||
choice: MDFC
|
||||
choice: TDFC
|
||||
choice: Adventure
|
||||
choice: Split
|
||||
choice: Aftermath
|
||||
choice: Flip
|
||||
initial: MDFC, Adventure, Split
|
||||
set field:
|
||||
type: text
|
||||
name: custom super types
|
||||
description: Custom supertypes for the stats page, separated by commas. Do not write custom types or subtypes. Type statistics_info() in the console for detailed help.
|
||||
set field:
|
||||
type: text
|
||||
name: custom creature races
|
||||
description: Custom races for the stats page, separated by commas, or type "detect" for MSE to grab them. Type statistics_info() in the console for detailed help.
|
||||
default: "detect"
|
||||
script:
|
||||
if value == "detect" then detect_custom_creature_subtypes_statistic() else value
|
||||
set field:
|
||||
type: text
|
||||
name: custom creature classes
|
||||
description: Custom classes for the stats page, separated by commas. Type statistics_info() in the console for detailed help.
|
||||
set field:
|
||||
type: text
|
||||
name: card notes clauses split
|
||||
description: Regex used to split the card notes in the Card Notes Clauses statistics category. Default is " *(\.|\n|;|,|(?=!)) *" which splits at each semicolon, each dot, each exclamation mark and each comma.
|
||||
default: " *(\\.|\\n|;|,|(?=!)) *"
|
||||
set field:
|
||||
type: text
|
||||
name: global_variable_average_opening_hand
|
||||
script: global_variable_average_opening_hand_statistic()
|
||||
set field:
|
||||
type: info
|
||||
name: Mainframe Template Options
|
||||
@@ -316,6 +359,8 @@ set field:
|
||||
############################# Default style
|
||||
|
||||
default set style:
|
||||
global_variable_average_opening_hand:
|
||||
visible: false
|
||||
title:
|
||||
padding left: 2
|
||||
font:
|
||||
@@ -432,6 +477,9 @@ default set style:
|
||||
automatic reminder text:
|
||||
render style: checklist
|
||||
direction: vertical
|
||||
count secondary faces:
|
||||
render style: checklist
|
||||
direction: vertical
|
||||
sort special rarity:
|
||||
render style: both
|
||||
choice images:
|
||||
|
||||
Reference in New Issue
Block a user