-
Notifications
You must be signed in to change notification settings - Fork 2
/
interests.py
119 lines (112 loc) · 7.62 KB
/
interests.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
import random
# assign people 0-3 hobby categories
# give them a specific interest per hobby
# take a person's hobby and generate a hobby event
def getInterestRules(a, b, interest, pov = 3):
rules = {
'a': a['name'],
'#a_posses': 'my' if pov == 1 else f'{a["name"]}\'s',
'b': 'you' if pov == 1 else b['name'],
'their': 'my' if pov == 1 else a['their'],
'they': 'I' if pov == 1 else a['they'],
# 'their_hobby': f"{a['hobbies']
'hobby': [f"{random.choice(INTERESTS[interest]['hobbies'])}"],
# types of classes
'food_class': [
'grilling', 'cheesemaking', 'cooking', 'bartending',
'cocktail-making', 'beer-brewing', 'breadmaking'
],
'game_type': [
'an arcade', 'a board', 'a card', 'a strategy', 'an online', 'a video'
],
'fine_arts_topic': f"{random.choice(INTERESTS['fine arts']['hobbies'])}",
'instrument': [
"piano", "guitar", "bass", "violin", "viola", "cello", "saxophone", "drums", "flute"
],
'broadway': [
"Les Miserables", "Wicked", "Book of Mormon", "Oklahoma", "A Chorus Line", "Guys and Dolls", "Hair", "Mamma Mia", "Cabaret", "Chicago", "Cats"
]
}
return rules
INTERESTS = {
# solo: spent a lot of time/devoted a lot of time to watching the game, returned to making a cocktail
'sports': {
'hobbies': ["basketball", "baseball", "baseball", "cricket", "frisbee", "quidditch", "billiards", "football", "golf", "gymnastics", "hunting", "orienteering", "badminton", "racquet ball", "table tennis", "tennis", "track and field", "sailing", "hockey", "lacrosse", "swimming", "diving", "bowling"],
'location': ["the game", "the sporting goods store"],
'verb': ["watch #hobby# replays on Youtube", "watch the game at a bar"],
'solo': ["watching the game", "thinking about how he could improve his #hobby# game", "getting ready for #hobby# practice"]
},
'the outdoors': {
'hobbies': ["camping", "hiking", "rock climbing", "backpacking", "canoeing", "rappelling", "caving", "hiking", "mountainbiking", "kayaking", "rafting"],
'location': ["the state park", "a hiking trail", "the outdoor gear shop"],
'verb': ["get out of the city", "go on a #hobby# trip"],
'solo': ["planning for #their# next #hobby# trip", "#hobby#"]
},
'plants and animals': {
'hobbies': ["bonsai", "fostering animals", "birdwatching", "beekeeping", "composting", "vegetable gardening", "houseplants"],
'location': ["the botanic garden", "the farmer's market", "the park", "the animal shelter", "the cat cafe", "the dog park", "a nearby garden center"],
'verb': ["volunteer at the animal shelter", "go WWOOFing"],
'solo': ["working a shift at the animal shelter", "birdwatching", "tending to #their# plants", "gardening", "repotting a plant"]
},
'food': {
'hobbies': ["bartending", "competitive eating", "beer", "wine", "coffee", "cocktails", "grilling", "cheese", "cooking", "baking", "tea", "bread", "kombucha"],
'location': ["a winery", "a restaurant that just opened", "a #food_class# class"],
'verb': ["cook dinner", "try a new recipe", "make fancy cocktails"],
'solo': ["watching cooking videos on YouTube", "browsing new recipes on the internet", "meal-prepping", "making a pour-over", "making a cup a tea", "grocery shopping", "mixing a drink"]
},
'music': {
# plays instrument, listening to #music-genre#]
'hobbies': ["composition", "DJing", "singing", "beat boxing", "audio-tech"],
'location': ["a concert", "a music store", "a music festival", "the record shop", "#a_posses# next show", "a songwriting class"],
'verb': ["listen to an album #they# recently discovered"],
'solo': ["practicing the #instrument#", "listening to music", "making beats", "recording a song", "browsing new music", "writing a song"]
},
'gaming': {
'hobbies': ["arcade games", "card games", "board games", "video games", "roleplaying games"],
'location': ["boardgame cafe", "a boardgame meet up", "a LAN party", "a game night at #a_posses# friend's house", "a barcade"],
'verb': ["play #game_type# game", "watch a Twitch stream", "learn #a_posses# favorite game"],
'solo': ["gaming online", "playing a videogame", "watching a Twitch stream"]
},
'performing arts': {
'hobbies': ["dance", "acting", "puppetry", "historical reeanactment", "stand-up comedy", "magic tricks", "theatre"],
'location': ["a play", "#their# next show", "an improv show", "a cabaret", "a performance", "a stand-up show", "a puppet show", "a one-man play", "a one-woman play", "a musical", "the opera", "the ballet", "a magic show", "a D&D one-shot"],
'verb': ["go LARPing", "go dancing", "take an acting class"],
'solo': ["listening to soundtrack of #broadway#", "practicing #their# singing", "working on #their# latest stand-up set"]
},
'fine arts': {
'hobbies': ["bookmaking", "lifedrawing", "drawing", "painting", "sketching", "printmaking", "sculpture", "ceramics"],
'location': ["a #fine_arts_topic# class", "a nearby #fine_arts_topic# exhibition", "a print fair", "an art museum"],
'verb': ["draw in the park", "sketch in the park", "paint in the park"],
'solo': ["drawing", "sketching", "painting"]
},
'health and beauty': {
'hobbies': ["makeup", "yoga", "meditation", "skincare", "fashion", "fitness", "power-lifting", "weight-training", "bodybuilding", "jogging", "running", "barre", "HIIT workouts"],
'location': ["the gym", "Sephora", "the beauty store", "a yoga class"],
'verb': ["do facial masks", "give each other makeovers", "meditate", "go on a run", "work out", "go shopping"],
'solo': ["meditating", "applying #their# makeup", "working out", "stretching", "shopping"]
},
'politics': {
'hobbies': ["local politics", "state politics", "national politics", "global politics"],
'location': ["the local board meeting", "town hall", "DC"],
'verb': ["watch the news", "vote in the local election", "campaign", "attend a protest", "write a letter to their local representative", "listen to #their# favorite political podcast"],
'solo': ["watching the news", "campaigning", "listening to a political podcast"]
},
'digital arts': {
'hobbies': ["animation", "photography", "videography", "filmmaking", "graphic design"],
'location': ["the movies", "a screening", "a premiere", "a showcase", "a film festival"],
'verb': ["binge-watch Netflix", "introduce #b# to #their# favorite show", "watch a movie in bed", "do a photoshoot", "watch video essays on YouTube"],
'solo': ["animating", "video editing", "watching a film", "watching TV"]
},
'literature': {
'hobbies': ["reading", "fiction-writing", "poetry"],
'location': ["#their# favorite bookstore", "the library", "a release party", "an author's talk", "a book signing"],
'verb': ["read in the park", "write at the cafe", "do the crossword", "play Scrabble"],
'solo': ["reading in the park", "working on #their# writing piece", "reading", "going to book club", "writing a poem"],
},
'academics': {
'hobbies': ["astronomy", "biology", "chemistry", "foreign languages", "geography", "history", "math", "physics", "psychology"],
'location': ["university library", "the natural history museum", "the science museum"],
'verb': ["watch #hobby# videos on YouTube"],
'solo': ["reading about #hobby#", "studying", "reading papers about #hobby#", "learning more about #hobby#"],
}
}