its-a-date/Abenteuer.py

63 lines
1.1 KiB
Python
Raw Normal View History

2024-12-11 10:07:05 +01:00
import Texte as t
import Toolbox as tb
2024-12-11 13:24:12 +01:00
import FunktionenUndKlassen as fk
2024-12-11 10:07:05 +01:00
print(t.welcome_message)
# setup Characters
2024-12-11 13:24:12 +01:00
user = fk.User()
if user.age < 14:
print(t.too_young)
exit(1)
interest = fk.RomanticInterest(user.preference, fk.generateAge(user.age))
2024-12-11 10:07:05 +01:00
# 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)
2024-12-11 13:24:12 +01:00
action = fk.wähleAusListe([
2024-12-11 10:07:05 +01:00
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)
2024-12-11 13:24:12 +01:00
action = fk.wähleAusListe([
2024-12-11 10:07:05 +01:00
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)
2024-12-11 13:24:12 +01:00
action = fk.wähleAusListe([
2024-12-11 10:07:05 +01:00
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)
2024-12-11 13:24:12 +01:00
fk.showStats(interest)
2024-12-11 10:07:05 +01:00
if interest.is_won():
print(t.won_message)
else:
print(t.loose_message)