Skip to content

Instantly share code, notes, and snippets.

@ryoshu
Last active January 19, 2025 17:31
Show Gist options
  • Save ryoshu/895efee4334b01f252aa4c689306b94a to your computer and use it in GitHub Desktop.
Save ryoshu/895efee4334b01f252aa4c689306b94a to your computer and use it in GitHub Desktop.
Mythos game
# Game Header
Version: 4.00.54
Title: The Deep Cases
Author: Assistant
Description: A noir detective story with cosmic horror elements
# Variables
%Variable: Sanity
Type: Number
DefaultValue: 100
MinValue: 0
MaxValue: 100
%Variable: Understanding
Type: Number
DefaultValue: 0
MinValue: 0
MaxValue: 100
%Variable: PlayerState
Type: Text
DefaultValue: "sane"
# Tasks - General Game Mechanics
%Task: CheckSanity
Type: System
Restrictions:
Variable "Sanity" Less Than 20
Actions:
Set Variable "PlayerState" = "mad"
Message "Your grip on reality begins to slip..."
%Task: UpdateUnderstanding
Type: System
Restrictions:
Variable "Understanding" Greater Than 50
Actions:
Message "The pieces start falling into place, revealing terrible truths..."
# Locations
%Location: Detective's Office
Description: Your office is small but functional. Rain streams down the window, distorting the city lights outside. A door leads to the hallway.
Directions:
South to Office Hallway
%Location: Office Hallway
Description: A dingy hallway lit by flickering fluorescent lights.
Directions:
North to Detective's Office
South to Street Outside
%Location: Street Outside
Description: Rain-slicked streets reflect the neon signs of downtown.
Directions:
North to Office Hallway
East to Docks
West to Henderson's Apartment
%Location: Henderson's Apartment
Description: A small one-bedroom in a pre-war building. Books on ancient civilizations fill the shelves. Something about the geometry of the room feels... wrong.
Directions:
East to Street Outside
%Location: Docks
Description: The harbor stretches into darkness. Warehouse 23 looms ahead.
Directions:
West to Street Outside
East to Warehouse 23
%Location: Warehouse 23
Description: Towering shelves disappear into shadows above. The floor slopes subtly toward a large drain in the center.
Directions:
West to Docks
Down to Secret Passage
%Location: Secret Passage
Description: A tunnel hewn from ancient stone. The walls are carved with symbols that hurt your eyes.
Directions:
Up to Warehouse 23
Down to Sleeping City
%Location: Sleeping City
Description: A vast chamber of impossible architecture. Buildings of cyclopean stone rise at angles that defy geometry.
Directions:
Up to Secret Passage
# Objects
%Object: Case File
Location: Detective's Office
Type: Static
Description: Thomas Henderson's missing persons file. Research notes mention "cyclopean architecture."
Examine: The file contains police reports, witness statements, and Henderson's bizarre research notes about the harbor's architecture.
%Object: Ancient Tome
Location: Henderson's Apartment
Type: Static
Description: A leather-bound volume with an unmarked cover.
Examine: The pages contain diagrams of impossible architecture and references to "The Sleeping City."
Actions:
On Examine:
Decrease Variable "Sanity" by 10
Increase Variable "Understanding" by 10
# Characters
%Character: Mrs Henderson
Location: Detective's Office
Pronoun: she
Description: A well-dressed woman in her early forties. Dark circles under her eyes suggest she hasn't slept much lately.
# Conversation Topics for Mrs Henderson
%Topic: disappearance
Character: Mrs Henderson
Response: "It was so sudden. Thomas had been acting strange for weeks, spending all his time at that warehouse. But he's never just... vanished like this."
%Topic: warehouse
Character: Mrs Henderson
Response: "He said he found something in his research about old structures beneath the harbor. Something about the angles of the buildings being wrong."
%Topic: research
Character: Mrs Henderson
Response: "Thomas is - was - a professor of architecture at Miskatonic University. He specialized in ancient building techniques."
%Character: Officer Sullivan
Location: Street Outside
Pronoun: he
Description: A beat cop you've worked with before. One of the few honest police left in this city.
%Topic: warehouse
Character: Officer Sullivan
Response: "Weird place, that Warehouse 23. We get calls about strange lights and chanting, but whenever we check, it's empty."
Restrictions:
Variable "Understanding" Greater Than 20
Variable "Sanity" Greater Than 30
%Character: Professor Zhang
Location: Miskatonic University
Pronoun: she
Description: A sharp-eyed academic in her fifties. Her office is filled with architectural diagrams and strange sculptures.
%Topic: architecture
Character: Professor Zhang
Response: Normal="He believed the original city planners followed some ancient geometric principle."
EldrritchResponse: "The angles... they form nodes. Points where reality becomes permeable."
Restrictions:
Variable "Understanding" Greater Than 30
%Character: Cultist
Location: Warehouse 23
Pronoun: they
Description: A figure in a hooded robe. The hood's shadow seems impossibly deep.
# Special Events
%Event: SanityWarning
Type: Repeating
Interval: 5
Restrictions:
Variable "Sanity" Less Than 50
Actions:
Message "Your grip on reality feels increasingly tenuous..."
%Event: EndgameCheck
Type: System
Interval: 1
Restrictions:
Location is "Sleeping City"
Variable "Understanding" Greater Than 50
Actions:
Message "The truth shatters your mind. You understand too much..."
End Game
# Alternative Endings
%Ending: Madness
Restrictions:
Variable "Sanity" Less Than 20
Text: Your grip on reality shatters. They find you weeks later, babbling about impossible angles and cities beneath the waves.
%Ending: Enlightenment
Restrictions:
Variable "Understanding" Greater Than 50
Variable "Sanity" Greater Than 80
Location is "Sleeping City"
Text: With tremendous effort, you maintain your sanity. You seal the entrance to the Sleeping City, but the knowledge of what lies below will haunt you forever.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment