-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClasses.py
33 lines (27 loc) · 979 Bytes
/
Classes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class Sim():
def __init__(self, first: object, last: object, age: object, gender: object, career: object) -> object:
# Characteristics
self.first = first
self.last = last
self.age = age
self.gender = gender
self.career = career
# "Behaviors"
class Player(Sim):
def __init__(self, first, last, age, gender, career, clothing, ambition):
super().__init__(first, last, age, gender, career)
self.ambition = ambition
self.clothing = clothing
self.befriendable = True
self.romanceable = True
self.seduceable = True
class NPC(Sim):
def __init__(self,first, last, age, gender, career, f, r, fwb):
super().__init__(first, last, age, gender, career)
self.befriendable = f
if int(age) < 18:
self.romanceable = False
self.seduceable = False
else:
self.romanceable = r
self.seduceable = fwb