its-a-date/Abenteuer.py

63 lines
1.1 KiB
Python

import Texte as t
import Toolbox as tb
import FunktionenUndKlassen as fk
print(t.welcome_message)
# setup Characters
user = fk.User()
if user.age < 14:
print(t.too_young)
exit(1)
interest = fk.RomanticInterest(user.preference, fk.generateAge(user.age))
# meet interest
t.meet_cute()
tb.pressForward()
interest.introduce()
tb.pressForward()
print(t.situation_head_over_heels)
tb.pressForward()
# First choice
print(t.ask_what_you_do)
action = fk.wähleAusListe([
t.action_throw_book,
t.action_introduce_self,
t.action_ask_age,
])
user.do_action(action)
tb.pressForward()
interest.react_to(action)
## Second choice
print(t.ask_what_you_do)
action = fk.wähleAusListe([
t.action_dance,
t.action_ask_for_number,
t.action_tell_compliment,
])
user.do_action(action)
tb.pressForward()
interest.react_to(action)
# Third Choice
print(t.ask_what_you_do)
action = fk.wähleAusListe([
t.action_invite_to_date,
t.action_hug_out_of_blue,
t.action_send_dickpic,
])
user.do_action(action)
tb.pressForward()
interest.react_to(action)
fk.showStats(interest)
if interest.is_won():
print(t.won_message)
else:
print(t.loose_message)