:: bedroom[include]
<<if $location.isHome>>
    <<act "Open wardrobe">><<gt 'wardrobe' 'start'>><</act>>
    <<act 'Relax on your bed'>><<gt 'bed' 'start'>><</act>>
    <<act "Alarm Clock Settings">><<gt 'alarmClock' 'start'>><</act>>
    <p>
        Your alarm clock is set
        to <<print $alarmClock.hour.toString().padStart(2, '0')>>:<<print $alarmClock.minute.toString().padStart(2, '0')>> during the week and
        to <<print $alarmClock.hourWeekend.toString().padStart(2, '0')>>:<<print $alarmClock.minuteWeekend.toString().padStart(2, '0')>> during the weekend.
        <<checkbox "$alarmClock.on" 0 1 autocheck>> Turned on.
    </p>
    <!--<<if $tabletki > 0 and $inventory.get("condom") + $prezikcount + $preziksabo > 0>>
        Your <<link "birth control">><<gt 'stol' 'bc'>><</link>> is hidden in one of your desk drawers, as are your <<link "condoms">><<gt 'stol' 'bc'>><</link>>.
    <<elseif getvar("$tabletki") > 0>>
        Your <<link "birth control">><<gt 'stol' 'bc'>><</link>> is hidden in one of your desk drawers.
    <<elseif $inventory.get("condom") + $prezikcount + getvar("$preziksabo") > 0>>
        Your <<link "condoms">><<gt 'stol' 'bc'>><</link>> are hidden in one of your desk drawers.
    <</if>>
    <<if $start_type.substring(1-1,2) == 'sg' and $pc.isSchoolStudent and $time.weekday == 6 and $time.hour > 4 and $time.hour < 9 and getvar("$detention_set") == 1 and $pc.isSchoolStudent and $detention_warning != $time.daystart>>
        <<set $detention_warning = $time.daystart>>
        <<msg 'You have detention this morning and must be at school before 09:00.'>>
    <</if>>-->

    <<if _tags.includes('computer') and $inventory.get("computer") == 1>>
        <p>Your <<link "computer">><<gt 'computer'>><</link>> is on your desk.</p>
    <</if>>

    <<if _tags.includes('guitar') >>
        <<if $ml_guitar and $ml_guitar['location'] == $loc>>
            <p>Your guitar rests on its stand next to your bed.</p>
        <</if>>
    <</if>>

    <<act 'Training'>>
        <<gt 'training_home'>>
    <</act>>

<</if>>
