diff options
author | rsiddharth <s@ricketyspace.net> | 2019-09-28 15:42:03 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-09-28 15:42:03 -0400 |
commit | e09caadb899189ee0fa426d7be6713c023621848 (patch) | |
tree | e6bdca627848d88824f7d2f64b59905d8b55e732 /nfsw/scenes.py | |
parent | 17dd940617bc7a4df9a70e9f15079f71697d5085 (diff) |
nfsw/scenes.py: Flesh out sexshop
* nfsw/io.py (query): Update scene call.
* nfsw/scenes.py (sexshop): Change argument to 'o' (dict). Flesh out
the function li'l bit.
Diffstat (limited to 'nfsw/scenes.py')
-rw-r--r-- | nfsw/scenes.py | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/nfsw/scenes.py b/nfsw/scenes.py index e2c3b00..55f443f 100644 --- a/nfsw/scenes.py +++ b/nfsw/scenes.py @@ -1,4 +1,6 @@ from nfsw.redis import redis as r, key as k +from nfsw.util import read_junk + def get_scene(name): scenes = { @@ -14,5 +16,17 @@ def current_scene(): ) -def sexshop(q): - return q + ' you are fucked' +def sexshop(o): + def intro(): + return read_junk('sexshop/intro') + + def process(q): + return '' + + if 'intro' in o: + return intro() + + if 'q' in o: + return process(o['q']) + + |