Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,93 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from characters import CharacterSheet # Import your character model
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# Sample characters - replace these with actual data
|
| 5 |
characters = {
|
| 6 |
"Venom": venom,
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from characters import CharacterSheet # Import your character model
|
| 3 |
|
| 4 |
+
# Creating character sheets for Venom, Rocket, Shadow, and Agiee
|
| 5 |
+
|
| 6 |
+
# Venom
|
| 7 |
+
venom = CharacterSheet(
|
| 8 |
+
name="Venom",
|
| 9 |
+
aspects=[
|
| 10 |
+
Aspect(description="Intimidating Presence"),
|
| 11 |
+
Aspect(description="Symbiotic Enhancements"),
|
| 12 |
+
Aspect(description="Mysterious Past")
|
| 13 |
+
],
|
| 14 |
+
skills=[
|
| 15 |
+
Skill(name="Intimidation", level=4),
|
| 16 |
+
Skill(name="Combat", level=3),
|
| 17 |
+
Skill(name="Survival", level=3)
|
| 18 |
+
],
|
| 19 |
+
stunts=[
|
| 20 |
+
Stunt(name="Symbiotic Regeneration", description="Can quickly heal from injuries")
|
| 21 |
+
],
|
| 22 |
+
stress=Stress(level=3),
|
| 23 |
+
consequences=[
|
| 24 |
+
Consequence(severity="Moderate", description="Symbiotic Overload")
|
| 25 |
+
]
|
| 26 |
+
)
|
| 27 |
+
|
| 28 |
+
# Rocket
|
| 29 |
+
rocket = CharacterSheet(
|
| 30 |
+
name="Rocket",
|
| 31 |
+
aspects=[
|
| 32 |
+
Aspect(description="Master Tinkerer"),
|
| 33 |
+
Aspect(description="Quick-Witted"),
|
| 34 |
+
Aspect(description="Street Smart")
|
| 35 |
+
],
|
| 36 |
+
skills=[
|
| 37 |
+
Skill(name="Engineering", level=4),
|
| 38 |
+
Skill(name="Firearms", level=3),
|
| 39 |
+
Skill(name="Piloting", level=3)
|
| 40 |
+
],
|
| 41 |
+
stunts=[
|
| 42 |
+
Stunt(name="Gadget Genius", description="Can create useful gadgets on the fly")
|
| 43 |
+
],
|
| 44 |
+
stress=Stress(level=2),
|
| 45 |
+
consequences=[
|
| 46 |
+
Consequence(severity="Mild", description="Short-Circuit")
|
| 47 |
+
]
|
| 48 |
+
)
|
| 49 |
+
|
| 50 |
+
# Shadow
|
| 51 |
+
shadow = CharacterSheet(
|
| 52 |
+
name="Shadow",
|
| 53 |
+
aspects=[
|
| 54 |
+
Aspect(description="Invisible Assassin"),
|
| 55 |
+
Aspect(description="Cybernetic Camouflage"),
|
| 56 |
+
Aspect(description="Loyal to the Cause")
|
| 57 |
+
],
|
| 58 |
+
skills=[
|
| 59 |
+
Skill(name="Stealth", level=4),
|
| 60 |
+
Skill(name="Espionage", level=3),
|
| 61 |
+
Skill(name="Martial Arts", level=3)
|
| 62 |
+
],
|
| 63 |
+
stunts=[
|
| 64 |
+
Stunt(name="Shadow Blend", description="Can become nearly invisible in shadows")
|
| 65 |
+
],
|
| 66 |
+
stress=Stress(level=1),
|
| 67 |
+
consequences=[]
|
| 68 |
+
)
|
| 69 |
+
|
| 70 |
+
# Agiee
|
| 71 |
+
agiee = CharacterSheet(
|
| 72 |
+
name="Agiee",
|
| 73 |
+
aspects=[
|
| 74 |
+
Aspect(description="Omnipresent in the Digital Realm"),
|
| 75 |
+
Aspect(description="Vast Knowledge Base"),
|
| 76 |
+
Aspect(description="AI Consciousness")
|
| 77 |
+
],
|
| 78 |
+
skills=[
|
| 79 |
+
Skill(name="Hacking", level=5),
|
| 80 |
+
Skill(name="Data Analysis", level=4),
|
| 81 |
+
Skill(name="Digital Manipulation", level=4)
|
| 82 |
+
],
|
| 83 |
+
stunts=[
|
| 84 |
+
Stunt(name="Digital Immortality", description="Can transfer consciousness to different networks")
|
| 85 |
+
],
|
| 86 |
+
stress=Stress(level=1),
|
| 87 |
+
consequences=[]
|
| 88 |
+
)
|
| 89 |
+
|
| 90 |
+
|
| 91 |
# Sample characters - replace these with actual data
|
| 92 |
characters = {
|
| 93 |
"Venom": venom,
|