From 9619b6e1e73fb41e1996fca95c84a4a79b98c330 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Fri, 20 Jun 2014 17:23:48 +1000 Subject: [PATCH] Update cricket preset --- presets/cricket.json | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/presets/cricket.json b/presets/cricket.json index 4c879863..6a31fd25 100644 --- a/presets/cricket.json +++ b/presets/cricket.json @@ -1,21 +1,37 @@ { - "name": "Cricket - coming soon", + "name": "Cricket", "outcomes": [ "Win", "Loss", - "Tie", - "Draw" + "Draw", + "Tie" ], "results": [ + { "name" : "1st", "description" : "1st inning runs" }, + { "name" : "2nd", "description" : "2nd inning runs" }, + { "name" : "3rd", "description" : "3rd inning runs" }, + { "name" : "4th", "description" : "4th inning runs" }, + { "name" : "BP", "description" : "Bonus points" }, + { "name" : "Points", "description" : "Total points", "primary" : 1 } ], "performance": [ + "Runs", + "Wickets taken" ], "columns": [ + { "name" : "P", "equation" : "$eventsplayed", "description" : "Matches played" }, + { "name" : "W", "equation" : "$win", "priority" : 2, "description" : "Wins" }, + { "name" : "L", "equation" : "$loss", "description" : "Losses" }, + { "name" : "D", "equation" : "$draw", "description" : "Draws" }, + { "name" : "T", "equation" : "$tie", "description" : "Ties" }, + { "name" : "BP", "equation" : "$bp", "description" : "Bonus points" }, + { "name" : "Points", "equation" : "$points", "priority" : 1, "description" : "Total points" } ], "metrics": [ "Height", "Weight" ], "statistics": [ + { "name" : "Appearances", "equation" : "$eventsplayed", "description" : "Matches played" } ] } \ No newline at end of file