Paste #72733: Untitled Paste

Date: 2020/07/22 00:16:36 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


stellium_regen:
    type: world
    debug: true
    events:
        on time 5 in world:
        - define currentstellium <placeholder[mmocore_stellium]>
        - if <[currentstellium]> < 10:
            - execute as_server "mmocore admin resource-stellium give <player> 1"
            - narrate "<&color[#9C5BE1]><italic>As the sun rises, you feel safe again." targets: <server.online_players.>
            - narrate "<&6><bold>+1 <&7>Stellium" targets: <server.online_players>
            - stop
        - else:
            - narrate "<&color[#9C5BE1]><italic>As the sun rises, you feel safe again." targets: <server.online_players>
            - stop