diff options
author | rsiddharth <s@ricketyspace.net> | 2019-10-22 18:47:26 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-10-22 18:47:26 -0400 |
commit | cc6552559a5473660bb7f66f593c43e687d90d2f (patch) | |
tree | 1db46649c8c8825daff9d0be04ff96c89c2e47d8 /nfsw/scenes.py | |
parent | 9d29536f5f6acd28ecee0ea342a0a8b23400e8e5 (diff) |
nfsw.scenes: Update coitus.
After fucking, the player has to explicitly touch the mirror to move
to the "strayed" scene.
Diffstat (limited to 'nfsw/scenes.py')
-rw-r--r-- | nfsw/scenes.py | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/nfsw/scenes.py b/nfsw/scenes.py index cf87228..0f9fe5d 100644 --- a/nfsw/scenes.py +++ b/nfsw/scenes.py @@ -390,6 +390,29 @@ def coitus(o): ]) + def fucked(): + if r.get('scene:coitus:fucked'): + return True + + return False + + + def fuck(q): + r.set('scene:coitus:fucked', 1) + + return rj('fuck-{}'.format(type)) + + + def mirror(q): + if not r.get('scene:coitus:fucked'): + return False + + if 'touch' in q and 'mirror' in q: + return True + + return False + + def p_done(q): # Mark scene done r.sadd('scenes:done', 'coitus') @@ -398,17 +421,19 @@ def coitus(o): r.set('scene', 'strayed') return '\n\n'.join([ - rj('fuck-{}'.format(type)), + rj('mirror'), strayed({'intro': 1}) ]) def p(q): - - if 'fuck' in q: + if mirror(q): return p_done(q) - if 'sex' in q or 'coitus' in q: + if not fucked() and 'fuck' in q: + return fuck(q) + + if not fucked() and ('sex' in q or 'coitus' in q): return colloquial() return gg() |