breaking code down
All checks were successful
Build Authoring Service / build (push) Successful in 8s
All checks were successful
Build Authoring Service / build (push) Successful in 8s
This commit is contained in:
202
src/authoring_service/constants.py
Normal file
202
src/authoring_service/constants.py
Normal file
@@ -0,0 +1,202 @@
|
||||
"""Hidden narrative constants used by the authoring UI."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
HIDDEN_CONTENT_TYPES = [
|
||||
"quote",
|
||||
"poem",
|
||||
"hidden dialogue",
|
||||
"journal entry",
|
||||
"rare event",
|
||||
"loading screen message",
|
||||
"secret interaction",
|
||||
"hidden tooltip",
|
||||
"future z message",
|
||||
"young z memory fragment",
|
||||
"sensei chi wisdom entry",
|
||||
"aphy system message",
|
||||
"lima note/message",
|
||||
"dream sequence",
|
||||
"terminal log",
|
||||
"fake error message",
|
||||
"recurring joke",
|
||||
"seasonal event",
|
||||
"weather-based event",
|
||||
"hover message",
|
||||
"hidden achievement",
|
||||
"guestbook entry",
|
||||
"hidden conversation",
|
||||
"family layer",
|
||||
"search toast",
|
||||
"search route",
|
||||
"keyboard secret",
|
||||
]
|
||||
|
||||
CHARACTER_REGISTRY = {
|
||||
"young z": {
|
||||
"id": "young z",
|
||||
"displayLabel": "young z",
|
||||
"aliases": ["Young Z", "young z", "young-z", "young_z", "young"],
|
||||
"territoryColor": "#d8a95a",
|
||||
"glow": "#f0b85c",
|
||||
"avatar": "https://zainezq.com/assets/avatars/young-z.jpeg",
|
||||
"fallbackAvatar": "https://zainezq.com/assets/avatars/z.jpeg",
|
||||
"expressions": {
|
||||
"default": "https://zainezq.com/assets/avatars/young-z.jpeg",
|
||||
"nostalgic": "https://zainezq.com/assets/avatars/young-z.jpeg",
|
||||
"playful": "https://zainezq.com/assets/avatars/young-z.jpeg",
|
||||
},
|
||||
"sizes": {"tiny": 18, "medium": 42, "close": 56, "focus": 82},
|
||||
"observatory": {"territory": "nostalgic/playful memories", "shimmer": "soft"},
|
||||
"presenceTones": ["nostalgic", "funny", "hopeful"],
|
||||
"presenceKeywords": ["childhood", "play", "desk", "crayon", "young", "small", "blanket", "memory"],
|
||||
"symbol": "Y",
|
||||
"motifs": ["crayon sun", "blanket cape", "childhood desk"],
|
||||
"themes": ["childhood", "play", "memory", "safety"],
|
||||
"affinities": ["z", "future z", "aphy", "lima"],
|
||||
},
|
||||
"z": {
|
||||
"id": "z",
|
||||
"displayLabel": "z",
|
||||
"aliases": ["Z", "z", "zaine"],
|
||||
"territoryColor": "#d6c38a",
|
||||
"glow": "#ead68e",
|
||||
"avatar": "https://zainezq.com/assets/avatars/z.jpeg",
|
||||
"fallbackAvatar": "https://zainezq.com/assets/avatars/z.jpeg",
|
||||
"expressions": {"default": "https://zainezq.com/assets/avatars/z.jpeg", "calm": "https://zainezq.com/assets/avatars/z.jpeg"},
|
||||
"sizes": {"tiny": 18, "medium": 42, "close": 56, "focus": 82},
|
||||
"observatory": {"territory": "self/archive memories", "shimmer": "steady"},
|
||||
"presenceTones": ["warm", "soft", "hopeful"],
|
||||
"presenceKeywords": ["website", "archive", "home", "self", "making", "return", "zaine"],
|
||||
"symbol": "Z",
|
||||
"motifs": ["archive", "website", "home"],
|
||||
"themes": ["selfhood", "return", "making"],
|
||||
"affinities": ["lima", "young z", "future z"],
|
||||
},
|
||||
"aphy": {
|
||||
"id": "aphy",
|
||||
"displayLabel": "aphy",
|
||||
"aliases": ["Aphy", "aphy", "aphy_bot", "aphy bot"],
|
||||
"territoryColor": "#7fb089",
|
||||
"glow": "#9dd3a6",
|
||||
"avatar": "https://zainezq.com/assets/avatars/aphy.jpeg",
|
||||
"fallbackAvatar": "https://zainezq.com/assets/avatars/z.jpeg",
|
||||
"expressions": {
|
||||
"default": "https://zainezq.com/assets/avatars/aphy.jpeg",
|
||||
"system": "https://zainezq.com/assets/avatars/aphy.jpeg",
|
||||
"amused": "https://zainezq.com/assets/avatars/aphy.jpeg",
|
||||
},
|
||||
"sizes": {"tiny": 18, "medium": 42, "close": 56, "focus": 82},
|
||||
"observatory": {"territory": "system/symbolic areas", "shimmer": "diagnostic"},
|
||||
"presenceTones": ["funny", "strange", "hopeful"],
|
||||
"presenceKeywords": ["system", "console", "diagnostic", "keyboard", "search", "terminal", "backup", "symbolic", "query"],
|
||||
"symbol": "A",
|
||||
"motifs": ["console", "diagnostic", "backup"],
|
||||
"themes": ["humor", "systems", "care through tools"],
|
||||
"affinities": ["z", "lima", "sensei chi"],
|
||||
},
|
||||
"lima": {
|
||||
"id": "lima",
|
||||
"displayLabel": "lima",
|
||||
"aliases": ["Lima", "lima"],
|
||||
"territoryColor": "#d06b78",
|
||||
"glow": "#f2c58b",
|
||||
"avatar": "https://zainezq.com/assets/avatars/lima.jpg",
|
||||
"fallbackAvatar": "https://zainezq.com/assets/avatars/z.jpeg",
|
||||
"expressions": {
|
||||
"default": "https://zainezq.com/assets/avatars/lima.jpg",
|
||||
"calm": "https://zainezq.com/assets/avatars/lima.jpg",
|
||||
"warm": "https://zainezq.com/assets/avatars/lima.jpg",
|
||||
"protective": "https://zainezq.com/assets/avatars/lima.jpg",
|
||||
},
|
||||
"sizes": {"tiny": 18, "medium": 42, "close": 56, "focus": 82},
|
||||
"observatory": {"territory": "warm/protective arcs", "shimmer": "warm"},
|
||||
"presenceTones": ["warm", "protective", "soft"],
|
||||
"presenceKeywords": ["lima", "love", "warm", "kitchen", "light", "ring", "home", "protect", "eat"],
|
||||
"symbol": "L",
|
||||
"motifs": ["warmth", "kitchen light", "ring"],
|
||||
"themes": ["love", "home", "grounding"],
|
||||
"affinities": ["z", "aphy", "future z", "young z"],
|
||||
},
|
||||
"sensei chi": {
|
||||
"id": "sensei chi",
|
||||
"displayLabel": "sensei chi",
|
||||
"aliases": ["Sensei Chi", "sensei chi", "sensei-chi", "sensei_chi", "sensei"],
|
||||
"territoryColor": "#75a9bd",
|
||||
"glow": "#9ccddd",
|
||||
"avatar": "https://zainezq.com/assets/avatars/sensei-chi.jpeg",
|
||||
"fallbackAvatar": "https://zainezq.com/assets/avatars/z.jpeg",
|
||||
"expressions": {
|
||||
"default": "https://zainezq.com/assets/avatars/sensei-chi.jpeg",
|
||||
"reflective": "https://zainezq.com/assets/avatars/sensei-chi.jpeg",
|
||||
"wise": "https://zainezq.com/assets/avatars/sensei-chi.jpeg",
|
||||
},
|
||||
"sizes": {"tiny": 18, "medium": 42, "close": 56, "focus": 82},
|
||||
"observatory": {"territory": "reflective areas", "shimmer": "quiet"},
|
||||
"presenceTones": ["wise", "melancholy", "soft"],
|
||||
"presenceKeywords": ["reflection", "patience", "wisdom", "lesson", "tea", "garden", "quiet", "sensei"],
|
||||
"symbol": "S",
|
||||
"motifs": ["tea", "garden", "quiet lesson"],
|
||||
"themes": ["reflection", "patience", "wisdom"],
|
||||
"affinities": ["aphy", "future z"],
|
||||
},
|
||||
"future z": {
|
||||
"id": "future z",
|
||||
"displayLabel": "future z",
|
||||
"aliases": ["Future Z", "future z", "future-z", "future_z", "future"],
|
||||
"territoryColor": "#a58ac9",
|
||||
"glow": "#c2a4ee",
|
||||
"avatar": "https://zainezq.com/assets/avatars/future-z.jpeg",
|
||||
"fallbackAvatar": "https://zainezq.com/assets/avatars/z.jpeg",
|
||||
"expressions": {
|
||||
"default": "https://zainezq.com/assets/avatars/future-z.jpeg",
|
||||
"temporal": "https://zainezq.com/assets/avatars/future-z.jpeg",
|
||||
"reassuring": "https://zainezq.com/assets/avatars/future-z.jpeg",
|
||||
},
|
||||
"sizes": {"tiny": 18, "medium": 42, "close": 56, "focus": 82},
|
||||
"observatory": {"territory": "temporal regions", "shimmer": "temporal"},
|
||||
"presenceTones": ["hopeful", "melancholy", "wise"],
|
||||
"presenceKeywords": ["future", "time", "clock", "older", "tomorrow", "age", "reassurance", "continuity"],
|
||||
"symbol": "F",
|
||||
"motifs": ["clock", "age 40", "future log"],
|
||||
"themes": ["time", "reassurance", "continuity"],
|
||||
"affinities": ["z", "young z", "lima", "sensei chi"],
|
||||
},
|
||||
}
|
||||
HIDDEN_CHARACTERS = list(CHARACTER_REGISTRY)
|
||||
HIDDEN_TONES = ["warm", "funny", "nostalgic", "wise", "strange", "soft", "hopeful", "protective", "melancholy"]
|
||||
HIDDEN_RARITIES = ["common", "uncommon", "rare", "very rare", "seasonal", "timed"]
|
||||
HIDDEN_STORY_MARKERS = ["public", "hidden", "rare", "emotional", "dream-like", "temporal"]
|
||||
HIDDEN_DISCOVERY_STYLES = ["gradual", "direct", "hidden route", "character-led", "dream-like", "temporal"]
|
||||
HIDDEN_LAYER_DEPTHS = [
|
||||
{
|
||||
"id": "0",
|
||||
"name": "Surface Reality",
|
||||
"meaning": "Normal visible website content, visible warmth, and ordinary interactions.",
|
||||
},
|
||||
{
|
||||
"id": "1",
|
||||
"name": "Hidden Personality",
|
||||
"meaning": "Small hidden jokes, hover text, tiny discoveries, and recurring symbols.",
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"name": "Memory Layer",
|
||||
"meaning": "young z memories, lima notes, nostalgia, and emotional fragments.",
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"name": "Reflection Layer",
|
||||
"meaning": "sensei chi philosophy, aphy conversations, and introspection.",
|
||||
},
|
||||
{
|
||||
"id": "4",
|
||||
"name": "Time Layer",
|
||||
"meaning": "future z logs, time anomalies, long-term revisits, and future/past echoes.",
|
||||
},
|
||||
{
|
||||
"id": "5",
|
||||
"name": "Core Layer",
|
||||
"meaning": "Rare deeply emotional truths found by patient exploration.",
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user