Skip to content

Commit

Permalink
v2.9 data update and atlassian dashboard changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkcity committed Aug 4, 2023
1 parent 506c98a commit efefb4e
Show file tree
Hide file tree
Showing 7 changed files with 122 additions and 13 deletions.
23 changes: 12 additions & 11 deletions src/campaign_dashboard/atlas_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,32 @@

combat_df = pd.DataFrame(
pd.read_csv(
"https://raw.githubusercontent.com/sparkcity/campaign_dashboard/main/src/data/starbound/starbound_combat.csv"
"https://raw.githubusercontent.com/sparkcity/campaign_dashboard/main/src/data/protea/protea_combat.csv"
)
)
rolls_df = pd.DataFrame(
pd.read_csv(
"https://raw.githubusercontent.com/sparkcity/campaign_dashboard/main/src/data/starbound/starbound_rolls.csv"
"https://raw.githubusercontent.com/sparkcity/campaign_dashboard/main/src/data/protea/protea_rolls.csv"
)
)
attr_df = pd.DataFrame(
pd.read_csv(
"https://raw.githubusercontent.com/sparkcity/campaign_dashboard/main/src/data/starbound/starbound_attr.csv"
"https://raw.githubusercontent.com/sparkcity/campaign_dashboard/main/src/data/protea/protea_attr.csv"
)
)
stats_df = pd.DataFrame(
pd.read_csv(
"https://raw.githubusercontent.com/sparkcity/campaign_dashboard/main/src/data/starbound/starbound_pcs.csv"
"https://raw.githubusercontent.com/sparkcity/campaign_dashboard/main/src/data/protea/protea_pcs.csv"
)
)

pc_color_map = {
"Sparrow": "#118ab2",
"Madaine": "#073b4c",
"Evelyn": "#06d6a0",
"Pollux": "#ffd166",
"Trey": "#ef476f",
"Kara": "#acd4d6",
"Victoria": "#a73aae",
"Fluke": "#7deae6",
"Romare": "#ffd166",
"Luomus": "#d53131",
"Barbara": "#29aa64",
}

sess_min = (rolls_df["session"].min()).item()
Expand Down Expand Up @@ -154,9 +155,9 @@ def total_combat_stat_per_session(cntxt):

select_pc = pn.widgets.ToggleGroup(
name="Combat Stat Selection",
options=["Sparrow", "Madaine", "Trey", "Pollux", "Evelyn"],
options=["Victoria", "Fluke", "Barbara", "Luomus", "Romare", "Kara"],
behavior="radio",
value="Sparrow",
value="Victoria",
)


Expand Down
7 changes: 7 additions & 0 deletions src/data/protea/protea_attr.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pc,lvl,acrobatics,animal_handling,arcana,athletics,deception,history,insight,intimidation,investigation,medicine,nature,perception,performance,persuasion,religion,sleight_of_hand,stealth,survival
Luomus,6,8,5,1,0,0,4,5,0,1,2,1,5,0,0,1,5,8,5
Romare,6,3,5,0,0,0,0,8,3,0,8,0,8,0,3,0,3,3,5
Victoria,6,0,1,7,0,6,7,1,3,4,4,4,4,3,6,4,0,0,1
Barbara,6,2,1,0,8,0,0,4,3,0,1,0,4,0,0,0,2,2,4
Fluke,6,2,0,2,0,8,2,0,8,2,0,2,0,8,5,2,8,5,0
Kara,5,4,1,7,0,0,7,1,3,7,1,4,1,0,0,4,7,4,1
12 changes: 11 additions & 1 deletion src/data/protea/protea_combat.csv
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,14 @@ session,combat_id,pc,level,dmg_taken,dmg_healed,dmg_dealt,dmg_mitigated,atks_suc
19,19-1,Fluke,6,0,0,0,0,0,0,0,0,"A cloaked figure in Elderhal, upon getting caught planting poison into Victoria and Luomos's room, stabs Luomos with a syringe"
19,19-1,Victoria,6,0,0,0,0,0,0,0,0,"A cloaked figure in Elderhal, upon getting caught planting poison into Victoria and Luomos's room, stabs Luomos with a syringe"
19,19-1,Romare,6,0,0,0,0,0,0,0,0,"A cloaked figure in Elderhal, upon getting caught planting poison into Victoria and Luomos's room, stabs Luomos with a syringe"
19,19-1,Barbara,6,0,0,0,0,0,0,0,0,"A cloaked figure in Elderhal, upon getting caught planting poison into Victoria and Luomos's room, stabs Luomos with a syringe"
19,19-1,Barbara,6,0,0,0,0,0,0,0,0,"A cloaked figure in Elderhal, upon getting caught planting poison into Victoria and Luomos's room, stabs Luomos with a syringe"
20,20-1,Luomus,6,6,0,69,0,4,0,0,3,"In Velgrynd's outpost, her minions really wanna tussle (because otherwise it's no fun.) "
20,20-1,Fluke,6,0,0,14,0,0,1,1,0,"In Velgrynd's outpost, her minions really wanna tussle (because otherwise it's no fun.) "
20,20-1,Victoria,6,8,0,3,0,0,0,0,0,"In Velgrynd's outpost, her minions really wanna tussle (because otherwise it's no fun.) "
20,20-1,Romare,6,0,0,0,0,0,0,0,0,"In Velgrynd's outpost, her minions really wanna tussle (because otherwise it's no fun.) "
20,20-1,Barbara,6,0,0,38,0,2,0,0,1,"In Velgrynd's outpost, her minions really wanna tussle (because otherwise it's no fun.) "
20,20-2,Luomus,6,24,0,84,0,3,0,0,1,"An intelligent, man-eating slime ambushes Victoria and Fluke in Velgrynd's outpost."
20,20-2,Fluke,6,0,0,28,71,4,0,1,0,"An intelligent, man-eating slime ambushes Victoria and Fluke in Velgrynd's outpost."
20,20-2,Victoria,6,11,0,18,8,0,0,2,0,"An intelligent, man-eating slime ambushes Victoria and Fluke in Velgrynd's outpost."
20,20-2,Romare,6,0,0,25,0,3,0,1,0,"An intelligent, man-eating slime ambushes Victoria and Fluke in Velgrynd's outpost."
20,20-2,Barbara,6,61,0,113,0,6,0,0,1,"An intelligent, man-eating slime ambushes Victoria and Fluke in Velgrynd's outpost."
7 changes: 7 additions & 0 deletions src/data/protea/protea_pcs.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pc,lvl,class,archetypes,race,str,dex,con,int,wis,cha
Luomus,6,Blood Hunter (Order of the Old Blood),null,Dhampir,11,20,18,12,14,11
Romare,6,Cleric (Eternal Domain),null,Reborn,10,17,14,11,20,11
Victoria,6,Wizard (School of Necromancy),Warlock,Dhampir,11,11,14,19,12,17
Barbara,6,Barbarian (Path of the Wild Magic),null,Human,20,14,18,11,12,11
Fluke,6,Sorcerer (Wild Magic),null,Tiefling,11,14,17,14,11,20
Kara,5,Runeweaver (Secret of the Magus),null,Warforged,11,18,14,19,12,11
40 changes: 39 additions & 1 deletion src/data/protea/protea_rolls.csv
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,42 @@ session,pc,type,context,skill_check,ability_save,roll_dice,roll_total
19,Romare,Check,Social,Insight,null,6,14
19,Luomus,Check,Exploration,Stealth,null,10,18
19,Luomus,Save,Combat,null,Constitution,4,12
19,Luomus,Check,Exploration,Investigation,null,13,14
19,Luomus,Check,Exploration,Investigation,null,13,14
20,Romare,Check,Social,Persuasion,null,3,6
20,Victoria,Check,Social,Intimidation,null,13,16
20,Victoria,Check,Social,Insight,null,7,8
20,Romare,Check,Social,Insight,null,11,19
20,Luomus,Check,Social,Insight,null,12,17
20,Romare,Check,Social,Insight,null,6,14
20,Luomus,Check,Social,Insight,null,13,18
20,Barbara,Check,Social,Insight,null,12,21
20,Barbara,Check,Social,Athletics,null,4,12
20,Barbara,Check,Social,Athletics,null,19,27
20,Barbara,Check,Social,Athletics,null,7,15
20,Fluke,Check,Social,Athletics,null,20,20
20,Barbara,Check,Social,Persuasion,null,2,2
20,Fluke,Check,Social,Insight,null,4,4
20,Fluke,Check,Social,Acrobatics,null,6,8
20,Barbara,Check,Social,Athletics,null,17,25
20,Luomus,Check,Social,Athletics,null,2,2
20,Fluke,Save,Exploration,null,Wisdom,2,2
20,Romare,Check,Social,Insight,null,11,19
20,Fluke,Check,Social,Sleight of Hand,null,13,21
20,Luomus,Check,Exploration,Investigation,null,4,5
20,Fluke,Check,Exploration,Sleight of Hand,null,13,18
20,Fluke,Check,Social,null,Charisma,11,16
20,Luomus,Save,Exploration,null,Dexterity,11,17
20,Romare,Save,Exploration,null,Dexterity,19,22
20,Victoria,Check,Exploration,Investigation,null,2,6
20,Fluke,Check,Exploration,Sleight of Hand,null,4,12
20,Luomus,Save,Combat,null,Wisdom,1,4
20,Luomus,Save,Combat,null,Wisdom,20,23
20,Victoria,Save,Combat,null,Wisdom,20,24
20,Luomus,Save,Combat,null,Constitution,2,10
20,Victoria,Check,Exploration,Investigation,null,3,7
20,Luomus,Save,Exploration,null,Constitution,10,18
20,Fluke,Save,Exploration,null,Constitution,15,21
20,Victoria,Save,Exploration,null,Constitution,6,8
20,Romare,Save,Exploration,null,Constitution,15,17
20,Barbara,Check,Exploration,Medicine,null,5,6
20,Victoria,Check,Combat,Medicine,null,20,24
6 changes: 6 additions & 0 deletions src/data/starbound/starbound_combat.csv
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@
47,Trey,10,47-2,23,0,108,0,4,1,4,1,"Twisted, malformed Arconians at the Forbidden Entrance in the Lost Highways."
47,Evelyn,10,47-2,95,0,19,0,2,0,0,1,"Twisted, malformed Arconians at the Forbidden Entrance in the Lost Highways."
47,Tribus,10,47-2,24,0,84,0,0,0,0,0,"Twisted, malformed Arconians at the Forbidden Entrance in the Lost Highways."
48,Sparrow,10,48-1,0,0,56,0,3,1,0,0,Eku the Couatl leads the Thorns to the Archaic at the end of the Lost Highways. Evie is blessed by Selune which halts the battle.
48,Pollux,10,48-1,15,0,53,0,2,0,0,0,Eku the Couatl leads the Thorns to the Archaic at the end of the Lost Highways. Evie is blessed by Selune which halts the battle.
48,Madaine,10,48-1,0,0,0,60,0,0,4,0,Eku the Couatl leads the Thorns to the Archaic at the end of the Lost Highways. Evie is blessed by Selune which halts the battle.
48,Trey,10,48-1,0,0,0,0,0,0,4,0,Eku the Couatl leads the Thorns to the Archaic at the end of the Lost Highways. Evie is blessed by Selune which halts the battle.
48,Evelyn,10,48-1,0,0,56,0,1,0,1,0,Eku the Couatl leads the Thorns to the Archaic at the end of the Lost Highways. Evie is blessed by Selune which halts the battle.
48,Tribus,10,48-1,14,0,0,0,0,0,1,0,Eku the Couatl leads the Thorns to the Archaic at the end of the Lost Highways. Evie is blessed by Selune which halts the battle.
40 changes: 40 additions & 0 deletions src/data/starbound/starbound_rolls.csv
Original file line number Diff line number Diff line change
Expand Up @@ -341,3 +341,43 @@ Sparrow,47,Attack,Combat,null,null,10,19
Sparrow,47,Attack,Combat,null,null,2,11
Sparrow,47,Attack,Combat,null,null,6,15
Sparrow,47,Attack,Combat,null,null,15,24
Trey,48,Save,Social,null,Strength,16,18
Tribus,48,Save,Social,null,Charisma,15,30
Evelyn,48,Save,Social,null,Charisma,10,16
Sparrow,48,Save,Social,null,Charisma,6,7
Tribus,48,Save,Social,null,Charisma,16,31
Trey,48,Check,Social,Arcana,null,16,23
Sparrow,48,Check,Exploration,Perception,null,4,13
Trey,48,Check,Exploration,Religion,null,12,14
Trey,48,Check,Exploration,History,null,3,5
Trey,48,Check,Exploration,Medicine,null,8,9
Madaine,48,Check,Exploration,History,null,7,13
Pollux,48,Check,Exploration,History,null,6,22
Pollux,48,Check,Exploration,Arcana,null,13,26
Pollux,48,Check,Exploration,Insight,null,7,8
Pollux,48,Check,Exploration,Insight,null,8,9
Madaine,48,Check,Exploration,Insight,null,1,4
Evelyn,48,Check,Exploration,History,null,6,9
Tribus,48,Check,Social,Intimidation,null,15,24
Pollux,48,Check,Exploration,History,null,12,25
Pollux,48,Attack,Combat,null,null,20,29
Tribus,48,Save,Combat,null,Constitution,18,27
Trey,48,Check,Combat,Arcana,null,14,21
Trey,48,Check,Combat,Insight,null,10,11
Trey,48,Save,Combat,null,Charisma,10,19
Madaine,48,Save,Combat,null,Constitution,20,30
Sparrow,48,Check,Combat,Athletics,null,2,15
Sparrow,48,Check,Combat,Athletics,null,8,21
Sparrow,48,Attack,Combat,null,null,20,28
Sparrow,48,Attack,Combat,null,null,18,27
Pollux,48,Attack,Combat,null,null,20,29
Tribus,48,Save,Combat,null,Wisdom,13,24
Sparrow,48,Attack,Combat,null,null,20,29
Sparrow,48,Attack,Combat,null,null,9,18
Sparrow,48,Attack,Combat,null,null,1,10
Sparrow,48,Attack,Combat,null,null,17,26
Sparrow,48,Save,Combat,null,Constitution,11,20
Sparrow,48,Check,Social,Insight,null,17,26
Sparrow,48,Check,Social,Insight,null,11,20
Madaine,48,Check,Social,Deception,null,14,27
Trey,48,Check,Social,Medicine,null,19,20

0 comments on commit efefb4e

Please sign in to comment.