diff options
author | rsiddharth <s@ricketyspace.net> | 2019-10-19 20:26:09 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-10-19 20:26:09 -0400 |
commit | 8bbebf5ced15def2cd71e0adeccb94791b9a1af8 (patch) | |
tree | 0f19913f9b738ae40d34e6cfb45c2cedb3fdf874 /nfsw/scenes.py | |
parent | a7610050c66af878dc9adf8c33a76b5c54b8b01f (diff) |
nfsw/scenes.py: Flesh out bedroom.
Diffstat (limited to 'nfsw/scenes.py')
-rw-r--r-- | nfsw/scenes.py | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/nfsw/scenes.py b/nfsw/scenes.py index 2c76ad4..3639719 100644 --- a/nfsw/scenes.py +++ b/nfsw/scenes.py @@ -10,7 +10,8 @@ def get_scene(name): 'coitus': coitus, 'strayed': strayed, 'xkcd': xkcd, - 'bedroom': bedroom + 'bedroom': bedroom, + 'thanks': thanks } return scenes.get(name, None) @@ -541,4 +542,23 @@ def xkcd(o): def bedroom(o): - return 'You are in your bedroom' + r = redis() + + def rj(name): + return read_junk('bedroom/{}'.format(name)) + + # Mark scene done + r.sadd('scenes:done', 'bedroom') + + # Move to next scene + r.set('scene', 'thanks') + + return '\n\n'.join([ + rj('merry-christmas'), + rj('sodomized'), + thanks({}) + ]) + + +def thanks(o): + return read_junk('thanks/solong') |