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 | |
parent | a7610050c66af878dc9adf8c33a76b5c54b8b01f (diff) |
nfsw/scenes.py: Flesh out bedroom.
-rw-r--r-- | nfsw/junk/bedroom/merry-christmas | 4 | ||||
-rw-r--r-- | nfsw/junk/bedroom/sodomized | 10 | ||||
-rw-r--r-- | nfsw/junk/thanks/solong | 10 | ||||
-rw-r--r-- | nfsw/scenes.py | 24 |
4 files changed, 46 insertions, 2 deletions
diff --git a/nfsw/junk/bedroom/merry-christmas b/nfsw/junk/bedroom/merry-christmas new file mode 100644 index 0000000..2934883 --- /dev/null +++ b/nfsw/junk/bedroom/merry-christmas @@ -0,0 +1,4 @@ +You wake up gasping in your bed in your +bedroom. It's dark except for the +flouroscent glowing artwork on the +wall: diff --git a/nfsw/junk/bedroom/sodomized b/nfsw/junk/bedroom/sodomized new file mode 100644 index 0000000..3feb379 --- /dev/null +++ b/nfsw/junk/bedroom/sodomized @@ -0,0 +1,10 @@ + ________________________________ +< merry fucking christmas brian. > + -------------------------------- + \ _ + \ (_) + \ ^__^ / \ + \ (**)\_____/_\ \ + (__)\ ) / + U ||----w (( + || ||>> diff --git a/nfsw/junk/thanks/solong b/nfsw/junk/thanks/solong new file mode 100644 index 0000000..17ce5c9 --- /dev/null +++ b/nfsw/junk/thanks/solong @@ -0,0 +1,10 @@ +Your phone beeps. It's a text message +from an unknown number. It reads: + +> Thanks for playing! +> I promise, I never +> do this again. +> +> With sincere apologies, +> +> - Siddharth 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') |