bettwaage-sidequest #2
1 changed files with 8 additions and 5 deletions
|
@ -25,11 +25,13 @@ current_scale_countdown: int = 0
|
|||
|
||||
average_person_weight: float = 75
|
||||
|
||||
sexy_mode_detection: bool = False # Turn lights "sexy" if two people are in bed
|
||||
|
||||
is_warning_active: int = -1
|
||||
leg_capacity_limit_patterns = [
|
||||
# {"limit": 80, "pattern": 110, "duration": 250},
|
||||
# {"limit": 90, "pattern": 110, "duration": 100},
|
||||
{"limit": 100, "pattern": 10, "duration": 50},
|
||||
# {"limit": 100, "pattern": 10, "duration": 50},
|
||||
]
|
||||
|
||||
|
||||
|
@ -122,6 +124,7 @@ def check_for_change():
|
|||
current_scale_countdown = 0
|
||||
|
||||
# Make room sexy
|
||||
if sexy_mode_detection:
|
||||
if number_of_people >= 2 and weight_increased:
|
||||
hue.in_room_activate_scene("Max Zimmer", "Sexy")
|
||||
elif number_of_people == 1 and not weight_increased:
|
||||
|
|
Loading…
Reference in a new issue