Date: 2023/06/02 09:43:49 UTC-07:00
Type: Denizen Script
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