Skip to content

Instantly share code, notes, and snippets.

View GalaxyCr8r's full-sized avatar
🛰️
Feeling Satellitely

Karl Nyborg GalaxyCr8r

🛰️
Feeling Satellitely
View GitHub Profile
@GalaxyCr8r
GalaxyCr8r / gist:8cf7ab2024857208c6361451ea9471a8
Created December 10, 2022 03:18
My DF Announcements.txt
BOX or DO_MEGA: the announcment will appear in a box and pause the game
P or PAUSE: the announcement will cause the game to pause
R or RECENTER: the announcement will cause the game to recenter (if possible)
A_D or A_DISPLAY: the announcement will be displayed in the main adventure announcement log (and on screen)
D_D or D_DISPLAY: the announcement will be displayed in the dwarf announcement alerts
UCR or UNIT_COMBAT_REPORT: the announcement will be associated to the unit combat/hunting/sparring reports
UCR_A or UNIT_COMBAT_REPORT_ALL_ACTIVE: the announcement will be associated to any active unit combat/hunting/sparring reports, but if there are no reports it will not create one
ALERT: the announcement will cause the alert button to light up
[REACHED_PEAK:A_D:D_D:BOX]
@GalaxyCr8r
GalaxyCr8r / convertAStoKS.py
Last active May 9, 2022 14:05
Alphastrike could further be simplified so that younger ages could play it. Removing to-hit rolls entirely by distilling the S/M/L ranges into only Short and Long, and using a d6 for each potential point of damage could help little kids engage with the game with less math required.
damageToDice = { # Only d6s
-1: "n/a",
0: "1d6, 6",
1: "1d6, 5+",
2: "1d6, 3+",
3: "2d6, 5+",
4: "2d6, 3+",
5: "3d6, 5+",
6: "3d6, 3+",
7: "4d6, 5+",
@GalaxyCr8r
GalaxyCr8r / karls_kwuest.py
Last active December 8, 2020 04:05
A simple text adventure for simple folk
## Karl's Kwuest!
from time import sleep
directions = ("north", "south", "west", "east")
print("Welcome to Karl's Kwest!")
print("")
player = {