aboutsummaryrefslogtreecommitdiff
path: root/data/objects/tutorial_lever.yaml
blob: 371e70b8bbf5dc53f0644573a7472e0380563c77 (plain)
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
color: FA
description:
    - text: A weathered stone lever set into a metal bracket. It looks like it can be pulled.
hidden: true
inroom_description: A stone lever protrudes from the base of the rock formation.
name: stone lever
on_use:
    - action:
        messages:
            - delay: 0
              message: You pull the stone lever down. A mechanism clicks into place somewhere in the glade.
        set_player_flags:
            unlocked_rock_cover: 1
      condition:
        not: true
        player_flag: unlocked_rock_cover
        value: 1
    - action:
        messages:
            - delay: 0
              message: You push the stone lever back up. The mechanism disengages with a soft clunk.
        set_player_flags:
            unlocked_rock_cover: 0
      condition:
        player_flag: unlocked_rock_cover
        value: 1