Paste #110601: Unnamed Denizen Script Paste

Date: 2023/06/02 09:43:49 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21


bell_events:
    type: world
    debug: false
    events:
      on system time minutely every:15:
      - define hour <context.hour.round>
      - define minute <context.minute.round>
      - if <[minute]> == 0:
        - narrate "<gold>Gemmeria <&8>| <&7>Es ist <[hour].equals[0].if_true[12].if_false[<[hour]>]> Uhr" targets:<location[kapelleglocke].find_players_within[150]>
        - repeat 4:
          - playsound <location[kapelleglocke]> sound:block_bell_use volume:20 sound_category:master
          - wait 3
        - wait 1
        - repeat <[hour].equals[0].if_true[12].if_false[<[hour].mod[12]>]>:
          - playsound <location[kapelleglocke]> sound:block_bell_use volume:20 sound_category:master pitch:0.5
          - wait 2
      - else:
        - repeat <[minute].div_int[15]>:
          - playsound <location[kapelleglocke]> sound:block_bell_use volume:20 sound_category:master
          - wait 2